cs.LGOct 26, 2026

SpatialPC: Deep Computation with Sublinear Local Credit Propagation

Authors: Benjamin Prada, Shion Matsumoto, Ankur Arjun Mali

Organizations: Trustworthy Knowledge-Driven AI Lab Bellini College of Artificial Intelligence, Cybersecurity and Computing University of South Florida Tampa, FL 33620

Abstract

On a chain of NN states, any local learning rule with bounded communication range needs Θ(N)Θ(N) rounds before the loss can influence the earliest parameters, and this latency is usually attributed to depth. We show that it is a property of the communication geometry rather than of depth. For N=mdN=m^d states placed at constant density in dd dimensions, a light-cone argument gives an Ω(N1/d)Ω(N^{1/d}) lower bound on the number of bounded-range rounds that any local algorithm needs before its gradient estimates can be sign-correct at every parameter. We construct a unit-range, degree-2d2d directed acyclic graph that contains a Hamiltonian computation of length N−1N-1 and in which every state lies within directed distance d(m−1)=Θ(N1/d)d(m-1)=Θ(N^{1/d}) of the output, matching the lower bound. In the realizable-circuit model, depth and credit depth are therefore independent parameters: represented depth Θ(N)Θ(N) and causal credit latency Θ(N1/d)Θ(N^{1/d}) coexist, with a separation of order N1−1/dN^{1-1/d}. SpatialPC realizes this separation within predictive coding. Credit is propagated by adjoint prediction dynamics (APD), a local update whose KK-round state on a settled acyclic graph is the truncated reverse-path sum aK=∑k<K(J⊤)kba^K=\sum_{k<K}(J^\top)^k b, with error exactly (J⊤)Ka⋆(J^\top)^K a^\star. Graph geometry fixes when credit can first arrive at a state; the Jacobian-weighted path tail fixes how many further rounds accurate credit requires. A sparse two-dimensional Moore compiler retains the N−1N-1 backbone with 32N−2\tfrac32N-2 unit-range edges and has measured worst-node reachability N+2\sqrt N+2 up to N=65,536N=65{,}536, where a 65,535-edge backbone is reached in 258 local hops. With T=2NT=2\sqrt N rounds, SpatialPC keeps finite-round task gradients aligned with settled gradients (cosine 0.930.93 on MNIST and 0.970.97 on Fashion-MNIST at N=256N=256) and reaches 97.6%97.6\% and 88.1%88.1\% test accuracy after 20 epochs.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

May 29, 2026

Augmented Lagrangian Predictive Coding

Predictive coding (PC) is a local-learning alternative to backpropagation (BP), training deep networks via local energy-minimization dynamics rather than a global backward pass. We introduce Augmented Lagrangian Predictive Coding (PC-ALM), which maintains PC's inference budget but aligns each weight update toward BP by accumulating per-layer constraint errors into a layer-local Lagrange multiplier. In linear PC networks, PC-ALM converges to an equilibrium with exact BP gradients distributed across the network via only layer-local updates. We analyze PC-ALM in nonlinear PC networks up to depth 128 and show that it matches BP performance across all width-depth regimes, notably in deep narrow networks where PC underperforms. PC-ALM introduces recurrent dynamics in each layer's activations. Compared to PC's heat flow on a scalar energy, PC-ALM dynamics are driven by dual ascent on the augmented Lagrangian. We observe "ballistic" credit propagation across very deep networks, with credit signals evenly distributed across layers, compared to PC's slow, diffusive credit propagation. Beyond the algorithm itself, the augmented Lagrangian framework offers a generalization of PC, and may yield insights into how distributed systems could compute and propagate BP-like credit signals through purely local dynamics.
Jul 15, 2026

Weight Feedback Computes the Jacobian Transpose Locally in Modern Deep Networks

Predictive Coding (PC) offers a biologically motivated alternative to backpropagation via local weight updates, yet routing error between layers still relies on an autograd Jacobian-transpose (J⊤J^\top) product - the last non-local operation in PC. We show that this dependency is largely avoidable. For any layer f(x)=Act(Norm(L(x)))f(x)=\mathrm{Act}(\mathrm{Norm}(L(x))) with frozen normalization statistics, the exact J⊤J^\top factors into three locally available terms, J⊤v=L⊤(s⊙σ′(z)⊙v)J^\top v = L^\top(s \odot σ'(z) \odot v), where σ′σ' is the activation derivative, zz is the pre-activation, and s=γ/σruns=γ/σ_{\mathrm{run}} is the normalization gain. Prior weight-feedback methods omitted both corrections; restoring them closes the transport gap for this layer class. Locality here holds up to three assumptions, which we state upfront: weight symmetry (L⊤L^\top mirrors the forward operator, as assumed by all PC), a soft spectral-norm control that is not synapse-local, and a nearest-neighbour approximation for MaxPool. Substituting the identity into PC yields WF-Act-PC, which removes the autograd backward pass from error transport. On CIFAR-10/100 (50 epochs, 5 seeds), WF-Act-PC is the only PC method whose accuracy improves with depth, surpassing iPC - the strongest classical PC baseline - by 2.7-22.3 pp on CIFAR-10. With both methods tuned per architecture, it matches or exceeds a comparably-tuned backpropagation baseline on the deeper CIFAR-10 architectures (VGG-9: 93.57% vs. 92.43%; ResNet-18: 92.76% vs. 91.54%) and on the harder Tiny-ImageNet benchmark, while trailing tuned BP on the deeper CIFAR-100 VGG cells. Our WF-Act-PC implementation is publicly available at https://github.com/jlshen025/pcax
Sep 11, 2026

Temporal Recurrence Favors Fewer Layers

In streaming tasks, recurrent models can carry latent computation across time, allowing each update to build on representations produced earlier. This raises a basic question: once temporal recurrence provides sequential computation across steps, how much depth is still needed within each step? Prior work has shown that recurrence can make shallow models competitive. We instead study this question as a compute-allocation problem, varying within-step depth, expert width, and the number of parallel experts per layer across several compute budgets. For each budget, we compare the best observed recurrent and non-recurrent allocations and the performance they achieve under approximately matched per-step computation. Across Sokoban and autoregressive FineWeb language modeling, we find that temporal recurrence shifts the best observed compute allocation toward substantially fewer layers, with comparable or better performance.