potentialpaper

A Control-Theoretic Approximation to Predictive Coding Dynamics

Ryan Fayyazi, Kyle Daruwalla, Mitra Javadzadeh

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper presents an elegant and useful theoretical connection between predictive coding and deep feedback control. The analysis carefully identifies when the equivalence is exact and how it degrades with depth, nonlinearity, and distance from equilibrium. Approx PC follows naturally from this connection, using centralized feedback and intermediate nudges to approximate PC dynamics, and the MNIST experiments suggest faster convergence than the authors’ PC baseline.

The main concern is the limited empirical validation. The experiments use small networks and mostly MNIST, with relatively low absolute accuracy and no comparison against a strong DFC or standard backpropagation baseline. It is therefore unclear whether Approx PC is intended as a competitive training method or mainly as a validation of the theoretical correspondence. The efficiency claim also needs more careful accounting of Jacobian computations, relinearization, nudging steps, and total simulation cost. Other concerns include limited hyperparameter sweeps, unclear scalability to larger or convolutional networks, and the lack of practical diagnostics for when the local approximation may fail.

Overall, the theoretical contribution is strong and potentially valuable, while the current experiments mainly support the conceptual connection rather than the practical competitiveness of Approx PC. My initial recommendation is accept. The author response should clarify the intended scope of the algorithm, provide a fairer comparison with DFC and PC baselines, explain the full computational cost, and appropriately narrow any claims about efficiency or scalability.

Final justification

Through the rebuttal, the authors expanded the experiments to FashionMNIST and larger networks, added comparisons with DFC and backpropagation results, provided broader hyperparameter and depth analyses, and clarified the computational cost of Approx PC. Importantly, they also appropriately narrowed the claims, making clear that the experiments primarily validate the theoretical correspondence rather than establish Approx PC as a generally competitive or scalable training method.

Overall, I find the theoretical contribution novel and well motivated, with sufficient empirical support for its intended scope. I therefore recommend acceptance.

Area Chair pobT · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper presents an elegant and useful theoretical connection between predictive coding and deep feedback control. The analysis carefully identifies when the equivalence is exact and how it degrades with depth, nonlinearity, and distance from equilibrium. Approx PC follows naturally from this connection, using centralized feedback and intermediate nudges to approximate PC dynamics, and the MNIST experiments suggest faster convergence than the authors’ PC baseline.

The main concern is the limited empirical validation. The experiments use small networks and mostly MNIST, with relatively low absolute accuracy and no comparison against a strong DFC or standard backpropagation baseline. It is therefore unclear whether Approx PC is intended as a competitive training method or mainly as a validation of the theoretical correspondence. The efficiency claim also needs more careful accounting of Jacobian computations, relinearization, nudging steps, and total simulation cost. Other concerns include limited hyperparameter sweeps, unclear scalability to larger or convolutional networks, and the lack of practical diagnostics for when the local approximation may fail.

Overall, the theoretical contribution is strong and potentially valuable, while the current experiments mainly support the conceptual connection rather than the practical competitiveness of Approx PC. My initial recommendation is accept. The author response should clarify the intended scope of the algorithm, provide a fairer comparison with DFC and PC baselines, explain the full computational cost, and appropriately narrow any claims about efficiency or scalability.

Final justification

Through the rebuttal, the authors expanded the experiments to FashionMNIST and larger networks, added comparisons with DFC and backpropagation results, provided broader hyperparameter and depth analyses, and clarified the computational cost of Approx PC. Importantly, they also appropriately narrowed the claims, making clear that the experiments primarily validate the theoretical correspondence rather than establish Approx PC as a generally competitive or scalable training method.

Overall, I find the theoretical contribution novel and well motivated, with sufficient empirical support for its intended scope. I therefore recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Response to AC meta-review

We thank the reviewers and AC for their positive and thoughtful reviews. Particularly, we are happy to see that they noted the strength of our theoretical contributions, as this was the focus of our work. In response to their feedback, we make the following changes: (1) clarify that our primary contribution is theoretical and appropriately narrow our claims with respect to efficiency and scalability, (2) provide expanded empirical evaluations on more datasets and larger models demonstrating the applicability of our framework beyond the simplest settings and contrasting them against existing methods (PC + Strong DFC), (3) add more rigorous hyperparameter sweeps to assess the robustness of Approx PC, and (4) present quantitative comparison of the computational cost between PC and Approx PC.

We expand on these points and address specific concerns below.

The main concern is the limited empirical validation. The experiments use small networks and mostly MNIST, with relatively low absolute accuracy and no comparison against a strong DFC or standard backpropagation baseline.

We have added evaluations of PC, PC w/ nudges, and Approx PC on FashionMNIST with a larger network (784-256-256-10; matching prior literature [1]). Additionally, top performing PC and DFC networks are trained with Adam, and after switching our optimizer from vanilla SGD to Adam and using larger networks, we obtain higher absolute accuracy on MNIST, consistent with prior literature [2].

MNIST:

  • PC: 92.05 ± 0.18%—previously ~60%
  • PC w/ nudges: 96.57 ± 0.16%
  • Approx PC: 97.32 ± 0.12%—previously 93.65 ± 0.34%
  • DFC (from [2]): 97.75 ± 0.094%
  • Strong DFC (from [1]): 98.02 ± 0.05%
  • Backpropagation (from [1]): 98.17 ± 0.11%

