Skip to content

Hybrid predictive coding: Inferring, fast and slow

Alexander Tscshantz, Beren Millidge, Anil K. Seth, Christopher L. Buckley

PLoS Computational Biology August 2, 2023 DOI: 10.1371/journal.pcbi.1011280 via OpenAlex

Summary

AI-generated from the abstract

Predictive coding theory holds that the brain perceives by minimizing prediction errors through cycles of neural activity. However, some visual perception, including complex object recognition, happens too quickly for such cycles. This paper proposes that the initial fast 'feedforward sweep' performs amortized inference, using a learned function to map data directly to beliefs, while slower recurrent processing performs iterative inference, sequentially updating beliefs for greater accuracy. A hybrid predictive coding network combining both methods is introduced, implemented in a biologically plausible neural architecture using local Hebbian rules. The hybrid model achieves rapid perception for familiar data while retaining context-sensitivity and sample efficiency for novel situations, and adaptively balances both inference modes based on uncertainty.

Study at a glance

Characteristics Theoretical or philosophical paper Peer reviewed
Keywords Computer science Artificial intelligence Machine learning Coding social sciences Artificial neural network
Citations 56
Key finding A hybrid predictive coding network combining amortized and iterative inference can explain both rapid feedforward and slower recurrent visual processing, achieving efficient and accurate perception.

Abstract

Predictive coding is an influential model of cortical neural activity. It proposes that perceptual beliefs are furnished by sequentially minimising "prediction errors"-the differences between predicted and observed data. Implicit in this proposal is the idea that successful perception requires multiple cycles of neural activity. This is at odds with evidence that several aspects of visual perception-including complex forms of object recognition-arise from an initial "feedforward sweep" that occurs on fast timescales which preclude substantial recurrent activity. Here, we propose that the feedforward sweep can be understood as performing amortized inference (applying a learned function that maps directly from data to beliefs) and recurrent processing can be understood as performing iterative inference (sequentially updating neural activity in order to improve the accuracy of beliefs). We propose a hybrid predictive coding network that combines both iterative and amortized inference in a principled manner by describing both in terms of a dual optimization of a single objective function. We show that the resulting scheme can be implemented in a biologically plausible neural architecture that approximates Bayesian inference utilising local Hebbian update rules. We demonstrate that our hybrid predictive coding model combines the benefits of both amortized and iterative inference-obtaining rapid and computationally cheap perceptual inference for familiar data while maintaining the context-sensitivity, precision, and sample efficiency of iterative inference schemes. Moreover, we show how our model is inherently sensitive to its uncertainty and adaptively balances iterative and amortized inference to obtain accurate beliefs using minimum computational expense. Hybrid predictive coding offers a new perspective on the functional relevance of the feedforward and recurrent activity observed during visual perception and offers novel insights into distinct aspects of visual phenomenology.

Comments

No comments yet.

Log in to comment