arXiv:2611.07756cs.LGNov 2026

Manuscript Offprint

arXiv:2611.07756

Scaling Laws for SAE Training Data

Nikita Koriagin, Nikita Balagansky, Daniil Gavrilov

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

Abstract

Activation storage is often a bottleneck in sparse autoencoder (SAE) training. We study how many unique activations an SAE needs when its total training budget is fixed. Quality improves rapidly as the buffer grows, then reaches a plateau where replaying the buffer is nearly as effective as using fresh activations throughout training. Beyond this point, additional unique activations bring little benefit to reconstruction or interpretability, so the buffer need not grow with the training budget. We describe this tradeoff between diversity and repetition with a scaling law for limited data. We validate it across dictionary sizes and token budgets, early, middle, and late layers of Llama-3.1, Qwen3 model sizes, and BatchTopK, TopK, and JumpReLU SAEs. Sweeps using mathematical text and Python code test the effect of changing the activation source. Evaluation covers explained variance (EV), reconstruction MSE, feature absorption, automated interpretability, and sparse probing. These results give a practical training rule: choose the smallest buffer that reaches the quality plateau and replay it for the remaining budget. In our experiments, this reduces activation storage by 8–64× with negligible quality loss.

1 Introduction

Sparse autoencoders (SAEs) decompose neural representations into interpretable features [Cunningham et al., 2024, Gao et al., 2025, Lieberum et al., 2024]. Training them at scale can require several terabytes of stored activations. Generating activations once lets different dictionary sizes, sparsities, and architectures share the cost of forward passes through the base model. Storage still grows with the training budget if every SAE update uses fresh activations. We separate the total number of activation presentations to the optimizer from the number of unique activations in the buffer, and ask how large that buffer must be before replay can replace further fresh samples.

To learn a feature's direction and threshold, the autoencoder must encounter that feature in its training activations. If samples were independent, a feature with occurrence probability pp would be absent from a buffer of size UU with probability (1−p)U(1-p)^U. Replay gives the optimizer more opportunities to fit features already represented in the buffer. It cannot introduce an absent feature. The number of unique activations measures distributional coverage, while total presentations measure optimization effort. Contextual activations are correlated, so this argument motivates our controlled sweep without providing a guarantee on sample complexity. Figure 1 shows the two training schedules.

We vary buffer diversity across dictionary sizes and budgets while holding total optimization tokens fixed within each sweep. Reconstruction improves rapidly as small buffers grow and then plateaus. A scaling law using effective activation counts, adapted from Muennighoff et al. [2023], fits the 96-run grid with RMSE 4.8×10−34.8 \times 10^{-3} EV. The Akaike Information Criterion (AIC) favors a version whose repetition scale depends on dictionary size. The fitted law also interpolates held-out budgets and predicts held-out widths when the dictionaries are sufficiently trained.

Saturation also appears across Llama layers and Qwen model sizes, with different SAE gates and with activations from mathematical text and Python code. SAEBench evaluations show strong AutoInterp

*Work done while at T-Tech.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Same SAE budget. Storage ratio Ntotal/Ubuf=EN_{total}/U_{buf} = E

Figure 1: Fresh activations and replay at a fixed SAE optimization budget. The replay pipeline generates and stores UbufU_{buf} activations once and uses E=Ntotal/UbufE = N_{total}/U_{buf} passes. ss denotes bytes per activation. Generation counts refer to token activations. Batching and sequence packing determine the number of calls to the base model.

Figure

Figure 2: Explained variance as a function of unique activation count under fixed total SAE training budgets. With total optimization tokens fixed in each panel, moving right increases activation diversity and decreases the number of epochs over the buffer. EV improves sharply when activation diversity is low and then saturates.

and reconstruction performance with the buffer chosen from the EV plateau. Feature absorption and sparse probing provide further checks on the consequences of replay. We use the EV plateau to select a buffer and replay it for the remaining training budget. The resulting buffer sizes reduce activation storage by 8−64×8-64\times in our grid. Tolerance tests quantify how these storage savings change with the target EV gap.