Error-Based Bidirectional Predictive Coding Enables Deep, 4-Bit Predictive Coding Networks
Garrett Kinman, Zeljko Zilic
Abstract
Predictive coding networks (PCNs) promise properties not offered by backpropagation-trained networks: learning from purely local information, a single network that both discriminates and generates, and flexible inference by energy minimization. However, their iterative inference is expensive, making hardware acceleration desirable, and a useful, efficient accelerator needs both depth and aggressive quantization. Canonical state-based PC delivers neither: its inference signal decays exponentially with depth, so deep models fail to train, and low precision makes it worse. We show that pairing two recent methods carries the full PCN property set into the deep, 4-bit regime: bidirectional PC (bPC), which unifies discrimination and generation, and the error-based reparameterization (ePC), which optimizes prediction errors rather than states during inference. Error optimization delivers the output signal to every layer in a single backward pass, removing the signal decay; one additional element, global-norm clipping of the error gradients, stabilizes the error dynamics at depth. The resulting ePC+bPC model trains stably up to at least eight layers and retains its full-precision accuracy and clean class-conditional generation under W4A4E4 quantization-aware training, across FP4 and three posit formats. On six-layer networks, where state-based bPC collapses to chance, ePC+bPC classifies more than 50 accuracy points above it after one epoch of training, with class-conditional generations 5-9x better in RMSE. 4-bit quantization is nearly free: full-precision and 4-bit accuracies differ by at most ~5 points, and by under two in the best-performing formats. We characterize the two failure modes the method overcomes, bounded signal decay in state-based PC and error divergence in unregularized error optimization, and discuss implications for a 4-bit-native PCN accelerator.
Create a lesson
Related papers
DEFlow: Deep Equilibrium Flow Maximum-Entropy Reinforcement Learning
Ruslan Ageev, Huaze Tang, Runqing Miao et al.
Towards Modality-Agnostic Seizure Classification: A Unified Deep Learning Framework for Heterogeneous EEG and Intracranial EEG Signals
Ramya Sundaram, Muhammad Aslam Jarwar, M Uma et al.
HyBRA-EEG: Hyperbolic Global-Local Brain-Region Aggregation for Self-Supervised EEG Representation Learning
Xin Liu, Feng Lu, Wei Li
OctMole: Multiscale 3D Molecular Generation with Hierarchical Spatial Flows
Yu-Tong Jin, Yi-Yang Tian, Qiwei Ye et al.
Characterizing and Mitigating Distributional Bias in Physics-Informed Generative Models
Tanja Bien, Samir Darouich, Lluís Pastor-Pérez et al.
The Language of Looking: Motion Tokens Reveal Domain-Dependent Local Structure in Gaze Sequences
Virmarie Maquiling, Enkelejda Kasneci