Circular Predictive Coding Unlocks Effective Depth

Tommaso Salvatori, Matteo ForasassiarXiv 2026

Imagine you’re trying to solve a complex riddle. You don't just look at the words once and have the answer pop out; you read it, mull it over, loop back to the beginning, and let the ideas settle until they click.

Standard deep learning doesn't really work like that. It’s more like a high-speed assembly line: data goes in one end, passes through a hundred specialized stations (layers), and an answer comes out the other. If you want a "smarter" model, you usually just add more stations. But in the world of Predictive Coding (PC)—a brain-inspired alternative to the standard backpropagation algorithm—adding more layers often breaks the machine. The "error signals" that tell the model how to learn simply fade away before they reach the early layers.

In their paper, Circular Predictive Coding Unlocks Effective Depth, Tommaso Salvatori and Matteo Forasassi propose a elegant fix: stop building longer assembly lines and start building loops.

TL;DR

By looping a shallow neural network back on itself, the authors created "Circular Predictive Coding Networks" (CPCNs) that gain depth through time rather than through stacking layers. This allows tiny models to solve complex reasoning tasks like Sudoku and scale to language modeling—tasks that were previously impossible for predictive coding models.

What Problem Does This Paper Address?

Predictive Coding is fascinating because it’s biologically plausible. Instead of a global supervisor telling every neuron what to do, each layer tries to predict the activity of the next, and learning happens by minimizing the "energy" (the difference between prediction and reality) locally.

However, PC has a "depth wall." In a deep feedforward network, the error signal created at the output has to travel back through every single layer. As shown in Figure 1(a), this signal fades out, leaving the early layers with no idea how to improve. If you make the network shallow to keep the signal strong, it isn't "deep" enough to solve hard problems.

Figure 1(a)

Methods

The authors introduce Circular Predictive Coding Networks (CPCNs). Instead of a long chain, they identify the first and last hidden layers as the same thing ($x_0 \equiv x_L$), closing the network into a loop.

  • Effective Depth: In this setup, "depth" isn't the number of layers you own; it's the relaxation time. The longer you let the network's energy minimize (circulate the error), the "deeper" the computation becomes.
  • The DEQ Bridge: They formally prove that a CPCN reaching its lowest energy state is mathematically equivalent to a Deep Equilibrium Model (DEQ) finding a fixed point. This provides a solid theoretical foundation for why circularity works.
  • Recursive Stages: For reasoning tasks, they use a "Recursive CPCN" that chains multiple energy minimization stages together, effectively allowing the model to "think in rounds."
  • Dual Readout: To help the learning signal reach the loop faster, they read the output from an average of the last two nodes in the loop, which they found significantly boosts performance.

Datasets

The authors tested their circular models across three distinct domains:

  • Image Classification: CIFAR-10, CIFAR-100, and ImageNet32.
  • Constraint Satisfaction (Reasoning): A "Sudoku-hard" dataset containing 180,000 puzzles.
  • Language Modeling: TinyStories (a dataset of short, simple stories) and WikiText-103.

Key Insights and Ideas

  • Circularity = Infinite Depth: You can trade space (layers) for time (iterations). A 4-layer loop can behave like a 100-layer network if you let it settle long enough.
  • Adaptive Thinking: Harder problems naturally take more "sweeps" through the loop to solve. The model doesn't just run a fixed calculation; it "relaxes" into the answer.
  • Bio-Plausibility Meets Scale: This is the first time Predictive Coding has successfully scaled to autoregressive Transformers, matching the performance of modern DEQ models.
  • Hardware Friendly: For researchers building physical or analog neural networks, this is a game-changer. You can build a small, fixed-size circuit and get massive computational depth just by letting the signal recurse.
Theoretical mapping between standard and circular PC networks

Key Results

  • Sudoku Mastery: The recursive CPCN reached 99.3% accuracy on hard Sudoku puzzles. Standard feedforward PC models can't solve these at all because they require iterative logic.
  • Parameter Efficiency: On ImageNet32, circular models matched the accuracy of state-of-the-art PC ResNets and VGG networks while using substantially fewer parameters.
  • Language Modeling: On TinyStories, the CPCN achieved a perplexity of 12.96, slightly outperforming its DEQ counterpart (13.33).

Limitations and Future Work

The authors note that their theoretical proofs rely on "contractivity"—the idea that the loop doesn't let signals explode into infinity. In practice, enforcing this strictly can limit what the model can learn.

Additionally, while circularity is efficient in terms of parameters, it can be slow to train on current GPU hardware, which is optimized for "one-and-done" forward passes rather than iterative energy minimization. Future work will likely focus on optimizing these "relaxation" steps to make CPCNs as fast as they are deep.

Summary updated

Abstract

Predictive coding networks perform credit assignment through an energy minimization process. Despite their ability to train models with arbitrary network topologies, they have mostly been used to train feedforward architectures to match the performance of backpropagation. However, they fail to do so when the models become too deep, because error signals become unstable or vanish as they travel through many layers. We address this limitation with circular networks, which get their depth directly from the energy minimization, rather than from stacking layers. Formally, we prove that convergence to an equilibrium of the energy functional of a circular predictive coding network approximates the fixed-point iteration process of a deep equilibrium model, showing that circularity alone suffices to unlock effective depth. Empirically, we show that circular models (i) outperform other predictive coding models of the same size on image classification tasks, matching the accuracy of state-of-the-art predictive coding ResNets and VGG networks despite having substantially fewer parameters; (ii) solve constraint satisfaction problems that require many steps of iterative reasoning, a task not feasible with feedforward models at all, reaching 99.3% test accuracy on Sudoku-hard via nested energy minimization loops; and (iii) scale to autoregressive language modeling by training a circular transformer on TinyStories and WikiText-103, before out of reach for predictive coding models. These results have direct implications for physical neural networks, where computational depth can be traded for recursion on a fixed-size circuit.
BibTeX
@misc{salvatori2026circular,
  author = {Tommaso Salvatori and Matteo Forasassi},
  title = {{Circular Predictive Coding Unlocks Effective Depth}},
  year = {2026},
  eprint = {2611.27610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27610},
}
Figure