FashionMNIST:

  • PC: 83.27 ± 0.18%
  • PC w/ nudges: 86.14 ± 0.10%
  • Approx PC: 85.73 ± 0.08%
  • DFC (from [2]): 88.83 ± 0.27%
  • Strong DFC (from [1]): 88.64 ± 0.17%
  • Backpropagation (from [1]): 89.40 ± 0.44%

These results also address the reviewer's concern about the absolute accuracy of Approx PC in comparison with prior published implementations.

It is therefore unclear whether Approx PC is intended as a competitive training method or mainly as a validation of the theoretical correspondence.

As discussed, we will alter the text to emphasize that our experiments are mainly a validation of the theoretical correspondence. The expanded experiments above show that this correspondence holds across a wider range of models and datasets, and our hyperparameter sweeps (numbers provided below) explore where the approximation could fail.

The efficiency claim also needs more careful accounting of Jacobian computations, relinearization, and total simulation cost.

Please see our response to Reviewer Pzcy Q3 where we provide a complete accounting of Jacobian computations including relinearization, and how they affect total simulation cost.

Other concerns include limited hyperparameter sweeps, unclear scalability to larger or convolutional networks, and the lack of practical diagnostics for when the local approximation may fail.

Hyperparameter sweeps and larger models: We have also expanded our hyperparameter sweeps in order to better chart the regimes where Approx PC fails. We added sweeps for learning rate, activation time constant, convergence tolerance, and nudge tolerance. Please see our response to Reviewer 3tWg Table 2a and 2b.

Convolutional networks: To explore Approx PC on different architecture families, we have now implemented convolutional neural nets with pooling. While initial results do indicate that the models learn beyond chance, we have not had enough time to tune our hyperparameters to achieve comparable performance on MNIST (currently ~60%) and CIFAR-10 (currently ~40%). We will share these results as they become available during the discussion period.

Scalability: Note that with respect to scalability, as discussed in our response to Reviewer Pzcy Q3, we do not compute products of Jacobians but chained vector-Jacobian products. For modern autodiff systems, this does not require fully instantiating the Jacobian which would otherwise limit the scalability of the algorithm w.r.t. Jacobian relinearization.

Practical diagnostics: We provide some intuition for practical diagnostics in our response to Reviewer Pzcy Q4.


Finally, although the new analyses suggested by the reviewers expand the empirical scope of Approx PC, we emphasize that the main goal of the experiment section is to validate our theoretical predictions. Although in many cases Approx PC is shown to be a practically advantageous alternative to PC, we acknowledge that this is not a general claim made by our work, but rather a promising direction for improving PC, whose scope and limitations remain to be established in the future work. We will clarify this point in the manuscript.

[1]: Meulemans, A., et al. ICML (2022)

[2]: Meulemans, A., et al. NeurIPS (2021)

Reviewer PzcyOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the relationship between predictive coding (PC) networks and deep feedback control (DFC). The authors show that PC dynamics can be rewritten in a control-theoretic form, where layer-wise local prediction errors act like feedback control signals. They then argue that, near fixed points, the distributed PC error dynamics can be approximated by a DFC-style controller driven by the output error. This equivalence is exact in shallow linear networks and becomes approximate in deeper or nonlinear networks, especially away from equilibrium. Based on this connection, the paper proposes Approx PC, an algorithm that approximates PC dynamics using a centralized feedback controller and a sequence of intermediate nudges/subgoals. The experiments mainly validate the theoretical relationship in small networks and on MNIST.

Strengths and weaknesses

The main strength of the paper is the theoretical analysis. The authors show that PC dynamics can be written in a DFC-like form, where each layer receives a feedforward drive plus a control-like term. At a fixed point, the local PC errors can be recursively expressed through downstream Jacobians and the output error. This makes the connection to DFC quite clear: near equilibrium, PC can be interpreted as implementing a feedback controller which is approximately driven by the output error. I found this insight elegant and useful.

A second strength is that the paper is careful about the regime in which the equivalence holds. The authors do not claim that PC and DFC are globally identical. They show exact equivalence in shallow linear settings and then study how the approximation degrades with network depth, nonlinearity, and distance from equilibrium. This is important because it makes the paper more than a superficial analogy between two frameworks. The control-theoretic analysis of transient dynamics, including the additional damping term in PC in simple linear networks, is also a nice part of the paper.

I also like the nudging idea conceptually. Since the approximation is local around fixed points, it makes sense to move toward the target through intermediate subgoals rather than one large perturbation. This is a natural way to keep the system closer to the regime where the DFC approximation to PC is valid. In that sense Approx PC is not just an arbitrary algorithm, but follows logically from the theoretical analysis.

However, the main weakness is the empirical part. The experiments are quite limited and the reported performance is weak if the paper is interpreted as proposing a practical training algorithm. The MNIST accuracy around 93-94% is low for this benchmark. In particular, Approx PC reaches about 93.65% and the corresponding PC evaluation reaches about 93.52%. This is useful as a sanity check that Approx PC learns solutions compatible with PC, but it is not convincing evidence that Approx PC is a competitive learning algorithm. Standard backpropagation and well-tuned DFC-style methods can perform much better on MNIST.

