Manuscript Offprint

arXiv:2611.26319

A Control-Theoretic Approximation to Predictive Coding Dynamics

Ryan Fayyazi, Kyle Daruwalla, Mitra Javadzadeh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Backpropagation has become the dominant algorithm for training deep neural networks, yet it relies on computational primitives that are difficult to reconcile with biological neural circuits, including weight transport across layers [1], global error signals [17, 22], and phased learning stages [7]. The brain, on the other hand, relies on synaptic plasticity, which is widely believed to depend on local information available at each synapse, such as pre- and post-synaptic activity and modulatory feedback, and does not require distinct forward and backward passes [18]. This contrast has motivated a large body of work seeking biologically plausible alternatives for credit assignment in deep neural networks [2, 3, 10, 23, 20, 4, 6, 11, 9, 12]. Among these, two influential approaches have emerged from distinct perspectives: (1) predictive coding (PC) networks [21, 5, 24, 16], inspired by sensory processing in cortical circuits and typically formulated as energy-based models that minimize a global objective by reducing local mismatch between bottom-up and top-down signals, and (2) deep feedback control (DFC) [13], motivated by principles of motor control and rooted in control-theoretic frameworks, where credit assignment is achieved via dynamical error correction through a feedback controller.

While both frameworks implement local learning rules, their underlying neural dynamics appear markedly different. Although both rely on error signals, their origin and role differ: in PC, errors are computed locally at each layer, whereas in DFC they arise from a global target and are distributed through the network via the controller (see Figure 1). This apparent difference raises the question of whether these two classes of models implement fundamentally distinct mechanisms for credit assignment, or whether they can be understood within a common framework.

Figure

Figure 1: Illustrations of error signal sources in predictive coding (left) and deep feedback control (right). PC errors are distributed while DFC is centralized. Pathways involved in calculating errors are denoted by solid lines, while general information pathways are denoted by dashed lines.

From a biological perspective, the connectivity motifs required by both frameworks are present in the cortex: hierarchical organization with local feedforward–feedback loops supports predictive coding, while long-range feedback from higher-order to early sensory areas enables global control signals. This suggests that the brain may support both local error correction mechanisms and more global control-driven dynamics, raising the possibility that the two frameworks reflect different regimes of a shared underlying computation.

Here, we show that DFC can be interpreted as a local approximation to PC dynamics in the vicinity of fixed points. This equivalence is exact for shallow linear networks and progressively breaks down with increasing network depth, with the introduction of nonlinearities, and as the system moves further from equilibrium. Building on this connection, we propose a practical scheme to approximate PC using DFC by decomposing the trajectory toward a target into a sequence of intermediate subgoals. Within each subgoal, DFC dynamics drive the network toward a local equilibrium before transitioning to the next stage. This perspective suggests that distributed, layer-wise error signals can be effectively replaced by a centralized feedback controller that sequentially guides the network through intermediate targets. Our contributions are organized in three parts: Theory: We establish a formal connection between predictive coding and deep feedback control by showing that PC activity dynamics can be written as a distributed feedback controller, which reduces near fixed points to a DFC-style controller driven by the output error. We call the resulting approximate dynamics Approx PC. In linear networks, we show that the two are exactly equivalent with a single hidden layer, and that with two hidden layers they share the same fixed point and differ only by an additional damping term in PC. Characterizing the approximation: Through controlled probes of activity dynamics on single inputs, we show how Approx PC deviates from PC as perturbation size, depth, and nonlinearity increase. We demonstrate that these deviations are mitigated by relinearizing the feedback controller or by approaching the output target through a sequence of intermediate nudges. Validation under learning: We test whether the approximation error compounds during training and find that it does not substantially affect what the network learns. On MNIST [8] and FashionMNIST [25], networks trained with Approx PC reach task performance comparable to that of PC trained with the same nudges, their learned weights transfer directly to PC inference, and their hyperparameter sensitivity is similar to that of PC.

References (23)