Common-Mode Collapse and Recovery in Direct Feedback Alignment
Organizations: Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University · Department of Neurobiology, Howard Hughes Medical Institute, Harvard Medical School
Abstract
Direct feedback alignment (DFA) trains hidden layers through fixed random projections of output error. With tanh hidden units and independent sigmoid outputs, plain stochastic gradient descent can stall near the loss of a constant predictor of class frequencies. We trace this stall to the error's common mode, the component shared across inputs. An exact mean-covariance decomposition separates a rank-one update formed by the mean teaching signal and mean presynaptic activity. Its leading component drives tanh units toward saturation. At initialization, random feedback provides no systematic correction of the shared error on average; readout learning limits its duration. A reduced model initialized from the network, without fitted parameters, predicts the concentration of activation sensitivity across 48 settings. On MNIST, class decodability largely survives collapse, but readout learning remains slow at a fixed learning rate. Adam learns faster despite deeper collapse. Calibrating the baseline readout to the class prior suppresses collapse and speeds learning; weaker feedback trades less collapse for slower learning. Replacing errors by their signs sustains collapse; subtracting the signal's batch mean prevents sustained collapse and improves learning in the tested setting. Related effects occur in deeper and convolutional networks and on CIFAR-10, with severity and cost depending on the readout, optimizer and input statistics.
Figures & tables
Appendix figures & tables40 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
| Number of outputs, hidden layers and units in layer ; indexes units. | |
| Input, layer activity vector and preactivation vector; . | |
| Readout logits, class-frequency vector and loss of the constant prior predictor. | |
| Prediction, target and output error . | |
| Mean error, deviation and unit vector along the initial mean error. | |
| Forward weights, biases and fixed feedback matrix. |
| Diagnostic | Measures | Does not by itself establish |
|---|---|---|
| Hidden cosine | Similarity of activity directions | Equal magnitudes or loss of decodability |
| Gate participation | Distribution of squared derivatives across units | Total gate strength or descent |
| Mean gate energy | Average squared derivative | Feedback magnitude or alignment |
| Error norm | Shared output teaching signal | Delivered parameter displacement |
| Gradient cosine | Direction of the gradient estimate relative to BP | Size of loss improvement |
| Projected descent | Alignment weighted by relative magnitude | Optimizer-preconditioned descent |
| Intervention | Extra operations | Persistent state | Wall clock |
|---|---|---|---|
| Center output error | none | 0.95 | |
| Center teaching signal | per layer | none | 1.08 |
| Prior bias / faster readout | none during training | none | 0.92 / 0.98 |
| Batch normalization | per layer | per layer | 1.10 |
| Orthogonalize updates | per layer | none beyond SGD | 1.21 |
| Local-error conditioner | per layer | per layer | 1.74 |
| Condition | Peak | Min. | Accuracy | |
|---|---|---|---|---|
| Plain DFA | 15 | |||
| Backpropagation | 5 | |||
| Layerwise FA | 15 | |||
| Pre-aligned DFA | 15 | |||
| BP, output weights | 5 | |||
| Center output error | 15 |
| Condition | Peak | Learning time | 50% acc. | 80% acc. | Accuracy | |
|---|---|---|---|---|---|---|
| Plain DFA | 15 | 690 | 1220 | |||
| Frozen hidden biases | 15 | 680 | 1220 | |||
| Centered inputs | 15 | 430 | 910 | |||
| Centered inputs + frozen biases | 15 | 370 | 1050 | |||
| Centered output error | 15 | 370 | 1250 | |||
| Prior-bias initialization | 15 | 420 | 860 |
| Layer | Trajectories | Spearman correlation |
|---|---|---|
| 1 | 15 | |
| 2 | 15 | |
| 3 | 15 |
| Condition | Min. variance / initial | Initial rank | Min. rank | |
|---|---|---|---|---|
| Plain DFA | 15 | |||
| Backpropagation | 5 | |||
| Pre-aligned DFA | 15 | |||
| Prior-bias initialization | 15 | |||
| Centered inputs + frozen biases | 15 | |||
| Centered output error | 15 |
| Rule | Diverged | Min. | 50% acc. | 80% acc. | Accuracy | ||
|---|---|---|---|---|---|---|---|
| DFA | 3 | 0 | 690 | 1150 | |||
| DFA, prior bias | 3 | 0 | 420 | 800 | |||
| BP | 3 | 0 | 210 | 1040 | |||
| DFA | 3 | 0 | 236 | 406 | |||
| DFA, prior bias | 3 | 0 | 138 | 270 | |||
| BP | 3 | 0 | 66 | 324 |
| Ideal | Measured | ||
|---|---|---|---|
| 2 | 3 | ||
| 3 | 3 | ||
| 5 | 3 | ||
| 10 | 3 |
| Setting | Step | Layer 1 | Layer 2 | Layer 3 |
|---|---|---|---|---|
| MNIST tanh | 0 | |||
| 50 | ||||
| 100 | ||||
| 300 | ||||
| MNIST ReLU | 0 | |||
| 50 |
| Location | Step | Mean term | Upstream | Covariance | or |
|---|---|---|---|---|---|
| Hidden layer 3 | 0 | ||||
| Hidden layer 3 | 50 | ||||
| Hidden layer 3 | 100 | ||||
| Hidden layer 3 | 300 | ||||
| Readout | 0 | ||||
| Readout | 50 |
| Summary | Conditions | Points | 95% interval | MAE | |
|---|---|---|---|---|---|
| Pooled | 48 | 450 | 0.89 | 0.105 | |
| Condition means | 48 | 48 | 0.91 | 0.101 | |
| Layer 1 | 48 | 144 | 0.93 | 0.128 | |
| Layer 2 | 48 | 144 | 0.90 | 0.112 | |
| Layer 3 | 48 | 144 | 0.86 | 0.087 | |
| Layer 4 | 2 | 6 | -0.16 | – | 0.027 |
| Settings | Predictor | Points | MAE | , means | MAE, means | |
|---|---|---|---|---|---|---|
| All 48 settings | Reduced model | 450 | 0.89 | 0.105 | 0.91 | 0.101 |
| Closed-form estimate | 450 | 0.39 | 0.333 | 0.64 | 0.307 | |
| 37 tanh, sigmoid, settings | Reduced model | 351 | 0.96 | 0.077 | 0.99 | 0.072 |
| Closed-form estimate | 351 | 0.43 | 0.318 | 0.67 | 0.293 |
| Comparison | Runs | Both | Network only | Model only | Neither | Exit pairs | Censored |
|---|---|---|---|---|---|---|---|
| Parameter sweeps | 144 | 77 | 1 | 13 | 53 | 76 | 1 |
| Width–depth grid | 48 | 39 | 4 | 3 | 2 | 39 | 0 |
| Setting | Exit: 1 | 2 | 4 | Max. |
|---|---|---|---|---|
| Baseline | 570 | 567 | 565 | 0.0053 |
| Gain 10 | 213 | 209 | 208 | 0.0054 |
| Width 100, depth 7 | 2809 | 2801 | 2797 | 0.0023 |
| Group / variant | Runs | Both | Missed | Extra | Exit pairs | Median rel. error |
|---|---|---|---|---|---|---|
| fresh / full | 9 | 9 | 0 | 0 | 9/9 | 0.19 |
| fresh / no local | 9 | 9 | 0 | 0 | 0/9 | – |
| fresh / no participation | 9 | 9 | 0 | 0 | 9/9 | 0.96 |
| fresh / measured init | 9 | 9 | 0 | 0 | 9/9 | 0.20 |
| grid / full | 48 | 39 | 4 | 3 | 39/43 | 0.24 |
| grid / no local | 48 | 43 | 0 | 5 | 7/43 | 1.77 |
| Predictor | Exponent | 95% interval |
|---|---|---|
| -0.40 | [-0.42, -0.38] | |
| -0.60 | [-0.62, -0.57] |
| Checkpoint | Layer | Covariance energy | Feature RMS | Decoder accuracy | |
|---|---|---|---|---|---|
| initial | 1 | ||||
| initial | 2 | ||||
| initial | 3 | ||||
| collapse | 1 | ||||
| collapse | 2 | ||||
| collapse | 3 |
| Condition | Energy ratio | ||||
|---|---|---|---|---|---|
| Plain DFA | 3 | ||||
| Backpropagation | 3 | ||||
| Pre-aligned DFA | 3 | ||||
| Center teaching signal | 3 | ||||
| Frozen readout | 3 | ||||
| Feedback gain 3 | 3 |
| Protocol | ReLU loss | GELU loss | Linear loss | |
|---|---|---|---|---|
| Plain DFA | ||||
| Center error | ||||
| Plain DFA | ||||
| Center error | ||||
| Center error + faster readout | ||||
| Backpropagation |
| Condition | Time | Reached/ | Final accuracy | |
|---|---|---|---|---|
| Plain SGD | 3 | 3/3 | ||
| Adam, | 3 | 3/3 | ||
| Adam, | 3 | 3/3 | ||
| Conditioner, | 3 | 3/3 | ||
| Conditioner, | 3 | 3/3 | ||
| Conditioner, | 3 | 3/3 |
| Protocol | Rate | Peak | Saturated | Leaves chance | Learning time | 80% acc. | Accuracy | |
|---|---|---|---|---|---|---|---|---|
| DFA, zero initialization | 3 | |||||||
| BP, fan-in initialization | 3 | |||||||
| DFA, Xavier initialization | 3 | |||||||
| DFA, zero initialization | 3 | |||||||
| BP, fan-in initialization | 3 | |||||||
| DFA, Xavier initialization | 3 |
| Condition | Peak | Final | Min. | Final | Learning time | Accuracy | |
|---|---|---|---|---|---|---|---|
| Sign | 3 | ||||||
| Sign, prior bias | 3 | ||||||
| Sign, centered | 3 |
| Readout and targets | Initial | Peak cosine | Min. | |
|---|---|---|---|---|
| Centered squared error, random readout | 3 | |||
| Centered squared error, zero readout | 3 | |||
| Same zero readout, BP | 3 | |||
| Uncentered squared error, zero readout | 3 | |||
| Sigmoid, zero readout | 3 | |||
| Softmax, zero readout | 3 |
| Condition | Peak cosine | Min. participation | Accuracy | |
|---|---|---|---|---|
| CNN: plain DFA | 3 | |||
| CNN: BP | 3 | |||
| CNN: prior bias | 3 | |||
| CNN: calibrated logits | 3 | |||
| CNN: center error | 3 | |||
| CNN: center error + inputs | 3 |
| Dataset / rule | Majority reference | Accuracy | Balanced accuracy | |
|---|---|---|---|---|
| CIFAR-10, DFA | 3 | |||
| CIFAR-10, BP | 3 | |||
| CIFAR-10, centered error | 3 | |||
| MNIST, DFA | 15 | |||
| MNIST, BP | 5 |
| Condition | Shift | Cos. before | Cos. after | : first | +50 | |
|---|---|---|---|---|---|---|
| DFA, early shift | 3 | 300 | ||||
| BP, early shift | 3 | 300 | ||||
| DFA, late shift | 3 | 1500 | ||||
| BP, late shift | 3 | 1500 |
| Protocol | Initial | Peak cosine | Min. | |
|---|---|---|---|---|
| Raw pixels, sigmoid | 3 | |||
| Raw pixels, softmax | 3 | |||
| Standardized, softmax | 3 |
| Readout, rule | Initial | Peak cosine | Min. | Accuracy | |
|---|---|---|---|---|---|
| Sigmoid, DFA | 3 | ||||
| Sigmoid, BP | 3 | ||||
| Softmax, DFA | 3 | ||||
| Softmax, BP | 3 |
Neural Network Training Dynamics
Neural network training dynamics studies how parameters and representations change during optimization and how those changes shape learning, stability, and generalization.
See all 520 papers