Abstract
Standard backpropagation is memory-intensive and creates hardware bottlenecks due to its requirement to store intermediate activations and sequential layer updates. This paper investigates whether "intelligent guesses" of gradients, informed by network architecture and activation patterns, can serve as an effective alternative. We demonstrate that gradients lie in predictable, low-dimensional subspaces. By leveraging this structure, our proposed "gradient guessing" techniques achieve significantly higher cosine similarity to true gradients than random guessing, enabling high training accuracy on standard benchmarks like CIFAR-10 without traditional backpropagation.
Introduction
Deep learning optimization typically relies on backpropagation to calculate exact gradients. However, this method faces two significant challenges: a memory bottleneck, as all intermediate activations must be stored for the backward pass, and backward locking, which prevents parallel layer updates.
An alternative approach, Directional Descent, involves picking a random direction and updating weights based on the resulting change in loss. While memory-efficient, random guessing is highly ineffective in high-dimensional parameter spaces; the cosine similarity between a random vector and the true gradient is approximately $1/\sqrt{N}$, which is virtually zero for large models. This research explores how to use the inherent structure of neural networks to make "intelligent guesses" that align more closely with the true gradient.
Methods: Narrowing the Guess Space
The authors identify that gradients are not random but are constrained by the network's topology and data. They propose four strategies to improve gradient estimation:
- Activation Perturbation: Instead of guessing in the massive weight space, gradients are estimated for the significantly smaller activation space.
- Weight Transpose ($W^\top$): This method constrains guesses to the subspace defined by the transpose of the subsequent layer's weights, reflecting how gradients propagate.
- Activation Mixing: This technique creates guesses by taking random linear combinations of activations from the current batch, exploiting the observation that gradients and activations often share the same subspace.
- 1-layer Downstream: A "partial backpropagation" approach where a random guess is propagated back through only a single layer to provide structured local directions.
Key Results and Analysis
The proposed methods demonstrate a significant improvement over random directional descent. As shown in Figure 1, these techniques achieve approximately 100x higher average cosine similarity to the true gradient compared to standard random guessing.
A critical finding is the "Self-Sharpening" phenomenon: as training progresses, the network's weights become lower-rank, which paradoxically makes the gradients easier to guess. This feedback loop allows the model to reach high training accuracy. For instance, on CIFAR-10, the "Self-Sharpening" method achieved over 95% training accuracy without any backpropagation.
However, a significant generalization gap remains. While training accuracy is high, test accuracy often lags behind. Figure 2 illustrates this performance across various datasets, showing that while the methods can effectively minimize training loss, the resulting models do not always generalize well to unseen data.
Discussion and Limitations
The success of these methods highlights a fundamental bias-variance tradeoff. While random guessing is unbiased but has extremely high variance, the proposed structured guesses are biased but have much lower variance, leading to more stable optimization.
The primary limitation is the inherent bias in the guesses, which likely contributes to the observed generalization gap. Future research should focus on refining these guesses—perhaps by incorporating information about activation covariance—to reduce bias and improve test performance. Despite these hurdles, this work provides a promising path toward biologically plausible and memory-efficient learning algorithms that do not rely on exact gradient computation.
Summary updated