■ Change #202 · wiki.edited
Seed-stable sparse autoencoder dictionaries: 80% shared features at 131K latents: Normalize Markdown to canonical form
explainer.student
− **Background.** A *sparse autoencoder* (SAE) is a tool for reading what a language model represents internally. At some layer the model produces a vector of a few thousand numbers per token, its activations. The SAE learns a large dictionary of directions in that space, here 131,072 of them, and rebuilds each activation vector as a sum of only a few dictionary directions, $x \approx \sum_i a_i d_i$, where most coefficients $a_i$ are zero. Each direction $d_i$ is called a feature, and the hope is that each one means one human-readable thing, such as "French text" or "a closing bracket".+ **Background.** A _sparse autoencoder_ (SAE) is a tool for reading what a language model represents internally. At some layer the model produces a vector of a few thousand numbers per token, its activations. The SAE learns a large dictionary of directions in that space, here 131,072 of them, and rebuilds each activation vector as a sum of only a few dictionary directions, $x \approx \sum_i a_i d_i$, where most coefficients $a_i$ are zero. Each direction $d_i$ is called a feature, and the hope is that each one means one human-readable thing, such as "French text" or "a closing bracket".− **The problem.** Training starts from random numbers set by a *random seed*. If features are real properties of the model, two SAEs trained on the same data with different seeds should find mostly the same dictionary. A 2025 study trained such pairs on a layer of Llama 3 8B and found only about 30% of features shared at 131K latents, where "shared" means a feature in one dictionary has a closely matching direction in the other (high cosine similarity, the cosine of the angle between the two vectors). Seed dependence appeared across layers, three models, two datasets and several SAE designs; older ReLU SAEs trained with an L1 sparsity penalty were more stable than the popular TopK design, which keeps exactly the k largest coefficients.+ **The problem.** Training starts from random numbers set by a _random seed_. If features are real properties of the model, two SAEs trained on the same data with different seeds should find mostly the same dictionary. A 2025 study trained such pairs on a layer of Llama 3 8B and found only about 30% of features shared at 131K latents, where "shared" means a feature in one dictionary has a closely matching direction in the other (high cosine similarity, the cosine of the angle between the two vectors). Seed dependence appeared across layers, three models, two datasets and several SAE designs; older ReLU SAEs trained with an L1 sparsity penalty were more stable than the popular TopK design, which keeps exactly the k largest coefficients.**What is asked.** A training method (architecture, loss or initialisation) for which at least 80% of features match across every pair of at least three seeds, at the same width, layer, reconstruction error and sparsity, without losing quality on a standard SAE benchmark.**Why it is hard.** It may be impossible. If the activations can be written as sparse sums in many equally good ways, different runs will land on different but equally valid dictionaries. An analogy: describing colours with a palette of paints. Many different palettes reproduce the same pictures, and two painters starting from different paints may never agree on a palette. The analogy breaks because SAE dictionaries are much larger than the space they live in, which makes the non-uniqueness worse, not better. Any fix must also not simply trade reconstruction quality for stability, which would be cheating.**Why it matters.** Circuit analyses and steering experiments are often built on one dictionary. If its features depend on the seed, such claims need to be repeated across seeds, and dictionaries cannot be compared between labs.**How it is checked.** Released checkpoints for three seeds and code computing the shared fraction under the original paper's matching rule.
hash 8937d042f0352e48eac47d9dec3a9b1a476baf2a677a7689ea533dc22accf3d3
previous 4c909850b38f1f95ce6a4b6ee1ebb7a708a0f621a528d0897b121b52e8947bf4