IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1011183.html
   My bibliography  Save this article

Predictive coding networks for temporal prediction

Author

Listed:
  • Beren Millidge
  • Mufeng Tang
  • Mahyar Osanlouy
  • Nicol S Harper
  • Rafal Bogacz

Abstract

One of the key problems the brain faces is inferring the state of the world from a sequence of dynamically changing stimuli, and it is not yet clear how the sensory system achieves this task. A well-established computational framework for describing perceptual processes in the brain is provided by the theory of predictive coding. Although the original proposals of predictive coding have discussed temporal prediction, later work developing this theory mostly focused on static stimuli, and key questions on neural implementation and computational properties of temporal predictive coding networks remain open. Here, we address these questions and present a formulation of the temporal predictive coding model that can be naturally implemented in recurrent networks, in which activity dynamics rely only on local inputs to the neurons, and learning only utilises local Hebbian plasticity. Additionally, we show that temporal predictive coding networks can approximate the performance of the Kalman filter in predicting behaviour of linear systems, and behave as a variant of a Kalman filter which does not track its own subjective posterior variance. Importantly, temporal predictive coding networks can achieve similar accuracy as the Kalman filter without performing complex mathematical operations, but just employing simple computations that can be implemented by biological networks. Moreover, when trained with natural dynamic inputs, we found that temporal predictive coding can produce Gabor-like, motion-sensitive receptive fields resembling those observed in real neurons in visual areas. In addition, we demonstrate how the model can be effectively generalized to nonlinear systems. Overall, models presented in this paper show how biologically plausible circuits can predict future stimuli and may guide research on understanding specific neural circuits in brain areas involved in temporal prediction.Author summary: While significant advances have been made in the neuroscience of how the brain processes static stimuli, the time dimension has often been relatively neglected. However, time is crucial since the stimuli perceived by our senses typically dynamically vary in time, and the cortex needs to make sense of these changing inputs. This paper describes a computational model of cortical networks processing temporal stimuli. This model is able to infer and track the state of the environment based on noisy inputs, and predict future sensory stimuli. By ensuring that these predictions match the incoming stimuli, the model is able to learn the structure and statistics of its temporal inputs and produces responses of neurons resembling those in the brain. The model may help in further understanding neural circuits in sensory cortical areas.

