Reproduce “The Predictive Forward-Forward Algorithm” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Alexander Ororbia, Ankur Mali

The Predictive Forward-Forward (PFF) algorithm, a brain-inspired learning approach, integrates principles from the Forward-Forward algorithm and Predictive Coding. PFF achieves classification performance comparable to backpropagation on several image datasets, demonstrating strong data reconstruction and synthesis capabilities through its jointly learned representation and generative circuits.

Key insights

  • Integrating the Forward-Forward algorithm's goodness-based learning with Predictive Coding's generative modeling creates a robust, biologically plausible framework capable of both discriminative and generative tasks.
  • Parallel processing of positive and negative phases, combined with dynamic synaptic updates within each inference step, improves computational efficiency over sequential contrastive methods or traditional Predictive Coding.
  • The inclusion of learnable lateral competition within layers enables rich internal dynamics and effective feature learning, moving beyond simpler feedforward or recurrent architectures.

Summary by alphaXiv.

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