A Control-Theoretic Approximation to Predictive Coding Dynamics

Ryan Fayyazi, Kyle Daruwalla, Mitra Javadzadeh

TL;DR

This paper establishes a formal theoretical link between two leading biologically plausible learning frameworks: Predictive Coding (PC) and Deep Feedback Control (DFC). The authors demonstrate that DFC is essentially a local approximation of PC dynamics near equilibrium, and they leverage this insight to create "Approx PC"—a training method that achieves competitive performance on standard benchmarks while unifying energy-based and control-theoretic perspectives on neural learning.

What Problem Does This Paper Address?

While backpropagation is the engine of modern AI, it is notoriously "biologically implausible." It requires global error signals and "weight transport" (using the exact same weights for forward and backward passes), which real brains don't seem to do.

Researchers have proposed several alternatives, most notably:

  1. Predictive Coding (PC): An energy-based approach where each layer tries to minimize the local mismatch between bottom-up inputs and top-down predictions.
  2. Deep Feedback Control (DFC): A control-theoretic approach where a centralized controller uses the final output error to "steer" the activity of hidden layers.

Despite their shared goal of local learning, these two frameworks look very different: PC uses distributed, layer-wise errors, while DFC uses a centralized global error. This paper asks: Are these fundamentally different mechanisms, or are they two sides of the same coin?

Methods

The authors provide a mathematical proof showing that when a PC network is near a "fixed point" (a state of equilibrium), its distributed error signals can be mathematically rewritten as a centralized feedback controller.

To turn this theory into a practical algorithm, they introduce Approx PC, which uses the DFC architecture but derives its feedback weights from the network's Jacobian. They address the limitations of this approximation through two key techniques:

  • Relinearization: Periodically recomputing the network's Jacobian to account for nonlinearities as the system moves.
  • Nudging (Algorithm 1): Instead of forcing the network toward a final target all at once, they move the target in small, incremental "nudges." This keeps the network close to its fixed points, where the DFC approximation is most accurate.
Illustrations of error signal sources in predictive coding (left) and deep feedback control (right).

Datasets

The authors validated their approach using two classic image classification benchmarks:

  • MNIST: Handwritten digits.
  • FashionMNIST: Images of clothing items.

They used these datasets to compare the task performance, learning speed, and hyperparameter sensitivity of Approx PC against standard PC and backpropagation.

Key Insights and Ideas

  • Damping is the Difference: In shallow linear networks, PC and DFC are exactly equivalent. In deeper networks, they still share the same fixed points but differ in their "transient dynamics." Specifically, PC is more "damped," meaning it settles into equilibrium more smoothly, whereas the approximation can become oscillatory (see Figure 2).
  • The Depth Penalty: The approximation error grows systematically with network depth and the size of the perturbation (how far you move the target). For networks with more than four layers, the residual error becomes significant unless mitigated (see Figure 3).
  • Nudging as a Regularizer: A surprising "aha moment" was that the "nudging" strategy—originally introduced to keep the approximation valid—actually improved the performance of standard PC as well. This suggests that moving toward targets gradually might be a fundamental benefit for energy-based learning.
  • Weight Compatibility: Weights learned using the Approx PC (control-style) dynamics can be "transplanted" directly into a standard PC (energy-style) network for inference with almost no loss in accuracy. This confirms that both methods are finding the same underlying solutions.
Maximum L2-norm error across layers in networks of varying depth for different perturbation sizes.

Key Results

  • Competitive Accuracy: On MNIST, Approx PC achieved 97.32% accuracy, nearly identical to standard PC's 97.47%.
  • Faster Convergence: Approx PC often learns faster per integration step. Because it uses a centralized error, all layers can begin moving toward the target concurrently, whereas in standard PC, errors must propagate through the network layer-by-layer.
  • Robustness: Approx PC showed similar hyperparameter sensitivity to standard PC, though it was notably less sensitive to the neural time constant ($\tau_v$).

Limitations and Future Work

  • Architectural Scope: The study focused on fully connected networks. Whether these insights hold for more complex architectures like Convolutional Neural Networks (CNNs) or Transformers remains to be seen.
  • Jacobian Dependency: Approx PC currently relies on knowing the exact network Jacobian. In a truly biological system, the brain likely uses a noisy or slowly-varying estimate of this Jacobian. Exploring "random" or "learned" feedback weights is a logical next step.
  • Control Theory Toolbox: By framing PC as a control problem, the authors open the door to using advanced control tools—like PID controllers—to potentially make predictive coding networks even more efficient and stable.

Summary updated

Abstract

Backpropagation remains the dominant method for training deep neural networks, but its reliance on non-local computations has motivated the search for biologically plausible alternatives. Two prominent frameworks, predictive coding (PC) and deep feedback control (DFC), offer distinct approaches to local learning, yet their relationship remains unclear. Here, we show that DFC arises as a local approximation to predictive coding dynamics near fixed points, with exact equivalence in shallow linear networks and systematic deviations arising with depth, nonlinearity, and distance from equilibrium. We characterize how this approximation, which we call Approx PC, deviates from PC in its activity dynamics, and show that these deviations can be mitigated by relinearizing the feedback controller and approaching the output target through a sequence of intermediate nudges. In networks trained on MNIST and FashionMNIST, Approx PC reaches task performance comparable to PC trained with the same nudges, and weights learned with it transfer directly to PC inference. Our results unify energy-based and control-theoretic perspectives on learning and open the door to applying tools from control theory to the training of predictive coding networks.
BibTeX
@inproceedings{fayyazi2026control,
  author = {Ryan Fayyazi and Kyle Daruwalla and Mitra Javadzadeh},
  title = {{A Control-Theoretic Approximation to Predictive Coding Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=F4cKpRSPTz},
}
Figure