# Augmented Lagrangian Predictive Coding

*Jeffrey Seely, Julian J Gould*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154623) · [OpenReview](https://openreview.net/forum?id=CBiJrxWtct) · [Open on the map](../papers.html#p154623)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Neural Network Optimization and Training](../pgroup/431.md) · Type: new method · Keywords: predictive coding, backpropagation, augmented Lagrangian, local learning, deep neural networks

## Summary
Augmented-Lagrangian Predictive Coding (PC-ALM) aligns predictive coding updates with backpropagation gradients using layer-local Lagrange multipliers, achieving BP-level performance in deep networks.

## Explained to a 5-year-old
Computers learn by copying mistakes from one part to another. This new idea makes the copying faster and more accurate, especially in very tall networks. It uses a special math trick to keep the learning balanced. It helps the network understand things better without needing a lot of extra work. This could make smarter AI that works like our brains.

## Explained to a 5-year-old, longer
Imagine a big tower of blocks where each block tries to guess the final picture. The usual way is to look at the whole picture and tell each block how to change. This new method lets each block talk only to its neighbors and still get the right hints. It adds a tiny helper that keeps track of mistakes and shares them locally. This helper makes the guesses more accurate and spreads the information quickly through the tower. The blocks also start moving back and forth a bit, which helps them settle on the right values. As a result, the tower learns as well as the old method but uses less overall communication. This could let us build bigger, smarter models that need fewer resources.

## For a technical reader
PC-ALM augments predictive coding by adding per-layer Lagrange multipliers that accumulate constraint errors and drive dual ascent updates, aligning local weight changes with true backpropagation gradients. It introduces recurrent dynamics in each layer and replaces the scalar heat-flow dynamics with an augmented Lagrangian formulation, enabling ballistic credit propagation. Experiments show that the approach matches backpropagation performance across a range of depths and widths, especially in deep narrow networks where standard predictive coding struggles.

## Problem
Training deep neural networks with local learning rules that avoid a global backward pass is challenging because predictive coding often yields inaccurate credit assignment. The problem is to design a local learning dynamics that can propagate gradients comparable to backpropagation while maintaining the inference budget of predictive coding.

## Method
The approach introduces per-layer Lagrange multipliers that accumulate constraint errors from predictive coding and drive dual ascent updates, aligning each layer's weight change with backpropagation gradients while preserving the layer-local inference budget. It adds recurrent dynamics to layer activations and replaces the scalar heat-flow dynamics of predictive coding with augmented Lagrangian dual ascent, resulting in ballistic credit propagation and even distribution of prediction errors across layers.

## Results
The approach achieves exact backpropagation gradients in linear networks and matches BP performance across a wide range of depth and width, especially excelling in deep narrow networks where standard predictive coding falls short.

## Contributions
It proposes an augmented Lagrangian framework that generalizes predictive coding, introduces layer-local Lagrange multipliers for dual ascent, and demonstrates BP-level credit propagation and performance in very deep networks. The work also provides analysis of credit propagation dynamics, showing ballistic versus diffusive behavior.

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/154623)
