Difference Predictive Coding for Training Spiking Neural Networks

Abstract

Predictive coding networks (PCNs) offer a local-learning alternative to backpropagation in which layers communicate residual errors, aligning well with biological computation and neuromorphic hardware. In this work we introduce Difference Predictive Coding (DiffPC), a spike-native PC formulation for spiking neural networks. DiffPC replaces dense floating-point messages with sparse ternary spikes, provides spike-compatible target and error updates, and employs adaptive threshold schedules for event-driven operation. We validate DiffPC on fully connected and convolutional architectures, demonstrating competitive performance on MNIST (99.3\%) and Fashion-MNIST (89.6\%), and outperforming a backpropagation baseline on CIFAR-10. Crucially, this performance is achieved with high communication sparsity, reducing data movement by over two orders of magnitude compared to standard predictive coding. DiffPC thus establishes a faithful, hardware-aligned framework for communication-efficient training on neuromorphic platforms.

Cite

Text

Karlsson et al. "Difference Predictive Coding for Training Spiking Neural Networks." International Conference on Learning Representations, 2026.

Markdown

[Karlsson et al. "Difference Predictive Coding for Training Spiking Neural Networks." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/karlsson2026iclr-difference/)

BibTeX

@inproceedings{karlsson2026iclr-difference,
  title     = {{Difference Predictive Coding for Training Spiking Neural Networks}},
  author    = {Karlsson, Ville and Fianda, Nicklas and Kämäräinen, Joni-Kristian},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/karlsson2026iclr-difference/}
}