How Small Can We Go? Calibrating Activation-Cache Compression for SAE Training

Abraham YeungarXiv 2026 · arXiv

TL;DR

Training Sparse Autoencoders (SAEs) requires massive activation caches that can choke disk I/O. This paper introduces a calibration framework to measure how much compression these caches can handle before the learned features degrade, finding that standardizing channels makes 4-bit quantization a viable, high-performance storage option.

What Problem Does This Paper Address?

To understand the "black box" of Large Language Models (LLMs), researchers often train Sparse Autoencoders (SAEs) on internal model activations. However, these activations are huge—a single token's activation vector can be several kilobytes. Training an SAE on a 9B parameter model can require reading over 1 GiB of data per second from disk just to keep the GPUs busy.

While we want to compress these "activation caches" to save space and speed up training, we don't know how much compression is "too much." Does rounding a number from 32-bit to 16-bit change the features the SAE learns? Does 4-bit quantization destroy the interpretability of the model? The challenge is that SAE training is naturally "noisy"—training the same model twice with different random seeds results in different features, making it hard to tell if a loss in feature quality is due to compression or just random chance.

Methods

The authors propose a calibration protocol to define what "acceptable" feature loss looks like:

  1. The Ceiling: Retrain an SAE on identical data with the same seed. This should yield 100% feature agreement.
  2. The Floor: Retrain an SAE with a different random seed. This defines the "noise floor"—if a compression method loses more features than a simple seed change, it's probably too aggressive.
  3. The Retraining Test: Train a new SAE on compressed data and count how many "alive" features (those that fire frequently) match the features from an SAE trained on original fp32 data.

They tested several compression "codecs," including:

  • Naive int4: Simple 4-bit quantization.
  • std-int4: Standardizing each channel (subtracting mean, dividing by standard deviation) before 4-bit quantization.
  • rot-intN: Applying a random rotation before quantization to spread out "outlier" channels.

Datasets

The study evaluated these methods on two models:

  • GPT-2 small: Trained on 20M tokens of OpenWebText.
  • Pythia-1.4B: Trained on 10M tokens of The Pile. The researchers focused on activations from the residual streams of these models.

Key Insights and Ideas

  • Extreme Sensitivity: The retraining process is shockingly sensitive to tiny changes. Changing just a millionth of the values in a cache by the smallest possible increment (1 ulp) caused a 30% drop in retained features—far more than the actual numerical error would suggest.
  • The "Seed Floor" is the Real Benchmark: Because SAEs are unstable, you shouldn't aim for 100% agreement with compressed data. Instead, a compression method is "viable" if it stays above the agreement level of a different random seed (the "floor").
  • Outliers Kill Naive Quantization: Naive 4-bit quantization fails because a few "outlier" channels have huge values, forcing the quantization scale to be so large that it blurs out all the smaller, more nuanced data.
  • Standardization is the "Silver Bullet": Simply standardizing channels before quantizing (the std-int4 method) fixes the outlier problem. It brings 4-bit compression back above the seed floor, making it a "free" win for storage.
Figure 1: GPT-2 layer 6, seed 0: one ulp on a millionth of values already costs three quarters of fp16’s loss, so the count needs a floor. Bars: alive features a retrained SAE recovers at best match r > 0.9 (grey: control; blue: tiny perturbations; orange: real codecs); dashed line: seed floor.

Key Results

  • 4-Bit Viability: On GPT-2, std-int4 retained 38% of features, significantly higher than the 23% seed floor. In contrast, naive int4 crashed to 15.6%, falling below the floor.
  • Space Savings: Using std-int4 with Zstandard compression can store activations at roughly 304 bytes per token, compared to 1,419 bytes for fp16. This is a ~4.6x reduction in size with no meaningful loss in feature quality beyond what you'd get from a seed change.
  • Speed: While decoding compressed data on the CPU can slow down training, moving the decoding to the GPU allows compressed formats to train up to 9% faster than raw fp32 by reducing the time the loader spends waiting for disk I/O.
  • Comparison to bf16: Some researchers use a bf16 forward pass to save memory. The authors found that a bf16 pass actually loses slightly more features than storing data in a rotated 8-bit format.
Table 1: Full GPT-2 codec panel. ± rows are three-seed means (± half the range), bare cells seed 0, so fp16 reads 59.3 ± 1.1 here and 60.6 (seed 0) in the text. survived: best match above r = 0.9 against fp32 at the same seed; FVU: fraction of variance unexplained; mean r: the retrained SAE’s best-match correlation, averaged over alive features (not the frozen reading); stable: survival among the 774 features reproduced in both other fp32 seeds; Hung. cos: mean matched encoder and decoder cosine over all latents, dead ones included; frozen: the thresholded reading through the frozen fp32 SAE. FVU is flat across every viable codec (0.1355 to 0.1361) while seed-0 agreement falls from 60.6 to 37.6%. The floor row’s FVU is the fp32 reference’s own, and its Hungarian cosine averages the two seed-0 pairs.

Limitations and Future Work

  • Scope: The study only looked at two models and focused on residual stream activations. Other sites (like MLP activations) might behave differently.
  • Scale: The experiments were conducted at "research-scale" budgets (up to 328M token-visits). While the authors found that the "seed floor" rises with more training, they haven't yet tested billion-token scales.
  • Architecture: The results are specific to TopK and JumpReLU SAE architectures.
  • Future Directions: The authors suggest that future work should investigate "block-scaled" formats (like fp8) and whether these findings hold for even larger models where outlier channels might be even more extreme.

Summary updated

Abstract

To train a sparse autoencoder (SAE), you need a massive cache of model activations. We look into the effects that compression has on an SAE in two ways: we keep the original fp32-trained SAE and pass the compressed cache into the same SAE to see how many feature activations stay the same (the frozen-SAE test), and we retrain an SAE on the compressed cache and see how many of the original features still exist (the retraining test). We found that in the retraining test, there is no clear scale for retained features. On a GPT-2 cache, rounding everything to fp16 keeps 60.6% of features, but changing one value in a million by the smallest step fp32 allows (a change eight orders of magnitude smaller) keeps only 70.5%. Meanwhile, changing the random seed keeps 23.0%. For the frozen-SAE test, the frozen SAE's correlation with the original increases in order of how precise the codecs are, but plain $L_2$ distance gives nearly the same ordering. We also see the same frozen reading correspond to different percentages retained at different sites. This leaves the question of the right measurement. We build one by calibrating: retraining on identical bytes sets the ceiling, and a reseed sets the floor. We then measure the effect of each compressed codec against its own site's floor. With TopK SAEs on GPT-2 small and Pythia-1.4B at research-scale budgets, naïve per-token int4 loses more features than a reseed everywhere we tested, as do PCA and random projection on GPT-2. Standardizing each channel before quantizing brings int4 back above the floor in terms of retained features, at the same raw file size. At our smallest budget, a bf16 forward pass, which some pipelines use to save memory, loses slightly more features than rotated 8-bit storage. Calibrating a site costs four training runs and two evaluation passes.
BibTeX
@misc{yeung2026how,
  author = {Abraham Yeung},
  title = {{How Small Can We Go? Calibrating Activation-Cache Compression for SAE Training}},
  year = {2026},
  eprint = {2611.08551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08551},
}

Loading related content...

Figure