Related to this, the paper sometimes seems to suggest that Approx PC is computationally efficient and improves training. I think this should be framed much more carefully. The results show faster convergence relative to the authors’ PC baseline, but the method is not compared to a strong DFC baseline or to a well-tuned standard neural network baseline. Moreover, Approx PC with nudges may require more total simulation steps, which complicates the efficiency claim. The empirical section therefore supports the theoretical correspondence, but not really the practical significance of the algorithm.

Another concern is biological plausibility/scalability. Approx PC uses products of downstream Jacobians, or repeated relinearization of the dynamics. This is useful mathematically, but it is not clear that this is biologically plausible or scalable to larger modern networks. The authors mention that biological implementations might use slow estimates or structured feedback weights instead of exact Jacobians, but this remains future work. Since the paper is partly motivated by biologically plausible learning, this point should be discussed more strongly.

The experimental scope is also narrow. The paper uses controlled toy settings and MNIST with small networks. This is acceptable if the submission is mainly theory / mechanistic analysis, but then the claims about practical training should be toned down. A stronger evaluation would include a well-tuned DFC baseline, larger networks, perhaps convolutional networks, and a clearer accounting of wall-clock or simulation-step cost.

Questions

I have a few qustions/concenrns: 1. The reported MNIST accuracy is quite low. Can the authors clarify whether the goal of the experiments is only to validate the theoretical equivalence, or whether Approx PC is intended as a competitive training algorithm? If the latter, stronger baselines and better-tuned models are needed. 2. Can the authors compare Approx PC to a standard DFC implementation on MNIST, using similar architecture and training budget? This seems important since the paper’s main claim is a connection between PC and DFC. 3. The algorithm uses Jacobian products / relinearization. Can the authors clarify how expensive this is in practice, and how the cost compares to standard PC when accounting for total integration steps, nudges, and Jacobian computations? 4. The approximation is local around fixed points and degrades with depth/nonlinearity. Can the authors provide more intuition or diagnostics for when Approx PC is expected to fail? For example, is there a practical criterion for deciding when the system has moved too far from the local linear regime? 5. The paper says that PC and DFC may be difficult to distinguish experimentally near fixed points. What kind of neural activity or perturbation experiment would actually distinguish them? It would be useful to discuss whether transient dynamics, damping, or response to large perturbations provide testable differences. 6. Can the authors tone down or clarify the claim of improved accuracy / efficiency? At present, the empirical results seem to show improvement only relative to the authors’ PC implementation, not competitive performance in an absolute sense.

Limitations

The authors discuss limitations, especially that the experiments are small and that biological implementations would probably not use exact Jacobians. This is good. I think the limitations section should more explicitly state that the MNIST experiments are not meant to demonstrate competitive performance, and that the current empirical evidence mainly validates the PC/DFC correspondence in controlled settings. It would also help to state that scaling to larger networks and replacing exact Jacobians with plausible feedback weights remain open problems.

Formatting concerns

no.

3 comments
Authors · CommentOpenReview ↗

Response to Reviewer Pzcy (Part 1)

We thank the reviewer for their positive and thoughtful reviews. Particularly, we are happy to see that they noted the strength of our theoretical contributions, as this was the focus of our work. In response to their feedback, we make the following changes: (1) clarify that our primary contribution is theoretical and appropriately narrow our claims with respect to efficiency and scalability, (2) provide expanded empirical evaluations on more datasets and larger models demonstrating the applicability of our framework beyond the simplest settings and contrasting them against existing methods (PC + Strong DFC), (3) add more rigorous hyperparameter sweeps to assess the robustness of Approx PC, and (4) present quantitative comparison of the computational cost between PC and Approx PC.

We expand on these points and address specific concerns below.

Q1 + Q2:

The reviewer is correct in suggesting that the primary purpose of the experiments in Section 6 are to validate the theoretical insights we developed earlier. We will be sure to narrow the scope in our exposition to reflect this. Specifically, we will change the phrasing in the abstract, experiments, and discussion to focus on validation rather than absolute performance gains.

Nonetheless, we agree that a more comprehensive experimental section would benefit our audience. To address this, we have added evaluations of PC, PC w/ nudges, and Approx PC on FashionMNIST with a larger network (784-256-256-10; matching prior literature [1]). Additionally, top performing PC and DFC networks are trained with Adam, and after switching our optimizer from vanilla SGD to Adam and using larger networks, we obtain higher absolute accuracy on MNIST, consistent with prior literature [2].

MNIST:

  • PC: 92.05 ± 0.18%—previously ~60%
  • PC w/ nudges: 96.57 ± 0.16%
  • Approx PC: 97.32 ± 0.12%—previously 93.65 ± 0.34%
  • DFC (from [2]): 97.75 ± 0.094%
  • Strong DFC (from [1]): 98.02 ± 0.05%
  • Backpropagation (from [1]): 98.17 ± 0.11%

