Manuscript Offprint

arXiv:2611.08551

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

Abraham Yeung

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 L2L_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.

1 Introduction

One way of understanding the internals of LLMs is to train SAEs (sparse autoencoders) on model internal activations. However, these activations take up a lot of space to store. A token of text is two bytes, but its activation vector can be several kilobytes [1]. This means that training a single SAE on Gemma 2 9B can take over 1 GiB/s of disk read to keep the accelerators fed [2]. So, ideally we would be able to cache the activations and compress them. SAELens, a widely used library, stores these activations in fp32 by default [3], but we do not know what the effect of compression is on the features of the SAE. The closest prior work quantizes model weights rather than the cache [4]; separately, Paulo & Belrose established the seed instability we build on [5] (Appendix K). An SAE learns a dictionary of sparse features, directions in activation space that fire on some tokens; two SAEs agree on a feature when the other SAE has a feature whose activations over the same tokens correlate with it at r>0.9r > 0.9.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Interpretability as a Science.

Figure

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.9r > 0.9 (grey: control; blue: tiny perturbations; orange: real codecs); dashed line: seed floor.

The retraining test turns out to be very sensitive. We took a 20M-token cache and changed one number in it by the smallest amount possible in fp32 (1 ulp, a unit in the last place). When we retrained, 99.98% of the features survived. In contrast, when we changed a millionth of all the numbers by that same smallest step, only 70.5% of the features remained the same (Fig. 1). Yet when we rounded every number in the cache to fp16, a change 10810^8 times larger, we retained 60.6% of the features. So the count responds to almost any change in the bytes and, up to fp16's distortion, only weakly to its size (§3.1). It cannot be read as a level, only against controls built the same way.

A measurement can be precise and still answer the wrong question [12; 13]; the frozen-SAE test is one, and the retraining test needs calibration first. Our two contributions:

  1. The ranking of codecs is reliable; the exact percentages are not (§3, §4). The ordering holds across sites, thresholds and budgets (up to 2 pp ties, seed noise; TopK SAEs only), but the percentage moves with every setting we varied, so no single number transfers.

  2. A same-process control lets us compare compression against other reasonable noise, and that is enough (§2, §4). Naïve int4 alters the features more than a seed change in every whole-SAE comparison we ran, and per-channel standardization brings it back above reseeding at the same raw size. A bf16 forward pass loses 1.8 to 3.0 pp more agreement than rotated int8 storage at our 1×1 \times budget (three seeds, same direction, two of three outside the 2 pp tie band).

References (29)