Bidirectional predictive coding

Gaspard Oliviers, Mufeng Tang, Rafal Bogacz
5/29/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Predictive coding (PC) is an influential computational model of visual learning and inference in the brain. Classical PC was proposed as a top-down generative model, where the brain actively predicts upcoming visual inputs, and inference minimises the prediction errors.

Show full abstract

Recent studies have also shown that PC can be formulated as a discriminative model, where sensory inputs predict neural activities in a feedforward manner. However, experimental evidence suggests that the brain employs both generative and discriminative inference, while unidirectional PC models show degraded performance in tasks requiring bidirectional processing. In this work, we propose bidirectional PC (bPC), a PC model that incorporates both generative and discriminative inference while maintaining a biologically plausible circuit implementation. We show that bPC matches or outperforms unidirectional models in their specialised generative or discriminative tasks, by developing an energy landscape that simultaneously suits both tasks. We also demonstrate bPC's superior performance in two biologically relevant tasks including multimodal learning and inference with missing information, suggesting that bPC resembles biological visual inference more closely.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{oliviers2025bidirectional,
  title  = {Bidirectional predictive coding},
  author = {Gaspard Oliviers and Mufeng Tang and Rafal Bogacz},
  year   = {2025},
  eprint = {2505.23415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23415v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23415.svg)](https://codeofpaper.com/paper/2505.23415)

Discussion