NeurIPS 2026QuestionsPapersAreasAboutMarkdown

STAC-R: Subspace-Tracked Activation Compression with Residuals

Manar Hamed, Yassine Yaakoubi

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Model Compression for Transformers · Type: new method · Keywords: activation compression, low-rank approximation, sparse residual, gradient fidelity, memory reduction, transformer training

Areas: Memory › Model Memory Optimization › Activation Memory Reduction

Summary

STAC-R compresses saved activations using low-rank coefficients and a sparse quantized residual, enabling significant memory reduction while preserving gradient fidelity for large transformer models.

Explained to a 5-year-old

Computers need to remember a lot of LEGO bricks when they learn. This box gets too full, so we want to make it smaller without losing the important pieces. The new idea puts the most important LEGO pieces in a tiny box and keeps a few extra pieces as a backup. This way, the computer can still learn correctly while using less memory. It helps big computers work faster and cheaper.

Explained to a 5-year-old, longer

When a computer learns, it saves lots of tiny numbers called activations, like a big notebook of drawings. This notebook can become huge and take up a lot of space, making the computer slow. The new method looks at the notebook and finds the most important drawings, then stores them in a super-small box using a special trick. It also keeps a few extra sketches as a safety net so the computer can still remember things well. By doing this, the notebook becomes much smaller, but the computer can still learn almost as well as before. This makes the computer faster and cheaper to run, especially when training big models like those that read and write text. It also helps the computer know if the smaller notebook will still work before it starts training, so nothing breaks.

For a technical reader

The system compresses activation tensors by representing them with low-rank factors and a sparse quantized residual, allowing gradient computation directly from these factors. A saved-surface predictor estimates memory savings, and a gradient bridge links reconstruction error to gradient cosine similarity, ensuring fidelity. Evaluations show memory reductions of 7-12% on large language models with minimal impact on perplexity and accuracy, and the method integrates with existing compressors like GaLore for faster execution.

Problem

Training large neural networks requires storing many activation tensors, leading to high memory consumption. Efficiently compressing these activations without degrading the accuracy of model updates remains a challenging problem.

Method

The approach stores activations as low-rank coefficient matrices paired with a sparse quantized residual and computes weight gradients directly from these factors without full decompression. It also introduces a saved-surface predictor to estimate memory reduction and a gradient bridge linking reconstruction error to gradient cosine similarity.

Results

The approach reduces peak memory by 7.2-12.4% on GPT-2 and Pythia-1.4B while keeping validation perplexity within 1.5% of baseline (e.g., +1.14% on Pythia-1.4B after 10k steps) and maintains mean gradient cosine ≥0.98. On BERT fine-tuning it achieves 12.45% memory reduction with a 0.15-point accuracy drop.

Contributions

The paper formulates saved-activation compression as a target-surface prediction problem, proposes a low-rank plus sparse residual wrapper for activations, introduces a saved-surface predictor and a gradient bridge to assess fidelity, and demonstrates Pareto-dominant performance across multiple large models and architectures.

Limitations and assumptions

Evaluations are limited to the listed transformer models and may not generalize to all architectures; the method assumes low-rank structure and sparsity in residuals.

Practical relevance

Enables training of larger models on limited hardware by providing a reliable, pre-deployment check of memory savings and gradient fidelity.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction