Introduction
Backpropagation (BP) is the cornerstone of modern deep learning, yet it remains controversial in neuroscience. Its reliance on global error signals and perfectly symmetric weights makes it "biologically implausible." Predictive Coding Networks (PCNs) have long been proposed as a more realistic alternative, utilizing local prediction errors. However, PCNs have historically struggled with an "approximation gap," high computational costs, and limited architectural flexibility.
This paper introduces Zero-divergence Inference Learning (Z-IL), a modified algorithm that bridges these gaps. Z-IL demonstrates that PCNs can be mathematically identical to BP for complex architectures, including Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs), while maintaining biological plausibility and achieving high efficiency.
Zero-divergence Inference Learning (Z-IL)
The core of the Z-IL approach lies in three specific constraints that align PCN dynamics with the chain rule of BP:
- Integration Step ($\gamma = 1$): By setting the internal neuronal learning rate to unity, the error signal is preserved as it propagates through layers.
- Zero Initial Error: Initializing the network to a state of zero prediction error ensures that the subsequent dynamics are driven purely by the input signal.
- Layer-Dependent "Timed" Updates: Instead of waiting for global convergence, Z-IL updates weights sequentially. Specifically, the weights of layer $l$ are updated exactly at time step $t=l$.
This temporal alignment allows the error signal to flow through the network in a manner that perfectly replicates the gradient calculation in backpropagation.
Mathematical Mapping and Notation
To establish the equivalence, the authors defined a clear mapping between standard ANN components and PCN variables. This formalization is crucial for proving that the local updates in a PCN can exactly match the global updates of BP.
Through this mapping, the authors proved that the Euclidean distance between weights updated via BP and those updated via Z-IL is zero, establishing a formal mathematical identity.
Experimental Validation
The researchers tested Z-IL across diverse benchmarks to ensure its practical viability:
- Image Recognition: On ImageNet and CIFAR10 using AlexNet, Z-IL achieved the same top-tier accuracy as BP.
- Reinforcement Learning: In eight Atari environments, Z-IL was applied to "many-to-one" RNNs, matching BP's performance.
- Computational Efficiency: Z-IL significantly reduces the overhead of PCNs. In a CNN test, standard Inference Learning took 661ms per update, while Z-IL completed the same task in 8.86ms—nearly identical to BP's 8.72ms.
Discussion and Future Directions
Z-IL represents a significant step forward by showing that biological plausibility does not require a sacrifice in performance or speed. By leveraging the local nature of PCN computations, this algorithm is particularly well-suited for future implementation on specialized neuromorphic hardware.
While Z-IL addresses the global signal problem, future work is needed to tackle the "weight transport problem" (the assumption of symmetric weights) and to extend the RNN proofs to "many-to-many" architectures like those used in machine translation.
Summary updated