Abstract
Tracking prey or recognizing a lurking predator is as crucial for survival as anticipating their actions. To guide behavior, the brain must extract information about object identities and their dynamics from entangled sensory inputs. How it accomplishes this feat remains an open question. Classical predictive coding theories propose that this ability arises by comparing predicted sensory signals with actual inputs and reducing the associated prediction errors. While such models capture important aspects of cortical computation, they typically focus on faithfully predicting sensory input and do not explicitly address how abstract, untangled representations of objects and their dynamics emerge solely through experience. Here, we develop a theory of representation learning in neural circuits that shifts the focus from prediction in the input space to prediction in representation space, without relying on external supervision or labeled data. Specifically, we introduce recurrent predictive learning (RPL), a recurrent joint-embedding predictive architecture inspired by self-supervised machine learning, that learns abstract representations of object identity and their dynamics and predicts future object motion from continuous sensory streams. Crucially, the model learns sequence representations that resemble successor-like representations observed in the primary visual cortex of humans. The model also develops abstract sequence representations comparable to those reported in the macaque prefrontal cortex. Finally, we outline how RPL’s modular feedforward-recurrent organization could map onto cortical microcircuits. Our work establishes a circuit-centric theory framework that provides new perspectives on how the brain may acquire an internal model of the world through experience.
Introduction
A fundamental challenge for the brain is "untangling" sensory information. Incoming data is a complex mix of object identities (what is it?) and dynamics (where is it going?). Traditional "predictive coding" theories suggest the brain learns by minimizing the difference between predicted and actual sensory inputs (e.g., pixels). However, this generative approach is computationally wasteful and lacks clear biological evidence for pixel-level feedback to the retina.
We propose Recurrent Predictive Learning (RPL), which shifts the objective from predicting raw inputs to predicting future internal representations. This approach aligns with Joint-Embedding Predictive Architectures (JEPA) in machine learning, focusing on abstract states rather than sensory details.
Methods: The RPL Framework
The RPL model consists of three functionally distinct components that process continuous sensory streams ($x_t$):
- The Encoder: A feed-forward network mapping sensory input to an intermediate embedding ($z_t$).
- The Integrator: A recurrent neural network (RNN) that integrates history to form a context-aware representation ($c_t$).
- The Predictor: A network that uses $c_t$ to predict the future output of the encoder ($z_{t+\Delta}$).
The system is trained by minimizing the prediction error between the predicted and actual future embeddings. A critical feature is the Stop-Gradient (SG) operation on the target embedding (indicated by dashed lines in architectural diagrams), which prevents the network from collapsing into trivial, constant solutions.
Key Insights and Results
Untangling Latent Variables
Using a dataset of synthetic moving animals, RPL demonstrated a superior ability to separate static identity from dynamic motion. While standard Invariance Learning (IL) models only capture static features, RPL achieved high linear decoding accuracy ($R^2 \approx 0.9$) for position, velocity, and orientation. This "untangling" allows the model to represent both what an object is and how it moves simultaneously.
Biological Plausibility and Neural Matching
RPL's internal representations qualitatively match several key biological observations:
- Successor Representations: Similar to neurons in human V1, RPL develops activity patterns that anticipate future states in a sequence.
- Abstract Sequence Learning: In tasks involving structured sequences (like MNIST triplets), RPL learns temporal order and abstract grammars, mirroring activity seen in the macaque prefrontal cortex.
- Cortical Mapping: The model's modularity suggests a mapping to the canonical cortical microcircuit, where superficial layers (L2/3) act as the encoder and deep layers (L5) serve as the integrator.
Discussion
RPL provides a robust framework for understanding how the brain builds an internal model of the world without external supervision. By predicting future representations, the brain can ignore irrelevant sensory noise and focus on the underlying physics of its environment. Future work will explore more biologically plausible credit assignment mechanisms and investigate how top-down feedback from higher cortical areas modulates these local predictions.
Summary updated