# Understanding Sample Efficiency in Predictive Coding

*Gaspard Oliviers, Elene Lominadze, Rafal Bogacz*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155323) · [OpenReview](https://openreview.net/forum?id=6UCckKeyef) · [alphaXiv](https://www.alphaxiv.org/abs/2605.11911) · [Open on the map](../papers.html#p155323)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Neural Network Optimization and Training](../pgroup/431.md) · Type: theory · Keywords: sample efficiency, predictive coding, backpropagation, target alignment, deep linear networks, learning dynamics

## Summary
The paper provides a mechanistic analysis of why Predictive Coding achieves higher sample efficiency than Backpropagation, using a target alignment metric and deriving theoretical conditions for optimal alignment.

## Explained to a 5-year-old
Scientists looked at how computers learn. They compared a brain-inspired way of learning called Predictive Coding to the usual way. They found that Predictive Coding learns faster with fewer examples. They figured out when it works best. This helps make smarter computers that learn quickly.

## Explained to a 5-year-old, longer
Computers need to learn things, just like we do. One way they learn is called Backpropagation, which is like trying many guesses until it gets it right. Another way, called Predictive Coding, is inspired by how our brains work. It predicts what will happen and then corrects itself, which often needs fewer examples. Scientists measured how well each method matches the error it makes. They created a special measure called target alignment to see how close the learning is to the mistake. They found that Predictive Coding usually has better alignment, meaning it learns more efficiently. They also worked out exact rules for when Predictive Coding will be perfect. They tested these ideas on simple and more complex models, and the results held up even when things weren't perfect. This tells us why Predictive Coding can be faster and gives us ideas for building better learning algorithms.

## For a technical reader
The paper introduces a target alignment metric to quantify how well a network’s output changes align with prediction errors. By deriving analytical expressions for this metric in Deep Linear Networks, the authors show that Predictive Coding inherently achieves better alignment than Backpropagation, especially in deep, narrow, and pre-trained settings. They provide exact conditions for optimal alignment and validate these insights empirically across linear and non-linear models, confirming the practical benefits of the approach.

## Problem
Understanding why Predictive Coding can be more sample efficient than Backpropagation and quantifying the factors that influence learning efficiency.

## Method
The authors quantify learning efficiency using a target alignment metric that measures alignment between output changes and prediction errors, derive analytical expressions for this metric in Deep Linear Networks, and empirically validate the theoretical findings across linear and non-linear models.

## Results
The approach shows that it consistently outperforms Backpropagation in sample efficiency, especially in deep, narrow, and pre-trained networks, and provides theoretical conditions for optimal target alignment that hold in practice.

## Contributions
A novel target alignment metric to quantify learning efficiency, analytical derivations for Deep Linear Networks, and empirical validation across linear and non-linear models that reveal conditions for optimal alignment.

## Limitations and assumptions
The analysis assumes linear networks and idealized conditions; benefits are validated when some assumptions are relaxed.

## Practical relevance
The results guide the design of more sample-efficient learning algorithms by revealing key factors for optimal alignment.

## Research questions this paper is counted under

- [What factors determine the sample efficiency of learning algorithms in neural networks?](../q/453.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155323)
