On the Infinite Width and Depth Limits of Predictive Coding Networks
This paper investigates the infinite width and depth limits of Predictive Coding Networks, deriving stable parameterizations that prevent training explosions and demonstrating that Predictive Coding gradients converge to Backpropagation gradients in wide networks, thereby offering a biologically plausible local learning mechanism for deep architectures.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a giant, multi-layered team of robots how to solve a puzzle. In the world of artificial intelligence, the standard way to do this is called "backpropagation." It's like a strict manager who stands at the very end of the assembly line, looks at the final mistake, and then runs all the way back to the beginning, shouting specific instructions to every single robot about exactly how they messed up. It works incredibly well for computers, but it is a method that differs from how nature operates. Real brains don't have a central manager shouting instructions backward through time; instead, every neuron only knows what its immediate neighbors are doing.
Enter "Predictive Coding," a theory suggesting that brains learn more like a group of friends trying to guess the weather. Each person (neuron) makes a prediction based on what their neighbors say, feels a little "error" if their guess is wrong, and adjusts their own activity to fit in better. Once everyone stops arguing and reaches a calm agreement (equilibrium), they all tweak their connections slightly to do better next time. This method is biologically realistic because everyone only talks to their neighbors, but for a long time, scientists weren't sure if it could handle the massive, deep networks needed for modern AI. Could this local, chatty method actually scale up to the size of a supercomputer, or would it fall apart?
This paper dives into that exact question by looking at what happens when you make these networks infinitely wide (adding tons of neurons side-by-side) and infinitely deep (adding tons of layers on top of each other). The researchers, Francesco Innocenti, El Mehdi Achour, and Rafal Bogacz, wanted to know: Can we tune the "knobs" of these predictive coding networks so they stay stable and learn effectively, just like the standard backpropagation networks we use today?
Their investigation reveals a surprising twist. They found that for predictive coding to work on a massive scale, it must use the exact same settings and scaling rules as the standard backpropagation method. If you try to use the "standard" settings that most people use in software like PyTorch, the predictive coding network's output will explode into chaos as it gets wider, much like a microphone left too close to a speaker. However, if you switch to a specific, mathematically precise set of rules (known as "mean-field" or "maximal update" parameterizations), the network stabilizes.
Under these stable conditions, the paper shows that as the network gets incredibly wide, the way predictive coding learns becomes almost indistinguishable from backpropagation. In fact, for networks that are much wider than they are deep (think of a wide, shallow pancake rather than a tall, thin tower), the "local" updates of predictive coding align perfectly with the "global" updates of backpropagation. The authors proved this mathematically for simple linear networks and confirmed it with experiments on complex, non-linear models like Convolutional Neural Networks (CNNs) and Transformers.
The study also rules out a few exciting possibilities. It suggests that the "fast" learning speed some researchers saw in deeper-than-wide networks using older settings was actually an illusion caused by instability; those settings break down as the network grows. Furthermore, while the paper suggests that the brain might use a local learning rule similar to predictive coding to achieve the power of backpropagation, it notes that this only works efficiently if the brain is "much wider than it is deep"—a hypothesis that aligns with current biological understanding of the cortex.
Ultimately, this work doesn't just say "predictive coding works"; it draws a strict boundary around how it can work. It tells us that to scale this biologically plausible method to the size of modern AI, we can't just tweak it randomly; we have to adopt the same rigorous mathematical scaling that makes standard AI work. This is a crucial step forward, suggesting that the brain might indeed be using a local, energy-minimizing dance to solve the same complex problems that our global, backpropagation-trained computers solve today.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.