Learning complex temporal dependencies via local synaptic plasticity
This paper demonstrates that temporal predictive coding (tPC), a biologically plausible framework utilizing local synaptic plasticity, can effectively learn complex temporal dependencies and rival traditional backpropagation-based methods by leveraging reservoir dynamics, hierarchical structures, and eligibility traces.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
To navigate the world, our brains must constantly track how events unfold over time. Whether we are predicting the next word in a sentence, timing a tennis swing, or simply remembering where we left our keys, the ability to extract patterns from a sequence of moments is fundamental to human thought. For decades, scientists trying to understand this process have relied on powerful computer models called recurrent neural networks. These digital systems are excellent at learning sequences, but they are often built on a foundation that does not match how real brains work. The standard method for teaching these networks involves a mathematical trick that requires the system to look backward through time, storing every past state and sending error signals in reverse. While this works well for computers, it is considered biologically impossible for neurons, which can only react to signals arriving at their immediate location and cannot access information from the distant past. This gap between effective artificial intelligence and plausible biology has left a major question unanswered: how does the brain actually learn complex temporal dependencies using only local, biological rules?
A team of researchers at the University of Oxford has taken a significant step toward answering this question by exploring a framework called temporal predictive coding. This approach suggests that the brain does not need to look backward to learn; instead, it constantly generates predictions about what will happen next and updates its internal model based on the difference between those predictions and reality. The researchers, Julian Ng-Kee-Kwong, Mufeng Tang, Thomas Akam, and Rafal Bogacz, investigated whether this local learning method could handle the complex, time-based tasks usually reserved for more powerful, biologically unrealistic algorithms. They found that by refining this predictive coding framework, they could create networks that learn to remember context, solve intricate puzzles involving time delays, and remain robust against distractions, all while using only the simple, local rules that real neurons are known to follow.
The core of their investigation involved testing a specific version of this predictive coding system against a standard, truncated version of the backward-learning algorithm. In the standard backward method, the computer calculates how much a mistake at the end of a sequence was caused by events that happened just one step ago. The researchers showed that their predictive coding system produces mathematically similar updates to this one-step backward method, but with a crucial difference in how it processes information. In the predictive coding model, the system does not just pass information forward; it actively refines its internal state at every moment by comparing its prediction with the actual sensory input it receives. This creates a subtle but powerful flow of information from the present observation back into the network's memory, allowing it to correct its course in real time. When they tested this on a simple task of tracking a moving particle's position, the predictive coding model learned the task easily, whereas a standard network using the one-step backward method failed, unable to integrate the velocity information over time without that extra, immediate feedback.
Building on this foundation, the team explored whether these networks could handle more complex sequences where the current moment depends on events from several steps in the past, a type of problem known as non-Markovian. In these scenarios, knowing the immediate past is not enough; the system must hold a longer context in mind. The researchers demonstrated that their predictive coding networks could exploit their internal dynamics to act like a reservoir, a high-dimensional state space where past inputs linger and influence the present. Unlike standard reservoir computers that keep their internal connections fixed, this system could shape its own internal pathways through local learning. By adjusting the connections between neurons based on local errors, the network reorganized its internal state so that different patterns became easier to distinguish. This allowed the system to learn alternating sequences of zeros and ones that required remembering a block of several steps, a task that fixed reservoirs struggled with as the patterns became more complex.
To tackle even more difficult temporal challenges, the researchers introduced a hierarchical structure, stacking multiple layers of these predictive networks on top of each other. In this arrangement, each layer receives information from the layer below, but with a slight time delay, allowing different levels of the network to operate on different timescales. This architecture proved remarkably effective at solving tasks that required combining information from widely separated moments, such as a parity check where the system had to count the total number of specific signals over a long sequence to determine if the count was odd or even. While a single-layer network failed when the sequence became too long or the time gaps too wide, the multi-layered system succeeded. Furthermore, this hierarchical design provided a shield against interference. When the researchers introduced strong, distracting signals into the input stream, the single-layer network lost the memory of the original cue, but the hierarchical network retained it, selectively integrating the relevant information while filtering out the noise.
Finally, the team addressed the challenge of learning across very long delays, where the reward or error signal arrives long after the initial event. In biology, this is often handled by a mechanism called an eligibility trace, which acts like a temporary tag on a synapse, marking it as eligible for change until a global signal arrives to confirm the learning. The researchers incorporated this concept into their predictive coding framework, creating a system that could maintain a decaying memory of past activity. This allowed the network to link an event that happened several seconds ago with a learning signal that arrived much later. In tests involving a delayed response task, where the model had to remember a cue presented at the start of a trial and reproduce it after a variable delay, the system with these eligibility traces succeeded where the standard version failed. It could bridge gaps of up to ten time steps, successfully reproducing the original cue even after the delay, demonstrating that local plasticity rules can indeed support learning over extended periods.
The findings suggest that the brain may not need the complex, non-local machinery of backward error propagation to learn from time. Instead, relatively simple networks governed by local rules, when organized with predictive dynamics, hierarchical layers, and eligibility traces, can support sophisticated temporal learning. While these models are still simulations and not yet a complete account of the human brain, they offer a compelling alternative to the standard algorithms used in artificial intelligence. They show that biological plausibility does not require sacrificing the ability to learn complex patterns. By combining predictive coding with these additional mechanisms, the researchers have revealed a path toward understanding how biological systems might solve the difficult problem of temporal credit assignment, learning from the past without needing to look backward.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.