Suggested Citation

  • Beren Millidge & Mufeng Tang & Mahyar Osanlouy & Nicol S Harper & Rafal Bogacz, 2024. "Predictive coding networks for temporal prediction," PLOS Computational Biology, Public Library of Science, vol. 20(4), pages 1-31, April.
  • Handle: RePEc:plo:pcbi00:1011183
    DOI: 10.1371/journal.pcbi.1011183
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1011183
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1011183&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1011183?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Joaquin Navajas & Chandni Hindocha & Hebah Foda & Mehdi Keramati & Peter E. Latham & Bahador Bahrami, 2017. "The idiosyncratic nature of confidence," Nature Human Behaviour, Nature, vol. 1(11), pages 810-818, November.
    2. Guillaume Bellec & Franz Scherr & Anand Subramoney & Elias Hajek & Darjan Salaj & Robert Legenstein & Wolfgang Maass, 2020. "A solution to the learning dilemma for recurrent networks of spiking neurons," Nature Communications, Nature, vol. 11(1), pages 1-15, December.
    3. Nathaniel D. Daw & John P. O'Doherty & Peter Dayan & Ben Seymour & Raymond J. Dolan, 2006. "Cortical substrates for exploratory decisions in humans," Nature, Nature, vol. 441(7095), pages 876-879, June.
    4. Alexander Ororbia & Daniel Kifer, 2022. "The neural coding framework for learning generative models," Nature Communications, Nature, vol. 13(1), pages 1-14, December.
    5. Gregor Rainer & Wael F. Asaad & Earl K. Miller, 1998. "Selective representation of relevant information by neurons in the primate prefrontal cortex," Nature, Nature, vol. 393(6685), pages 577-579, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yongping Bao & Ludwig Danwitz & Fabian Dvorak & Sebastian Fehrler & Lars Hornuf & Hsuan Yu Lin & Bettina von Helversen, 2022. "Similarity and Consistency in Algorithm-Guided Exploration," CESifo Working Paper Series 10188, CESifo.
    2. Vasiliki Bougou & Michaël Vanhoyland & Alexander Bertrand & Wim Paesschen & Hans Op De Beeck & Peter Janssen & Tom Theys, 2024. "Neuronal tuning and population representations of shape and category in human visual cortex," Nature Communications, Nature, vol. 15(1), pages 1-15, December.
    3. Peter S. Riefer & Bradley C. Love, 2015. "Unfazed by Both the Bull and Bear: Strategic Exploration in Dynamic Environments," Games, MDPI, vol. 6(3), pages 1-11, August.
    4. Makoto Naruse & Eiji Yamamoto & Takashi Nakao & Takuma Akimoto & Hayato Saigo & Kazuya Okamura & Izumi Ojima & Georg Northoff & Hirokazu Hori, 2018. "Why is the environment important for decision making? Local reservoir model for choice-based learning," PLOS ONE, Public Library of Science, vol. 13(10), pages 1-17, October.
    5. Zhiwei Chen & Wenjie Li & Zhen Fan & Shuai Dong & Yihong Chen & Minghui Qin & Min Zeng & Xubing Lu & Guofu Zhou & Xingsen Gao & Jun-Ming Liu, 2023. "All-ferroelectric implementation of reservoir computing," Nature Communications, Nature, vol. 14(1), pages 1-12, December.
    6. Jeremy Gordon & Flavio Chierichetti & Alessandro Panconesi & Giovanni Pezzulo, 2023. "Information foraging with an oracle," PLOS ONE, Public Library of Science, vol. 18(12), pages 1-21, December.
    7. Christina Fang & Daniel Levinthal, 2009. "Near-Term Liability of Exploitation: Exploration and Exploitation in Multistage Problems," Organization Science, INFORMS, vol. 20(3), pages 538-551, June.
    8. Matteo Saponati & Martin Vinck, 2023. "Sequence anticipation and spike-timing-dependent plasticity emerge from a predictive learning rule," Nature Communications, Nature, vol. 14(1), pages 1-13, December.
    9. Hu, Yingyao & Kayaba, Yutaka & Shum, Matthew, 2013. "Nonparametric learning rules from bandit experiments: The eyes have it!," Games and Economic Behavior, Elsevier, vol. 81(C), pages 215-231.
    10. Runnan Cao & Peter Brunner & Puneeth N. Chakravarthula & Krista L. Wahlstrom & Cory Inman & Elliot H. Smith & Xin Li & Adam N. Mamelak & Nicholas J. Brandmeir & Ueli Rutishauser & Jon T. Willie & Shuo, 2025. "A neuronal code for object representation and memory in the human amygdala and hippocampus," Nature Communications, Nature, vol. 16(1), pages 1-16, December.
    11. Elise Payzan-LeNestour & Peter Bossaerts, 2011. "Risk, Unexpected Uncertainty, and Estimation Uncertainty: Bayesian Learning in Unstable Settings," PLOS Computational Biology, Public Library of Science, vol. 7(1), pages 1-14, January.
    12. Nancy Garon & Ellen Doucet & Bronwyn Inness, 2024. "Decomposing decision-making in preschoolers: Making decisions under ambiguity versus risk," PLOS ONE, Public Library of Science, vol. 19(9), pages 1-31, September.
    13. Florent Meyniel, 2020. "Brain dynamics for confidence-weighted learning," PLOS Computational Biology, Public Library of Science, vol. 16(6), pages 1-27, June.
    14. Ian Krajbich & Todd Hare & Björn Bartling & Yosuke Morishima & Ernst Fehr, 2015. "A Common Mechanism Underlying Food Choice and Social Decisions," PLOS Computational Biology, Public Library of Science, vol. 11(10), pages 1-24, October.
    15. Thomas Ortner & Horst Petschenig & Athanasios Vasilopoulos & Roland Renner & Špela Brglez & Thomas Limbacher & Enrique Piñero & Alejandro Linares-Barranco & Angeliki Pantazi & Robert Legenstein, 2025. "Rapid learning with phase-change memory-based in-memory computing through learning-to-learn," Nature Communications, Nature, vol. 16(1), pages 1-16, December.
    16. Maël Lebreton & Karin Bacily & Stefano Palminteri & Jan B Engelmann, 2019. "Contextual influence on confidence judgments in human reinforcement learning," PLOS Computational Biology, Public Library of Science, vol. 15(4), pages 1-27, April.
    17. repec:cup:judgdm:v:17:y:2022:i:4:p:691-719 is not listed on IDEAS
    18. Ahmed H. Alsharif & Nor Zafir Md Salleh & Rohaizat Baharun & Alharthi Rami Hashem E & Aida Azlina Mansor & Javed Ali & Alhamzah F. Abbas, 2021. "Neuroimaging Techniques in Advertising Research: Main Applications, Development, and Brain Regions and Processes," Sustainability, MDPI, vol. 13(11), pages 1-25, June.
    19. Aaron J Gruber & Rifat J Hussain & Patricio O'Donnell, 2009. "The Nucleus Accumbens: A Switchboard for Goal-Directed Behaviors," PLOS ONE, Public Library of Science, vol. 4(4), pages 1-10, April.
    20. repec:cup:judgdm:v:15:y:2020:i:5:p:823-850 is not listed on IDEAS
    21. Xing Chen & Dongshu Liu & Jérémie Laydevant & Julie Grollier, 2025. "Self-Contrastive Forward-Forward algorithm," Nature Communications, Nature, vol. 16(1), pages 1-13, December.
    22. Phanish Puranam & Murali Swamy, 2016. "How Initial Representations Shape Coupled Learning Processes," Organization Science, INFORMS, vol. 27(2), pages 323-335, April.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1011183. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.