FashionMNIST:

  • PC: 83.27 ± 0.18%
  • PC w/ nudges: 86.14 ± 0.10%
  • Approx PC: 85.73 ± 0.08%
  • DFC (from [2]): 88.83 ± 0.27%
  • Strong DFC (from [1]): 88.64 ± 0.17%
  • Backpropagation (from [1]): 89.40 ± 0.44%

These results also address the reviewer’s concern about the absolute accuracy of Approx PC in comparison with prior published implementations.

To explore Approx PC on different architecture families, we have now implemented convolutional neural nets with pooling. While initial results do indicate that the models learn beyond chance, we have not had enough time to tune our hyperparameters to achieve comparable performance on MNIST (currently ~60%) and CIFAR-10 (currently ~40%). We will share these results as they become available during the discussion period.

Authors · CommentOpenReview ↗

Response to Reviewer Pzcy (Part 2)

Q3

At first glance, it appears that relinearization is a significant computational cost, but as we describe below, it is theoretically negligible. Instead, the increased total simulation time of Approx PC comes from repeated nudging per sample which we discuss at the end of this comment.

Note that for both PC and Approx PC, there are two different Jacobians computed at each layer per timestep. For PC, Eq. 7 requires computing the Jacobian w.r.t. the input in order to propagate the top-down error signal. For Approx PC, the same Jacobians are computed in Eq. 9. The other Jacobian calculated for both methods is w.r.t. the weights for learning (Eq. 6).

Assuming the input + output dimension of layer are mm and nn, respectively, the complexity of computing the Jacobian w.r.t. the layer input is O(mn)O(mn) and w.r.t. the layer weights is O(mn2)O(mn^2). For simplicity, we will assume m=nm = n. Note that applying a Jacobian, i.e. computing the product of a Jacobian and an error vector, is O(mn)O(mn).

Input Jacobians

In the full network, PC only propagates errors locally and at every timestep, making the complexity O(n2)+O(n2)O(n^2) + O(n^2) at each layer per timestep (once to compute the Jacobian, and again to apply it). So the full complexity is O(TLn2)O(TLn^2) where TT is the total number of timesteps and LL is the number of layers.

Naively, Eq. 10 requires Approx PC to compute the control signal for each layer, uℓu^\ell, requiring a product of Jacobians, so the complexity per timestep is O(L2n3)O(L^2 n^3) (for the matrix product for every layer) + O(Ln2)O(Ln^2) (for computing each Jacobian and applying the product). However, in practice, we would not compute each control signal separately. Instead, taking the final error, eLe^L, we would propagate it backwards one layer at a time by computing the vector-Jacobian product with the top-down error. In this way, we gradually build up the product of Jacobians, one vector-Jacobian product at a time. At each intermediate step, the current running product is the control signal for that layer. Thus, the complexity per timestep is actually O(Ln2)O(Ln^2) (the cost of LL vector-Jacobian products). Since Approx PC computes the Jacobians at each relinearization (which is the same as a nudge timepoint in practice), O(∣T∣Ln2)O(|\cal{T}| Ln^2) (to compute each Jacobian at a relinearization) + O(TLn2)O(TLn^2) (to propagate the error at every timestep). Since ∣T∣|\cal{T}| << TT (nudges are rare timepoints in the full simulation), the overall complexity is O(TLn2)O(TLn^2).

Weight Jacobians

Both methods compute the weight Jacobians at each layer and each timestep with complexity O(TLn3)O(TLn^3).

Overall complexity

Thus, the computational complexity of both methods is equivalent, assuming they run for a fixed number of timesteps. In practice, we might run for a fixed number of samples, not timesteps. Empirically, we find that Approx PC consumes many more timesteps due to nudging. This is highlighted in Fig. 7 (left) of the paper where the x-axis is integration steps. Approx PC learns faster (higher performance increase / timestep) but runs for a longer total number of timesteps. As we already discuss in Section 6 of the paper, one could take advantage of the greater learning efficiency to run for fewer samples in the Approx PC case. In this way, both methods are competitive with respect to each other, and the final trade-off decisions must be made by the experimenter. We can add this discussion to the supplementary material if requested.

Authors · CommentOpenReview ↗

Response to Reviewer Pzcy (Part 3)

Q4

Our Fig. 4 and 5 are aimed at addressing this question. We observe, for the specific system and perturbation studied in our experiment, that the system can move for about 25 timesteps before the local approximation incurs significant errors that are difficult to correct. As we note in the text, this minimum relinearization frequency depends on network depth, nonlinearity, and data (i.e., starting fixed points and perturbations), and therefore is hard to calculate a priori for arbitrary systems.

In practice, we found that monitoring the timesteps per nudge and/or sample provided a good indicator of convergence dynamics for Approx PC. If the timesteps per nudge decreased too slowly or increased over training, we loosened the convergence threshold to allow for faster transitions between nudges and overall lower runtime. On the other hand, if the timesteps per nudge never exceeds the minimum safety limit, we tighten the convergence threshold. A similarly useful metric was the distance to target, which indicated how far the network is from the nudged value.

These practical heuristics mirror the intuitions derived from the theory, and in future work, they could be formalized as an adaptive algorithm which tracks these convergence metrics to determine when and how much to nudge.

Q5

