bioRxivNeurosciencePreprint
Dynamic Predictive Coding with Hypernetworks
Linxing Preston JiangiD, Dimitrios C. Gklezakos, Rajesh P. N. RaoiD
Abstract
The original predictive coding model of Rao & Ballard [1] focused on spatial prediction to explain spatial receptive fields and contextual effects in the visual cortex. Here, we introduce a new dynamic predictive coding model that achieves spatiotemporal prediction of complex natural image sequences using time-varying transition matrices. We overcome the limitations of static linear transition models (as in, e.g., Kalman filters) using a hypernetwork to adjust the transition matrix dynamically for every time step, allowing the model to predict using a time-varying mixture of possible transition dynamics. We developed a single level model with recurrent modulation of transition weights by a hypernetwork and a two-level hierarchical model with top-down modulation based on a hypernetwork. At each time step, the model predicts the next input and estimates a sparse neural code by minimizing prediction error. When exposed to natural movies, the model learned localized, oriented spatial filters as well as both separable and inseparable (direction-selective) space-time receptive fields at the first level, similar to those found in the primary visual cortex (V1). Longer timescale responses and stability at the second level also emerged naturally from minimizing prediction errors for the first level dynamics. Our results suggest that the multiscale temporal response properties of cortical neurons could be the result of the cortex learning a hierarchical generative model of the visual world with higher order areas predicting the transition dynamics of lower order areas.
- Citations
- 3
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Dynamic Predictive Coding: A Model of Hierarchical Sequence Learning and Prediction in the Neocortex
Linxing Preston Jiang, Rajesh P. N. Rao·PLoS Computational BiologyPeer-reviewed·Feb 8, 2024
- Predictive Coding Networks for Temporal Prediction
Beren Millidge, Mufeng Tang, … Rafał Bogacz·PLoS Computational BiologyPeer-reviewed·Apr 1, 2024
- Deep predictive coding accounts for emergence of complex neural response properties along the visual cortical hierarchy
Shirin Dora, Sander M. Bohté, Cyriel M. A. Pennartz·Frontiers in Computational NeurosciencePeer-reviewed·Jul 28, 2021
- Spatial predictive coding in visual cortical neurons
Qingqing Zhang, Sverre Grødem, … Marius Pachitariu·bioRxiv·Sep 17, 2025
- Deep predictive coding networks partly capture neural signatures of short-term temporal adaptation in human visual cortex
Amber Marijn Brands, Paulo Ortiz, Iris I. A. Groen·Conference on Cognitive Computational Neuroscience (CCN)Peer-reviewed·Jan 1, 2025
- Hierarchical recurrent temporal prediction as a model of the mammalian dorsal visual pathway
Sebastian Klavinskis-Whiting, Andrew J. King, Nicol Spencer Harper·PLoS Computational BiologyPeer-reviewed·May 28, 2026