Rafal Bogacz, Francesco Innocenti, El Achour
We lifted 6 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| thebuckleylab/jpc | canonical | 0 of 6 |
| Function | Status | Where it lives |
|---|---|---|
| check_bregman_act_fn | Not yet run | thebuckleylab/jpc/jpc/_core/_bregman.py code served (permissive licence) · get_code("afd4ad3a56ce4db4") |
| get_dataloaders | Not yet run | thebuckleylab/jpc/experiments/datasets.py code served (permissive licence) · get_code("830d4add00e832e7") |
| get_dataset | Not yet run | thebuckleylab/jpc/experiments/datasets.py code served (permissive licence) · get_code("e61273ea16c86adc") |
| layer_scalings | Not yet run | thebuckleylab/jpc/experiments/bregman_pc/model.py code served (permissive licence) · get_code("c87d791a0daf9868") |
| make_gaussian_dataset | Not yet run | thebuckleylab/jpc/experiments/datasets.py code served (permissive licence) · get_code("48290733df92d563") |
| scaled_param_lr | Not yet run | thebuckleylab/jpc/experiments/bregman_pc/model.py code served (permissive licence) · get_code("87a4d4d44719b03c") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Predictive coding (PC) is a biologically plausible alternative to standard backpropagation (BP) that minimises an energy function with respect to network activities before updating weights. Recent work has improved the training stability of deep PC networks (PCNs) by leveraging some BP-inspired reparameterisations, but the scalability and theoretical basis of these methods remain unclear. To address this gap, we study the infinite width and depth limits of PCNs. For linear networks, we derive stable and "non-lazy" parameterisations when scaling both the model width and depth, revealing that the output of standard PCNs explodes with width during training. Moreover, under stable parameterisations, we show that the gradients computed by PC at activity equilibrium converge to the BP gradients for networks that are much wider than deep (depth/width → 0). Experiments show high gradient alignment between PC and BP at large width for different nonlinear models, including convolutional networks and transformers. Overall, this work constrains the parameterisations that are scalable with PC, while suggesting how BP could be implemented using only local updates in much wider than deep networks like the brain.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.07697")
get_code_for_paper("2602.07697")
have("2602.07697")
Connect an agent — have() is free.