We can speculate on potential experiments, but our suggestions do not constitute a comprehensive list. This question is difficult to experimentally answer. Our work suggests that the primary difference between PC and DFC cannot be observed at the level of prediction error or stationary points, but in their transient dynamics. One possible experiment would be to record activity at an arbitrary middle layer ℓ\ell and the final layer LL, while perturbing the activity of layer ℓ+1\ell + 1. If the activity of the middle layer modulates immediately in response to the perturbation, preceding modulation of the final layer’s activity, then this is evidence in favor of PC. Alternatively, if the final layer always responds to the perturbation before layer ℓ\ell, then this points toward DFC. We note however that in biological settings, timing/ordering experiments of this sort are challenging.

Q6

We agree that this claim is too strong, and we have softened it in the updated text. Our results suggest that Approx PC (in particular nudging) can improve learning efficiency (higher perf. increase / timestep as shown in Fig. 7a, left—note that the x-axis is already integration steps, not samples), but we do not claim broad improvements in computational efficiency or absolute performance. Additionally, we now report against standard DFC, Strong-DFC, and BP results from existing literature (see above). We clarify the efficiency claim in our response to Q3. More importantly, we will clarify in the text that these experimental results are primarily theoretical validations.

Concerning bio. plausibility/scalability

Indeed, the use of exact Jacobians is not biologically plausible and using alternative control matrices could be both more plausible and efficient. We will expand on this point in the limitation section in addition to properly contextualizing our experimental scope and goals.

Note that with respect to scalability, as discussed above, we do not compute products of Jacobians but chained vector-Jacobian products. For modern autodiff systems, this does not require fully instantiating the Jacobian which would otherwise limit the scalability of the algorithm w.r.t. Jacobian relinearization.

[1] Meulemans, A., et al. ICML, 2022.

[2] Meulemans, A., et al. NeurIPS, 2021.

[3] Pinchetti, L., et al. ICLR, 2025.

Reviewer cNDCOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors provide a reformulation of the dynamics in DFC (Dynamic Feedback Control) and those of predictive coding (PC). They demonstrate the equivalence between the two under different conditions and how is degrades with different factors. Furthermore, they propose a novel algorithm, called ApproxPC, which approximates PC updates using DFC. The authors validate the ApproxPC on a simple networks trained on MNIST.

The work is interesting and relevant to the community. While most of my concerns were addressed in the text, I have a few suggestions to help authors improve the manuscript.

Strengths and weaknesses

Strengths:

1 - The paper provides interesting perspective and analysis bridging two prominent theories in the literature--predictive coding with control theory. 2 - The analysis and explanation are well written. 3 - The authors commit to providing the code upon publication.

Weaknesses:

1 - The equations in section 3.1 can be better introduced. Currently they seem to come abruptly and there is a chance that readers familiar with Predictive Coding might get confused.

  • The authors assume a model that predicts forward (i.e. layer l−1l-1 predicts the layer ll). While not inherently problematic, it is not the most common assumption made in the PC literature and needs to be stated. For example, I think [1] discussed these differences quite well, contrasting the differences with predictive coding. Of course, there might be many other papers that the authors could use.
  • I think WlW^l connects layer l−1l-1 to ll across all equations (not ll to l+1l+1)
  • Including these variables in the schematic of Figure 1 might help the readability (Figures 8 and 9 in the Appendix are great, the authors could consider adapting them for the main text).

1 - Heeger, David J. “Theory of Cortical Function.” Proceedings of the National Academy of Sciences 114, no. 8 (2017): 1773–82. https://doi.org/10.1073/pnas.1619788114.

Questions

1 - I was curious about the dimensionality aspects of the system, especially since the authors mentioned their intention to potentially scaling to convolutional neural networks. In a global feedback, an m−m-dimensional layer LL has to communicate with often much larger n−n-dimensional (n>>mn>>m) (say) layer 1. Does that impose constraints on the nature of Qs and Ks. Or is this a non-concern?

2 - For training, are the authors using ApproxPC updates for each individual sample? It would be interesting (and relevant for reproducibility) if the authors could elaborate on the conditions where the model failed to converge/learn? Maybe the initial conditions (v∗v^*) that were too far from the target? What happens in the control/dynamics when the target yy is from a different class?

Limitations

yes

Formatting concerns

None

2 comments
Authors · CommentOpenReview ↗

Response to Reviewer cNDC

The equations in section 3.1 can be better introduced. [...]

The authors assume a model that predicts forward (i.e. layer l-1 predict l). [...]

I think W^l connects layer l-1 to l across all equations (not l to l+1)

Including these variables in the schematic of Figure 1 [...]

We thank the reviewer for their careful reading and comments. Indeed we use WℓW^\ell to denote the weights connecting layer ℓ−1\ell -1 to layer ℓ\ell, whereas most of the PC literature uses it to denote connections from ℓ\ell to ℓ+1\ell + 1. It is also true that for historical reasons, the PC literature has typically used the “backwards” prediction convention, i.e. layer ℓ\ell predicting layer ℓ−1\ell - 1 (although for one counterexample see [5]). In both cases, our choice of notation was motivated by a desire to be more intuitive for a general deep learning audience (e.g. see Section 6.4 in [4]), and to align with the DFC convention (see Eq 1 in [2]).

