Skip to main content
QUICK REVIEW

[Paper Review] Theory and Tools for the Conversion of Analog to Spiking Convolutional Neural Networks

Bodo Rueckauer, Iulia-Alexandra Lungu|arXiv (Cornell University)|Dec 13, 2016
Advanced Memory and Neural ComputingEngineering19 references103 citations
TL;DR

The paper develops a theory for ANN-to-SNN conversion and introduces practical tools to convert CNNs (with biases, batch norm, max-pooling, and softmax) into almost loss-less SNNs, achieving state-of-the-art results on CIFAR-10 and MNIST.

ABSTRACT

Deep convolutional neural networks (CNNs) have shown great potential for numerous real-world machine learning applications, but performing inference in large CNNs in real-time remains a challenge. We have previously demonstrated that traditional CNNs can be converted into deep spiking neural networks (SNNs), which exhibit similar accuracy while reducing both latency and computational load as a consequence of their data-driven, event-based style of computing. Here we provide a novel theory that explains why this conversion is successful, and derive from it several new tools to convert a larger and more powerful class of deep networks into SNNs. We identify the main sources of approximation errors in previous conversion methods, and propose simple mechanisms to fix these issues. Furthermore, we develop spiking implementations of common CNN operations such as max-pooling, softmax, and batch-normalization, which allow almost loss-less conversion of arbitrary CNN architectures into the spiking domain. Empirical evaluation of different network architectures on the MNIST and CIFAR10 benchmarks leads to the best SNN results reported to date.

Motivation & Objective

  • Motivate the need for fast, energy-efficient inference via spiking neural networks (SNNs).
  • Provide a theoretical foundation for how SNN firing rates approximate ReLU activations.
  • Extend conversion tools to cover common CNN features (biases, batch normalization, max-pooling, softmax).
  • Demonstrate near-lossless ANN-to-SNN conversion on CIFAR-10 and MNIST benchmarks.

Proposed method

  • Derive the membrane-and-reset dynamics to relate ANN activations to SNN firing rates and show how reset-by-subtraction yields unbiased approximators.
  • Generalize weight normalization to handle biases (max-norm and robust percentile-based normalization).
  • Integrate batch-normalization effects into weights to enable BN-layer conversion without extra steps.
  • Enable analog input to the first hidden layer to improve low-activation regimes.
  • Introduce spiking softmax using an external Poisson spike generator for competitive softmax decisions.
  • Propose spiking max-pooling using gating based on online firing-rate estimates.

Experimental results

Research questions

  • RQ1Can ANN activations be accurately approximated by SNN firing rates under realistic spiking dynamics?
  • RQ2How can we extend ANN-to-SNN conversion to include biases, BN, max-pooling, and softmax without significant loss?
  • RQ3What normalization strategies maximize post-conversion accuracy while maintaining reasonable latency?
  • RQ4Does analog input to the first hidden layer improve conversion performance for larger networks?
  • RQ5What are the effects on accuracy and latency when converting common CNN components to the spiking domain?

Key findings

  • A near loss-less conversion is achievable for CIFAR-10 (best ~87.62–87.82% depending on normalization and input strategy).
  • Reset-by-subtraction improves ANN-to-SNN approximation and enables deeper networks to approach ANN accuracy.
  • Analog inputs to the first hidden layer drastically improve CIFAR-10 results (up to 83.6% with certain settings and 87.62% with robust normalization).
  • Robust weight normalization using a percentile-based scale (e.g., 99th–99.9th percentile) outperforms max activation normalization in avoiding underfiring while limiting saturation.
  • In MNIST, a 7-layer network with max-pooling achieves 99.44% after conversion, surpassing prior SNN results.
  • In CIFAR-10, with the proposed methods, a 4-conv-layer CNN can be converted with final SNN accuracy close to its ANN baseline (87.86% ANN → ~87.6–87.8% SNN).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.