Local proxies for memory-efficient training
Wu S. Zihan, Brian A. Yuan, Guillaume Bellec
Key points
From the paper's conclusion- We study how to achieve accurate and memory efficient local learning in transformers.
Abstract
Local learning algorithms can reshape resource requirements of artificial intelligence. The memory bottleneck of standard end-to-end backpropagation lies in the need to store all network activations until the loss gradient has been propagated back through. Local learning avoids this, but typically at a cost in accuracy. We study how to achieve accurate and memory efficient local learning in transformers. For each transformer block, we train a local proxy network to predict the global network output via distillation. Gradients can be independently propagated through this local proxy while estimating well the backpropagation gradients. In theory, this approach is exact for deep linear networks; in non-linear residual models, the gradient error can be bounded when using the appropriate residual proxy. We verify this numerically and demonstrate that optimizing the distillation loss improves gradient estimation. Evaluating the performance of proxy propagation on CIFAR-100 in vision transformers, we find that it achieves a better accuracy/memory trade-off compared to other local algorithms. Finally, we show that the method is further relevant for fine-tuning large language models on a small memory budget. Our method trains faster and achieves higher performance than memory-efficient zeroth-order learning algorithms with comparable memory cost.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local LearningarXiv · 2026
- FedLore: Communication and Memory Efficient Federated Learning via Shared Gradient Low-Rank ProjectionarXiv · 2026
- AdamPM: Memory-Efficient LLM Optimization via Moment PoolingarXiv · 2026
- Freeze the Decoder, Heal the Encoder: Parameter-Efficient Adaptation for SVD-Based KV-Cache CompressionarXiv · 2026
- Learning Functional Subspaces for Neural Network CompressionarXiv · 2026
- MemOnce: A Scalable Memory Architecture for Large Language ModelsarXiv · 2026