With the extra page afforded in the camera ready version, we will be able to make Figure 1 bigger, and therefore include more details while maintaining legibility. We will also be able to provide a few more remarks before introducing the background on predictive coding. If the reviewer has specific suggestions on predictive coding details to include, we would be happy to do so.

I was curious about the dimensionality aspects of the system, especially since the authors mentioned their intention to potentially scaling to convolutional neural networks. In a global feedback, an m-dimensional layer L has to communicate with often much larger n-dimensional (n >> m) (say) layers 1. Does that impose constraints on the nature of Qs and Ks. Or is this a non-concern?

If by “constraints” the reviewer means possible control matrices, QQ, then this is indeed not a concern for Approx PC. QQ is exactly determined by the Jacobian which is computable for both fully connected and convolutional layers.

If “constraints” means “computational constraints,” e.g. for instantiating the Jacobian of a convolutional layer, note that in practice modern automatic differentiation systems can derive the vector-Jacobian product (feedback control signal) at each layer without ever fully instantiating the Jacobian matrix. We refer the reviewer to our more detailed response to Reviewer Pzcy’s Q3.

If “constraints” means constraints on QQ that is not exactly the true Jacobian, as we discuss in the future work, or it is poorly conditioned, then we expect the constraints to be similar to those discussed in [2]; i.e., there is a wide range of matrices that can be stable, valid control matrices.

[2]: Meulemans, A., et al. Credit assignment in neural networks through deep feedback control. NeurIPS, 2021.

[4]: Goodfellow, I., et al. Deep Learning. MIT Press, 2016.

[5]: Sun, W. & Orchard, J. A predictive-coding network that is both discriminative and generative. Neural Computation (32), 2020.

Authors · CommentOpenReview ↗

Continued Response to Reviewer cNDC

For training, are the authors using ApproxPC updates for each individual sample? It would be interesting (and relevant for reproducibility) if the authors could elaborate on the conditions where the model failed to converge/learn? Maybe the initial conditions (v∗v^*) that were too far from the target? What happens in the control/dynamics when the target y is from a different class?

Yes, during training with Approx PC, for each sample, we use multiple nudges towards the target, and for each nudge, we run for multiple timesteps until convergence. Thus, by design, the v∗v^* is a stable fixed prior to training on a sample, and the target is chosen such that it is a small enough perturbation (nudge) toward the final label. This works for both similar and differing class labels to the previous sample (we shuffle our datasets for training in Section 6) and a wide range of perturbation sizes as shown in Figure 6.

Still, we agree that it is important to include a comprehensive empirical study of when Approx PC fails for reproducibility. Accordingly, we have also expanded our hyperparameter sweeps in order to better chart the regimes where Approx PC fails. We added sweeps for learning rate, activation time constant, convergence tolerance, and nudge tolerance.

Table 2a: Accuracies for Approx PC on FashionMNIST, across a range of hyperparameters. Default values are bolded.

Dynamics convergence tolerance (for moving to next nudge):

  • 10−310^{-3} → 85.54 ± 0.32%
  • 10−2\mathbf{10^{-2}} → 85.77 ± 0.12%
  • 10−110^{-1} → 78.57 ± 0.65%

Nudge convergence tolerance (for moving to next sample):

  • 10−310^{-3} → 85.54 ± 0.09%
  • 10−2\mathbf{10^{-2}} → 85.73 ± 0.08%
  • 10−110^{-1} → 84.27 ± 0.06%

Number of hidden layers (all width=256):

  • 1 → 84.49 ± 0.47%
  • 2 → 85.72 ± 0.13%
  • 3 → 82.49 ± 0.92%*

Activation time constant for weight learning rates (10−810^{-8}, 10−510^{-5}):

  • 5 → (85.75 ± 0.07%, 68.97 ± 2.39%)**
  • 10 → (85.93 ± 0.04%, 43.27 ± 5.65%)
  • 20 → (83.21 ± 2.59%, 31.67 ± 3.41%)
  • 30 → (85.73 ± 0.08%, 18.36 ± 1.95%)

* At the time of writing, this accuracy is computed using only two converged random repeats. We will update it in the discussion here as more results come in.

** Note that 10−810^{-8} is within the optimal learning rate range for Approx PC. In this band, we are not sensitive to time constant, but at the non-optimal 10−510^{-5}, time constant has a greater effect. This is inline with what we observe for PC.

Table 2b: Accuracies for PC on FashionMNIST, across a range of hyperparameters. Default values are bolded.

Sample convergence tolerance:

  • 10−310^{-3} → 81.49 ± 0.17%
  • 10−2\mathbf{10^{-2}} → 81.46 ± 0.21%
  • 10−110^{-1} → 54.07 ± 1.77%

Number of hidden layers (all width=256):

  • 1 → 82.25 ± 0.13%
  • 2 → 81.28 ± 0.22%
  • 3 → 79.92 ± 1.06%
Reviewer 3tWgOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors show that deep feedback control is closely related to predictive coding -- namely, DFC is an approximation of PC at equilibrium. They use this connection to develop "Approx PC" -- approximating PC dynamics using a centralized feedback controller. They show that Approx PC accelerates convergence on MNIST.

Strengths and weaknesses

Strengths

