Abstract: Predictive models are highly advanced in understanding the mechanisms of brain function. Recent advances in machine learning further underscore the power of prediction for optimal representation in learning. However, there remains a gap in creating a biologically plausible model that explains how the neural system achieves prediction. In this paper, we introduce a framework that employs an energy-based model (EBM) to capture the nuanced processes of predicting observation after action within the neural system, encompassing prediction, learning, and inference. We implement the EBM with a hierarchical structure and integrate a continuous attractor neural network for memory, constructing a biologically plausible model. In experimental evaluations, our model demonstrates efficacy across diverse scenarios. The range of actions includes eye movement, motion in environments, head turning, and static observation while the environment changes. Our model not only makes accurate predictions for environments it was trained on, but also provides reasonable predictions for unseen environments, matching the performances of machine learning methods in multiple tasks. We hope that this study contributes to a deep understanding of how the neural system performs prediction.
Introduction
To navigate complex environments, the brain must construct an internal "world model" capable of predicting how self-generated actions—such as eye movements or head rotations—will alter sensory input. While contemporary machine learning has yielded powerful world models, these typically rely on backpropagation (BP) or backpropagation through time (BPTT). These algorithms are often criticized as biologically implausible because they necessitate global information flow and non-local weight updates. This paper introduces a framework that bridges this gap by combining hierarchical Energy-Based Models (EBMs) with Continuous Attractor Neural Networks (CANNs) to achieve predictive learning through local, biologically realistic mechanisms.
Methodology
The proposed sequential generative model rests on two primary architectural pillars:
- Hierarchical Energy-Based Models (EBMs): Rather than utilizing standard feedforward networks, the framework employs a multi-layer EBM to represent the probabilistic relationship between latent variables and observations. By assuming Gaussian conditional probabilities, the model circumvents the "partition function" problem common in EBMs. This allows for the use of Langevin dynamics for inference and the deployment of "error neurons" that facilitate local learning via Hebbian rules.
- Continuous Attractor Neural Networks (CANNs): To maintain temporal consistency and memory, the model integrates a CANN. This structure forms a stable, low-dimensional manifold—a "cognitive map"—that tracks the environmental state. It processes current actions and previous latent states to generate a "memory trace" ($m_t$), which serves as the prior for subsequent predictions.
Learning is driven by the minimization of a Prediction Error Upper Bound. Instead of a global loss function, each layer minimizes its own local prediction error, enabling the network to learn dynamically during environmental interaction without the need for global backpropagation.
Experimental Evaluation
The model's performance was validated across several diverse tasks to test different types of actions:
- Eye Movement: Using CIFAR-10 and Fashion-MNIST datasets where the "action" involves shifting a foveal patch.
- Spatial Navigation: Virtual motion in DeepMind Lab and real-world head-turning in Google Street View.
- Dynamic Scenes: Predicting rotating digits (MNIST-rot) and Beijing traffic flow (TaxiBJ) to test stationary observation of a changing world.
The model demonstrated superior accuracy in these tasks. Notably, on the CIFAR-10 eye-movement task, it achieved a Mean Squared Error (MSE) of 0.0287, significantly outperforming the machine-learning-centric TransDreamer (0.0471). Furthermore, the model showed robust performance on real-world traffic data, matching specialized BP-based architectures despite its biological constraints.
Key Insights and Imagination
A central finding of this work is that local, Hebbian-style updates are sufficient to match or exceed the performance of models trained with global backpropagation. The integration of attractors provides the "temporal glue" necessary to maintain a continuous environmental trace.
This architecture also enables an "imagination" capability. Once trained, the model can simulate sequences of future observations in its latent space based on planned actions, even in the absence of new sensory data. This suggests that the model learns the underlying spatial dynamics of the environment rather than merely memorizing visual patterns.
Discussion and Conclusion
While the model is computationally effective, it faces limitations such as gradient vanishing in deep hierarchies, a common issue that might be mitigated in biological systems through skip connections. Future research will focus on parallelizing layer processing and integrating this world model with Reinforcement Learning (RL) agents to explore goal-directed behavior.
In summary, this study presents a biologically plausible framework for predictive learning that rivals state-of-the-art machine learning methods. By leveraging EBMs and attractor structures, the model offers a realistic account of how the neural system might perform inference and learning in a dynamic world.
Summary updated