Abstract
LANCE (Low-rank Activation Compression) is a framework designed to mitigate the activation memory bottleneck in on-device neural network training. By employing a one-shot tensor decomposition to project activations into stable, low-rank subspaces, LANCE achieves up to a 250x reduction in activation memory and a 1.5x reduction in training FLOPs. Furthermore, it introduces an orthogonal projection mechanism for continual learning, preventing catastrophic forgetting without requiring memory-intensive replay buffers.
Introduction
Training deep neural networks on edge devices like microcontrollers is severely limited by the activation bottleneck. During standard backpropagation, intermediate layer outputs (activations) must be stored to compute gradients. These activations often consume 5–10x more memory than the model parameters themselves, far exceeding the SRAM capacity of typical IoT devices. Existing solutions like gradient checkpointing or reversible networks often introduce significant computational overhead or architectural constraints.
Proposed Method: LANCE
LANCE (Low-rank Activation Network Compression Efficiently) addresses these challenges through a "one-shot" subspace calibration.
- One-Shot Subspace Calibration: Before training, a few calibration batches are passed through the model. Higher-Order Singular Value Decomposition (HOSVD) identifies a stable, low-rank subspace for activations.
- Fixed Projection: These subspaces are frozen. During training, activations are projected into a compact "core tensor" ($G^{(l)}$), which is stored in SRAM instead of the full activation tensor ($X^{(l)}$).
- Orthogonal Continual Learning: To enable continual learning without forgetting, LANCE ensures that new task updates occur in the "null space" of previous tasks by maintaining orthogonal subspaces.
Subspace Stability and Insights
A key finding of this work is that activation subspaces are remarkably stable throughout training. This stability justifies the use of a one-shot calibration at the beginning of training, avoiding the high cost of recomputing decompositions at every step.
By utilizing HOSVD rather than standard matrix SVD, LANCE preserves the multi-dimensional spatial structure of activations, enabling higher compression ratios with minimal impact on gradient fidelity.
Experimental Results
The researchers evaluated LANCE on various architectures (MCUNet, MobileNetV2, ResNet) across multiple vision benchmarks (CIFAR, CUB200, etc.).
- Memory Efficiency: LANCE reduces activation storage by up to 250x.
- Computational Speedup: Total training FLOPs are reduced by approximately 1.5x due to smaller tensors in the backward pass.
- Accuracy Preservation: LANCE maintains accuracy within 2% of full-memory backpropagation across most fine-tuning tasks.
- Continual Learning: LANCE achieves competitive performance on split-task benchmarks without the need for a memory-heavy replay buffer.
Conclusion
LANCE provides a scalable path for on-device learning on resource-constrained hardware. While it requires initial calibration data and faces theoretical capacity limits in long-sequence continual learning, its massive memory savings make it a significant step toward autonomous edge AI. Future work includes extending this approach to Transformer-based architectures.
Summary updated