Reproduce “Bidirectional predictive coding” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Gaspard Oliviers, Mufeng Tang, Rafal Bogacz

Bidirectional predictive coding (bPC) combines bottom-up and top-down predictions in shared activity states, updated during inference and learned with local Hebbian updates. On MNIST, it reports 98.10 ± 0.05% test accuracy, versus 86.22 ± 0.15% for hybridPC and 98.43 ± 0.01% for discPC. With 80% randomly masked pixels, classification remains comparatively robust; this is a benchmark model result, not evidence from natural scenes or human vision.

Key insights

  • A unified energy landscape can simultaneously optimize for both generative and discriminative tasks, preventing the 'overconfident' or 'collapsed' minima observed in unidirectional models.
  • Integrating both top-down and bottom-up error minimization within each neuron allows for flexible inference, improving robustness to incomplete or multimodal inputs.
  • The bottom-up pathway in bPC effectively acts as an amortized inference mechanism, efficiently guiding neural activities towards optimal states in unsupervised and generative tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.