SpatialPC: Deep Computation with Sublinear Local Credit Propagation
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 states, any local learning rule with bounded communication range needs 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 states placed at constant density in dimensions, a light-cone argument gives an 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- directed acyclic graph that contains a Hamiltonian computation of length and in which every state lies within directed distance of the output, matching the lower bound. In the realizable-circuit model, depth and credit depth are therefore independent parameters: represented depth and causal credit latency coexist, with a separation of order . SpatialPC realizes this separation within predictive coding. Credit is propagated by adjoint prediction dynamics (APD), a local update whose -round state on a settled acyclic graph is the truncated reverse-path sum , with error exactly . 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 backbone with unit-range edges and has measured worst-node reachability up to , where a 65,535-edge backbone is reached in 258 local hops. With rounds, SpatialPC keeps finite-round task gradients aligned with settled gradients (cosine on MNIST and on Fashion-MNIST at ) and reaches and test accuracy after 20 epochs.
Figures & tables
| separation | |||||
| 4 | 16 | 22 | 15 | 6 | |
| 8 | 64 | 94 | 63 | 10 | |
| 16 | 256 | 382 | 255 | 18 | |
| 32 | 1,024 | 1,534 | 1,023 | 34 | |
| 64 | 4,096 | 6,142 | 4,095 | 66 | |
| 128 | 16,384 | 24,574 | 16,383 | 130 |
| Dataset | Method | # of States | T | Test Acc. (%) | Task-grad cos. to settled | ||
|---|---|---|---|---|---|---|---|
| MNIST | SpatialPC-v1 | 16 | 8 | 91.71 | 0.14 | 0.8040 | 0.0122 |
| 64 | 16 | 92.27 | 0.08 | 0.9271 | 0.0139 | ||
| 256 | 32 | 92.75 | 0.23 | 0.9283 | 0.0086 | ||
| SpatialPC-v2 | 16 | 8 | 84.44 | 0.97 | 0.8379 | 0.0116 | |
| 64 | 16 | 89.90 | 0.23 | 0.9419 | 0.0082 | ||
| 256 | 32 | 91.22 | 0.27 | 0.6467 | 0.0279 | ||
| Dataset | Method | Test Acc. (%) | Task-grad cos. to settled | Residual RMS | ||||
|---|---|---|---|---|---|---|---|---|
| MNIST | SpatialPC-v1 | 0 | 92.67 | 0.19 | 0.3525 | 0.1812 | 0.0245 | 0.0040 |
| 1 | 92.68 | 0.20 | 0.5057 | 0.2094 | 0.0204 | 0.0025 | ||
| 10 | 92.69 | 0.21 | 0.7688 | 0.0708 | 0.0144 | 0.0012 | ||
| 30 | 92.73 | 0.21 | 0.8637 | 0.0253 | 0.0112 | 0.0007 | ||
| 100 | 92.75 | 0.23 | 0.9283 | 0.0086 | 0.0079 | 0.0003 | ||
| SpatialPC-v2 | 0 | 91.27 | 0.22 | 0.0872 | 0.0431 | 0.0272 | 0.0025 | |
| Dataset | Method | Test Acc. (%) | Task-grad cos. to settled | Residual RMS | ||||
|---|---|---|---|---|---|---|---|---|
| MNIST | SpatialPC-v1 | 8 | 91.12 | 0.14 | 0.7009 | 0.0126 | 0.0249 | 0.0001 |
| 16 | 92.16 | 0.24 | 0.9451 | 0.0036 | 0.0125 | 0.0001 | ||
| 32 | 92.75 | 0.23 | 0.9283 | 0.0086 | 0.0079 | 0.0003 | ||
| 64 | 93.15 | 0.21 | 0.9550 | 0.0131 | 0.0047 | 0.0005 | ||
| SpatialPC-v2 | 8 | 86.69 | 0.07 | 0.4624 | 0.0103 | 0.0169 | 0.0002 | |
| 16 | 89.95 | 0.17 | 0.7785 | 0.0186 | 0.0106 | 0.0000 | ||
| Accuracy (%) | Gradient Alignment | |||||||||
| Dataset | Method | Epoch | Test | Settled | Task-grad cos. | RMS | ||||
| MNIST | BP | 1 | 93.40 | 0.31 | – | – | – | |||
| 5 | 96.54 | 0.15 | – | – | – | |||||
| 10 | 97.23 | 0.32 | – | – | – | |||||
| 20 | 97.55 | 0.09 | – | – | – | |||||
| SPCv1 | 1 | 92.74 | 0.23 | 92.58 | 0.19 | 0.934 | 0.005 | 7.9 | 0.3 | |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Loss | Readout | Activation | Gradient cosine | Relative error |
|---|---|---|---|---|
| CE | ReLU | 1.0000000000 | ||
| CE | tanh | 1.0000000000 | ||
| CE | ReLU | 1.0000000000 | ||
| CE | tanh | 1.0000000000 | ||
| MSE | ReLU | 1.0000000000 | ||
| MSE | tanh | 1.0000000000 |
| Dataset | Method | Graph | Test Acc. (%) | Task-grad cos. to settled | ||
|---|---|---|---|---|---|---|
| MNIST | SpatialPC-v1 | Chain | 9.80 | 0.00 | 0.0000 | 0.0000 |
| Moore | 92.75 | 0.23 | 0.9283 | 0.0086 | ||
| SpatialPC-v2 | Chain | 9.80 | 0.00 | 0.0000 | 0.0000 | |
| Moore | 91.22 | 0.27 | 0.6467 | 0.0279 | ||
| Fashion-MNIST | SpatialPC-v1 | Chain | 10.00 | 0.00 | 0.0000 | 0.0000 |
| Moore | 82.85 | 0.18 | 0.9745 | 0.0008 | ||
| Dataset | Method | Activation | Test Acc. (%) | Task-grad cos. to settled | ||
|---|---|---|---|---|---|---|
| MNIST | SpatialPC-v1 | ReLU | 92.75 | 0.23 | 0.9283 | 0.0086 |
| Tanh | 91.63 | 0.25 | 0.9628 | 0.0078 | ||
| SpatialPC-v2 | ReLU | 91.22 | 0.27 | 0.6467 | 0.0279 | |
| Tanh | 88.86 | 0.19 | 0.9539 | 0.0031 | ||
| Fashion-MNIST | SpatialPC-v1 | ReLU | 82.85 | 0.18 | 0.9745 | 0.0008 |
| Tanh | 82.14 | 0.13 | 0.9843 | 0.0037 | ||
| Dataset | Width | BP | PC | PC | PC-ALM | SPC-v1 | SPC-v2 |
|---|---|---|---|---|---|---|---|
| MNIST | 8 | 38.80 | 18.67 | 9.53 | 37.90 | 83.00 | 65.70 |
| 16 | 75.85 | 35.65 | 9.51 | 71.47 | 87.60 | 77.94 | |
| 32 | 87.78 | 61.02 | 8.98 | 85.79 | 89.78 | 84.91 | |
| 64 | 91.51 | 74.98 | 9.75 | 89.78 | 91.42 | 89.18 | |
| 128 | 93.40 | 84.06 | 9.87 | 92.25 | 92.74 | 91.23 | |
| Fashion-MNIST | 8 | 47.56 | 24.48 | 11.41 | 43.44 | 74.88 | 64.77 |
Local Learning
Local learning develops neural training rules that use nearby activity or layerwise objectives instead of global backpropagated errors.
See all 52 papers