Skip to main content
Back

TU Delft's LANCE Shrinks AI Training Memory 250x to Fit on Tiny Devices

A new framework compresses activations once using HOSVD instead of every training step, cutting memory up to 250x for edge fine-tuning and continual learning.

Pro

Paper, Full Access
  • LANCE compresses activations up to 250x using one-shot HOSVD instead of per-step SVD.
  • Enables backprop training on microcontroller SRAM budgets without freezing layers.
  • Accuracy stays within ~2% of full BP on CIFAR, Pets, Flowers102, CUB-200, and ImageNet splits.
  • Fixed subspaces extend to continual learning via orthogonal null-space task allocation.
  • Matches GPM and CODE-CL on Split CIFAR-100 with over 10x less memory footprint.
  • Raspberry Pi 3B+ runs confirm LANCE beats BP and iterative HOSVD in real latency.

Training a neural network on a phone, a wearable, or a microcontroller sounds appealing for personalization and privacy, but there's a stubborn obstacle in the way: memory. Not the weights, which most people think about, but the intermediate activations that backpropagation needs to compute gradients. A team from TU Delft and Purdue has released LANCE (Low-rank Activation Compression), a framework that squeezes that activation memory by up to 250x while keeping accuracy within a couple of points of full backpropagation.

The bottleneck nobody talks about

When you fine-tune a model with backprop, every layer's forward output has to sit in SRAM until the backward pass reaches it. For modern deep neural networks, activation memory often exceeds parameter memory by 5 to 10 times, which makes training essentially impossible on microcontrollers that only have a few hundred kilobytes of SRAM.

Prior fixes each came with baggage. Checkpointing recomputes activations at the cost of extra compute. Reversible networks avoid storing activations but force you to redesign the architecture. Quantization and pruning introduce approximation errors. More recently, low-rank decomposition methods have exploited the fact that activations tend to live in a compact subspace, though these typically recompute decompositions at each training step, adding significant overhead and making them unsuitable for continual learning.

One decomposition, then reuse forever

LANCE's central bet: if activations really do live in a stable low-rank subspace, you only need to find that subspace once. The framework runs a one-time higher-order singular value decomposition (HOSVD) to extract a reusable low-rank activation subspace, then projects every subsequent activation into it during training.