Brain-Inspired Learning on Neuromorphic Substrates

Friedemann Zenke, Emre O. Neftci · DOI

Introduction

Deep learning's success is largely attributed to Backpropagation Through Time (BPTT). However, BPTT is fundamentally incompatible with biological brains and neuromorphic hardware. It is acausal and nonlocal, requiring the storage of a complete history of network activity and the global broadcasting of error signals. Neuromorphic chips, such as Intel’s Loihi, utilize a non-von Neumann architecture where memory and computation are co-located. These systems require online learning algorithms that operate using only local information available at the synapse.

Methods: Decomposing Recurrence for Online Learning

The authors propose a solution based on Real-Time Recurrent Learning (RTRL). Unlike BPTT, RTRL propagates gradients forward in time, making it inherently online. To overcome the $O(N^4)$ complexity of standard RTRL, the framework introduces several key innovations:

  1. Surrogate Gradients: To handle the non-differentiable nature of discrete spikes in Spiking Neural Networks (SNNs), a smooth surrogate function is employed.
  2. Temporal Decomposition: The network dynamics are modeled as a computational graph where states influence future states and losses.
Computational graph of a recurrent network showing temporal dependencies between states (h), inputs (x), and losses (L).
  1. Sparse Approximations and Recurrent Detachment: The core of the efficiency gain comes from decomposing the Jacobian into three parts: implicit recurrence (internal neuron dynamics), explicit recurrence (synaptic loops), and immediate Jacobians.

By ignoring the dense "explicit" synaptic contributions—a process termed "Recurrent Detachment" (RD)—the learning rules become spatially local. As shown in the figure below, implicit recurrence maintains a block-diagonal structure, which is computationally cheap to propagate.

Decomposition of the Jacobian into implicit recurrence, explicit recurrence, and immediate terms for point and multicompartment neurons, highlighting the sparsity patterns.
  1. Temporally Local Losses: Using metrics like the van Rossum distance, global targets are converted into continuous local error signals, facilitating real-time updates.

Experimental Evaluation

The framework was tested across various temporal processing benchmarks, including Randman (synthetic spike-timing), MNIST (latency-coded digits), and the Spiking Heidelberg Digits (SHD). For longer temporal dependencies, the authors used analog versions of speech datasets (RawHD and RawSC).

Key Results and Insights

  • Performance Parity: RD networks achieved performance levels comparable to full BPTT on most tasks. While explicit recurrence is beneficial for very long temporal dependencies (e.g., in speech), RD networks still significantly outperformed feed-forward spiking architectures.
  • The "Implicit" Advantage: The internal dynamics of biological neurons (membrane potentials, adaptation) provide "free" memory. The gradients flowing through these internal states are naturally local and efficient.
  • Hardware Compatibility: The derived learning rules require only a single "trace" per synapse, fitting the strict memory constraints of neuromorphic hardware.

Limitations and Future Work

While this work addresses temporal credit assignment, spatial credit assignment (across multiple layers) remains a challenge. Current implementations often still require some form of global error broadcasting or weight transport. Future research will explore "feedback alignment" and scaling these local rules to deep, multi-layer SNN architectures to fully bridge the gap between artificial and biological intelligence.

Summary updated

BibTeX
@article{zenke2021brain,
  author = {Friedemann Zenke and Emre O. Neftci},
  title = {{Brain-Inspired Learning on Neuromorphic Substrates}},
  journal = {Proc. IEEE},
  year = {2021},
  doi = {10.1109/jproc.2020.3045625},
}
Figure