The core strength here is the accelerated convergence result. One core limitation of PC is the slow inference convergence, meaning that in a typical PC setting one either has to use many inference steps per sample / weight update, or deal with slower learning convergence. Theoretically, the connection of PC and DFC is interesting in itself, but the narrative here is strengthened by how the authors exploit this connection to speed up inference/training in PC, and finally how this is justified by concepts in control theory.

Weaknesses

The main weakness of the paper is experimental scope. It is standard in the PC literature to test on relatively small models on relatively simple data. However, I feel like the PC literature is moving beyond this in recent years. The Fig 7 is MNIST, MLP with 784->64->32->10. Whereas many recent works have made it relatively simple to test these ideas in more difficult tasks and a wider array of architectures. The concern is fundamental -- many results can hide when only tested in small models on just MNIST.

Therefore, the results here simply might not hold up sufficiently well across other tasks or model regimes. So while the idea of Approx PC is compelling and well motivated, there is not enough empirical validation to justify some of the strong claims in the paper. Ultimately, the connection between DFC and PC is interesting, but as a core scientific contribution to PC, we would need to see it in a wider battery of tasks and settings. Even if to find where Approx PC might fail. A large literature of PC v BP experimental templates exist in the literature (Pinchetti's benchmarking, experimental settings of Innocenti, etc) that are easy to utilize and compare against.

I am a bit concerned about comparisons in Fig 7. PC can be sensitive to both weight and inference learning rates together. But the authors only sweep weight LR.

Questions

How does htis method compare against existing literature, where might Approx PC fail?

Limitations

Yes

Final justification

Authors moderately addressed my concerns. I am in slight disagreement with the other reviewers who were more enthusiastic. I still think the experimental support is lacking -- and not just slightly, by a fairly large margin. And the rebuttal process gave some improvement but I expected more. That said, I am raising my score from a 3 to a 4.

Formatting concerns

None

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer 3tWg

The main weakness of the paper is experimental scope. [...]

Therefore, the results here simply might not hold up sufficiently well across other tasks or model regimes. [...]

We thank the reviewer for their helpful comments. Although our experiments were meant primarily to validate a novel learning algorithm inspired by our theoretical contributions, rather than to identify the upper limit of Approx PC performance, we agree that our experimental scope was limited.

To address this, we ran Approx PC on a more difficult problem (FashionMNIST), and trained a larger network (784->256->256->10, in line with prior work [1]). We found that Approx PC remained stable in these settings and achieved comparable accuracies to those reported by Pinchetti et al. [3] for PC. In addition to increasing the network size, following existing work [2], we switched our optimizer from vanilla SGD to Adam with weight decay, obtaining higher absolute performance.

Table 1:

For MNIST, we obtain the following results:

  • PC: 92.05 ± 0.18%—previously ~60%
  • PC w/ nudges: 96.57 ± 0.16%
  • Approx PC: 97.32 ± 0.12% —previously 93.65 ± 0.34%
  • DFC (from [2]): 97.75 ± 0.094%
  • Strong DFC (from [1]): 98.02 ± 0.05%
  • Backpropagation (from [1]): 98.17 ± 0.11%

For FashionMNIST (784-256-256-10), we obtain the following results:

  • PC: 83.27 ± 0.18%
  • PC w/ nudges: 86.14 ± 0.10%
  • Approx PC: 85.73 ± 0.08%
  • DFC (from [2]): 88.83 ± 0.27%
  • Strong DFC (from [1]): 88.64 ± 0.17%
  • Backpropagation (from [1]): 89.40 ± 0.44%

To explore Approx PC on different architecture families, we have now implemented convolutional neural nets with pooling. While initial results do indicate that the models learn beyond chance, we have not had enough time to tune our hyperparameters to achieve comparable performance on MNIST (currently ~60%) and CIFAR-10 (currently ~40%). We will share these results as they become available during the discussion period.

We have also expanded our hyperparameter sweeps in order to better chart the regimes where Approx PC fails. We added sweeps for learning rate, activation time constant, convergence tolerance, and nudge tolerance.

Table 2a: Accuracies for Approx PC on FashionMNIST, across a range of hyperparameters. Default values are bolded.

Dynamics convergence tolerance (for moving to next nudge):

  • 10−310^{-3} → 85.54 ± 0.32%
  • 10−2\mathbf{10^{-2}} → 85.77 ± 0.12%
  • 10−110^{-1} → 78.57 ± 0.65%

Nudge convergence tolerance (for moving to next sample):

  • 10−310^{-3} → 85.54 ± 0.09%
  • 10−2\mathbf{10^{-2}} → 85.73 ± 0.08%
  • 10−110^{-1} → 84.27 ± 0.06%

Number of hidden layers (all width=256):

  • 1 → 84.49 ± 0.47%
  • 2 → 85.72 ± 0.13%
  • 3 → 82.49 ± 0.92%*

Activation time constant for weight learning rates (10−810^{-8}, 10−510^{-5}):

  • 5 → (85.75 ± 0.07%, 68.97 ± 2.39%)**
  • 10 → (85.93 ± 0.04%, 43.27 ± 5.65%)
  • 20 → (83.21 ± 2.59%, 31.67 ± 3.41%)
  • 30 → (85.73 ± 0.08%, 18.36 ± 1.95%)

* At the time of writing, this accuracy is computed using only two converged random repeats. We will update it in the discussion here as more results come in.

** Note that 10−810^{-8} is within the optimal learning rate range for Approx PC. In this band, we are not sensitive to time constant, but at the non-optimal 10−510^{-5}, time constant has a greater effect. This is inline with what we observe for PC.

Table 2b: Accuracies for PC on FashionMNIST, across a range of hyperparameters. Default values are bolded.

Sample convergence tolerance:

  • 10−310^{-3} → 81.49 ± 0.17%
  • 10−2\mathbf{10^{-2}} → 81.46 ± 0.21%
  • 10−110^{-1} → 54.07 ± 1.77%

Number of hidden layers (all width=256):

  • 1 → 82.25 ± 0.13%
  • 2 → 81.28 ± 0.22%
  • 3 → 79.92 ± 1.06%

Although the new analyses suggested by the reviewers expand the empirical scope of Approx PC, we acknowledge that the results achieved in our limited set of experiments might not hold more generally. Therefore, we will narrow the strength of our empirical claims. Our expanded experiments validate this novel approach whose full scope and limitations remain to be established in future work.

I am a bit concerned about comparisons in Fig 7. PC can be sensitive to both weight and inference learning rates together. But the authors only sweep weight LR.

To address the reviewer’s concern about inference learning rate sensitivity, we ran a sweep over the activation time constant (i.e. inference learning rate) of 5, 10, and 20 [AU] for Approx PC on FashionMNIST. Please see Table 2a and the accompanying footnote **. For the camera-ready, we plan to run a more extensive and fine-grained joint sweep over time constant and weight learning rate.

How does htis method compare against existing literature, where might Approx PC fail?

Please see our results above (Table 1 and 2).

Reviewer 3tWg · CommentOpenReview ↗

Thanks for the response. Without asking for new experiments, can you comment on why 784->256->256->10 and not e.g. deeper networks? I ask because of the wealth of evidence suggesting that PC exhibits signal decay that occur with deeper networks and that some of PC's difficulties often stem from getting things to work with depth.

I am generally inclined to increase my score to a 4, but there is still not enough evidence (empirical or theoretical) to feel like I have an understanding of where Approx PC breaks.

Authors · CommentOpenReview ↗

Response to Reviewer 3tWg

We thank the reviewer for taking the time to read our response and for their positive assessment in light of our recent experiments.

We agree that both PC and Approx PC can be more challenging to train with deeper networks. This is why we attempted to sweep depth (see Table 2a and b above---networks with 1, 2, and 3 hidden layers---one layer deeper than noted in the reviewer's response). Due to time limitations, we could not do a more comprehensive sweep of depth, but our initial results indicate that the accuracy does decrease for deeper networks (≈\approx 82% vs. 85% on FashionMNIST) as the reviewer expected. This mirrors our more detailed sweep for toy models where the approximation degrades with deeper networks, and matches our theoretical result which suggests that the quality of approximation degrades with network depth. We observe a similar decline in performance for PC (≈\approx 79% vs 82%; see Table 2b). We will expand the depth sweep to even deeper networks in the final revision.

More generally, since Approx PC is an approximation of PC, we expect that its failure modes in the design space should mirror those of PC. This is born out in our hyperparameter sweeps (see Table 2b above for full sweeps):

  • Increasing the number of hidden layer degrades performance in both Approx PC and PC: 1 hidden layer vs. 3 hidden layers: 84.49 ± 0.47% vs. 82.49 ± 0.92% for Approx PC, 82.25 ± 0.13% vs. 79.92 ± 1.06% for PC
  • Looser convergence thresholds degrade performance in both Approx PC and PC: 10−310^{-3} vs. 10−110^{-1}: 85.54 ± 0.09% vs. 78.57 ± 0.65% for Approx PC, 81.49 ± 0.17% vs. 54.07 ± 1.77% for PC
  • At non-optimal weight LR, performance is sensitive to inference time constant, while at the optimal LR, this sensitivity is minimized:
    • Approx PC for inference time constant (10, 30):
      • Optimal LR = 10−810^{-8} → (85.93 ± 0.04%, 85.73 ± 0.08%)
      • Non-optimal LR = 10−510^{-5} → (43.27 ± 5.65%, 18.36 ± 1.95%)
    • PC for inference time constant (10, 30):
      • Non-optimal LR = 10−810^{-8} → (14.91% ± 4.18%,12.16% ± 3.72%)
      • Optimal LR = 10−510^{-5} → (83.59% ± 0.13%, 81.10% ± 0.03%)

In our hands, the primary discernable difference between PC and Approx PC's failure modes is w.r.t. learning rates and time constants. As shown above, for non-optimal learning rates, both methods degrade in performance; while Approx PC can recover some performance at fast enough inference time constants, PC consistently fails to recover beyond ~chance accuracy. We speculate that this is due to nudging. With a fast time constant, the dynamics converge quickly, allowing the approximation to hold and nudging to effectively mitigate compounding errors. We will expand our sweep of the inference time constant to examine this behavior more closely.

We will discuss all of the above points in the limitations section in the final manuscript.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…