Introduction
Language models represent text inputs x x x as vectors f ( x ) ∈ R d f(x) \in\mathbb{R}^d f ( x ) ∈ R d . A wide-ranging set of work has sought to better understand these representations. Here, our approach is to treat the linear representation hypothesis [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 ] as a foundation for a scientific theory. We formalize the hypothesis, mathematically derive implications, and then test these predictions on real language model representations.
The linear representation hypothesis (LRH) roughly says that f ( x ) f(x) f ( x ) can be written as z 1 ( x ) a ⃗ 1 + z 2 ( x ) a ⃗ 2 + ⋯ + z M ( x ) a ⃗ M z_1(x)\vec{a}_1 + z_2(x)\vec{a}_2 + \cdots+ z_M(x)\vec{a}_M z 1 ( x ) a 1 + z 2 ( x ) a 2 + ⋯ + z M ( x ) a M , where we think of z 1 ( x ) , z 2 ( x ) , … , z M ( x ) z_1(x), z_2(x), \ldots, z_M(x) z 1 ( x ) , z 2 ( x ) , … , z M ( x ) as describing individual features of x x x —does x x x mention cats, does x x x involve algebraic geometry, and so on. Stated succinctly,
f ( x ) = A z ( x ) . (1) f(x) = Az(x). \tag*{(1)} f ( x ) = A z ( x ) . (1)
We now state a striking first result. Under a natural formalization of the hypothesis [14 ] , where the features given by z ( x ) z(x) z ( x ) are accessible from f ( x ) f(x) f ( x ) , this decomposition is unique (Theorem 1). That is, there exists a set of atomic features from which language model representations are built. A scientific theory based on the linear representation hypothesis might therefore be called the atomic theory.
Of course, Theorem 1 does not prove the existence of atomic features. On the contrary, one might take the strength of Theorem 1’s conclusion as evidence against the linear representation hypothesis (LRH). Indeed, there is much reason to be skeptical of the existence of atomic features. Sparse autoencoders (SAEs)—which are designed to recover the features posited by the LRH [15 , 16 , 17 , 18 , 19 ] —learn different features depending on the setting. Even SAEs in settings that vary only by random seed learn different features [20 , 21 ] . Coarse features in small SAEs can “split” into granular features in larger SAEs [22 , 23 , 24 ] . How can we square variation in learned SAE features with the atomic theory?
Theorem 2 , which we call the recovery principle, presents a solution. It says that under the atomic theory, SAEs of increasing size trained with appropriate sparsity on a distribution D \mathcal{D} D recover a growing prefix of the most prevalent atoms in D \mathcal{D} D . Theorem 3 further shows that the recovery principle holds even when features are hierarchically structured. The recovery principle is consistent with observed variation in SAE features, while also establishing a substantive connection between these SAEs and the hypothesized atoms. Figure 1 illustrates this connection.
Figure 1. The recovery principle says that SAEs of increasing size recover a growing prefix of atomic features. This is consistent with observed variation in SAEs, while giving testable predictions that counter conventional wisdom: SAEs of different size and trained on different data share features.
Beyond reconciling existing empirical observations with the atomic theory, the recovery principle plays another crucial role in the development of the theory: it makes the theory empirically testable. It yields the following three testable predictions.
These predictions—while, strictly speaking, consistent with existing results—run against the conventional wisdom that SAE features are unstable and become strictly more granular as SAE size increases. P3 suggests a particularly surprising phenomenon: parent features lost as SAE size increases (as in feature splitting [22 , 23 , 24 ] ) should eventually return in even larger SAEs. We call this mesoscale feature splitting. (In § 5 , we give a “molecular” explanation that also clarifies the importance of correctly choosing sparsity [25 ] .)
We test P1, P2, and P3 by training SAEs of sizes ranging in powers of two from 512 to 131,072 on two large embedding models: gemini-embedding-2 and llama-embed-nemotron-8b.
Testing P1, we find that about 70% of features recovered by size-4K SAEs simultaneously have matches in SAEs of size 8K, 16K, 32K, 65K, and 131K.
Testing P3, we find that on three hierarchies (prefixes, geography, and species), recovery at every level is maximized at size 65K or 131K. In fact, we find instances of the predicted mesoscale splitting, where parent recovery initially decreases, but increases again at larger widths.
These results suggest that the atomic theory is a promising scientific theory of language model representations—one that is worth further studying and testing. A practical implication is that by scaling SAEs with appropriate sparsity, we should expect to recover more and more stable atomic features, including both coarse features and granular features. Stepping back, the theory seems to point to a “rigidity principle”: efficient sparse representations of information seem to be pressured towards shared concepts.
Overview
We begin by presenting the conceptual ideas of the atomic theory. We start by motivating the formalization of the linear representation hypothesis that serves as the foundation for our work. We then discuss how this formalization leads to atomic features, the recovery principle, and testable predictions. We also give intuition by analogizing to the construction of vocabularies in natural language—noting the apparent pressure towards certain shared concepts.
Formalizing the linear representation hypothesis. A language model representation is a function f : X → R d f : X \to\mathbb{R}^{d} f : X → R d , where X X X is the input space (e.g., texts) and f ( x ) f(x) f ( x ) is a representation of the input (e.g., neuron activations or an embedding). The main idea of the linear representation hypothesis, we recall, is to write
f ( x ) = ∑ i = 1 M z i ( x ) a i , (2) f(x) = \sum_{i=1}^{M} z_i(x)a_i, \tag*{(2)} f ( x ) = i = 1 ∑ M z i ( x ) a i , (2)
where we call z 1 , z 2 , ⋯ , z M : X → R z_1, z_2, \cdots, z_M : X \to\mathbb{R} z 1 , z 2 , ⋯ , z M : X → R features (which we think of as measuring the presence of individual concepts in the input) and a 1 , a 2 , ⋯ , a M ∈ R d a_1, a_2, \cdots, a_M \in\mathbb{R}^{d} a 1 , a 2 , ⋯ , a M ∈ R d directions (directions in the representation space that correspond to each concept). Concretely, we can think of z 1 ( x ) z_1(x) z 1 ( x ) as measuring the extent to which x x x discusses cats, and a 1 a_1 a 1 to be the direction in which this information is represented within f ( x ) f(x) f ( x ) . We call z i ( x ) z_i(x) z i ( x ) the activation of feature i i i on input x x x . Taking a 1 , a 2 , ⋯ , a M a_1, a_2, \cdots, a_M a 1 , a 2 , ⋯ , a M to be the columns of A ∈ R d × M A \in\mathbb{R}^{d \times M} A ∈ R d × M and defining the “feature representation” z : x ↦ ( z 1 ( x ) , z 2 ( x ) , ⋯ , z M ( x ) ) z : x \mapsto(z_1(x), z_2(x), \cdots, z_M(x)) z : x ↦ ( z 1 ( x ) , z 2 ( x ) , ⋯ , z M ( x )) , we can simply write f ( x ) = A z ( x ) f(x) = Az(x) f ( x ) = A z ( x ) .
We should also expect features to be accessible from a representation [14 ] . If f ( x ) f(x) f ( x ) is a sufficiently expressive representation of the input x x x , then z 1 ( x ) , z 2 ( x ) , ⋯ , z M ( x ) z_1(x), z_2(x), \cdots, z_M(x) z 1 ( x ) , z 2 ( x ) , ⋯ , z M ( x ) should be accessible from f ( x ) = A z ( x ) f(x) = Az(x) f ( x ) = A z ( x ) alone. For example, given x x x = “Djokovic Overwhelms Nadal for the Wimbledon Title”, we should be able to learn a number of properties from f ( x ) = A z ( x ) f(x) = Az(x) f ( x ) = A z ( x ) : that x x x discusses tennis, that x x x mentions Novak Djokovic, that x x x mentions Rafael Nadal, that x x x discusses a championship match, that x x x describes an event in England, that x x x describes a decisive victory, and so on. Formally, we expect there to exist a function g : R d → R M g : \mathbb{R}^{d} \to\mathbb{R}^{M} g : R d → R M such that
g ( A z ( x ) ) = z ( x ) , (3) g(Az(x)) = z(x), \tag*{(3)} g ( A z ( x )) = z ( x ) , (3)
i.e., mapping representations to features. However, M M M greatly exceeds d d d (embeddings typically have d d d in the thousands, and there are many more concepts), so A ∈ R d × M A \in\mathbb{R}^{d \times M} A ∈ R d × M is not invertible in general. However, results in compressed sensing [14 , 26 , 27 , 28 ] say that it is possible when z ( x ) z(x) z ( x ) is sparse and A A A is well-behaved (which we make precise in § 3 ).
This motivates our formalization of the linear representation hypothesis: that there exists a well-behaved matrix A ∈ R d × M A \in\mathbb{R}^{d \times M} A ∈ R d × M and a K K K -sparse function z : X → R + M z : X \to\mathbb{R}_{+}^{M} z : X → R + M such that for all x ∈ X x \in X x ∈ X , f ( x ) = A z ( x ) f(x) = Az(x) f ( x ) = A z ( x ) . We formalize this as Postulate 1. Analogizing to dictionaries. Sparsity of z ( x ) z(x) z ( x ) means that while the total number of concepts may be enormous, the number of concepts needed to describe a particular input is small (at most K K K ). This motivates an analogy to natural language, where we call A , z A,z A , z a dictionary in which the directions a i a_i a i are the words.1 Given a “situation” represented by f ( x ) f(x) f ( x ) , the idea is to write it as the combination of a small number of words (say, at most K K K ). Then z i z_i z i specifies in what situations to use the direction a i a_i a i (it can be viewed, therefore, as providing a “definition”). In the setting here, z i z_i z i also specifies “how much” the word should be used.
We call M M M the dictionary size (the total number of features) and K K K the description length (the maximum number of features needed to describe an input). Existing work has focused on understanding when dictionaries can be recovered from data for a fixed dictionary size and description length [30 , 31 , 32 , 33 , 34 ] . In contrast, the results we introduce here are each investigations of the broader space of potential dictionaries. Are dictionaries unique when size and description length can vary? What does an optimal dictionary look like when you restrict its size? What about when tailored to a particular distribution of situations?
Deriving atomicity and a rigidity property. From the postulate, we can derive the atomic property. Theorem 1 considers a “competing” dictionary ( B , u ) (B,u) ( B , u ) : a well-behaved matrix B ∈ R d × M ′ B \in\mathbb{R}^{d \times M'} B ∈ R d × M ′ and K ′ K' K ′ -sparse function u : X → R + M ′ u : X \to\mathbb{R}_{+}^{M'} u : X → R + M ′ satisfying
f ( x ) = B u ( x ) (4) f(x) = Bu(x) \tag*{(4)} f ( x ) = B u ( x ) (4)
for all x ∈ X x \in X x ∈ X . Then the result shows that if z z z is sufficiently rich (exploring each combination of features), then if B , u B,u B , u is Pareto-efficient in dictionary size and description length, then either it is equal to A , z A,z A , z or K ′ ≥ 2 K K' \ge2K K ′ ≥ 2 K (i.e., it sometimes uses twice as many features to describe an input). Theorem 1 shows that if a sparse system of representation exists, and the space being described is sufficiently rich, then this sparse system is “rigid.”
To get an intuitive sense of this statement, we draw on the analogy to natural language dictionaries, from which we can state the following informal analog of Theorem 1. Consider a dictionary of M M M words and a set of situations that can each be exactly described by K K K words. Suppose further that there exist situations spanning each combination of words. Then any dictionary using one fewer word—and that can still perfectly describe each situation—must for some situation use twice as many words. (It can be informative to try to play this “vocabulary construction game” yourself. We return to this game in a moment.)
From theory to testable predictions. Up to this point, we have established a pretty but (thus far) hypothetical picture of the underlying structure of language model representations. How can we know if this picture is a useful description of reality? A natural approach is to try and find the hypothesized atoms. To do this, we can try to apply sparse dictionary learning [15 , 29 , 32 , 35 ] to find a matrix A ^ \hat{A} A ^ and sparse function z ^ \hat{z} z ^ such that
f ( x ) ≈ A ^ z ^ ( x ) . (5) f(x) \approx\hat{A}\hat{z}(x). \tag*{(5)} f ( x ) ≈ A ^ z ^ ( x ) . (5)
But major challenges arise in practice. First, the true number of atoms M M M is unknown (and likely very large). Second, the learned dictionary is shaped by the specific training data. Finally, given a learned dictionary, how are we to know that we have recovered the true atoms?
The recovery principle. There is a powerful mathematical consequence of Postulate 1 that helps resolve these issues. Theorem 2 shows that even sparse dictionaries of size m < M m < M m < M that are trained on idiosyncratic (but “well-behaved”) distributions D \mathcal{D} D approximately recover a subset of atoms. In particular, as we increase the size of a sparse dictionary, we recover a growing prefix of the most prevalent atoms in the distribution. Note that the sparsity K K K must be chosen appropriately to get this guarantee.2
Notice how the recovery principle implies testable implications. First, by training larger SAEs on a fixed distribution, we should see a growing set of “persistent features”—i.e., features in smaller SAEs that appear in every larger SAE. Second, even if we train SAEs on different data distributions, we should expect to see a set of shared features—the atomic features that are most prevalent in both distributions. This can be contrasted with PCA or SVD, in which learned directions are highly dependent on the data distribution. (SVD had been suggested in the past as a “solution to Plato’s problem” [36 ] , but a primary objection was the sensitivity to distributions; SAE features, under the atomic theory, overcome this objection.) The recovery principle and its implications are further illustrations of the rigidity of sparse systems of representation.
Intuition. Returning to the vocabulary construction game, consider the goal of constructing a dictionary of limited size to best describe situations arising in your daily life using at most K K K words per situation. (Perhaps, you were confined to tweeting.) You are allowed to invent new words (e.g., referring to combinations of concepts that appear especially frequently for you). The recovery principle says that you would not pick entirely new, invented words; rather you would adopt many existing words—and in particular, the existing words that are most relevant for your own daily life. These words are retained even if you are allowed a larger dictionary.
To give a concrete example, suppose that each day you looked outside your window and saw a tree by a sidewalk. Perhaps, in extremely limited vocabularies, you would define a word “sidewalktree.” This would save you budget in dictionary size and in description length. But you would be unable to describe a “tree” or “sidewalk” on their own. If you wanted to describe an isolated tree, you would need a word that means “nosidewalk” and call it a “nosidewalk” “sidewalktree,” in which case you have now used just as many words and more description length than if you had words for “tree” and “sidewalk.” In this way, there is pressure towards including the atoms “tree” and “sidewalk” in a dictionary. (To actually prove the recovery principle requires some more sophisticated reasoning.)
In a sense, of course, humanity has been playing the vocabulary game for millennia. Different societies have come up with languages of different lengths to describe different distributions of situations. Quite strikingly, these languages have an enormous amount of overlap in the concepts given words. In linguistics, a “Swadesh list” gives concepts that appear in essentially all languages, including concepts like I, you, five, short, knee, to drink, to fly, to count, river, sky, red, green, year, and round (among many others). The recovery principle offers some reasoning for this—and hints at a formal notion of “universal concepts.”
Recovery of hierarchical features. The recovery principle shown in Theorem 2 makes an assumption that the training distribution is well-behaved: that for every pair of features z i , z j z_i, z_j z i , z j , there exist inputs for which z i z_i z i is active but z j z_j z j is not (and vice-versa). In Theorem 3, we show that the recovery principle continues to hold (with an adjustment) for distributions where activations are hierarchically correlated (where a parent feature is active whenever a child feature is active). The result implies that in sufficiently large SAEs, we expect to simultaneously recover parent features and child features. This prediction is especially interesting when compared to existing empirical observations in which a broad parent feature that is recovered in a smaller SAE “splits” as SAE size increases. Under our theory, the expected behavior is that as the size of the SAE increases even further (with sparsity chosen appropriately), we should expect the parent feature to once again be recovered.
Theoretical Results
We now mathematically present the atomic theory starting from a single postulate and deriving the testable predictions P1-P3 as consequences. It will be useful to first establish a formal definition of a dictionary, which is the primary object we study throughout.
Definition 1. An ( m , k , γ ) (m,k,\gamma) ( m , k , γ ) -dictionary is a pair B ∈ R d × m , u : X → R + m B \in\mathbb{R}^{d \times m}, u : X \to\mathbb{R}_{+}^{m} B ∈ R d × m , u : X → R + m where u u u is k k k -sparse and B ∈ R d × m B \in\mathbb{R}^{d \times m} B ∈ R d × m has unit-norm columns and satisfies the ( γ , 2 k ) (\gamma,2k) ( γ , 2 k ) -lower restricted isometry property: that is, for all 2 k 2k 2 k -sparse v ∈ R m v \in\mathbb{R}^{m} v ∈ R m , ∥ B v ∥ 2 ≥ γ ∥ v ∥ 2 \lVert Bv\rVert_{2} \ge\gamma\lVert v\rVert_{2} ∥ B v ∥ 2 ≥ γ ∥ v ∥ 2 .3
Recall that m m m is the dictionary’s size and k k k the dictionary’s description length . The lower restricted isometry property establishes the key property that u ( x ) u(x) u ( x ) can be recovered from B u ( x ) Bu(x) B u ( x ) . Indeed, if B u ( x ) = B u ′ Bu(x) = Bu' B u ( x ) = B u ′ for some k k k -sparse vector u ′ u' u ′ , then ∥ u ( x ) − u ′ ∥ ≤ 1 γ ∥ B u ( x ) − B u ′ ∥ 2 = 0 \lVert u(x) - u'\rVert\le\frac{1}{\gamma}\lVert Bu(x) - Bu'\rVert_{2} = 0 ∥ u ( x ) − u ′ ∥ ≤ γ 1 ∥ B u ( x ) − B u ′ ∥ 2 = 0 , so u ( x ) = u ′ u(x) = u' u ( x ) = u ′ . The dictionaries we study are overcomplete (m > d m > d m > d ) and sparse (k < d k < d k < d ). In what follows, we take γ ∈ ( 0 , 1 ) \gamma\in(0,1) γ ∈ ( 0 , 1 ) to be a fixed constant and refer to an ( m , k , γ ) (m,k,\gamma) ( m , k , γ ) -dictionary as simply an ( m , k ) (m,k) ( m , k ) -dictionary.
We can then succinctly state our foundational postulate about f f f .
Postulate 1 (The Linear Representation Hypothesis). There exists an ( M , K ) (M,K) ( M , K ) -dictionary A , z A,z A , z such that
f ( x ) = A z ( x ) (6) f(x) = Az(x) \tag*{(6)} f ( x ) = A z ( x ) (6) for all x ∈ X x \in X x ∈ X .
We refer to A , z A,z A , z as the atomic dictionary, with atomic directions a 1 , a 2 , ⋯ , a M a_1,a_2,\cdots,a_M a 1 , a 2 , ⋯ , a M and atomic features z 1 , z 2 , ⋯ , z M z_1,z_2,\cdots,z_M z 1 , z 2 , ⋯ , z M . Our first task is to justify calling these features atomic.
Past work has shown that if z z z is sufficiently “rich,” then A , z A,z A , z is the unique dictionary with dictionary size and description length exactly equal to M M M and K K K [30 , 31 , 34 ] . Here, we will establish a notion of uniqueness that is quite a bit broader. We say that an ( m , k ) (m,k) ( m , k ) -dictionary is efficient if, compared to the atomic dictionary, any one of the following three conditions holds:
(a) it has the same dictionary size and description length (i.e., m = M m = M m = M , k = K k = K k = K );
(b) it has smaller description length (i.e., k < K k < K k < K );
(c) it has smaller dictionary size and less than twice the description length (i.e., m < M m < M m < M and k < 2 K k < 2K k < 2 K ).
Now define richness as follows. For S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] with ∣ S ∣ = K |S| = K ∣ S ∣ = K , let E S = span { e i : i ∈ S } E_S = \operatorname{span}\{e_i : i \in S\} E S = span { e i : i ∈ S } and Z S = z ( X ) ∩ E S Z_S = z(X) \cap E_S Z S = z ( X ) ∩ E S (the set of feature activations with support S S S realized by X X X ). We call z z z K K K -rich if Z S Z_S Z S is not contained in any union of a finite number of proper subspaces of E S E_S E S .
Theorem 1 (Unique Efficient Dictionary). Suppose z z z is K K K -rich. If an efficient dictionary B , u B,u B , u satisfies
f ( x ) = B u ( x ) (7) f(x) = Bu(x) \tag*{(7)} f ( x ) = B u ( x ) (7) for all x ∈ X x \in X x ∈ X , then B , u = A , z B,u = A,z B , u = A , z up to a permutation of indices.
Therefore, no dictionary that exactly describes f f f can have smaller description length than A , z A,z A , z , and any smaller dictionary that exactly describes f f f must have double the description length. One way to view this result is that if a set of inputs can be described by a sparse dictionary, then this sparse dictionary is rigid .4
The main challenge of the proof is to show that k < 2 K ⇒ m ≥ M k < 2K \Rightarrow m \ge M k < 2 K ⇒ m ≥ M . The key idea is to construct a bipartite graph between directions in the two dictionaries, where a i a_i a i and b j b_j b j share an edge if b j b_j b j is used in the reconstruction of a i a_i a i (we will first have to show that a i a_i a i has a k k k -sparse representation in B B B ). Then, we can show that if k < 2 K k < 2K k < 2 K , Hall’s condition is satisfied for each subset of A A A directions of size at most 2 K 2K 2 K ; moreover, no subset of at most K K K A A A directions has a neighborhood of size at least 2 K 2K 2 K . We then show that these two conditions imply Hall’s condition to hold globally. (Interestingly, this appears to be a novel sufficient condition.) Therefore, there exists a one-to-one matching including all A A A directions, showing that m ≥ M m \ge M m ≥ M .
The recovery principle. We now establish the recovery principle: that even undersized SAEs trained to approximate idiosyncratic distributions of inputs recover atoms. This gives testable predictions P1 (features in small SAEs persist in larger SAEs) and P2 (SAEs trained on different data learn overlapping features).
The recovery principle concerns dictionaries that (1) are undersized (i.e., m < M m < M m < M ) and (2) only approximately describe f f f on some distribution D D D over X X X . The recovery principle shows conditions under which such dictionaries still recover atoms. Define the dictionary learning objective
L D ( B , u ) : = E x ∼ D ∥ f ( x ) − B u ( x ) ∥ 2 2 (8) L_D(B,u) := \mathbb{E}_{x\sim D}\lVert f(x)-Bu(x)\rVert_2^2 \tag*{(8)} L D ( B , u ) := E x ∼ D ∥ f ( x ) − B u ( x ) ∥ 2 2 (8)
over the reference class of ( m , K ) (m,K) ( m , K ) -dictionaries. Notice that dictionaries in this reference class have description length matching the atomic dictionary; we show in simulations in Section G that choosing appropriate k k k is important, but that there is some flexibility. Let L D ∗ ( m ) L_D^*(m) L D ∗ ( m ) be the optimal loss over this class. Taking a fixed constant C 0 > 1 C_0 > 1 C 0 > 1 , let A ^ ( D , m ) , z ^ ( D , m ) \hat{A}^{(D,m)},\hat{z}^{(D,m)} A ^ ( D , m ) , z ^ ( D , m ) be an ( m , K ) (m,K) ( m , K ) -dictionary satisfying
L D ( A ^ ( D , m ) , z ^ ( D , m ) ) ≤ C 0 L D ∗ ( m ) . (9) L_D\left(\hat{A}^{(D,m)},\hat{z}^{(D,m)}\right) \le C_0L_D^*(m). \tag*{(9)} L D ( A ^ ( D , m ) , z ^ ( D , m ) ) ≤ C 0 L D ∗ ( m ) . (9)
Conceptually, this is the kind of dictionary that a sparse autoencoder can learn in practice, obtaining loss within a constant factor of optimal. We are interested in if and when A ^ ( D , m ) , z ^ ( D , m ) \hat{A}^{(D,m)},\hat{z}^{(D,m)} A ^ ( D , m ) , z ^ ( D , m ) recovers atomic features and directions. Formally, we define recovery as follows:
Direction recovery: A ^ \hat{A} A ^ η \eta η -recovers a i a_i a i if there exists j ∈ [ m ] j \in[m] j ∈ [ m ] such that ⟨ a ^ j , a i ⟩ > η \langle\hat{a}_j,a_i\rangle> \eta ⟨ a ^ j , a i ⟩ > η .
Activation recovery: z ^ \hat{z} z ^ ( η , D ) (\eta,\mathcal{D}) ( η , D ) -recovers z i z_i z i if there exists j ∈ [ m ] j \in[m] j ∈ [ m ] and a threshold τ \tau τ such that F D ( 1 { z i > 0 } , 1 { z ^ j > τ } ) > η \mathbb{F}_{\mathcal{D}}(\mathbf{1}_{\{z_i>0\}},\mathbf{1}_{\{\hat{z}_j>\tau\}}) > \eta F D ( 1 { z i > 0 } , 1 { z ^ j > τ } ) > η .
We show that recovery can happen as long as the distribution D \mathcal{D} D is well-behaved. As an example of why some kind of assumption on D \mathcal{D} D is necessary, notice that if two atomic features z i , z j z_i,z_j z i , z j were exactly co-occurring on a distribution, then it would not be possible to disentangle them.
This motivates the following definition. A distribution D \mathcal{D} D over X X X is ( ρ , c − , c + ) (\rho,c_{-},c_{+}) ( ρ , c − , c + ) -regular if the following conditions hold for x ∼ D x \sim\mathcal{D} x ∼ D . First, as a simplification, let supp ( z ( x ) ) \operatorname{supp}(z(x)) supp ( z ( x )) have size K K K for all inputs. Let h S : ( 0 , 1 ) K → R + h_S:(0,1)^K \to\mathbb{R}_{+} h S : ( 0 , 1 ) K → R + be the density of z S ( x ) z_S(x) z S ( x ) conditional on the event supp ( z ( x ) ) = S \operatorname{supp}(z(x))=S supp ( z ( x )) = S . Then the two conditions are
Pr [ j ∉ supp ( z ( x ) ) ∣ i ∈ supp ( z ( x ) ) ] ≥ ρ \Pr[j \notin\operatorname{supp}(z(x)) \mid i \in\operatorname{supp}(z(x))] \ge\rho Pr [ j ∈ / supp ( z ( x )) ∣ i ∈ supp ( z ( x ))] ≥ ρ for all pairs i , j ∈ [ M ] i,j \in[M] i , j ∈ [ M ] with i ≠ j i \ne j i = j .
c − ≤ h S ( w ) ≤ c + c_{-} \le h_S(w) \le c_{+} c − ≤ h S ( w ) ≤ c + for all w ∈ ( 0 , 1 ) K w \in(0,1)^K w ∈ ( 0 , 1 ) K .
The idea of the recovery principle, then, is that if D \mathcal{D} D is regular, then undersized sparse dictionaries can recover the most prevalent atoms in D \mathcal{D} D .
Given D \mathcal{D} D , set p i : = Pr [ i ∈ supp ( z ( x ) ) ] p_i := \Pr[i \in\operatorname{supp}(z(x))] p i := Pr [ i ∈ supp ( z ( x ))] , the probability that an atom i i i is active for a given input. Choose σ : [ M ] → [ M ] \sigma:[M] \to[M] σ : [ M ] → [ M ] such that p σ ( 1 ) ≥ p σ ( 2 ) ≥ ⋯ ≥ p σ ( M ) p_{\sigma(1)} \ge p_{\sigma(2)} \ge\cdots\ge p_{\sigma(M)} p σ ( 1 ) ≥ p σ ( 2 ) ≥ ⋯ ≥ p σ ( M ) , determining the order of prevalence. Intuitively, we may expect these probabilities to follow a power-law distribution p σ ( i ) ∝ i − α p_{\sigma(i)} \propto i^{-\alpha} p σ ( i ) ∝ i − α . Define T ( m ) = ∑ j = m + 1 M p σ ( j ) T(m)=\sum_{j=m+1}^{M}p_{\sigma(j)} T ( m ) = ∑ j = m + 1 M p σ ( j ) , which we can call the tail mass beyond m m m . Then Theorem 2 below says that an atom is recovered in a dictionary of size m m m whenever its prevalence exceeds the tail mass T ( m ) T(m) T ( m ) by a constant factor.
Theorem 2 (The Recovery Principle). Let D \mathcal{D} D be ( ρ , c − , c + ) (\rho,c_{-},c_{+}) ( ρ , c − , c + ) -regular. Then for every η < 1 \eta< 1 η < 1 , there exists a constant C C C not depending on m m m or M M M such that for all i ∈ [ M ] i \in[M] i ∈ [ M ] satisfying
p i ≥ C T ( m ) , (10) p_i \ge CT(m), \tag*{(10)} p i ≥ C T ( m ) , (10) A ^ D , m \widehat{A}^{D,m} A D , m η \eta η -recovers a i a_i a i and z ^ D , m ( η , D ) \widehat{z}^{D,m}(\eta,\mathcal{D}) z D , m ( η , D ) -recovers z i z_i z i
The result guarantees recovery of atoms that appear more frequently than the tail mass beyond the m m m -th most frequent atom. For example, if atom prevalences follow a power-law distribution with α > 1 \alpha> 1 α > 1 , the result guarantees that at least the Ω ( m 1 − 1 / α ) \Omega(m^{1-1/\alpha}) Ω ( m 1 − 1/ α ) most prevalent atoms are recovered. In Section G, we show that in simulations, a much larger fraction of atoms can be recovered—suggesting that the bound shown here is not tight (one reason, perhaps, is that the bound here applies for any learned dictionary with low enough loss, and does not take advantage of the structure of optimal learned dictionaries). It would be exciting to prove stronger versions of the recovery principle.
To provide some intuition for the result, we sketch the proof. The main lemma shows that if there exists an atomic support S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] such that the learned dictionary approximates representations that lie in span ( A S ) \operatorname{span}(A_S) span ( A S ) , then there must exist a learned support T S ⊆ [ m ] T_S \subseteq[m] T S ⊆ [ m ] such that span ( A ^ T S ) ≈ span ( A S ) \operatorname{span}(\widehat{A}_{T_S}) \approx\operatorname{span}(A_S) span ( A T S ) ≈ span ( A S ) . This is non-obvious, since in principle, points in span ( A S ) \operatorname{span}(A_S) span ( A S ) may have different optimal K K K -sparse supports in A ^ \widehat{A} A . An initial observation is that if we can show that a single learned support is being used to re-construct a large enough subset of span ( A S ) \operatorname{span}(A_S) span ( A S ) , then the span of this support must be aligned with span ( A S ) \operatorname{span}(A_S) span ( A S ) . This approach does not work immediately, since there are ( m K ) \binom{m}{K} ( K m ) possible supports, so each learned support may only be used for a vanishing fraction of the span as m m m increases. A key insight is that the lower restricted isometry property implies that optimal supports do not change too much for nearby points, allowing us to iteratively identify a large enough ball in which a single learned support is used. From this lemma, we can then intersect recovered supports to show the recovery of individual atoms. Finally, any sufficiently optimal dictionaries—when the tail mass is small—must recover atomic supports spanned by atoms in the head of the distribution.
Predictions P1 and P2 follow as corollaries. Both concern the existence of matching features across dictionaries. For matrices U U U and V V V , we define μ t ( U , V ) \mu_t(U,V) μ t ( U , V ) to be the size of the largest one-to-one matching between columns of U U U and V V V such that matches have cosine similarity at least t t t . Let μ t ( U ; V 1 , V 2 , … , V s ) \mu_t(U;V_1,V_2,\ldots,V_s) μ t ( U ; V 1 , V 2 , … , V s ) be the maximum number of columns of U U U that can be simultaneously matched to every V 1 , V 2 , ⋯ , V s V_1, V_2, \cdots, V_s V 1 , V 2 , ⋯ , V s . Then for t < 1 t < 1 t < 1 , there exists a constant C t C_t C t such that for R D , t ( m ) : = max { r ∈ [ M ] : p σ ( r ) ≥ C t ∑ j = m + 1 M p σ ( j ) } R_{D,t}(m) := \max\{r \in[M] : p_{\sigma(r)} \ge C_t \sum_{j=m+1}^{M} p_{\sigma(j)}\} R D , t ( m ) := max { r ∈ [ M ] : p σ ( r ) ≥ C t ∑ j = m + 1 M p σ ( j ) } the following results hold.
Corollary 1 (P1: Stability Across Size). For a regular distribution D \mathcal{D} D and dictionary sizes m 1 , … , m s ≥ m m_1,\ldots,m_s \ge m m 1 , … , m s ≥ m ,
μ t ( A ^ ( D , m ) ; A ^ ( D , m 1 ) , … , A ^ ( D , m s ) ) ≥ R D , t ( m ) . \mu_t\left(\widehat{A}(\mathcal{D},m); \widehat{A}(\mathcal{D},m_1), \ldots, \widehat{A}(\mathcal{D},m_s)\right) \ge R_{D,t}(m). μ t ( A ( D , m ) ; A ( D , m 1 ) , … , A ( D , m s ) ) ≥ R D , t ( m ) .
That is, there exists a persistent set of features across all dictionaries of size at least m m m .
Corollary 2 (P2: Stability Across Data). For any regular distributions D \mathcal{D} D and D ′ \mathcal{D}' D ′ on the same atomic representation,
μ t ( A ^ ( D , m ) ; A ^ ( D ′ , m ) ) ≥ ∣ σ ( [ R D , t ( m ) ] ) ∩ σ ′ ( [ R D ′ , t ( m ) ] ) ∣ . \mu_t\left(\widehat{A}(\mathcal{D},m); \widehat{A}(\mathcal{D}',m)\right) \ge\left|\sigma\left([R_{D,t}(m)]\right) \cap\sigma'\left([R_{D',t}(m)]\right)\right|. μ t ( A ( D , m ) ; A ( D ′ , m ) ) ≥ ∣ σ ( [ R D , t ( m )] ) ∩ σ ′ ( [ R D ′ , t ( m )] ) ∣ .
Here, σ ( [ R D , t ( m ) ] ) ∩ σ ′ ( [ R D ′ , t ( m ) ] ) \sigma([R_{D,t}(m)]) \cap\sigma'([R_{D',t}(m)]) σ ([ R D , t ( m )]) ∩ σ ′ ([ R D ′ , t ( m )]) is the set of atoms in both distributions’ guaranteed prefixes. So dictionaries trained on different distributions have shared features—the atoms prevalent in both distributions.
The hierarchical recovery principle. To establish P3 (that sufficiently large SAEs recover both parent features and child features), we show that the recovery principle holds under distributions where atomic feature activations have hierarchical correlation: i.e., when the activation of a child atom implies the activation of a parent atom. This violates the regularity condition on D \mathcal{D} D used in Theorem 2 .
We consider a setting with N N N families, each of which has one parent atom and two child atoms. It is possible to generalize to more than two child atoms. We let M = 3 N M = 3N M = 3 N and K = 2 L K = 2L K = 2 L , and re-index the atoms as i , i 1 , i 2 i, i1, i2 i , i 1 , i 2 for i ∈ [ N ] i \in[N] i ∈ [ N ] . Here, the parent feature z i z_i z i is always active when the child features z i 1 z_{i1} z i 1 or z i 2 z_{i2} z i 2 are active. We then establish a definition of hierarchical regular distributions . Under this definition, parent features satisfy the standard regularity assumptions, exactly one child feature activates at a time, and the space of parent-child activation pairs is well-explored. The full definition is given in Section B.
We then define analogs of quantities used in the regular recovery principle. For a given D \mathcal{D} D and a family i ∈ [ N ] i \in[N] i ∈ [ N ] , let p i = Pr [ i ∈ supp ( z ( x ) ) ] p_i = \Pr[i \in\operatorname{supp}(z(x))] p i = Pr [ i ∈ supp ( z ( x ))] and σ : [ N ] → [ N ] \sigma: [N] \to[N] σ : [ N ] → [ N ] sort the families in monotonically decreasing order of prevalence according to occurrence of the parent feature (so σ ( 1 ) \sigma(1) σ ( 1 ) is the most prevalent family). Define T ( n ) = ∑ j = n + 1 N p σ ( j ) T(n) = \sum_{j=n+1}^{N} p_{\sigma(j)} T ( n ) = ∑ j = n + 1 N p σ ( j ) , the tail mass beyond the n n n -th family.
Then Theorem 3 below shows that an analog of Theorem 2 holds in hierarchical settings for activation recovery . In other words, we should expect to be able to recover features that activate in the presence of the parent, and also features that activate in the presence of each child, yielding P3.
Theorem 3 (The Hierarchical Recovery Principle). Let D \mathcal{D} D be hierarchical regular. Then for every η < 1 \eta< 1 η < 1 , there exists a constant C C C not depending on m m m or M M M such that z ^ D , m ( η , D ) \widehat{z}^{D,m}(\eta,\mathcal{D}) z D , m ( η , D ) -recovers the family of features z i , z i 1 , z i 2 z_i, z_{i1}, z_{i2} z i , z i 1 , z i 2 for all i ∈ [ N ] i \in[N] i ∈ [ N ] satisfying
p i ≥ C T ( ⌊ m 3 ⌋ ) . (11) p_i \ge CT\left(\left\lfloor\frac{m}{3} \right\rfloor\right). \tag*{(11)} p i ≥ C T ( ⌊ 3 m ⌋ ) . (11)
The following identity provides useful intuition. If z j ( x ) > 0 ⟹ z i ( x ) > 0 z_j(x) > 0 \implies z_i(x) > 0 z j ( x ) > 0 ⟹ z i ( x ) > 0 , then for all λ ≥ 0 \lambda\ge0 λ ≥ 0 we can re-write
z i ( x ) a i + z j ( x ) a j = z ^ i ( x ) a ^ i + z ^ j ( x ) a ^ j . (12) z_i(x)a_i + z_j(x)a_j = \widehat{z}_i(x)\widehat{a}_i + \widehat{z}_j(x)\widehat{a}_j. \tag*{(12)} z i ( x ) a i + z j ( x ) a j = z i ( x ) a i + z j ( x ) a j . (12)
where z ^ i ( x ) = z i ( x ) + λ z j ( x ) \hat{z}_i(x) = z_i(x) + \lambda z_j(x) z ^ i ( x ) = z i ( x ) + λ z j ( x ) , a ^ i = a i \hat{a}_i = a_i a ^ i = a i , z ^ j ( x ) = z j ( x ) \hat{z}_j(x) = z_j(x) z ^ j ( x ) = z j ( x ) , and a ^ j = a j − λ a i \hat{a}_j = a_j - \lambda a_i a ^ j = a j − λ a i .5 This preserves sparsity and non-negativity of u u u . More importantly, both z ^ i \hat{z}_i z ^ i and z ^ j \hat{z}_j z ^ j activate on exactly the same examples as z i z_i z i and z j z_j z j . Therefore, even though atomic directions and features are not strictly unique under hierarchical correlation, alternative parameterizations are still equivalent in terms of when each feature is active.
Mesoscale feature splitting. The prediction of simultaneous recovery of both parent and child features at large SAE sizes seems in tension with empirical results that have demonstrated feature splitting and absorption [22 , 23 , 24 ] . P3 suggests that as SAE size continues to increase, we should expect lost parent features to return.
We give a “molecular” model of this phenomenon in § 5 , in which small SAEs learn a family molecule, medium SAEs learn individual parent-child molecules (this is the regime where a learned feature matching the parent’s activation is lost), and large SAEs learn an individual parent atom and individual child atoms. This molecular model can explain further phenomena, such as polysemanticity and semantic “clusters” of SAE directions.
Experiments: Testing P1, P2, and P3
We now test the predictions P1, P2, and P3 derived from Postulate 1. We study two large embedding models, gemini-embedding-2 [38 ] and llama-embed-nemotron-8b [39 ] , which give representations f ( x ) f(x) f ( x ) of dimension d = 3072 d = 3072 d = 3072 and d = 4096 d = 4096 d = 4096 , respectively. We train k k k -sparse autoencoders [35 ] on embeddings derived from 90M text inputs, comprising 13 datasets used to fine-tune llama-embed-nemotron-8b. An SAE of size m m m and trained with sparsity k k k produces a dictionary A ^ ∈ R d × m \hat{A} \in\mathbb{R}^{d \times m} A ^ ∈ R d × m , z ^ : X → R m \hat{z} : X \to\mathbb{R}^{m} z ^ : X → R m , where A ^ = W d e c \hat{A} = W_{\mathrm{dec}} A ^ = W dec is the SAE decoder and z ^ ( x ) = TopK k ( ReLU ( W e n c ( f ( x ) − b d e c ) ) ) \hat{z}(x) = \operatorname{TopK}_k(\operatorname{ReLU}(W_{\mathrm{enc}}(f(x) - b_{\mathrm{dec}}))) z ^ ( x ) = TopK k ( ReLU ( W enc ( f ( x ) − b dec ))) are the hidden layer activations. We train SAEs of sizes m m m in powers of two ranging from 512 to 131,072, with k = 32 , 32 , 32 , 32 , 64 , 64 , 64 , 128 , 128 k = 32, 32, 32, 32, 64, 64, 64, 128, 128 k = 32 , 32 , 32 , 32 , 64 , 64 , 64 , 128 , 128 respectively. (Section D reproduces results with k = 128 k = 128 k = 128 fixed.) Figure 2 displays our main results. Details of our experimental setup are given in Section C. Extended analyses for P1, P2, and P3 are collected in Sections D to F, respectively.
(a) P1: Persistent features across size. Number and proportion of directions with matches in every larger SAE. Similarity threshold t = 0.7 t = 0.7 t = 0.7 . About 70% of 4K SAE directions are retained in size-8K, 16K, 32K, 65K, and 131K SAEs.
(b) P2: Stability over data distributions. Proportion of directions shared between SAE and PCA dictionaries trained on different distributions. Similarity threshold t = 0.7 t = 0.7 t = 0.7 . We use absolute cosine similarity for PCA directions. 26%–59% of SAE feature directions have matches, compared to mostly 0% and at most 15% for PCA.
(c) P3: Hierarchical recovery. Mean held-out test F1 by hierarchy level and SAE width for Prefix, Cities, and GBIF. Each curve is an unweighted mean over category–model pairs, pooling Gemini and Nemotron. Average recovery is highest across all levels at sizes 65K and 131K.
Figure 2. Testing P1, P2, and P3—the predictions of the atomic theory.
Computing matching features. To test P1 and P2, we need to compute matches across dictionaries. We use the following metrics. Given a bipartite graph, a maximum matching is a one-to-one matching with the largest number of matches. The exclusive matching is the one-to-one matching consisting of all edges whose endpoints have only one neighbor. Given dictionaries A ^ , z ^ \hat{A}, \hat{z} A ^ , z ^ and A ^ ′ , z ^ ′ \hat{A}', \hat{z}' A ^ ′ , z ^ ′ , we draw edges between directions that have cosine similarity at least t t t and edges between features that have Pearson correlation at least t t t over a specified distribution. We then compute the maximum and exclusive matching. Given a matching criterion (maximum or exclusive), we compute a matching independently between the source dictionary and each larger dictionary. A direction or feature is persistent if it is matched in every comparison. We use a threshold of t = 0.7 t = 0.7 t = 0.7 as our default, following Paulo and Belrose [20 ] .
P1: Persistent features across size. We start by testing P1, which says that many features in smaller SAEs have matches in all larger SAEs. Many directions and features have matches in all larger SAEs. Under independent maximum matching at threshold t = 0.7 t = 0.7 t = 0.7 , in SAEs of size 4,096, 72.6% of Gemini directions and 69.4% of Nemotron directions are persistent (Figure 2a ).
By activation similarity, 59.7% of Gemini features and 66.4% of Nemotron features are persistent (Figure 7 ). Section D shows results under exclusive matching and under different thresholds.
Figure 7. Persistent stability across SAE widths using activation similarity at signed Pearson correlation at least 0.7. Left: the number of source features matched in every independently computed pairwise maximum matching to a larger SAE on the retained candidate graphs. Right: this count divided by source width. Both panels compare Gemini and Nemotron, using the fixed tie-breaking procedure in Section C.2.3.
We also compare feature prevalence across SAE sizes. Persistence suggests that larger SAEs do not learn strictly more granular features. We find that larger SAEs learn a similar number of coarse features as smaller SAEs while learning a longer tail of granular features; in contrast, KMeans clusters become strictly smaller as the number of clusters increases (Figure 10 ). Consistent with recovering prevalent atomic features, more prevalent features are more likely to be persistent (Figure 12 ).
Figure 10. Prevalence across SAE widths (left) and KMeans cluster counts (right), for Gemini (top) and Nemotron (bottom). SAE prevalence uses activation strictly greater than each SAE’s pooled median positive activation; KMeans prevalence uses nearest-centroid assignment. KMeans models are trained on the full corpus for 100 iterations. Colors indicate dictionary size. Curves show feature-count-scaled densities of log 10 \log_{10} log 10 prevalence, with shared axes and a square-root vertical scale. Zero-rate features are omitted from the logarithmic axis.
Figure 12. Median-threshold feature prevalence and direction persistence under independent pairwise matching and intersection in Gemini (left) and Nemotron (right). Each curve represents a source width in the original sparsity schedule. Points group source features into up to ten prevalence-quantile bins, keeping ties together, and show the median prevalence and fraction selected in the persistent matching within each bin. All source features are included. Bin sizes can differ; lines connect descriptive bin summaries. The horizontal axis is logarithmic above 10 − 8 10^{-8} 1 0 − 8 with a linear segment retaining zero-prevalence bins.
P2: Shared features across training data. We test P2, which says that SAEs trained on different data learn overlapping features. We use four additional data splits: wiki, no_wiki, rand1, and rand2. The pair (wiki,no_wiki) contain separate datasets (wiki contains datasets that are built using Wikipedia data, and no_wiki contains the datasets that are not). The pair (rand1, rand2) contain separate datasets as well, but the partition is chosen randomly rather than by content type. None of the four data splits contain the multilingual dataset MIRACL. We train SAEs with m = 16384 m = 16384 m = 16384 and k = 64 k = 64 k = 64 on each distribution. We compare to PCA baseline dictionaries, consisting of the d d d principal components fitted to each distribution. To compute matchings between PCA directions, we use absolute cosine similarity, since the signs of principal components are arbitrary.
Figure 2b shows the proportion of features shared across pairs of different dictionaries trained on different datasets for t = 0.7 t = 0.7 t = 0.7 . SAE dictionaries have many cross-dataset matches (between 26% and 59%), while PCA dictionaries have substantially fewer (at most 15%, median 1%). The lower matching rates in the PCA dictionaries suggest that the high amount of overlap in SAE dictionaries is not explained only by similarity in the underlying data distributions. Figure 14 also shows that SAEs have many cross-distribution matches based on activation similarity (22–61%). Under exclusive matching, SAE dictionaries continue to have many matching directions (25–57%) whereas the PCA match proportion remains at most 15% (Figure 13 ).
Figure 13. Cross-distribution SAE and PCA matches under the alternative exclusive criterion at t = 0.7 t = 0.7 t = 0.7 , using signed cosine for SAEs and absolute cosine for PCA. Each counted pair exceeds the threshold and has no other above-threshold partner at either endpoint. Entries divide the pair count by the dictionary width. Compared with the maximum-cardinality matching in Figure 2b , this criterion discards all pairs involving competing above-threshold partners. It therefore gives a stricter measure of unambiguous agreement between dictionaries.
Figure 14. Cross-distribution SAE activation matching for Gemini (left) and Nemotron (right). Each cell reports the maximum number of one-to-one matches at signed Pearson correlation ≥ 0.7 \ge0.7 ≥ 0.7 , divided by the SAE width of 16,384. Both SAEs are evaluated on the row’s distribution; columns identify the comparison SAE’s training distribution.
Figure 15 shows that features with greater prevalence in both distributions are more likely to be selected in direction matching, consistent with the recovery of overlapping prevalent atoms.
Figure 15. Median-threshold prevalence in both distributions and cross-distribution direction matching for Gemini (left) and Nemotron (right). Curves identify the source and target training distributions. The horizontal coordinate is the bin median of the minimum prevalence of a source feature across the two distributions; the vertical coordinate is the fraction selected in a one-to-one direction matching. Quantile binning preserves ties and includes all source features, with the same axis convention as Figure 12 .
P3: Hierarchical feature recovery. We test P3 by studying how well SAEs of different sizes recover a ground-truth set of hierarchical features defined by three datasets: prefix, cities, gbif.
For each ground-truth binary feature z ℓ ∗ : X → { 0 , 1 } z^*_\ell: X \to\{0,1\} z ℓ ∗ : X → { 0 , 1 } defined over inputs from each dataset, and for each SAE size from 512 to 131K trained on full, we report the test F1 score F 1 t e s t ( z ℓ ∗ , 1 { z j ≥ τ } ) \mathrm{F1}_{\mathrm{test}}(z^*_\ell, \mathbb{1}\{z_j \ge\tau\}) F1 test ( z ℓ ∗ , 1 { z j ≥ τ }) , where j ∈ [ m ] j \in[m] j ∈ [ m ] and τ > 0 \tau> 0 τ > 0 are selected to maximize the same score under E t r a i n \mathcal{E}_{\mathrm{train}} E train . Here E t r a i n \mathcal{E}_{\mathrm{train}} E train and E t e s t \mathcal{E}_{\mathrm{test}} E test are the empirical distributions on the train and held-out test splits of the labeled dataset. Dataset and experiment details are given in Section C.5. Figure 2c shows that across levels of the hierarchy, mean test F1 generally improves with size and is highest at width 65K or 131K. Figure 18 confirms that this corresponds to increasing simultaneous recovery of parent and child features.
Figure 18. Simultaneous recovery of adjacent parent–child pairs. Both selection-chosen detectors must achieve held-out test F1 > 0.6 and use distinct SAE coordinates within the pair. Left axes show proportions; right axes show raw counts among 216 prefix pairs, 87 continent–country pairs, and 453 adjacent-rank organism pairs.
We also find examples of mesoscale feature splitting. Figure 3 a shows that F1 recovery of the parent ‘a’ prefix feature decreases as SAE size increases initially (splitting), but increases again at even larger sizes. (Figure 19 shows all 25 Gemini letter prefixes with eligible two-letter children, including ‘a’ and excluding ‘x’.) However, this effect disappears when we increase the sparsity of smaller widths to match the largest widths, suggesting that feature splitting may primarily be the result of over-constrained sparsity. See § 5 for more discussion.
Figure 3. Hierarchical feature recovery. (a) Top: parent and child F1 for a-prefixes. Parent recovery follows a U-shape. Bottom: recall of the selected a-prefix feature, broken down by prefix. (b) Extracted Food and Music hierarchies in the Gemini 131K SAE. Activating examples for each feature are given in Table 8 and Table 9 .
Figure 19. Gemini F1 recovery for 25 letter prefixes. Each panel is the analog of the upper panel of Figure 3 a for one prefix from a to z, excluding x, across the original nine SAE widths and sparsity schedule. Blue curves show parent F1; bold green curves show the unweighted mean F1 of eligible two-letter children; faint green curves show individual children.
In addition to testing how well SAEs recover ground-truth hierarchies, we also extract hierarchical structure directly by examining correlation in feature activations over the corpus full (Section F.4). We find 114,762 parent-child pairs in the 131K gemini SAE. Figure 3 b shows examples of extracted three-level hierarchies, with top-level features “Food” and “Music.” Example lineages include “Food” → “Potatoes” → “Hash browns / rosti” and “Music” → “Jazz” → “John Coltrane.”
A Molecular Model
We now sketch a molecular model that helps explain several additional empirical phenomena: polysemanticity, feature splitting, and semantic clusters of directions [24 ] . In the model, “molecules” are learned SAE directions that are linear combinations of atomic directions. The recovery principle says that molecules in small SAEs eventually split into stable atoms in larger SAEs. A prediction, then, is that since the above empirical phenomena stem from molecules, they disappear at sufficiently large widths. The results and explanations here are intended to be illustrative—we hope that future work formalizes and systematically tests the molecular extension of the atomic theory.
The intuition for molecules can be conveyed with a minimal example. If two atomic features z i ( x ) z_i(x) z i ( x ) and z j ( x ) z_j(x) z j ( x ) are heavily correlated over D \mathcal{D} D , then it can be efficient for A ^ \hat{A} A ^ (trained to minimize L D \mathcal{L}_{\mathcal{D}} L D ) to mix the atomic directions a i a_i a i and a j a_j a j into a single learned direction, saving budget in terms of dictionary size (and also description length). The direction can be visualized as follows:
i ◯ j ◯ (13) \textcircled{\scriptstyle i}\quad\textcircled{\scriptstyle j} \tag*{(13)} i ◯ j ◯ (13)
In the empirical results that follow, we use learned directions and features in the size-131K gemini SAE as proxy atoms. We then decompose learned directions in smaller SAEs as linear combinations of proxy atomic directions, giving proxy molecules. Details are given in Section H.
Figure 1 (PDF p. 14).
Polysemanticity. Some SAE features are polysemantic, mixing loosely related concepts. In the molecular view, this is due to a direction that is a mixture of atomic directions.
Table 1 gives a direction in the 4K gemini SAE written as a molecule, with atoms corresponding to the word transform, as well as the Transformers franchise, electrical transformers, mathematical compositions of transforms, and the concept of change. Intuitively, these are mixed together in the small SAE since they are correlated.
Table 1. A polysemantic “transform”-related feature in the 4K gemini SAE, represented as a molecule of 131K features. It activates on mentions of “transform” as well as strings like “are autobots stronger than decepticons” (referencing the Transformers franchise). Examining activating examples in the table, the 131K features (treated as proxy atoms) seem comparatively monosemantic (e.g., representing the Transformers franchise). More examples for each atom are given in Table 11.
The table shows how texts that activate the polysemantic 4K SAE feature also activate the proxy atomic features. For example, “are autobots stronger than decepticons?” activates the original feature, as well as the Transformers franchise feature in the 131K SAE, but not the other proxy atomic features.
We also find that many inputs that activate the broader “change” feature in 131K do not activate the polysemantic 4K feature. This is an example of asymmetry between the molecular representation of learned directions and the activation pattern of the corresponding feature. This plays a central role in the explanation for feature splitting below.
Feature splitting and absorption. Consider a family with one parent atom and two child atoms, and suppose that the parent feature activation is highly correlated with the child feature activation. Concretely, we can consider a pet atom, along with a dog atom and cat atom. Then consider what happens when a different number of features are “budgeted” to this family.
with small contributions from each child direction (this is the first un-normalized principal component).
pet cat pet dog (14) \begin{gathered}
\text{pet}\quad\text{cat}\\
\phantom{\text{pet}}\quad\text{dog} \tag*{(14)}
\end{gathered} pet cat pet dog (14)
This direction is used in the reconstruction of every input that activates the family. Therefore, its corresponding feature has the same activation pattern as the parent atom.
pet + cat pet + dog (15) \text{pet}+\text{cat}\qquad\text{pet}+\text{dog} \tag*{(15)} pet + cat pet + dog (15)
Each molecule is used only for inputs that activate the specific child. Therefore, there is no learned feature that activates for all members of the family (giving “feature splitting”). Notice how this solution also minimizes description length (k k k ).
pet cat dog (16) \text{pet}\qquad\text{cat}\qquad\text{dog} \tag*{(16)} pet cat dog (16)
In particular, as shown in Theorem 3, there is a learned feature with an activation pattern corresponding to that of the parent and each child.
This gives a theoretical explanation of mesoscale feature splitting behavior that is consistent with P3. The example illustrates a second reason for feature splitting: over-restriction of the dictionary’s description length (sparsity).
Table 2 illustrates this behavior in real SAEs, where we have restricted our attention to a subset of proxy atoms that correspond to one- and two-letter “a” prefixes. At small dictionary size, there is a large molecule that is active for ah, ab, ap, and as. At intermediate size, there are instead molecules that mix the broad parent atom with the individual ah, ab, ap, and as child atoms. None are active for the whole family, and so the feature “a” appears to disappear (though its direction is still included in the molecules). Finally, at the largest size, individual atoms are recovered, including a feature that activates on the whole family.
Table 2. Empirical a-prefix feature splitting viewed in terms of molecules. A family molecule splits into parent-child molecules into atoms. In the middle regime, no molecule corresponds to a feature that activates on the full family (feature splitting). Such a feature exists in the small and large regimes.
Correlated directions forming semantic clusters. Various papers report seeing clusters of learned SAE directions that are correlated. As a concrete example, in Anthropic’s SAEs trained on Claude 3 Sonnet, Templeton et al. [24 ] find that “around the Golden Gate Bridge feature 34M/31164353 ... there are features corresponding to particular locations in San Francisco such as Alcatraz and the Presidio” [24 ] . Our model suggests that these directions are molecules rather than atoms: the directions are correlated since they share a common atom (corresponding to the shared geographical region). Indeed, Templeton et al. [24 ] note a broader correlated San Francisco direction in a smaller SAE, consistent with the feature splitting view presented above.
In underbudgeted regimes (in either dictionary size or description length) learning these molecules can be efficient. Our results suggest, however, SAEs with enough budget should learn individual atoms, rather than molecules. Then, at large budgets, we should see the observed correlation in directions decrease substantially.
We find evidence consistent with this prediction. Figure 26 compares the decoder directions selected as a-prefix probes in our 32K and 131K gemini SAEs. The median cosine over the 231 unique off-diagonal pairs is 0.144 at width 32K and 0.008 at width 131K. Direction correlation between extremely related features (e.g., the ‘ap’-prefix and the ‘ad’-prefix) can be very small or even negative.
Figure 26. Decoder direction similarities among a-prefix probes. Signed pairwise cosine similarities for Gemini SAEs of widths 32,768 (k = 64 k = 64 k = 64 , left) and 131,072 (k = 128 k = 128 k = 128 , right). At each width, we take the best selected feature for each of the 23 available one- and two-letter a-prefix categories, without an F1 filter, and deduplicate feature IDs. This yields 22 unique decoder directions: ac and ak share a probe at both widths. Rows and columns use the same prefix order in both panels, with a common color scale from −0.4 to 0.4. Diagonal self-similarities equal 1 and are shown at the maximum red. The median cosine over the 231 unique off-diagonal pairs is 0.1438 at width 32,768 and 0.0084 at width 131,072.
Given the large size of the SAEs trained by Anthropic, our model predicts that these SAEs are underbudgeted in description length (k < K k < K k < K ).6 The theory and observations here are consistent with work by Chanin et al. [22 ] , who show that mis-specified k k k leads to correlation in learned feature directions, and suggest using orthogonality in learned features as a way to tune sparsity.
A broad implication is that many undesirable aspects of learned SAEs are explained by molecules. So problems can be solved by scaling SAEs, with appropriate sparsity [22 ] , so that molecules split into their constituent atoms.
Discussion and Further Results
We developed an atomic theory of language model representations, deriving three testable predictions from the LRH and validating these predictions on SAEs trained on two large embedding models. (A natural next step is to test these predictions on other representations—e.g., residual streams.) Here, we discuss further applications of the atomic theory and connections to related work, alongside additional experiments.
The Recovery Principle. The recovery principle suggests the promise of scaling standard SAEs. In particular, large SAEs should be able to simultaneously recover stable coarse and granular features, reducing the need for incorporating hierarchical structure directly (cf., [23 , 40 , 41 , 42 , 43 ] ). Two aspects of the recovery principle are worth further investigation. First, Theorem 2 gives fairly weak guarantees in terms of the number of recovered atoms (e.g., a vanishing fraction of SAE size m m m ). In Section G, we find that SAEs trained on simulated data can recover a much larger proportion of atomic features. Second, Theorem 2 requires exact sparsity K K K . While our results suggest that correct sparsity specification is important, our simulations again suggest some robustness. Practically, it is important to know when sparsity is being chosen correctly [25 ] .
Multi-dimensional, non-linear, and manifold hypotheses. Some work has noted that representations can exhibit higher-dimensional non-linear structure [44 , 45 , 46 , 47 ] . In § 15 , we suggest that these observations are consistent with the atomic theory. We show that correlations in feature activations alone (absent any correlation in their associated directions) are enough to produce manifold structure. Figure 27 shows that small sets of features recover manifolds on dates and hex colors. (As a “bonus,” Table 12 shows that these color features generalize across hex codes, text, images.)
Figure 27. Manifolds arising from small sets of 131K gemini SAE activations. Top left shows PCA of raw embeddings, top right shows PCA of the SAE feature representation restricted to a subset of coordinates, and the bottom shows the activation pattern on these selected features. Importantly, the SAE-induced manifolds arise purely from correlation in activations, not correlation in feature directions.
Table 12. Top-activating text and image examples for eight color-selective features in the Gemini 131K sparse autoencoder. Each row shows the five highest-activating distinct general-corpus texts and five highest-activating WikiArt images for one feature, ordered by decreasing activation within each corpus. Parentheses give raw post-TopK activations. Texts are truncated for display.
A rigidity principle, platonic representations, and human interpretability. A growing literature documents increasing similarity in representations learned between different AI models [48 , 49 , 50 , 51 ] ; work studying “algorithmic monoculture” has theoretically and empirically analyzed homogeneity in model outputs and its implications [52 , 53 , 54 , 55 , 56 , 57 , 58 , 59 , 60 , 61 , 62 ] .
A “rigidity principle” illustrated by Theorems 1 to 3 suggests an explanation: that sparse systems of representation tend to involve the same concepts (recall, again, the vocabulary construction game). If AI models all use sparse representations, then these should be the same. Formally, we might hypothesize that different representations factor as f = A z f = Az f = A z and f = A ′ z f = A'z f = A ′ z for different choices of A ∈ R d × M A \in\mathbb{R}^{d \times M} A ∈ R d × M and A ′ ∈ R d ′ × M A' \in\mathbb{R}^{d' \times M} A ′ ∈ R d ′ × M , where the atomic feature representation z : X → R M z : X \to\mathbb{R}^{M} z : X → R M is shared. In the language of the platonic representation hypothesis [48 ] , one could hypothesize a set of platonic atoms . Then, as in the recovery principle, larger and larger models could be learning a growing subset of these platonic atoms, explaining increasing representational similarity. (Empirically, homogeneity seems to be increasing with model size beyond what can be explained by increasing accuracy [59 , 60 ] .)
In Section J, we identify matches between features in SAEs trained on gemini and nemotron. We find that size-131K gemini and nemotron SAEs have 11K matching features at Pearson similarity threshold 0.7 and 27K matching features at threshold 0.5. Example shared features (shown in Tables 13 to 24) include “mechanical bearings,” “comments in source code,” “trade tariffs and protectionism,” “trigonometric half-angle identities,” and “astragalus and milkvetch species.”
The fact that SAE features trained on AI models are human -interpretable [15 , 18 , 19 , 24 ] is quite amazing, and not obvious a priori: we could have imagined AI models learning different, inscrutable representations. One hypothesis is that since both humans and AI rely on sparse representations, there is pressure towards shared concepts.
Code
Code to reproduce data preparation, SAE training, and experiments is available in this repository: https://github.com/kennylpeng/atomic_theory .
AI Use
The conceptual ideas in the paper are those of the authors. We used AI to prove the ultimate theorem statements in the paper (after proving restricted versions ourselves) and help draft appendix sections. We reviewed and edited proofs (and rewrote proofs of central claims for clarity). Lean verifications for theoretical results are given in this repository: https://github.com/nikh garg/atomic-features-formalization/ , with autoformalization and verification using the AppliedModelingLib project [63 ] .
Proof of Theorem 1 (Existence of Atomic Features)
For a matrix A ∈ R d × M A \in\mathbb{R}^{d \times M} A ∈ R d × M , define
U K ( A ) : = ⋃ S ⊆ [ M ] ∣ S ∣ = K span ( A S ) , (17) U_K(A) := \bigcup_{\substack{S \subseteq[M] \\ |S|=K}} \operatorname{span}(A_S), \tag*{(17)} U K ( A ) := S ⊆ [ M ] ∣ S ∣ = K ⋃ span ( A S ) , (17)
where A S : = { a i } i ∈ S A_S := \{a_i\}_{i \in S} A S := { a i } i ∈ S .
Lemma 3. We have that
U K ( A ) ⊆ U K ′ ( B ) (18) U_K(A) \subseteq U_{K'}(B) \tag*{(18)} U K ( A ) ⊆ U K ′ ( B ) (18)
Proof. Fix S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] with ∣ S ∣ = K |S| = K ∣ S ∣ = K , and write E S : = span { e i : i ∈ S } E_S := \operatorname{span}\{e_i : i \in S\} E S := span { e i : i ∈ S } . For each T ⊆ [ M ′ ] T \subseteq[M'] T ⊆ [ M ′ ] with ∣ T ∣ = K ′ |T| = K' ∣ T ∣ = K ′ , define the linear subspace
L T : = { w ∈ E S : A w ∈ span ( B T ) } . (19) L_T := \{w \in E_S : Aw \in\operatorname{span}(B_T)\}. \tag*{(19)} L T := { w ∈ E S : A w ∈ span ( B T )} . (19)
Since A z ( x ) = B z ′ ( x ) Az(x) = Bz'(x) A z ( x ) = B z ′ ( x ) and z ′ ( x ) z'(x) z ′ ( x ) is at most K ′ K' K ′ -sparse,
z ( X ) ∩ E S ⊆ ⋃ T ⊆ [ M ′ ] ∣ T ∣ = K ′ L T . (20) z(X) \cap E_S \subseteq\bigcup_{\substack{T \subseteq[M'] \\ |T|=K'}} L_T. \tag*{(20)} z ( X ) ∩ E S ⊆ T ⊆ [ M ′ ] ∣ T ∣ = K ′ ⋃ L T . (20)
By K K K -richness, these finitely many linear subspaces cannot all be proper subspaces of E S E_S E S . Thus L T = E S L_T = E_S L T = E S for some T T T , which implies
span ( A S ) = A ( E S ) ⊆ span ( B T ) . (21) \operatorname{span}(A_S) = A(E_S) \subseteq\operatorname{span}(B_T). \tag*{(21)} span ( A S ) = A ( E S ) ⊆ span ( B T ) . (21)
Taking the union over all S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] with ∣ S ∣ = K |S| = K ∣ S ∣ = K gives U K ( A ) ⊆ U K ′ ( B ) U_K(A) \subseteq U_{K'}(B) U K ( A ) ⊆ U K ′ ( B ) , as desired.
The inclusion (18) is the primary consequence of richness that we invoke.
We first prove that K ′ ≥ K K' \ge K K ′ ≥ K . Invoking Proposition 3, we have that U K ( A ) ⊆ U K ′ ( B ) U_K(A) \subseteq U_{K'}(B) U K ( A ) ⊆ U K ′ ( B ) . Consider S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] with ∣ S ∣ = K |S| = K ∣ S ∣ = K . Then span ( A S ) ⊆ U K ( A ) ⊆ U K ′ ( B ) \operatorname{span}(A_S) \subseteq U_K(A) \subseteq U_{K'}(B) span ( A S ) ⊆ U K ( A ) ⊆ U K ′ ( B ) . Since a finite-dimensional subspace cannot be covered by finitely many proper linear subspaces, there exists some T ⊆ [ M ′ ] T \subseteq[M'] T ⊆ [ M ′ ] with ∣ T ∣ = K ′ |T| = K' ∣ T ∣ = K ′ such that span ( A S ) ⊆ span ( B T ) \operatorname{span}(A_S) \subseteq\operatorname{span}(B_T) span ( A S ) ⊆ span ( B T ) . Since ∣ S ∣ = K < spark ( A ) |S| = K < \operatorname{spark}(A) ∣ S ∣ = K < spark ( A ) , as implied by the lower RIP, rank ( A S ) = K \operatorname{rank}(A_S) = K rank ( A S ) = K . Therefore, K ′ = rank ( B T ) ≥ K K' = \operatorname{rank}(B_T) \ge K K ′ = rank ( B T ) ≥ K .
Next we prove that if M ′ , K ′ = M , K M', K' = M, K M ′ , K ′ = M , K , then ( A , z ) ≡ ( B , u ) (A,z) \equiv(B,u) ( A , z ) ≡ ( B , u ) . Suppose that M ′ = M M' = M M ′ = M and K ′ = K K' = K K ′ = K . Invoking Proposition 3, we have that U K ( A ) ⊆ U K ′ ( B ) U_K(A) \subseteq U_{K'}(B) U K ( A ) ⊆ U K ′ ( B ) . As in the proof above, for each S ⊆ [ M ] S \subseteq[M] S ⊆ [ M ] with ∣ S ∣ = K |S| = K ∣ S ∣ = K , there must exist some T ⊆ [ M ] T \subseteq[M] T ⊆ [ M ] with ∣ T ∣ = K |T| = K ∣ T ∣ = K such that span ( A S ) ⊆ span ( B T ) \operatorname{span}(A_S) \subseteq\operatorname{span}(B_T) span ( A S ) ⊆ span ( B T ) . Since both are K K K -dimensional (since spark ( A ) , spark ( B ) > 2 K \operatorname{spark}(A),\operatorname{spark}(B) > 2K spark ( A ) , spark ( B ) > 2 K ), we must have span ( A S ) = span ( B T ) \operatorname{span}(A_S) = \operatorname{span}(B_T) span ( A S ) = span ( B T ) . Define g : ( [ M ] K ) → ( [ M ] K ) g : \binom{[M]}{K} \to\binom{[M]}{K} g : ( K [ M ] ) → ( K [ M ] ) , S ↦ T S \mapsto T S ↦ T . Since span ( A S ) ≠ span ( A S ′ ) \operatorname{span}(A_S) \ne\operatorname{span}(A_{S'}) span ( A S ) = span ( A S ′ ) when S ≠ S ′ S \ne S' S = S ′ (again from the spark condition), g g g is a bijection.
Moreover,
∣ S ∩ S ′ ∣ = dim ( span ( A S ) ∩ span ( A S ′ ) ) = dim ( span ( B g ( S ) ∩ span ( B g ( S ′ ) ) ) = ∣ g ( S ) ∩ g ( S ′ ) ∣ . (22) |S \cap S'| = \dim(\operatorname{span}(A_S) \cap\operatorname{span}(A_{S'})) = \dim(\operatorname{span}(B_{g(S)} \cap\operatorname{span}(B_{g(S')})) = |g(S) \cap g(S')|. \tag*{(22)} ∣ S ∩ S ′ ∣ = dim ( span ( A S ) ∩ span ( A S ′ )) = dim ( span ( B g ( S ) ∩ span ( B g ( S ′ ) )) = ∣ g ( S ) ∩ g ( S ′ ) ∣. (22)
Now for each i ∈ [ M ] i \in[M] i ∈ [ M ] , we can choose S , S ′ ∈ ( [ M ] K ) S, S' \in\binom{[M]}{K} S , S ′ ∈ ( K [ M ] ) such that S ∩ S ′ = { i } S \cap S' = \{i\} S ∩ S ′ = { i } , so g ( S ) ∩ g ( S ′ ) = { j } g(S) \cap g(S') = \{j\} g ( S ) ∩ g ( S ′ ) = { j } for some j ∈ [ M ] j \in[M] j ∈ [ M ] . This implies that
span ( a i ) = span ( A S ) ∩ span ( A S ′ ) = span ( B g ( S ) ) ∩ span ( B g ( S ′ ) ) = span ( b j ) . (23) \operatorname{span}(a_i) = \operatorname{span}(A_S) \cap\operatorname{span}(A_{S'}) = \operatorname{span}(B_{g(S)}) \cap\operatorname{span}(B_{g(S')}) = \operatorname{span}(b_j). \tag*{(23)} span ( a i ) = span ( A S ) ∩ span ( A S ′ ) = span ( B g ( S ) ) ∩ span ( B g ( S ′ ) ) = span ( b j ) . (23)
So b j = a i b_j = a_i b j = a i since columns are unit norm and coefficients must be non-negative. Since columns of A A A are pairwise linearly independent, each i i i maps to a distinct j j j according to a permutation matrix P P P .
Figure 4. A sketch of how the tree construction completes the proof. Removing one vertex r r r from C C C , there exists a matching denoted by the solid lines from C ∖ { r } C \setminus\{r\} C ∖ { r } to N ( C ) N(C) N ( C ) (by the “Hall minimality” of C C C ). We can then construct a tree on C C C where the existence of an edge i j ij ij implies that m ( j ) ∈ F i m(j) \in F_i m ( j ) ∈ F i (so F i ∩ F j F_i \cap F_j F i ∩ F j is non-empty). Splitting the tree into its two parts, this gives us a subset of C C C that has a large neighborhood, providing the desired contradiction.
Then for each x ∈ X x \in X x ∈ X , B z ′ ( x ) = A z ( x ) Bz'(x) = Az(x) B z ′ ( x ) = A z ( x ) . Since spark ( B ) > 2 K \operatorname{spark}(B) > 2K spark ( B ) > 2 K , there is a unique K K K -sparse choice of z ′ ( x ) z'(x) z ′ ( x ) . In particular, z ′ ( x ) = P T z ( x ) z'(x) = P^Tz(x) z ′ ( x ) = P T z ( x ) .
Finally, we show that if M ′ < M M' < M M ′ < M , then K ′ ≥ 2 K K' \ge2K K ′ ≥ 2 K .
The proof rests on the following new characterization of when Hall’s condition holds: if Hall’s condition is satisfied for subsets of size at most 2 K 2K 2 K and subsets of size at most K K K have neighborhoods of size at most 2 K − 1 2K - 1 2 K − 1 , then Hall’s condition is satisfied globally.
Lemma 4 (Local-to-global Hall lemma). Let G = ( X , Y , E ) G = (X, Y, E) G = ( X , Y , E ) be a bipartite graph, and let K ≥ 1 K \ge1 K ≥ 1 . For S ⊆ X S \subseteq X S ⊆ X , let N ( S ) : = { y ∈ Y : ( x , y ) ∈ E for some x ∈ S } N(S) := \{y \in Y : (x, y) \in E \text{ for some } x \in S\} N ( S ) := { y ∈ Y : ( x , y ) ∈ E for some x ∈ S } . Suppose that for every S ⊆ X S \subseteq X S ⊆ X ,
if ∣ S ∣ ≤ 2 K |S| \le2K ∣ S ∣ ≤ 2 K , then ∣ N ( S ) ∣ ≥ ∣ S ∣ |N(S)| \ge|S| ∣ N ( S ) ∣ ≥ ∣ S ∣ ;
if ∣ S ∣ ≤ K |S| \le K ∣ S ∣ ≤ K , then ∣ N ( S ) ∣ ≤ 2 K − 1 |N(S)| \le2K - 1 ∣ N ( S ) ∣ ≤ 2 K − 1 .
Then G G G satisfies Hall’s condition: ∣ N ( S ) ∣ ≥ ∣ S ∣ |N(S)| \ge|S| ∣ N ( S ) ∣ ≥ ∣ S ∣ for every S ⊆ X S \subseteq X S ⊆ X . Consequently, there exists a matching that saturates X X X , and in particular ∣ Y ∣ ≥ ∣ X ∣ |Y| \ge|X| ∣ Y ∣ ≥ ∣ X ∣ .
Proof of Proposition 4. Assume for sake of contradiction that (i) and (ii) are satisfied, but that there exists C ⊆ X C \subseteq X C ⊆ X such that ∣ N ( C ) ∣ < ∣ C ∣ |N(C)| < |C| ∣ N ( C ) ∣ < ∣ C ∣ . Take C C C to be inclusion minimal, in the sense that ∣ N ( C ′ ) ∣ ≥ ∣ C ′ ∣ |N(C')| \ge|C'| ∣ N ( C ′ ) ∣ ≥ ∣ C ′ ∣ for all C ′ ⊊ C C' \subsetneq C C ′ ⊊ C . Then ∣ N ( C ) ∣ = ∣ C ∣ − 1 |N(C)| = |C| - 1 ∣ N ( C ) ∣ = ∣ C ∣ − 1 , since otherwise we can freely remove any vertex from C C C to obtain C ′ C' C ′ violating Hall’s condition. By (i), we have that ∣ C ∣ ≥ 2 K + 1 |C| \ge2K + 1 ∣ C ∣ ≥ 2 K + 1 . We now show that (ii) is contradicted.
Choose any r ∈ C r \in C r ∈ C . By the minimality of C C C , every strict subset of C C C satisfies Hall’s condition. Therefore, we can construct a perfect matching m : C ∖ { r } → N ( C ) m : C \setminus\{r\} \to N(C) m : C ∖ { r } → N ( C ) .
We now iteratively construct a tree T = ( C , E T ) T = (C, E_T) T = ( C , E T ) alongside a bijection g : E T → N ( C ) g : E_T \to N(C) g : E T → N ( C ) . Start with the set of vertices R = { r } R = \{r\} R = { r } and the empty set of edges E T = ∅ E_T = \varnothing E T = ∅ . At each step, choose a vertex j ∈ C ∖ R j \in C \setminus R j ∈ C ∖ R such that m ( j ) ∈ N ( { i } ) m(j) \in N(\{i\}) m ( j ) ∈ N ({ i }) for some i ∈ R i \in R i ∈ R . Then add j j j to R R R , the edge i j ij ij to E T E_T E T , and set g ( i j ) : = m ( j ) g(ij) := m(j) g ( ij ) := m ( j ) . Such a vertex j j j exists as long as R ≠ C R \ne C R = C . Indeed, suppose that there were not such a vertex. This would mean that for every u ∈ N ( R ) u \in N(R) u ∈ N ( R ) , m − 1 ( u ) ∈ R ∖ { r } m^{-1}(u) \in R \setminus\{r\} m − 1 ( u ) ∈ R ∖ { r } . Since m m m is a bijection, this implies that ∣ N ( R ) ∣ ≤ ∣ R ∣ − 1 |N(R)| \le|R| - 1 ∣ N ( R ) ∣ ≤ ∣ R ∣ − 1 . Therefore, if R ≠ C R \ne C R = C , this would contradict the minimality of C C C . A key property of T T T is that if g ( i j ) = m ( j ) g(ij)=m(j) g ( ij ) = m ( j ) , then m ( j ) ∈ N ( { i } ) m(j)\in N(\{i\}) m ( j ) ∈ N ({ i }) and m ( j ) ∈ N ( { j } ) m(j)\in N(\{j\}) m ( j ) ∈ N ({ j }) . Now take any subtree of T T T with 2 K + 1 2K+1 2 K + 1 vertices (equivalently, 2 K 2K 2 K edges). Let the two sides of the tree (which is bipartite) have vertices S 1 S_1 S 1 and S 2 S_2 S 2 . Without loss of generality, suppose ∣ S 1 ∣ ≤ K |S_1|\le K ∣ S 1 ∣ ≤ K . Every edge i j ij ij in the subtree has one endpoint in S 1 S_1 S 1 . Therefore, for each such edge i j ij ij , g ( i j ) g(ij) g ( ij ) is in N ( S 1 ) N(S_1) N ( S 1 ) . Since g g g is a bijection, this implies that ∣ N ( S 1 ) ∣ ≥ 2 K |N(S_1)|\ge2K ∣ N ( S 1 ) ∣ ≥ 2 K . This contradicts (ii), as desired.
Finishing the proof. We now complete the proof. Invoking Proposition 3, we have that U K ( A ) ⊆ U K ′ ( B ) U_K(A)\subseteq U_{K'}(B) U K ( A ) ⊆ U K ′ ( B ) . Therefore, for all i ∈ [ M ] i\in[M] i ∈ [ M ] , since a i ∈ U K ( A ) ⊆ U K ′ ( B ) a_i\in U_K(A)\subseteq U_{K'}(B) a i ∈ U K ( A ) ⊆ U K ′ ( B ) , a i a_i a i has K ′ K' K ′ -sparse representation in B B B . Since spark ( B ) > 2 K ′ \operatorname{spark}(B)>2K' spark ( B ) > 2 K ′ , this representation is unique. Let F i ⊆ [ M ′ ] F_i\subseteq[M'] F i ⊆ [ M ′ ] denote the support of this representation.
Now consider a bipartite graph G = ( [ M ] , [ M ′ ] , E ) G=([M],[M'],E) G = ([ M ] , [ M ′ ] , E ) where E = { ( i , j ) : i ∈ [ M ] , j ∈ F i } E=\{(i,j):i\in[M],j\in F_i\} E = {( i , j ) : i ∈ [ M ] , j ∈ F i } . Then we have N ( S ) = ⋃ i ∈ S F i ⊆ [ M ′ ] N(S)=\bigcup_{i\in S}F_i\subseteq[M'] N ( S ) = ⋃ i ∈ S F i ⊆ [ M ′ ] .
Our approach is to show that if K ′ ≤ 2 K − 1 K'\le2K-1 K ′ ≤ 2 K − 1 , then G G G satisfies the two conditions in Proposition 4, implying that M ′ ≥ M M'\ge M M ′ ≥ M .
To show (i) holds, observe that since ∣ S ∣ ≤ 2 K < spark ( A ) |S|\le2K<\operatorname{spark}(A) ∣ S ∣ ≤ 2 K < spark ( A ) , then rank ( A S ) = ∣ S ∣ \operatorname{rank}(A_S)=|S| rank ( A S ) = ∣ S ∣ . Also, span ( A S ) ⊆ span ( B ⋃ i ∈ S F i ) \operatorname{span}(A_S)\subseteq\operatorname{span}(B_{\bigcup_{i\in S}F_i}) span ( A S ) ⊆ span ( B ⋃ i ∈ S F i ) . Now observe that ∣ N ( S ) ∣ = ∣ ⋃ i ∈ S F i ∣ ≥ rank ( B ⋃ i ∈ S F i ) ≥ rank ( A S ) = ∣ S ∣ |N(S)|=|\bigcup_{i\in S}F_i|\ge\operatorname{rank}(B_{\bigcup_{i\in S}F_i})\ge\operatorname{rank}(A_S)=|S| ∣ N ( S ) ∣ = ∣ ⋃ i ∈ S F i ∣ ≥ rank ( B ⋃ i ∈ S F i ) ≥ rank ( A S ) = ∣ S ∣ . (Notice that this property holds regardless of K ′ K' K ′ .)
To show (ii) holds, observe that if ∣ S ∣ ≤ K |S|\le K ∣ S ∣ ≤ K , span ( A S ) ⊆ U K ( A ) ⊆ U K ′ ( B ) \operatorname{span}(A_S)\subseteq U_K(A)\subseteq U_{K'}(B) span ( A S ) ⊆ U K ( A ) ⊆ U K ′ ( B ) . Since a subspace can’t be covered by the union of a finite number of strictly lower-dimensional subspaces, there exists T S ⊆ [ M ′ ] T_S\subseteq[M'] T S ⊆ [ M ′ ] with ∣ T S ∣ = K ′ |T_S|=K' ∣ T S ∣ = K ′ such that span ( A S ) ⊆ span ( B T S ) \operatorname{span}(A_S)\subseteq\operatorname{span}(B_{T_S}) span ( A S ) ⊆ span ( B T S ) . For each i ∈ S i\in S i ∈ S , since a i ∈ span ( A S ) a_i\in\operatorname{span}(A_S) a i ∈ span ( A S ) and F i F_i F i is the support of the unique K ′ K' K ′ -sparse representation of a i a_i a i in B B B , then F i ⊆ T S F_i\subseteq T_S F i ⊆ T S . Therefore, ∣ N ( S ) ∣ = ∣ ⋃ i ∈ S F i ∣ ≤ ∣ T S ∣ ≤ K ′ ≤ 2 K − 1 |N(S)|=|\bigcup_{i\in S}F_i|\le|T_S|\le K'\le2K-1 ∣ N ( S ) ∣ = ∣ ⋃ i ∈ S F i ∣ ≤ ∣ T S ∣ ≤ K ′ ≤ 2 K − 1 , as desired.
Define a featurization of f f f to be a dictionary that exactly represents f f f .
Theorem 4 (Generic rigidity). Fix d d d , M M M , K K K with M > d ≥ 2 M>d\ge2 M > d ≥ 2 . For almost every A = ( a 1 , … , a M ) ∈ ( S d − 1 ) M A=(a_1,\ldots,a_M)\in(\mathbb{S}^{d-1})^M A = ( a 1 , … , a M ) ∈ ( S d − 1 ) M , the following holds. Suppose that ( A , z ) (A,z) ( A , z ) is a K K K -rich ( M , K ) (M,K) ( M , K ) -featurization of f : X → R d f:\mathcal{X}\to\mathbb{R}^d f : X → R d . Then every ( M ′ , K ′ ) (M',K') ( M ′ , K ′ ) -featurization ( A ′ , z ′ ) (A',z') ( A ′ , z ′ ) of f f f , for M ′ > d M'>d M ′ > d , satisfies
K ′ ≥ 1 + ( d − 1 ) M − M ′ M . (24) K'\ge1+(d-1)\frac{M-M'}{M}. \tag*{(24)} K ′ ≥ 1 + ( d − 1 ) M M − M ′ . (24)
Since d + 1 ≥ spark ( A ′ ) > 2 K ′ d+1\ge\operatorname{spark}(A')>2K' d + 1 ≥ spark ( A ′ ) > 2 K ′ , (24) implies that M ′ > M 2 M'>\frac{M}{2} M ′ > 2 M .
Proof of Theorem 4. Suppose that ( A , z ) (A,z) ( A , z ) is a K K K -rich ( M , K ) (M,K) ( M , K ) -featurization of f : X → R d f:\mathcal{X}\to\mathbb{R}^d f : X → R d . Then by Proposition 3, we have that a i ∈ U K ′ ( B ) a_i\in U_{K'}(B) a i ∈ U K ′ ( B ) . We show that if
K ′ < 1 + ( d − 1 ) M − M ′ M , (25) K'<1+(d-1)\frac{M-M'}{M}, \tag*{(25)} K ′ < 1 + ( d − 1 ) M M − M ′ , (25)
then for almost every A = ( a 1 , a 2 , … , a M ) ∈ ( S d − 1 ) M A=(a_1,a_2,\ldots,a_M)\in(\mathbb{S}^{d-1})^M A = ( a 1 , a 2 , … , a M ) ∈ ( S d − 1 ) M , there does not exist B ∈ R d × M ′ B\in\mathbb{R}^{d\times M'} B ∈ R d × M ′ such that a 1 , a 2 , … , a M a_1,a_2,\ldots,a_M a 1 , a 2 , … , a M all have K ′ K' K ′ -sparse representations in B B B . (Notice that this argument does not require that U K ′ ( B ) U_{K'}(B) U K ′ ( B ) include all of U K ( A ) U_K(A) U K ( A ) , but rather just a 1 , a 2 , … , a M a_1,a_2,\ldots,a_M a 1 , a 2 , … , a M , so it seems natural that the bound given here could be further improved.)
The idea is a dimension counting argument on parameter spaces. In particular, we first define a smooth manifold that parameterizes A A A . We then define a smooth manifold that parameterizes ( M ′ , K ′ ) (M',K') ( M ′ , K ′ ) -featurizations B , z ′ B,z' B , z ′ that can represent a 1 , a 2 , … , a M a_1,a_2,\ldots,a_M a 1 , a 2 , … , a M . Finally, we define a smooth map between the B B B -manifold and the A A A -manifold, with the property that every representable A A A -featurization must be in the image of this map. Then invoking Sard’s theorem, if the dimension of the B B B -manifold is smaller than the A A A -manifold, then the image of the map has measure zero. So for a measure one subset of A A A , no ( M , K ) (M,K) ( M , K ) -featurization A , z A,z A , z has an ( M ′ , K ′ ) (M',K') ( M ′ , K ′ ) -featurization. Let A M = ( S d − 1 ) M \mathcal{A}_M = (\mathbb{S}^{d-1})^M A M = ( S d − 1 ) M . Let B M ′ , K ′ , T = ( S d − 1 ) M ′ × ∏ i = 1 M S ∣ T i ∣ − 1 \mathcal{B}_{M',K',T} = (\mathbb{S}^{d-1})^{M'} \times\prod_{i=1}^{M} \mathbb{S}^{|T_i|-1} B M ′ , K ′ , T = ( S d − 1 ) M ′ × ∏ i = 1 M S ∣ T i ∣ − 1 . Let T = ( T 1 , ⋯ , T M ) T = (T_1,\cdots,T_M) T = ( T 1 , ⋯ , T M ) where T i ⊆ [ M ′ ] T_i \subseteq[M'] T i ⊆ [ M ′ ] with 1 ≤ ∣ T i ∣ ≤ K ′ 1 \leq|T_i| \leq K' 1 ≤ ∣ T i ∣ ≤ K ′ . Define the smooth function Φ : B M ′ , K ′ , T → ( R d ) M \Phi: \mathcal{B}_{M',K',T} \to(\mathbb{R}^{d})^M Φ : B M ′ , K ′ , T → ( R d ) M such that
Figure 5. When dim ( B M ′ , K ′ , S ) < dim ( A M ) \dim(\mathcal{B}_{M',K',S}) < \dim(\mathcal{A}_M) dim ( B M ′ , K ′ , S ) < dim ( A M ) , the set of ( M , K ) (M,K) ( M , K ) -factorizations that also have an ( M ′ , K ′ ) (M',K') ( M ′ , K ′ ) -factorization is measure zero under a generic distribution over ( M , K ) (M,K) ( M , K ) -factorizations.
( B , γ 1 , γ 2 , ⋯ , γ M ) ↦ ( ∑ j ∈ T 1 γ 1 j b j , ∑ j ∈ T 2 γ 2 j b j , ⋯ , ∑ j ∈ T M γ M j b j ) . (26) (B,\gamma_1,\gamma_2,\cdots,\gamma_M) \mapsto\left(\sum_{j\in T_1}\gamma_{1j}b_j,\sum_{j\in T_2}\gamma_{2j}b_j,\cdots,\sum_{j\in T_M}\gamma_{Mj}b_j\right). \tag*{(26)} ( B , γ 1 , γ 2 , ⋯ , γ M ) ↦ j ∈ T 1 ∑ γ 1 j b j , j ∈ T 2 ∑ γ 2 j b j , ⋯ , j ∈ T M ∑ γ M j b j . (26)
Now define Θ : ( R d ∖ { 0 } ) M → A M : ( a 1 ′ , a 2 ′ , ⋯ , a M ′ ) ↦ ( a 1 ′ ∥ a 1 ′ ∥ , a 2 ′ ∥ a 2 ′ ∥ , ⋯ , a M ′ ∥ a M ′ ∥ ) \Theta: (\mathbb{R}^{d} \setminus\{0\})^M \to\mathcal{A}_M : (a'_1,a'_2,\cdots,a'_M) \mapsto\left(\frac{a'_1}{\lVert a'_1\rVert},\frac{a'_2}{\lVert a'_2\rVert},\cdots,\frac{a'_M}{\lVert a'_M\rVert}\right) Θ : ( R d ∖ { 0 } ) M → A M : ( a 1 ′ , a 2 ′ , ⋯ , a M ′ ) ↦ ( ∥ a 1 ′ ∥ a 1 ′ , ∥ a 2 ′ ∥ a 2 ′ , ⋯ , ∥ a M ′ ∥ a M ′ ) , which is also smooth. Let B M ′ , K ′ , T ∗ = Φ − 1 ( ( R d ∖ { 0 } ) M ) \mathcal{B}^{*}_{M',K',T} = \Phi^{-1}((\mathbb{R}^{d} \setminus\{0\})^M) B M ′ , K ′ , T ∗ = Φ − 1 (( R d ∖ { 0 } ) M ) . Since ( R d ∖ { 0 } ) M (\mathbb{R}^{d} \setminus\{0\})^M ( R d ∖ { 0 } ) M is open, B M ′ , K ′ , T ∗ \mathcal{B}^{*}_{M',K',T} B M ′ , K ′ , T ∗ is itself a smooth manifold. B M ′ , K ′ , T ∗ \mathcal{B}^{*}_{M',K',T} B M ′ , K ′ , T ∗ has dimension at most M ′ ( d − 1 ) + M ( K ′ − 1 ) M'(d-1) + M(K'-1) M ′ ( d − 1 ) + M ( K ′ − 1 ) . A M \mathcal{A}_M A M has dimension M ( d − 1 ) M(d-1) M ( d − 1 ) . So if
M ′ ( d − 1 ) + M ( K ′ − 1 ) < M ( d − 1 ) , (27) M'(d-1) + M(K'-1) < M(d-1), \tag*{(27)} M ′ ( d − 1 ) + M ( K ′ − 1 ) < M ( d − 1 ) , (27)
by Sard's theorem, ( Θ ∘ Φ ) ( B M ′ , K ′ , T ∗ ) ⊆ A M (\Theta\circ\Phi)(\mathcal{B}^{*}_{M',K',T}) \subseteq\mathcal{A}_M ( Θ ∘ Φ ) ( B M ′ , K ′ , T ∗ ) ⊆ A M has measure zero. Now observe that every ( a 1 , a 2 , ⋯ , a M ) (a_1,a_2,\cdots,a_M) ( a 1 , a 2 , ⋯ , a M ) that has a K ′ K' K ′ -sparse decomposition in ( b 1 , b 2 , ⋯ , b M ′ ) (b_1,b_2,\cdots,b_{M'}) ( b 1 , b 2 , ⋯ , b M ′ ) must lie in the image of ( Θ ∘ Φ ) ( B M ′ , K ′ , T ∗ ) (\Theta\circ\Phi)(\mathcal{B}^{*}_{M',K',T}) ( Θ ∘ Φ ) ( B M ′ , K ′ , T ∗ ) for some T T T . Since there are a finite number of supports T T T , and the union of a finite number of measure zero sets has measure zero, this implies that with probability one, ( a 1 , a 2 , ⋯ , a M ) (a_1,a_2,\cdots,a_M) ( a 1 , a 2 , ⋯ , a M ) does not have a K ′ K' K ′ -sparse decomposition in any ( b 1 , b 2 , ⋯ , b M ′ ) (b_1,b_2,\cdots,b_{M'}) ( b 1 , b 2 , ⋯ , b M ′ ) . Similarly, we can repeat the argument for all M ′ , K ′ M',K' M ′ , K ′ satisfying (27) .
Finally, observe that since d + 1 ≥ spark ( A ′ ) > 2 K ′ d+1 \geq\operatorname{spark}(A') > 2K' d + 1 ≥ spark ( A ′ ) > 2 K ′ , then K ′ − 1 < d − 1 2 K'-1 < \frac{d-1}{2} K ′ − 1 < 2 d − 1 , so
d − 1 2 > ( d − 1 ) M − M ′ M (28) \frac{d-1}{2} > (d-1)\frac{M-M'}{M} \tag*{(28)} 2 d − 1 > ( d − 1 ) M M − M ′ (28)
M 2 > M − M ′ (29) \frac{M}{2} > M-M' \tag*{(29)} 2 M > M − M ′ (29)
M ′ > M 2 , (30) M' > \frac{M}{2}, \tag*{(30)} M ′ > 2 M , (30)
as desired.
Proofs of Theorems 2 and 3 (the Recovery Principle)
Let us recall our assumptions. We assume throughout that A A A and A ^ \hat{A} A ^ have unit-norm columns and satisfy the ( γ , 2 K ) (\gamma,2K) ( γ , 2 K ) -lower restricted isometry property. To simplify, we simply say that a matrix is ( γ , 2 K ) (\gamma,2K) ( γ , 2 K ) -stable. We also assume that z ( x ) z(x) z ( x ) and z ^ ( x ) \hat{z}(x) z ^ ( x ) are nonnegative, and that z ^ ( x ) \hat{z}(x) z ^ ( x ) is at most K K K -sparse. The atomic support S ( x ) : = supp ( z ( x ) ) S(x) := \operatorname{supp}(z(x)) S ( x ) := supp ( z ( x )) has size K K K almost surely. Conditional on any positive-probability support S S S , the coefficients z S ( x ) z_S(x) z S ( x ) lie in ( 0 , 1 ) K (0,1)^K ( 0 , 1 ) K and have density h S h_S h S satisfying c − ≤ h S ≤ c + c_- \le h_S \le c_+ c − ≤ h S ≤ c + . The densities may differ across supports. All probabilities are with respect to D \mathcal{D} D . We abbreviate A ^ ( D , m ) \widehat{A}^{(\mathcal{D},m)} A ( D , m ) , z ^ ( D , m ) \widehat{z}^{(\mathcal{D},m)} z ( D , m ) by A ^ , z ^ \widehat{A},\widehat{z} A , z and write
E : = L D ( A ^ , z ^ ) , E S : = E x ∼ D [ ∥ A z ( x ) − A ^ z ^ ( x ) ∥ 2 2 ∣ S ( x ) = S ] . E := L_{\mathcal{D}}(\widehat{A},\widehat{z}), \qquad E_S := \mathbb{E}_{x\sim\mathcal{D}}\left[\left\|Az(x)-\widehat{A}\widehat{z}(x)\right\|_2^2 \mid S(x)=S\right]. E := L D ( A , z ) , E S := E x ∼ D [ A z ( x ) − A z ( x ) 2 2 ∣ S ( x ) = S ] .
For equal-dimensional subspaces U , V ⊆ R d U,V \subseteq\mathbb{R}^d U , V ⊆ R d , let gap ( U , V ) : = sup u ∈ U : ∥ u ∥ 2 = 1 dist ( u , V ) \operatorname{gap}(U,V) := \sup_{u\in U:\|u\|_2=1}\operatorname{dist}(u,V) gap ( U , V ) := sup u ∈ U : ∥ u ∥ 2 = 1 dist ( u , V ) ; the same value is obtained after exchanging U , V U,V U , V . We set gap ( { 0 } , { 0 } ) = 0 \operatorname{gap}(\{0\},\{0\})=0 gap ({ 0 } , { 0 }) = 0 . The first three lemmas do not require regularity, so we can use them for both the ordinary and hierarchical settings.
The core idea is the following lemma, which shows that if a full atomic support span is accurately reconstructed by the learned dictionary, then there must be a single learned support whose span matches the atomic span (in a way that is independent of m m m and M M M ). Then, by intersecting these spans, we can show the recovery of individual atoms. A key challenge in showing the result is that the atomic span can, in theory, be “tiled” by many different learned spans (the number of which depends on m m m ).
Lemma 5. For every ϵ > 0 \epsilon>0 ϵ > 0 , there exists δ = δ ( ϵ , K , γ , c − ) > 0 \delta=\delta(\epsilon,K,\gamma,c_-)>0 δ = δ ( ϵ , K , γ , c − ) > 0 such that any positive-probability support S S S with E S ≤ δ E_S\le\delta E S ≤ δ has a learned support T ⊆ [ m ] T\subseteq[m] T ⊆ [ m ] of size K K K satisfying gap ( span ( A S ) , span ( A ^ T ) ) ≤ ϵ \operatorname{gap}(\operatorname{span}(A_S),\operatorname{span}(\widehat{A}_T))\le\epsilon gap ( span ( A S ) , span ( A T )) ≤ ϵ .
Proof. Fix ϵ > 0 \epsilon>0 ϵ > 0 . Set r 0 : = γ / 4 r_0:=\gamma/4 r 0 := γ /4 and r j + 1 : = γ r j / ( 16 K ) r_{j+1}:=\gamma r_j/(16K) r j + 1 := γ r j / ( 16 K ) for j = 0 , … , K − 1 j=0,\ldots,K-1 j = 0 , … , K − 1 . Write R : = r K R:=r_K R := r K and choose α : = R min { ϵ , 1 / 8 } \alpha:=R\min\{\epsilon,1/8\} α := R min { ϵ , 1/8 } . Note that these quantities are independent of m , M m,M m , M .
Define U K ( A ^ ) : = ⋃ T ⊆ [ m ] : ∣ T ∣ ≤ K span ( A ^ T ) U_K(\widehat{A}):=\bigcup_{T\subseteq[m]:|T|\le K}\operatorname{span}(\widehat{A}_T) U K ( A ) := ⋃ T ⊆ [ m ] : ∣ T ∣ ≤ K span ( A T ) and g ( z ) : = dist ( A S z , U K ( A ^ ) ) g(z):=\operatorname{dist}(A_Sz,U_K(\widehat{A})) g ( z ) := dist ( A S z , U K ( A )) . The conditional density lower bound gives E S ≥ c − ∫ ( 0 , 1 ) K g ( z ) 2 d z E_S\ge c_-\int_{(0,1)^K}g(z)^2\,dz E S ≥ c − ∫ ( 0 , 1 ) K g ( z ) 2 d z . Moreover, since distance to a fixed set is 1-Lipschitz and ∥ A S ∥ o p ≤ K \|A_S\|_{\mathrm{op}}\le\sqrt{K} ∥ A S ∥ op ≤ K , we have ∣ g ( z ) − g ( z ′ ) ∣ ≤ K ∥ z − z ′ ∥ 2 |g(z)-g(z')|\le\sqrt{K}\|z-z'\|_2 ∣ g ( z ) − g ( z ′ ) ∣ ≤ K ∥ z − z ′ ∥ 2 .
Suppose g ( z 0 ) > α g(z_0)>\alpha g ( z 0 ) > α at some z 0 ∈ [ 1 / 4 , 3 / 4 ] K z_0\in[1/4,3/4]^K z 0 ∈ [ 1/4 , 3/4 ] K . Then g ( z ) > α / 2 g(z)>\alpha/2 g ( z ) > α /2 throughout the coefficient ball of radius α / ( 2 K ) \alpha/(2\sqrt{K}) α / ( 2 K ) centered at z 0 z_0 z 0 . This ball lies inside ( 0 , 1 ) K (0,1)^K ( 0 , 1 ) K since unit norms and stability imply γ ≤ 1 \gamma\le1 γ ≤ 1 , and our choice of α \alpha α makes its radius smaller than 1 / 4 1/4 1/4 . Writing ω K \omega_K ω K for the volume of the unit ball in R K \mathbb{R}^K R K , choose
δ : = c − ω K 2 K + 3 K K / 2 α K + 2 . \delta:=\frac{c_-\omega_K}{2^{K+3}K^{K/2}}\alpha^{K+2}. δ := 2 K + 3 K K /2 c − ω K α K + 2 .
The contribution of this ball would give E S ≥ c − ( α 2 / 4 ) ω K ( α / ( 2 K ) ) K = 2 δ E_S\ge c_-(\alpha^2/4)\omega_K(\alpha/(2\sqrt{K}))^K=2\delta E S ≥ c − ( α 2 /4 ) ω K ( α / ( 2 K ) ) K = 2 δ , a contradiction. Thus g ( z ) ≤ α g(z)\le\alpha g ( z ) ≤ α throughout [ 1 / 4 , 3 / 4 ] K [1/4,3/4]^K [ 1/4 , 3/4 ] K .
Write V : = span ( A S ) V:=\operatorname{span}(A_S) V := span ( A S ) and y 0 : = A S ( 1 / 2 , … , 1 / 2 ) y_0:=A_S(1/2,\ldots,1/2) y 0 := A S ( 1/2 , … , 1/2 ) . Since σ min ( A S ) ≥ γ \sigma_{\min}(A_S)\ge\gamma σ m i n ( A S ) ≥ γ , the image A S [ 1 / 4 , 3 / 4 ] K A_S[1/4,3/4]^K A S [ 1/4 , 3/4 ] K contains the ball B 0 : = B V ( y 0 , r 0 ) B_0:=B_V(y_0,r_0) B 0 := B V ( y 0 , r 0 ) . Indeed, any displacement in V V V of norm at most γ / 4 \gamma/4 γ /4 equals A S w A_Sw A S w for some ∥ w ∥ 2 ≤ 1 / 4 \|w\|_2\le1/4 ∥ w ∥ 2 ≤ 1/4 . Here and below, B V B_V B V denotes a closed ball taken within V V V .
For each y ∈ B 0 y\in B_0 y ∈ B 0 , choose a best signed K K K -sparse coefficient vector v ( y ) v(y) v ( y ) . Such a vector exists because U K ( A ^ ) U_K(\widehat{A}) U K ( A ) is a finite union of subspaces. The preceding bound gives ∥ y − A ^ v ( y ) ∥ 2 ≤ α \|y-\widehat{A}v(y)\|_2\le\alpha ∥ y − A v ( y ) ∥ 2 ≤ α . Since v ( y ) − v ( y ′ ) v(y)-v(y') v ( y ) − v ( y ′ ) is at most 2 K 2K 2 K -sparse, stability and the triangle inequality imply that for all y , y ′ ∈ B 0 y,y'\in B_0 y , y ′ ∈ B 0 ,
∥ v ( y ) − v ( y ′ ) ∥ 2 ≤ ∥ A ^ ( v ( y ) − v ( y ′ ) ) ∥ 2 γ ≤ ∥ y − y ′ ∥ 2 + 2 α γ . (31) \|v(y)-v(y')\|_2\le\frac{\|\widehat{A}(v(y)-v(y'))\|_2}{\gamma}\le\frac{\|y-y'\|_2+2\alpha}{\gamma}. \tag*{(31)} ∥ v ( y ) − v ( y ′ ) ∥ 2 ≤ γ ∥ A ( v ( y ) − v ( y ′ )) ∥ 2 ≤ γ ∥ y − y ′ ∥ 2 + 2 α . (31)
We now construct nested balls B j : = B V ( y j , r j ) \mathcal{B}_j:=B_V(y_j,r_j) B j := B V ( y j , r j ) and sets T j ⊆ [ m ] T_j\subseteq[m] T j ⊆ [ m ] of size j j j such that T j ⊆ supp ( v ( y ) ) T_j\subseteq\operatorname{supp}(v(y)) T j ⊆ supp ( v ( y )) throughout B j \mathcal{B}_j B j . Initially, take T 0 = ∅ T_0=\varnothing T 0 = ∅ .
Suppose B j , T j \mathcal{B}_j,T_j B j , T j have been constructed, with j < K j<K j < K . Since dim V = K > j \dim V=K>j dim V = K > j , choose a unit vector in V V V orthogonal to span ( A ^ T j ) \operatorname{span}(\widehat{A}_{T_j}) span ( A T j ) . At least one of the two points obtained by displacing y j y_j y j by ± r j / 2 \pm r_j/2 ± r j /2 in this direction has distance at least r j / 2 r_j/2 r j /2 from span ( A ^ T j ) \operatorname{span}(\hat{A}_{T_j}) span ( A ^ T j ) . Call this point y j + 1 y_{j+1} y j + 1 . Then, since errors are at most α \alpha α and since columns are unit-norm,
r j 2 ≤ dist ( y j + 1 , span ( A ^ T j ) ) ≤ α + ∑ ℓ ∉ T j ∣ v ℓ ( y j + 1 ) ∣ . (32) \frac{r_j}{2} \le\operatorname{dist}(y_{j+1},\operatorname{span}(\hat{A}_{T_j})) \le\alpha+ \sum_{\ell\notin T_j} |v_\ell(y_{j+1})|. \tag*{(32)} 2 r j ≤ dist ( y j + 1 , span ( A ^ T j )) ≤ α + ℓ ∈ / T j ∑ ∣ v ℓ ( y j + 1 ) ∣. (32)
Since α ≤ r j / 4 \alpha\le r_j/4 α ≤ r j /4 and v ( y j + 1 ) v(y_{j+1}) v ( y j + 1 ) has at most K K K nonzero entries, some i ∉ T j i \notin T_j i ∈ / T j satisfies ∣ v i ( y j + 1 ) ∣ ≥ r j / ( 4 K ) |v_i(y_{j+1})| \ge r_j/(4K) ∣ v i ( y j + 1 ) ∣ ≥ r j / ( 4 K ) . Set T j + 1 : = T j ∪ { i } T_{j+1} := T_j \cup\{i\} T j + 1 := T j ∪ { i } and B j + 1 : = B V ( y j + 1 , r j + 1 ) B_{j+1} := B_V(y_{j+1}, r_{j+1}) B j + 1 := B V ( y j + 1 , r j + 1 ) . This ball lies inside B j B_j B j , since its center is displaced by r j / 2 r_j/2 r j /2 and r j + 1 ≤ r j / 2 r_{j+1} \le r_j/2 r j + 1 ≤ r j /2 . For every y ∈ B j + 1 y \in B_{j+1} y ∈ B j + 1 , (31) and 2 α ≤ r j + 1 2\alpha\le r_{j+1} 2 α ≤ r j + 1 give ∣ v i ( y ) − v i ( y j + 1 ) ∣ ≤ 2 r j + 1 / γ = r j / ( 8 K ) |v_i(y)-v_i(y_{j+1})| \le2r_{j+1}/\gamma= r_j/(8K) ∣ v i ( y ) − v i ( y j + 1 ) ∣ ≤ 2 r j + 1 / γ = r j / ( 8 K ) . Hence ∣ v i ( y ) ∣ ≥ r j / ( 8 K ) > 0 |v_i(y)| \ge r_j/(8K) > 0 ∣ v i ( y ) ∣ ≥ r j / ( 8 K ) > 0 throughout the smaller ball. The coordinates in T j T_j T j remain nonzero by the induction hypothesis, completing the construction.
After K K K steps, T : = T K T := T_K T := T K has size K K K , so sparsity forces supp ( v ( y ) ) = T \operatorname{supp}(v(y)) = T supp ( v ( y )) = T throughout B K B_K B K . Consequently, dist ( y , span ( A ^ T ) ) ≤ α \operatorname{dist}(y,\operatorname{span}(\hat{A}_T)) \le\alpha dist ( y , span ( A ^ T )) ≤ α for every y ∈ B V ( y K , R ) y \in B_V(y_K,R) y ∈ B V ( y K , R ) .
Finally, let P T P_T P T be the orthogonal projection onto span ( A ^ T ) \operatorname{span}(\hat{A}_T) span ( A ^ T ) . For any unit vector w ∈ V w \in V w ∈ V , both y K + R w y_K + Rw y K + R w and y K − R w y_K - Rw y K − R w belong to the final ball. Therefore,
2 R ∥ ( I − P T ) w ∥ 2 ≤ ∥ ( I − P T ) ( y K + R w ) ∥ 2 + ∥ ( I − P T ) ( y K − R w ) ∥ 2 ≤ 2 α . 2R\|(I-P_T)w\|_2 \le\|(I-P_T)(y_K+Rw)\|_2+\|(I-P_T)(y_K-Rw)\|_2 \le2\alpha. 2 R ∥ ( I − P T ) w ∥ 2 ≤ ∥ ( I − P T ) ( y K + R w ) ∥ 2 + ∥ ( I − P T ) ( y K − R w ) ∥ 2 ≤ 2 α .
Noting that I I I is the projection onto span ( A S ) \operatorname{span}(A_S) span ( A S ) and that both A S A_S A S and A ^ T \hat{A}_T A ^ T have dimension K K K , so taking the supremum over unit vectors w ∈ V w \in V w ∈ V bounds their gap by α / R ≤ ϵ \alpha/R \le\epsilon α / R ≤ ϵ .
The next lemma shows that approximate matching of support spans preserves their intersections. Importantly, its bound does not depend on the number of supports being intersected.
Lemma 6. Suppose a nonempty finite collection of pairs S ℓ , T ℓ S_\ell,T_\ell S ℓ , T ℓ , with ∣ S ℓ ∣ = ∣ T ℓ ∣ = K |S_\ell|=|T_\ell|=K ∣ S ℓ ∣ = ∣ T ℓ ∣ = K , satisfies
gap ( span ( A S ℓ ) , span ( A ^ T ℓ ) ) ≤ r for every ℓ . \operatorname{gap}(\operatorname{span}(A_{S_\ell}),\operatorname{span}(\hat{A}_{T_\ell})) \le r \qquad\text{for every }\ell. gap ( span ( A S ℓ ) , span ( A ^ T ℓ )) ≤ r for every ℓ . Write I : = ⋂ ℓ S ℓ I := \bigcap_\ell S_\ell I := ⋂ ℓ S ℓ and J : = ⋂ ℓ T ℓ J := \bigcap_\ell T_\ell J := ⋂ ℓ T ℓ . If r ( 1 + 2 K / γ ) < 1 r(1+2K/\gamma)<1 r ( 1 + 2 K / γ ) < 1 , then
∣ I ∣ = ∣ J ∣ , gap ( span ( A I ) , span ( A ^ J ) ) ≤ r ( 1 + 2 K / γ ) . |I|=|J|,\qquad\operatorname{gap}(\operatorname{span}(A_I),\operatorname{span}(\hat{A}_J)) \le r(1+2K/\gamma). ∣ I ∣ = ∣ J ∣ , gap ( span ( A I ) , span ( A ^ J )) ≤ r ( 1 + 2 K / γ ) . Proof. Take a unit vector u ∈ span ( A I ) u \in\operatorname{span}(A_I) u ∈ span ( A I ) . For each ℓ \ell ℓ , choose v ℓ ∈ R m v_\ell\in\mathbb{R}^m v ℓ ∈ R m , supported on T ℓ T_\ell T ℓ , such that ∥ u − A v ^ ℓ ∥ 2 ≤ r \|u-A\hat{v}_\ell\|_2 \le r ∥ u − A v ^ ℓ ∥ 2 ≤ r . Fix one pair, indexed by 1. For every j ∈ T 1 ∖ J j \in T_1 \setminus J j ∈ T 1 ∖ J , some T ℓ T_\ell T ℓ omits j j j . Stability then gives ∣ ( v 1 ) j ∣ ≤ ∥ v 1 − v ℓ ∥ 2 ≤ 2 r / γ |(v_1)_j| \le\|v_1-v_\ell\|_2 \le2r/\gamma ∣ ( v 1 ) j ∣ ≤ ∥ v 1 − v ℓ ∥ 2 ≤ 2 r / γ . Deleting these at most K K K coordinates from v 1 v_1 v 1 , and using the unit norms of the learned columns, gives
dist ( u , span ( A ^ J ) ) ≤ ∥ u − A v ^ 1 ∥ 2 + ∑ j ∈ T 1 ∖ J ∣ ( v 1 ) j ∣ ≤ r + 2 K r / γ . \operatorname{dist}(u,\operatorname{span}(\hat{A}_J)) \le\|u-A\hat{v}_1\|_2+\sum_{j\in T_1\setminus J}|(v_1)_j| \le r+2Kr/\gamma. dist ( u , span ( A ^ J )) ≤ ∥ u − A v ^ 1 ∥ 2 + j ∈ T 1 ∖ J ∑ ∣ ( v 1 ) j ∣ ≤ r + 2 K r / γ . Exchanging A , S ℓ A,S_\ell A , S ℓ with A ^ , T ℓ \hat{A},T_\ell A ^ , T ℓ gives the same bound in the reverse direction. If the two intersection spans had different dimensions, the larger would contain a unit vector orthogonal to the smaller, contradicting the bound being less than 1. Their dimensions are ∣ I ∣ |I| ∣ I ∣ and ∣ J ∣ |J| ∣ J ∣ by stability, proving both claims. This argument also covers the case in which an intersection is empty.
We next connect these geometric matches with the actual learned activations. This step uses both nonnegativity of z ^ \hat{z} z ^ and the upper density bound. It does not assume that z ^ ( x ) \hat{z}(x) z ^ ( x ) minimizes the reconstruction error for each x x x .
Lemma 7 (Activation recovery). For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , there exist r , c , τ > 0 r,c,\tau>0 r , c , τ > 0 , depending only on η , K , γ , c + \eta,K,\gamma,c_+ η , K , γ , c + , with the following property.
Let G \mathcal{G} G be a collection of positive-probability atomic supports. Suppose each S ∈ G S\in\mathcal{G} S ∈ G has a learned support T S T_S T S of size K K K satisfying gap ( span ( A S ) , span ( A ^ T S ) ) ≤ r \operatorname{gap}(\operatorname{span}(A_S),\operatorname{span}(\widehat{A}_{T_S}))\le r gap ( span ( A S ) , span ( A T S )) ≤ r . Suppose also that an atomic coordinate i i i of prevalence p i : = Pr ( z i > 0 ) > 0 p_i:=\Pr(z_i>0)>0 p i := Pr ( z i > 0 ) > 0 and a learned coordinate j j j satisfy j ∈ T S j\in T_S j ∈ T S if and only if i ∈ S i\in S i ∈ S , for every S ∈ G S\in\mathcal{G} S ∈ G .
If E + Pr ( S ( x ) ∉ G ) ≤ c p i \mathcal{E}+\Pr(S(x)\notin\mathcal{G})\le c p_i E + Pr ( S ( x ) ∈ / G ) ≤ c p i , then
F1 D ( 1 { z i > 0 } , 1 { z ^ j > τ } ) > η . \operatorname{F1}_{D}\left(1\{z_i>0\},1\{\widehat{z}_j>\tau\}\right)>\eta. F1 D ( 1 { z i > 0 } , 1 { z j > τ } ) > η .
Proof. We first derive a bound for any 0 ≤ r ≤ 1 / 2 0\le r\le1/2 0 ≤ r ≤ 1/2 and τ > 0 \tau>0 τ > 0 satisfying 2 K r ≤ γ τ 2Kr\le\gamma\tau 2 K r ≤ γ τ . Write β : = Pr ( S ( x ) ∉ G ) \beta:=\Pr(S(x)\notin\mathcal{G}) β := Pr ( S ( x ) ∈ / G ) .
Fix S ∈ G S\in\mathcal{G} S ∈ G , and let P T S P_{T_S} P T S denote orthogonal projection onto span ( A ^ T S ) \operatorname{span}(\widehat{A}_{T_S}) span ( A T S ) . Let H S H_S H S be the K × K K\times K K × K matrix satisfying A ^ T S H S = P T S A S \widehat{A}_{T_S}H_S=P_{T_S}A_S A T S H S = P T S A S . It exists and is unique because A ^ T S \widehat{A}_{T_S} A T S has full column rank. For an input with support S S S , let v S ( x ) ∈ R m v_S(x)\in\mathbb{R}^m v S ( x ) ∈ R m have coordinates H S z S ( x ) H_Sz_S(x) H S z S ( x ) on T S T_S T S and zero elsewhere. These auxiliary coefficients may have either sign.
Since the atomic coefficients lie in ( 0 , 1 ) K (0,1)^K ( 0 , 1 ) K and the columns have unit norm, ∥ A z ( x ) ∥ 2 ≤ K \|Az(x)\|_2\le K ∥ A z ( x ) ∥ 2 ≤ K . The gap bound therefore gives ∥ A z ( x ) − A v S ( x ) ∥ 2 ≤ K r \|Az(x)-Av_S(x)\|_2\le Kr ∥ A z ( x ) − A v S ( x ) ∥ 2 ≤ K r . Writing e ( x ) : = ∥ A z ( x ) − A ^ z ^ ( x ) ∥ 2 e(x):=\|Az(x)-\widehat{A}\widehat{z}(x)\|_2 e ( x ) := ∥ A z ( x ) − A z ( x ) ∥ 2 , stability and the triangle inequality imply
∥ z ^ ( x ) − v S ( x ) ∥ 2 ≤ ∥ A ^ ( z ^ ( x ) − v S ( x ) ) ∥ 2 γ ≤ e ( x ) + K r γ . (33) \|\widehat{z}(x)-v_S(x)\|_2\le\frac{\|\widehat{A}(\widehat{z}(x)-v_S(x))\|_2}{\gamma}\le\frac{e(x)+Kr}{\gamma}. \tag*{(33)} ∥ z ( x ) − v S ( x ) ∥ 2 ≤ γ ∥ A ( z ( x ) − v S ( x )) ∥ 2 ≤ γ e ( x ) + K r . (33)
Here stability applies because z ^ ( x ) − v S ( x ) \widehat{z}(x)-v_S(x) z ( x ) − v S ( x ) is at most 2 K 2K 2 K -sparse.
If j ∈ T S j\in T_S j ∈ T S , the coordinate ( v S ( x ) ) j (v_S(x))_j ( v S ( x ) ) j is a linear function of z S ( x ) z_S(x) z S ( x ) with at least one coefficient of magnitude γ / ( 2 K ) \gamma/(2K) γ / ( 2 K ) or larger. To see this, for every w ∈ R K w\in\mathbb{R}^K w ∈ R K
K ∥ H S w ∥ 2 ≥ ∥ P T S A S w ∥ 2 ≥ 1 − r 2 ∥ A S w ∥ 2 ≥ γ 2 ∥ w ∥ 2 . \sqrt{K}\|H_Sw\|_2\ge\|P_{T_S}A_Sw\|_2\ge\sqrt{1-r^2}\|A_Sw\|_2\ge\frac{\gamma}{2}\|w\|_2. K ∥ H S w ∥ 2 ≥ ∥ P T S A S w ∥ 2 ≥ 1 − r 2 ∥ A S w ∥ 2 ≥ 2 γ ∥ w ∥ 2 .
Thus σ min ( H S ) ≥ γ / ( 2 K ) \sigma_{\min}(H_S)\ge\gamma/(2\sqrt{K}) σ m i n ( H S ) ≥ γ / ( 2 K ) . Since H S H_S H S is square, each row has at least this norm, and hence has an entry of magnitude at least γ / ( 2 K ) \gamma/(2K) γ / ( 2 K ) .
Holding the other K − 1 K-1 K − 1 atomic coefficients fixed, the values of the corresponding coefficient for which ∣ ( v S ( x ) ) j ∣ ≤ 2 τ |(v_S(x))_j|\le2\tau ∣ ( v S ( x ) ) j ∣ ≤ 2 τ form an interval of length at most 8 K τ / γ 8K\tau/\gamma 8 K τ / γ . Integrating over the remaining coordinates and using h S ≤ c + h_S\le c_+ h S ≤ c + gives
Pr ( ∣ ( v S ( x ) ) j ∣ ≤ 2 τ ∣ S ( x ) = S ) ≤ 8 K c + τ γ . (34) \Pr\left(|(v_S(x))_j|\le2\tau\mid S(x)=S\right)\le\frac{8Kc_+\tau}{\gamma}. \tag*{(34)} Pr ( ∣ ( v S ( x ) ) j ∣ ≤ 2 τ ∣ S ( x ) = S ) ≤ γ 8 K c + τ . (34)
No independence of the coefficients is needed.
By Markov’s inequality, outside an event of probability at most β + 4 E / ( γ 2 τ 2 ) \beta+4\mathcal{E}/(\gamma^2\tau^2) β + 4 E / ( γ 2 τ 2 ) , we have S ( x ) ∈ G S(x)\in\mathcal{G} S ( x ) ∈ G and e ( x ) ≤ γ τ / 2 e(x)\le\gamma\tau/2 e ( x ) ≤ γ τ /2 . On this complement, (33) and K r ≤ γ τ / 2 Kr\le\gamma\tau/2 K r ≤ γ τ /2 give ∥ z ^ ( x ) − v S ( x ) ∥ 2 ≤ τ \|\widehat{z}(x)-v_S(x)\|_2\le\tau ∥ z ( x ) − v S ( x ) ∥ 2 ≤ τ , where S = S ( x ) S=S(x) S = S ( x ) .
If i ∉ S i\notin S i ∈ / S , then j ∉ T S j\notin T_S j ∈ / T S , so ( v S ( x ) ) j = 0 (v_S(x))_j=0 ( v S ( x ) ) j = 0 and z ^ j ( x ) ≤ τ \widehat{z}_j(x)\le\tau z j ( x ) ≤ τ . Thus there is no false positive on this complement. If i ∈ S i\in S i ∈ S but z ^ j ( x ) ≤ τ \widehat{z}_j(x)\le\tau z j ( x ) ≤ τ , nonnegativity of z ^ j ( x ) \widehat{z}_j(x) z j ( x ) implies − τ ≤ ( v S ( x ) ) j ≤ 2 τ -\tau\le(v_S(x))_j\le2\tau − τ ≤ ( v S ( x ) ) j ≤ 2 τ . Summing (34) over supports in G \mathcal{G} G containing i i i , the probability of these false negatives is at most ( 8 K c + τ / γ ) p i (8Kc_+\tau/\gamma)p_i ( 8 K c + τ / γ ) p i .
Let Y : = 1 { z i > 0 } Y:=1\{z_i>0\} Y := 1 { z i > 0 } and Y ^ : = 1 { z ^ j > τ } \widehat{Y}:=1\{\widehat{z}_j>\tau\} Y := 1 { z j > τ } . The total disagreement probability is therefore at most β + 4 E / ( γ 2 τ 2 ) + ( 8 K c + τ / γ ) p i \beta+4\mathcal{E}/(\gamma^2\tau^2)+(8Kc_+\tau/\gamma)p_i β + 4 E / ( γ 2 τ 2 ) + ( 8 K c + τ / γ ) p i . Since Pr ( Y = 1 ) = p i > 0 \Pr(Y=1)=p_i>0 Pr ( Y = 1 ) = p i > 0 , the definition of the F1 score gives
F1 D ( Y , Y ^ ) = 1 − Pr D ( Y ≠ Y ^ ) Pr D ( Y = 1 ) + Pr D ( Y ^ = 1 ) (35) \operatorname{F1}_{D}(Y,\widehat{Y})=1-\frac{\Pr_D(Y\ne\widehat{Y})}{\Pr_D(Y=1)+\Pr_D(\widehat{Y}=1)} \tag*{(35)} F1 D ( Y , Y ) = 1 − Pr D ( Y = 1 ) + Pr D ( Y = 1 ) Pr D ( Y = Y ) (35)
≥ 1 − β p i − 4 E γ 2 τ 2 p i − 8 K c + τ γ . (36) \ge1-\frac{\beta}{p_i}-\frac{4\mathcal{E}}{\gamma^2\tau^2p_i}-\frac{8Kc_+\tau}{\gamma}. \tag*{(36)} ≥ 1 − p i β − γ 2 τ 2 p i 4 E − γ 8 K c + τ . (36)
Finally, choose τ > 0 \tau> 0 τ > 0 sufficiently small that 8 K c + τ / γ < ( 1 − η ) / 2 8Kc_{+}\tau/\gamma< (1-\eta)/2 8 K c + τ / γ < ( 1 − η ) /2 , and choose 0 < r ≤ min { 1 / 2 , γ τ / ( 2 K ) } 0 < r \le\min\{1/2,\gamma\tau/(2K)\} 0 < r ≤ min { 1/2 , γ τ / ( 2 K )} . Choose c > 0 c > 0 c > 0 sufficiently small that c ( 1 + 4 / ( γ 2 τ 2 ) ) < ( 1 − η ) / 2 c(1+4/(\gamma^{2}\tau^{2})) < (1-\eta)/2 c ( 1 + 4/ ( γ 2 τ 2 )) < ( 1 − η ) /2 . These choices depend only on η \eta η , K K K , γ \gamma γ , c + c_{+} c + . If E + β ≤ c p i E+\beta\le cp_i E + β ≤ c p i , then the sum of the first two error terms in (35) is at most c ( 1 + 4 / ( γ 2 τ 2 ) ) c(1+4/(\gamma^{2}\tau^{2})) c ( 1 + 4/ ( γ 2 τ 2 )) , so the F1 score exceeds η \eta η .
The ordinary recovery principle. We now impose regularity of the support law: for a fixed ρ ∈ ( 0 , 1 ] \rho\in(0,1] ρ ∈ ( 0 , 1 ] and distinct atoms i , k i,k i , k with p i > 0 p_i > 0 p i > 0 , assume Pr ( k ∉ S ( x ) ∣ i ∈ S ( x ) ) ≥ ρ \Pr(k \notin S(x)\mid i \in S(x)) \ge\rho Pr ( k ∈ / S ( x ) ∣ i ∈ S ( x )) ≥ ρ . Let σ \sigma σ order the atom prevalences nonincreasingly and let T ( m ) : = ∑ j = m + 1 M p σ ( j ) T(m):=\sum_{j=m+1}^{M}p_{\sigma(j)} T ( m ) := ∑ j = m + 1 M p σ ( j ) . Write L D ∗ ( m ) L_D^*(m) L D ∗ ( m ) for the infimum of the dictionary learning loss over the unit-norm, ( γ , 2 K ) (\gamma,2K) ( γ , 2 K ) -stable reference class with nonnegative, at most K K K -sparse codes. We do not need the infimum to be attained.
Proof of Theorem 2 . Retain the m m m most prevalent columns of A A A , together with their true coefficients. This gives an admissible dictionary. For every input, the squared norm of the omitted sum is at most K ∑ k ∉ σ ( [ m ] ) z k ( x ) 2 K\sum_{k\notin\sigma([m])}z_k(x)^2 K ∑ k ∈ / σ ([ m ]) z k ( x ) 2 , which is at most K K K times the number of omitted active atoms. Therefore,
E ≤ C 0 L D ∗ ( m ) ≤ C 0 K T ( m ) . (37) E \le C_0L_D^*(m) \le C_0KT(m). \tag*{(37)} E ≤ C 0 L D ∗ ( m ) ≤ C 0 K T ( m ) . (37)
We will show that an atom of prevalence p i > 0 p_i > 0 p i > 0 is recovered whenever E ≤ c p i E \le cp_i E ≤ c p i , for a sufficiently small constant c > 0 c > 0 c > 0 .
It suffices to take 0 < η < 1 0 < \eta< 1 0 < η < 1 . Let r ∗ , c ∗ , τ r_*,c_*,\tau r ∗ , c ∗ , τ be the constants supplied by Lemma 7 . Choose 0 < r ≤ r ∗ 0 < r \le r_* 0 < r ≤ r ∗ small enough that r ( 1 + 2 K / γ ) < min { γ / ( 4 2 ) , 1 − η / 2 } r(1+2K/\gamma) < \min\{\gamma/(4\sqrt{2}),\sqrt{1-\eta}/2\} r ( 1 + 2 K / γ ) < min { γ / ( 4 2 ) , 1 − η /2 } . Let δ \delta δ be the threshold supplied by Lemma 5 with ϵ = r \epsilon=r ϵ = r , decreasing it if necessary so that δ < c − γ 2 ( γ / ( 8 K ) ) K − 1 / 32 \delta< c_{-}\gamma^2(\gamma/(8K))^{K-1}/32 δ < c − γ 2 ( γ / ( 8 K ) ) K − 1 /32 . Finally, choose c > 0 c > 0 c > 0 such that c < ρ δ c < \rho\delta c < ρ δ and c ( 1 + δ − 1 ) ≤ c ∗ c(1+\delta^{-1}) \le c_* c ( 1 + δ − 1 ) ≤ c ∗ . These choices depend only on the parameters in the theorem.
Call a positive-probability support S S S good if E S ≤ δ E_S \le\delta E S ≤ δ , and write G \mathcal{G} G for the good supports. Their complement has probability β ≤ E / δ \beta\le E/\delta β ≤ E / δ . For each good support, choose T S T_S T S as in Lemma 5 , so its span has gap at most r r r from span ( A S ) \operatorname{span}(A_S) span ( A S ) .
Fix an atom i i i with p i > 0 p_i > 0 p i > 0 and E ≤ c p i E \le cp_i E ≤ c p i , and let G i : = { S ∈ G : i ∈ S } \mathcal{G}_i:=\{S\in\mathcal{G}:i\in S\} G i := { S ∈ G : i ∈ S } . Since β < ρ p i ≤ p i \beta< \rho p_i \le p_i β < ρ p i ≤ p i , this collection is nonempty. For every k ≠ i k\ne i k = i , regularity gives Pr ( i ∈ S ( x ) , k ∉ S ( x ) ) ≥ ρ p i > β \Pr(i\in S(x),k\notin S(x))\ge\rho p_i>\beta Pr ( i ∈ S ( x ) , k ∈ / S ( x )) ≥ ρ p i > β . Hence some good support contains i i i and omits k k k , implying ⋂ S ∈ G i S = { i } \bigcap_{S\in\mathcal{G}_i}S=\{i\} ⋂ S ∈ G i S = { i } . Lemma 6 now gives a single learned coordinate j j j such that
⋂ S ∈ G i T S = { j } , gap ( span ( a i ) , span ( a ^ j ) ) ≤ r ( 1 + 2 K / γ ) . (38) \bigcap_{S\in\mathcal{G}_i}T_S=\{j\},\qquad\operatorname{gap}(\operatorname{span}(a_i),\operatorname{span}(\hat a_j))\le r(1+2K/\gamma). \tag*{(38)} S ∈ G i ⋂ T S = { j } , gap ( span ( a i ) , span ( a ^ j )) ≤ r ( 1 + 2 K / γ ) . (38)
Thus j ∈ T S j\in T_S j ∈ T S whenever a good support contains i i i . If a good support S S S omits i i i , adding S S S to the preceding intersection makes the atomic intersection empty. Lemma 6 makes the learned intersection empty as well, so j ∉ T S j\notin T_S j ∈ / T S . We have proved j ∈ T S j\in T_S j ∈ T S if and only if i ∈ S i\in S i ∈ S on all good supports, not just on those containing i i i .
The line bound in (38) gives ∣ ⟨ a i , a ^ j ⟩ ∣ > η |\langle a_i,\hat a_j\rangle|>\eta ∣ ⟨ a i , a ^ j ⟩ ∣ > η . We must also fix its sign. If the inner product were negative, the same bound and our choice of r r r would give ∥ a i + a ^ j ∥ 2 < γ / 4 \|a_i+\hat a_j\|_2<\gamma/4 ∥ a i + a ^ j ∥ 2 < γ /4 . Choose any S ∈ G i S\in\mathcal{G}_i S ∈ G i and consider coefficients with z i ∈ ( 1 / 2 , 1 ] z_i\in(1/2,1] z i ∈ ( 1/2 , 1 ] and z k ∈ ( 0 , γ / ( 8 K ) ) z_k\in(0,\gamma/(8K)) z k ∈ ( 0 , γ / ( 8 K )) for k ∈ S ∖ { i } k\in S\setminus\{i\} k ∈ S ∖ { i } . Since z ^ \hat z z ^ is nonnegative and at most K K K -sparse, z ^ + z ^ i e j \hat z+\hat z_i e_j z ^ + z ^ i e j is at most 2 K 2K 2 K -sparse and has norm at least z i z_i z i . Stability and the triangle inequality therefore give, on this coefficient region,
∥ A z − A ^ z ^ ∥ 2 ≥ ( γ − ∥ a i + a ^ j ∥ 2 ) z i − ∑ k ∈ S ∖ { i } z k ≥ γ / 4. \|Az-\hat A\hat z\|_2\ge(\gamma-\|a_i+\hat a_j\|_2)z_i-\sum_{k\in S\setminus\{i\}}z_k\ge\gamma/4. ∥ A z − A ^ z ^ ∥ 2 ≥ ( γ − ∥ a i + a ^ j ∥ 2 ) z i − k ∈ S ∖ { i } ∑ z k ≥ γ /4.
The density lower bound gives this region conditional probability at least ( c − / 2 ) ( γ / ( 8 K ) ) K − 1 (c_-/2)(\gamma/(8K))^{K-1} ( c − /2 ) ( γ / ( 8 K ) ) K − 1 . Thus E S ≥ c − γ 2 ( γ / ( 8 K ) ) K − 1 / 32 E_S\ge c_-\gamma^2(\gamma/(8K))^{K-1}/32 E S ≥ c − γ 2 ( γ / ( 8 K ) ) K − 1 /32 , contradicting goodness and our choice of δ \delta δ . Consequently, ⟨ a i , a ^ j ⟩ > η \langle a_i,\hat a_j\rangle>\eta ⟨ a i , a ^ j ⟩ > η , as required for signed direction recovery.
For activation recovery, observe that E + β ≤ E ( 1 + δ − 1 ) ≤ c ∗ p i E+\beta\le E(1+\delta^{-1})\le c_*p_i E + β ≤ E ( 1 + δ − 1 ) ≤ c ∗ p i . Lemma 7 therefore applies to the same coordinate j j j and gives an F1 score greater than η \eta η at threshold τ \tau τ . This threshold is shared by all recovered coordinates. Finally, take C : = C 0 K / c C:=C_0K/c C := C 0 K / c . By (37) , the condition p i ≥ C T ( m ) p_i\ge CT(m) p i ≥ C T ( m ) implies E ≤ c p i E\le cp_i E ≤ c p i and completes the proof. □ \square □
The hierarchical recovery principle. We make precise the hierarchical regularity invoked in the main text. Let M = 3 N M=3N M = 3 N and K = 2 L K=2L K = 2 L , with families i , i 1 , i 2 i,i_1,i_2 i , i 1 , i 2 for i ∈ [ N ] i\in[N] i ∈ [ N ] . An input chooses a set F ( x ) ⊆ [ N ] F(x)\subseteq[N] F ( x ) ⊆ [ N ] of exactly L L L active families. Each active family contributes its parent and exactly one child, so S ( x ) = ⋃ i ∈ F ( x ) { i , i b i ( x ) } S(x)=\bigcup_{i\in F(x)}\{i,i_{b_i(x)}\} S ( x ) = ⋃ i ∈ F ( x ) { i , i b i ( x ) } with b i ( x ) ∈ { 1 , 2 } b_i(x)\in\{1,2\} b i ( x ) ∈ { 1 , 2 } . The law of F ( x ) F(x) F ( x ) satisfies Pr ( k ∉ F ( x ) ∣ i ∈ F ( x ) ) ≥ ρ \Pr(k\notin F(x)\mid i\in F(x))\ge\rho Pr ( k ∈ / F ( x ) ∣ i ∈ F ( x )) ≥ ρ for distinct parents i , k i,k i , k whenever Pr ( i ∈ F ( x ) ) > 0 \Pr(i\in F(x))>0 Pr ( i ∈ F ( x )) > 0 . In addition, for a fixed κ ∈ ( 0 , 1 / 2 ] \kappa\in(0,1/2] κ ∈ ( 0 , 1/2 ] , we require
Pr ( b i ( x ) = b ∣ F ( x ) = F ) ≥ κ ( i ∈ F , b ∈ { 1 , 2 } ) (39) \Pr(b_i(x)=b\mid F(x)=F)\ge\kappa\qquad(i\in F,\ b\in\{1,2\}) \tag*{(39)} Pr ( b i ( x ) = b ∣ F ( x ) = F ) ≥ κ ( i ∈ F , b ∈ { 1 , 2 }) (39)
for every positive-probability family set F F F . Conditional on each resulting atomic support, all K K K coefficients have a joint density between c − c_- c − and c + c_+ c + on ( 0 , 1 ) K (0,1)^K ( 0 , 1 ) K , as above. We call such a distribution hierarchical regular.
The child choices need not be independent, and neither do the active coefficients. Independent uniform child choices give the special case κ = 1 / 2 \kappa=1/2 κ = 1/2 . The child-choice bound and the full conditional density bounds are part of this definition; they do not follow from the child-implies-parent condition alone.
As in the main text, now let p i : = Pr ( i ∈ F ( x ) ) p_i:=\Pr(i\in F(x)) p i := Pr ( i ∈ F ( x )) be the parent prevalences, let σ \sigma σ sort these prevalences, and let T ( n ) : = ∑ j = n + 1 N p σ ( j ) T(n):=\sum_{j=n+1}^{N}p_{\sigma(j)} T ( n ) := ∑ j = n + 1 N p σ ( j ) . For a learned dictionary of width m m m , we set n : = ⌊ m / 3 ⌋ n:=\lfloor m/3\rfloor n := ⌊ m /3 ⌋ , with T ( 0 ) : = ∑ i = 1 N p i = L T(0):=\sum_{i=1}^{N}p_i=L T ( 0 ) := ∑ i = 1 N p i = L .
Proof of Theorem 3. Retain all three atoms in each of the n = ⌊ m / 3 ⌋ n=\lfloor m/3\rfloor n = ⌊ m /3 ⌋ most prevalent families. If 3 n < m 3n<m 3 n < m , fill the remaining slots with unused columns of A A A and set their codes to zero. This gives an admissible dictionary of exactly m m m unit-norm columns. Each omitted active family contributes two omitted atoms, so the same truncation calculation as before gives
E ≤ C 0 L D D ∗ ( m ) ≤ 2 C 0 K T ( n ) . (40) E\le C_0L D^*_D(m)\le2C_0KT(n). \tag*{(40)} E ≤ C 0 L D D ∗ ( m ) ≤ 2 C 0 K T ( n ) . (40)
We show that a family of prevalence p i > 0 p_i>0 p i > 0 is recovered whenever E ≤ c p i E\le cp_i E ≤ c p i , for a sufficiently small constant c > 0 c>0 c > 0 .
Again it suffices to take 0 < η < 1 0<\eta<1 0 < η < 1 . Let r ∗ , c ∗ , τ r_*,c_*,\tau r ∗ , c ∗ , τ be the constants from Lemma 7 . Choose 0 < r ≤ r ∗ 0<r\le r_* 0 < r ≤ r ∗ with r ( 1 + 2 K / γ ) < 1 r(1+2K/\gamma)<1 r ( 1 + 2 K / γ ) < 1 , and let δ \delta δ be the threshold from Lemma 5 with ϵ = r \epsilon=r ϵ = r . Choose c > 0 c>0 c > 0 so that c < κ ρ δ c<\kappa\rho\delta c < κ ρ δ and c ( 1 + δ − 1 ) ≤ κ c ∗ c(1+\delta^{-1})\le\kappa c_* c ( 1 + δ − 1 ) ≤ κ c ∗ . As before, let G \mathcal{G} G contain the positive-probability supports with E S ≤ δ E_S\le\delta E S ≤ δ , choose their learned supports T S T_S T S , and write β ≤ E / δ \beta\le E/\delta β ≤ E / δ for the probability of the remaining supports.
Fix a family i i i with p i > 0 p_i>0 p i > 0 and E ≤ c p i E\le cp_i E ≤ c p i . Each child has prevalence at least κ p i \kappa p_i κ p i . Moreover, for a different family k k k , (39) and parent regularity give
Pr ( i b ∈ S ( x ) , k ∉ F ( x ) ) ≥ κ Pr ( i ∈ F ( x ) , k ∉ F ( x ) ) ≥ κ ρ p i > β . \Pr(i_b\in S(x),k\notin F(x))\ge\kappa\Pr(i\in F(x),k\notin F(x))\ge\kappa\rho p_i>\beta. Pr ( i b ∈ S ( x ) , k ∈ / F ( x )) ≥ κ Pr ( i ∈ F ( x ) , k ∈ / F ( x )) ≥ κ ρ p i > β .
Thus, even after discarding the bad supports, either child can occur with i i i , and each chosen child can occur without any specified other family. It follows that the collections below are nonempty and
⋂ S ∈ G : i ∈ S S = { i } , ⋂ S ∈ G : i b ∈ S S = { i , i b } ( b ∈ { 1 , 2 } ) . (41) \bigcap_{S\in\mathcal{G}:i\in S}S=\{i\},\qquad
\bigcap_{S\in\mathcal{G}:i_b\in S}S=\{i,i_b\}\quad(b\in\{1,2\}). \tag*{(41)} S ∈ G : i ∈ S ⋂ S = { i } , S ∈ G : i b ∈ S ⋂ S = { i , i b } ( b ∈ { 1 , 2 }) . (41)
Indeed, the other child is excluded whenever i b i_b i b occurs, and the displayed probability bound excludes every atom belonging to any other family. Applying Lemma 6 to these intersections gives learned sets
J i : = ⋂ S ∈ G : i ∈ S T S = { j i } , J i b : = ⋂ S ∈ G : i b ∈ S T S = { j i , j i b } . J_i := \bigcap_{S\in\mathcal{G}:i\in S} T_S = \{j_i\}, \qquad J_{i_b} := \bigcap_{S\in\mathcal{G}:i_b\in S} T_S = \{j_i,j_{i_b}\}. J i := S ∈ G : i ∈ S ⋂ T S = { j i } , J i b := S ∈ G : i b ∈ S ⋂ T S = { j i , j i b } .
Here J i ⊆ J i b J_i \subseteq J_{i_b} J i ⊆ J i b because every support containing i b i_b i b also contains i i i . The good supports containing i i i are exactly the union of those containing i 1 i_1 i 1 and those containing i 2 i_2 i 2 . Hence J i 1 ∩ J i 2 = J i J_{i_1}\cap J_{i_2}=J_i J i 1 ∩ J i 2 = J i , so j i , j i 1 , j i 2 j_i,j_{i_1},j_{i_2} j i , j i 1 , j i 2 are distinct.
We claim that each of these learned coordinates has the same membership pattern as its corresponding atom across all good supports. For the parent, this is the same argument as in Theorem 2 : adding a good support omitting i i i to its intersection forces that support’s learned set to omit j i j_i j i . For a child i b i_b i b , every good support containing i b i_b i b contains J i b J_{i_b} J i b on the learned side. If a good support omits the family, its atomic intersection with { i , i b } \{i,i_b\} { i , i b } is empty, so its learned intersection with J i b J_{i_b} J i b is empty as well. If it instead contains i i i and the other child, that atomic intersection is { i } \{i\} { i } . Lemma 6 makes the learned intersection a singleton, which must be { j i } \{j_i\} { j i } . In particular it omits j i b j_{i_b} j i b . This proves the claimed membership patterns.
Finally, E + β ≤ E ( 1 + δ − 1 ) ≤ κ c ∗ p i E+\beta\le E(1+\delta^{-1})\le\kappa c_*p_i E + β ≤ E ( 1 + δ − 1 ) ≤ κ c ∗ p i , and each of the three target coordinates has prevalence at least κ p i \kappa p_i κ p i . Lemma 7 therefore gives an F1 score greater than η \eta η for each target, using the distinct learned coordinates j i , j i 1 , j i 2 j_i,j_{i_1},j_{i_2} j i , j i 1 , j i 2 . The same threshold τ \tau τ works for all three and for all recovered families. Take C : = 2 C 0 K / c C:=2C_0K/c C := 2 C 0 K / c and invoke (40) . This proves the theorem. □ \square □
Experimental Setup
This section describes the shared data, training setup, and matching metrics, followed by the setup for the main P1, P2, and P3 experiments in Figure 2a to Figure 2c , respectively. Extended experiments (including results and setup) are discussed in Sections D to F.
Code. Code to reproduce data preparation, SAE training, and evaluation are given in the repository at https://github.com/kennylpeng/atomic_theory .
Data and SAE training details
Training corpus. The full training mix, full, combines 13 source datasets used to fine-tune the Nemotron embedding model. Table 3 counts the stored embedding vectors available to SAE training: a question and its answer, for example, are embedded separately and contribute two vectors.
Table 3. SAE training datasets.
Corpus. Each dataset gives a query and an answer. We embed both separately. We sample 10M question-answer pairs from PAQ. For MIRACL [77 ] , we sample up to 500,000 passages per language. All available passages are used when a language has fewer than 500,000. (Due to an error, our nemotron embeddings are missing 500,000 Thai passages and 100,000 sampled Telugu passages present for Gemini. Thus the full corpora contain 89.8M Gemini vectors and 89.2M Nemotron vectors.) When comparing activations between the two embedding families, we use the 89.2M shared embeddings.
Embeddings. For gemini embeddings, we use gemini-embedding-2-preview with the task type “RETRIEVAL_DOCUMENT” and dimension d = 3072 d = 3072 d = 3072 . The nemotron representations are generated from nvidia/llama-embed-nemotron-8b with d = 4096 d = 4096 d = 4096 . We truncate at 10,000 characters for gemini and 256 tokens for Nemotron.
Additional data splits for P2 experiments. We train a separate m = 16,384 m = 16{,}384 m = 16 , 384 , k = 64 k = 64 k = 64 SAE for each of the following mixtures and each embedding model:
rand1: emotion, fever, gooaq, natural-questions, sampled PAQ, and scifact; 37,336,279 vectors.
rand2: hotpotqa, msmarco, nfcorpus, squad, trivia-qa, and WebInstructSub; 24,919,128 vectors.
wiki: fever, hotpotqa, natural-questions, sampled PAQ, squad, and trivia-qa; 42,166,282 vectors.
no_wiki: emotion, gooaq, msmarco, nfcorpus, scifact, WebInstructSub; 20,089,125 vectors.
Each mixture contains six complete prepared datasets. The wiki/no_wiki and rand1/rand2 pairs are two partitions of the same 12 non-MIRACL datasets; both MIRACL collections occur only in full. wiki/no_wiki splits based on if the dataset includes Wikipedia data or not.
SAE architecture and objective. We use the ordinary (non-batch) TopK SAE implementation from https://github.com/bartbussmann/BatchTopK/tree/main . For an embedding x ∈ R d x \in\mathbb{R}^{d} x ∈ R d the forward pass is
h ( x ) = ReLU ( W e n c ( x − b d e c ) ) , (42) h(x) = \operatorname{ReLU}(W_{\mathrm{enc}}(x-b_{\mathrm{dec}})), \tag*{(42)} h ( x ) = ReLU ( W enc ( x − b dec )) , (42)
z ( x ) = TopK k ( h ( x ) ) , (43) z(x) = \operatorname{TopK}_{k}(h(x)), \tag*{(43)} z ( x ) = TopK k ( h ( x )) , (43)
x ^ = W d e c z ( x ) + b d e c , (44) \hat{x} = W_{\mathrm{dec}}z(x)+b_{\mathrm{dec}}, \tag*{(44)} x ^ = W dec z ( x ) + b dec , (44)
where W e n c ∈ R m × d W_{\mathrm{enc}} \in\mathbb{R}^{m \times d} W enc ∈ R m × d , W d e c ∈ R d × m W_{\mathrm{dec}} \in\mathbb{R}^{d \times m} W dec ∈ R d × m , and b d e c ∈ R d b_{\mathrm{dec}} \in\mathbb{R}^{d} b dec ∈ R d . There is no encoder bias. TopK k \operatorname{TopK}_{k} TopK k retains the k k k largest nonnegative activations in each example.
Let D D D be the set of dead neurons: neurons with no positive post-TopK activation in the last 512 consecutive training batches. For each example, z A u x K ( x ) z^{\mathrm{AuxK}}(x) z AuxK ( x ) retains the largest min { 32 , ∣ D ∣ } \min\{32, |D|\} min { 32 , ∣ D ∣ } entries of the pre-TopK activation vector h ( x ) h(x) h ( x ) restricted to D D D , with all other entries set to zero. For a batch of B B B embeddings, the implemented loss is
L = 1 B d ∑ i = 1 B [ ∥ x i − x ^ i ∥ 2 2 + w a u x ∥ W d e c z A u x K ( x i ) − ( x i − x ^ i ) ∥ 2 2 ] . (45) \mathcal{L} = \frac{1}{Bd}\sum_{i=1}^{B}\left[\left\|x_i-\hat{x}_i\right\|_2^2+w_{\mathrm{aux}}\left\|W_{\mathrm{dec}}z^{\mathrm{AuxK}}(x_i)-(x_i-\hat{x}_i)\right\|_2^2\right]. \tag*{(45)} L = B d 1 i = 1 ∑ B [ ∥ x i − x ^ i ∥ 2 2 + w aux W dec z AuxK ( x i ) − ( x i − x ^ i ) 2 2 ] . (45)
The auxiliary term is zero when D D D is empty. Its residual x i − x ^ i x_i-\hat{x}_i x i − x ^ i remains in the gradient computation. We use no ℓ 1 \ell_1 ℓ 1 penalty. The auxiliary coefficient is w a u x = 0.25 w_{\mathrm{aux}}=0.25 w aux = 0.25 except for the Gemini width-131,072 SAE, which uses w a u x = 1.0 w_{\mathrm{aux}}=1.0 w aux = 1.0 (we found that at 0.25 in this setting, the number of dead neurons would remain large).
Optimization and training budget. We train SAEs given in Table 4 . The four additional distribution mixtures give 26 SAEs in the main width/split experiments. We use float32 parameters, batch size B = 2048 B=2048 B = 2048 , and Adam with learning rate 5 × 10 − 4 5 \times10^{-4} 5 × 1 0 − 4 , ( β 1 , β 2 ) = ( 0.9 , 0.99 ) (\beta_1,\beta_2)=(0.9,0.99) ( β 1 , β 2 ) = ( 0.9 , 0.99 ) , ϵ = 10 − 8 \epsilon=10^{-8} ϵ = 1 0 − 8 , and no weight decay or learning-rate schedule. Gradients are clipped to global norm 1. The encoder is initialized with Kaiming-uniform weights, the decoder with the normalized transpose of the encoder, and the bias with zeros. Before each optimizer step, decoder directions are normalized and their radial gradient components are removed.
Table 4. Sparsities for the 26 SAEs in the main width and distribution experiments. Subset runs all use m = 16 , 384 m = 16,384 m = 16 , 384 and k = 64 k = 64 k = 64 . The Gemini width-131,072 run uses 2M steps and auxiliary coefficient 1.0; every other listed run uses 1M steps and coefficient 0.25.
All of these SAEs train for 1,000,000 optimizer steps except the Gemini width-131,072 SAE, which trains for 2,000,000 steps. These budgets correspond to 2.048 billion and 4.096 billion sampled embeddings, respectively, with repeated sampling from the finite corpora above. A shard is selected with probability proportional to its row count and supplies four batches before the next shard selection. Each batch is a randomly positioned contiguous block with its rows shuffled; shards smaller than one batch are sampled with replacement. Training uses NVIDIA H100, A100 (80GB), or A6000 GPUs. Seeds are fixed separately for each run, rather than paired between embedding models. The synthetic experiments use a separate training recipe described in Section G.
Further sparsity and seed SAE controls. Table 5 lists six additional fixed-k = 128 k = 128 k = 128 SAEs and three alternate-seed Gemini SAEs.
Table 5. The nine additional SAEs used for the fixed-sparsity and alternate-seed controls. All use 1,000,000 optimizer steps, batch size 2048, and auxiliary coefficient 0.25.
Matching criteria and computation
The P1, P2, and cross-model comparisons combine a pairwise similarity score with a rule for selecting matches. We define the shared metrics here; the experiment-specific sections specify the dictionaries and evaluation corpora. We use a default threshold of t = 0.7 t = 0.7 t = 0.7 [20 ] .
Direction similarity
For nonzero dictionary directions u u u and v v v in the same embedding space, we use signed cosine similarity,
s d i r ( u , v ) = ⟨ u , v ⟩ ∥ u ∥ 2 ∥ v ∥ 2 s_{\mathrm{dir}}(u,v) = \frac{\langle u,v\rangle}{\lVert u\rVert_2\lVert v\rVert_2} s dir ( u , v ) = ∥ u ∥ 2 ∥ v ∥ 2 ⟨ u , v ⟩
For SAEs, u u u and v v v are decoder columns. The PCA baseline uses ∣ s d i r ( u , v ) ∣ \lvert s_{\mathrm{dir}}(u,v)\rvert ∣ s dir ( u , v )∣ for both maximum-cardinality and exclusive matching, because the signs of principal components are arbitrary.
Activation similarity
For two SAE features evaluated on the same examples x 1 , … , x N x_1,\ldots,x_N x 1 , … , x N , let a n a_n a n and b n b_n b n be their continuous post-TopK activations. With a ˉ = N − 1 ∑ n a n \bar{a}=N^{-1}\sum_n a_n a ˉ = N − 1 ∑ n a n and b ˉ = N − 1 ∑ n b n \bar{b}=N^{-1}\sum_n b_n b ˉ = N − 1 ∑ n b n , their signed Pearson correlation is
s a c t ( a , b ) = ∑ n = 1 N ( a n − a ˉ ) ( b n − b ˉ ) ∑ n = 1 N ( a n − a ˉ ) 2 ∑ n = 1 N ( b n − b ˉ ) 2 . s_{\mathrm{act}}(a,b)=\frac{\sum_{n=1}^{N}(a_n-\bar{a})(b_n-\bar{b})}{\sqrt{\sum_{n=1}^{N}(a_n-\bar{a})^2}\sqrt{\sum_{n=1}^{N}(b_n-\bar{b})^2}}. s act ( a , b ) = ∑ n = 1 N ( a n − a ˉ ) 2 ∑ n = 1 N ( b n − b ˉ ) 2 ∑ n = 1 N ( a n − a ˉ ) ( b n − b ˉ ) .
Every evaluation example receives equal weight, including examples with zero activation. The metric depends on the choice of evaluation data.
One-to-one matching and persistence
For either similarity score, eligible pairs have similarity at least t t t and form the edges of a bipartite graph. A maximum-cardinality matching is the largest set of eligible pairs in which each feature occurs at most once. We denote this maximum cardinality by μ t ( U , V ) \mu_t(U,V) μ t ( U , V ) . For PCA directions, we use the absolute-cosine modification above. Reported proportions divide the matching count by the source dictionary width, including inactive and unmatched features in the denominator.
For all maximum-matching persistence results, we compute a maximum-cardinality matching M ℓ M_\ell M ℓ independently on the threshold graph between the full source dictionary U U U and each larger target dictionary V ℓ V_\ell V ℓ , using retained candidate edges for empirical activation comparisons (Section C.2.4). Let
S ℓ = { u ∈ U : there exists v ∈ V ℓ with ( u , v ) ∈ M ℓ } , S p e r s i s t e n t = ⋂ ℓ = 1 s S ℓ . S_\ell=\{u\in U:\text{there exists }v\in V_\ell\text{ with }(u,v)\in M_\ell\},\qquad S_{\mathrm{persistent}}=\bigcap_{\ell=1}^{s}S_\ell. S ℓ = { u ∈ U : there exists v ∈ V ℓ with ( u , v ) ∈ M ℓ } , S persistent = ℓ = 1 ⋂ s S ℓ .
Maximum-cardinality matchings can be nonunique, so the persistent set and its size can depend on tie-breaking. We retain ascending original source and target feature IDs, canonicalize each graph as a sorted CSR matrix, and use SciPy 1.15.3’s maximum_bipartite_matching with perm_type='column'. This fixes the matching choices for these results.
Candidate graph construction
Direction comparisons evaluate all pairs. For activation comparisons, we use 512-dimensional CountSketch representations to propose 32 candidates per feature in each search direction, with the same evaluation rows and sketch hashes for both dictionaries. We recompute candidate correlations over the full evaluation corpus and retain the five highest-scoring candidates per feature in each direction. Thresholded matching uses the union of retained pairs with correlation at least t t t .
The sketch hash is the fixed SplitMix64 transformation of the original global row index, implemented by row_hash in scripts/match_cross_model_sae_activations_131k.py.
The within-family width sweeps use 89,827,558 Gemini rows and 89,227,558 Nemotron rows, respectively. Same-width cross-model comparisons use the 89,227,558 aligned shared rows, with hashes based on their original Gemini offsets. Split comparisons instead use the row distribution identified in each evaluation manifest. These frozen manifests record ordered shard identities, offsets, model-checkpoint SHA-256 hashes, and producing-code hashes. The cross-model_alignment_audit.json additionally records SHA-256 hashes of each shard’s ordered source-row IDs after checking dataset/configuration/split/shard identity, text columns, and row order across the two models. The reproduction workflows preserve these manifests and retained neighbor arrays; the code archive’s SOURCE_MANIFEST.json identifies the supplied source revision.
Pairwise maximum matching is exact on these retained graphs, and its cardinality is a lower bound on exhaustive pairwise Pearson matching.
Alternative exclusive matching criterion
The exclusive direction comparisons in Figure 6 and Figure 13 count a pair ( u , v ) (u,v) ( u , v ) only when its similarity exceeds t t t and neither endpoint has another above-threshold partner. We use s ( u , v ) = s d i r ( u , v ) s(u,v)=s_{\mathrm{dir}}(u,v) s ( u , v ) = s dir ( u , v ) for SAEs and s ( u , v ) = ∣ s d i r ( u , v ) ∣ s(u,v)=\lvert s_{\mathrm{dir}}(u,v)\rvert s ( u , v ) = ∣ s dir ( u , v )∣ for PCA, applying the same score to pair admission and competing partners. The requirements are
Figure 6. Persistent stability under strict exclusive matching at 0.7. A source direction counts only if it has a signed-cosine match above 0.7 in every larger trained dictionary, with no competing partner above 0.7 at either endpoint in each comparison.
s ( u , v ) > t , s ( u , v ′ ) ≤ t for all v ′ ≠ v , s ( u ′ , v ) ≤ t for all u ′ ≠ u . (46) s(u,v)>t,\qquad s(u,v')\le t\ \text{for all }v'\ne v,\qquad s(u',v)\le t\ \text{for all }u'\ne u. \tag*{(46)} s ( u , v ) > t , s ( u , v ′ ) ≤ t for all v ′ = v , s ( u ′ , v ) ≤ t for all u ′ = u . (46)
The exclusive pairs themselves form a feasible one-to-one matching, so their count is bounded above by μ t \mu_t μ t . Lowering t t t can reduce the exclusive count by introducing competitors, whereas maximum-cardinality counts cannot decrease.
P1: Persistence across SAE widths
We apply the independent pairwise matching and source-set intersection procedure in Section C.2.3 separately within Gemini and Nemotron, using each source SAE below width 131,072 and every larger trained SAE as targets. We report counts and source-width-normalized proportions. The largest SAE is a target only, since it has no larger comparison dictionary. Figure 2a uses the signed decoder-cosine metric in Section C.2.1.
P2: Shared features across training distributions
Figure 2b compares dictionaries trained on full, wiki, no_wiki, rand1, and rand2, separately for each embedding model and dictionary family. SAE dictionaries contain 16,384 directions; PCA uses all d d d principal components, with d = 3072 d=3072 d = 3072 for Gemini and d = 4096 d=4096 d = 4096 for Nemotron.
PCA dictionaries. We fit PCA separately for each embedding model and training mixture, using every embedding in that mixture. We stream the data to accumulate the count N N N , sum s = ∑ i = 1 N x i s=\sum_{i=1}^{N}x_i s = ∑ i = 1 N x i , and second-moment matrix Q = ∑ i = 1 N x i x i T Q=\sum_{i=1}^{N}x_i x_i^{\mathsf{T}} Q = ∑ i = 1 N x i x i T in float64, then compute
x ˉ = s / N , Σ = Q − N x ˉ x ˉ T N − 1 . \bar{x}=s/N,\qquad\Sigma=\frac{Q-N\bar{x}\bar{x}^{\mathsf{T}}}{N-1}. x ˉ = s / N , Σ = N − 1 Q − N x ˉ x ˉ T .
We diagonalize this centered covariance matrix and order its orthonormal eigenvectors by decreasing eigenvalue. The PCA dictionary consists of these directions in the original embedding space; P2 uses the full d d d -component basis. PCA fitting uses the stored embeddings without additional length normalization or coordinate standardization.
Dictionary matching. For each pair of training distributions, Figure 2b applies the metric in Section C.2. Exclusive direction matching and distribution-specific activation comparisons are reported in Section E.
P3: Hierarchical datasets and feature-recovery protocol
For Figure 2c , we evaluate individual SAE features against binary category labels in three domains: word prefixes, geography, and organism taxonomy. The labels define hierarchical relationships, such as a two-letter prefix implying its first letter or a city’s country determining its continent (the organism taxonomy has more levels).
English prefixes (prefix). We use the English frequency list from the wordfreq package. We retain the top 200,000 words in frequency order. Each normalized word is embedded on its own. The first character defines a parent label, and the first two characters define a child label for words of length at least two. We retain categories with at least 100 positive word rows across the full evaluation collection, giving 26 one-letter and 216 two-letter categories per embedding model.
Geography (cities). We use all 69,182 records in the experiment’s GeoNames cities5000 snapshot, with country labels from each record’s ISO country code and continent labels obtained from countryInfo.txt. We retain 87 country and six continent categories with at least 100 city rows each. For the reported results, we embed two question variants of every city name: what country is [city] in for country prediction and what continent is [city] in for continent prediction, following the use of elicitation in Bhalla et al. [45 ] . (We found that without this elicitation, SAEs at no widths reliably could detect the continent.)
Organism taxonomy (gbif). We use the GBIF Backbone Taxonomy. From its Taxon.tsv and VernacularName.tsv tables, we select accepted species having at least one nonempty English vernacular name. This yields 123,495 species. We embed one scientific-name row per species and 259,286 deduplicated English common-name strings, leading to 382,781 name rows in total. Binary labels follow the species’ kingdom, phylum, class, order, family, and genus. We retain categories with at least 100 distinct species. This gives 4 kingdoms, 12 phyla, 33 classes, 131 orders, 276 families, and 43 genera. Once labels are constructed, F1 is evaluated over name rows, so species with more names can contribute more evaluation examples.
Selection and test splits. We partition the data into selection and test sets. Word rows are divided equally within each two-letter-prefix stratum, with one-character words forming their own strata. City rows are divided equally within each country, and both question variants inherit this partition. GBIF partitions the underlying species into 61,748 selection species and 61,747 test species, with scientific names inheriting the species assignment. Common-name rows are assigned a single split, even when their species associations span both partitions.
Every probe reads these saved split labels unchanged, and the same assignments are used across both embedding models and all widths. Exact reruns require these row tables and their source snapshots: the provided preparation scripts supply deterministic seed-1729 reconstructions for the word and city splits, but do not reproduce the historical row-by-row assignments. Fresh source downloads can also change the evaluation collections.
Embedding and SAE evaluation. We compute gemini and nemotron embeddings for each input and compute activations for the nine full-mix SAEs for each model, with widths 512 through 131,072 and the corresponding TopK sparsities in Table 4 .
Selecting a single-feature probe. For a binary target z i ∗ z_i^* z i ∗ and SAE activations z ^ \hat{z} z ^ , define
g j , τ ( x ) = 1 { z ^ j ( x ) ≥ τ } , τ > 0. g_{j,\tau}(x) = \mathbf{1}\{\hat{z}_j(x) \ge\tau\}, \qquad\tau> 0. g j , τ ( x ) = 1 { z ^ j ( x ) ≥ τ } , τ > 0.
For each coordinate active on selection rows, we sort its positive selection activations and evaluate every distinct observed value as an inclusive threshold. We choose the coordinate and threshold maximizing selection F1, requiring at least one selection true positive.
For E = { z i ∗ = 1 } E = \{z_i^* = 1\} E = { z i ∗ = 1 } and F = { g j , τ = 1 } F = \{g_{j,\tau} = 1\} F = { g j , τ = 1 } , we use
F 1 D ( E , F ) = 2 Pr D ( E ∩ F ) Pr D ( E ) + Pr D ( F ) = 2 T P 2 T P + F P + F N \mathrm{F1}_{D}(E,F) = \frac{2\Pr_{D}(E \cap F)}{\Pr_{D}(E) + \Pr_{D}(F)} = \frac{2\mathrm{TP}}{2\mathrm{TP} + \mathrm{FP} + \mathrm{FN}} F1 D ( E , F ) = Pr D ( E ) + Pr D ( F ) 2 Pr D ( E ∩ F ) = 2 TP + FP + FN 2 TP
on the relevant split. This evaluates how well a single thresholded feature identifies a category.
Figure 2c details. Each point in Figure 2c is the unweighted mean of held-out test F1 over all retained categories at that level and both embedding models. The number of category–model pairs is twice the number of categories listed above, and the same pairs contribute at every width. The main-text a-prefix example, empirical Food and Music hierarchies, and fixed-sparsity recovery analysis are described in Section F.
Extended Experiments for P1: Persistence across Size
We extend the main persistent feature experiment in Figure 2a with controls for sparsity and training seed, activation-based matching, alternative matching criteria and similarity thresholds, and analyses of feature prevalence.
Fixed sparsity
At widths 512, 4,096, and 32,768, we replace each original source SAE by its k = 128 k = 128 k = 128 counterpart, retaining every original larger-width target and using signed cosine at threshold 0.7 with the independent pairwise matching and intersection criterion in Section C.2.3.
Table 6 : Fixed-sparsity source replacement, using the same full-sweep target sets as the seed control. Only the source changes from its original k k k to k = 128 k = 128 k = 128 ; all original larger-width targets are retained. Same-width counts match the original and replacement source dictionaries. All comparisons use signed decoder cosine similarity ≥ 0.7 \ge0.7 ≥ 0.7 ; percentages divide by source width.
Table 6.
Table 6 shows persistence remains substantial, but is somewhat lower in general, especially for smaller widths. This seems to suggest that the conventional wisdom to increase k k k alongside m m m is reasonable (and also is somewhat in alignment with our simulations Section G).
Variation by seed
We repeat the direction comparisons for gemini SAEs 512/32, 4,096/32, and 32,768/64 (width/k k k ) with different training seeds. Table 7 shows a substantial number of matches across seeds, and that persistent remains similar (suggesting that persistence doesn’t vary heavily between SAEs). The same-width column uses pairwise maximum matching (Section C.2.3); the persistence columns use independent pairwise matching and intersection (Section C.2.3). Consistent with [20 ] , there are a substantial number of different features learned when varying the random seed (especially for larger widths); simultaneously, there are many features that have matches even in all larger dictionaries.
Table 7.
Table 7 : Gemini direction stability across training seeds. Persistence uses the independent pairwise matching and intersection criterion.
Exclusive matching
Figure 6 repeats the source–target comparisons in Section C.3 using the exclusive persistence criterion in Section C.2.5.
Persistence by activation similarity
Figure 7 repeats the source–target comparisons in Section C.3 using signed Pearson correlation at threshold 0.7, with the metric and candidate-graph procedure defined in Sections C.2.2 and C.2.4.
Sensitivity to the matching threshold
We vary the matching threshold over t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } t \in\{0.5, 0.6, 0.7, 0.8\} t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } using the independent pairwise matching and intersection criterion in Section C.2.3. Figure 8 uses signed decoder cosine similarity, and Figure 9 uses signed activation Pearson correlation.
Figure 8. Threshold sensitivity of direction persistence.
Figure 9. Threshold sensitivity of activation persistence.
Feature activation rates
Figure 10 compares prevalence across SAE widths and KMeans cluster counts. For each SAE feature, we compute the fraction of the model’s full evaluation corpus on which its continuous post-TopK activation exceeds the SAE’s pooled median positive activation. This is one threshold per SAE, computed over all positive activation events across features and examples.
For KMeans, prevalence is the fraction of examples assigned to each nearest centroid. We use Euclidean KMeans in the full embedding space, trained on every row of the corresponding full corpus for 100 total iterations, at 512, 4,096, 16,384, and 131,072 clusters. Both methods are evaluated on the same full corpus within each embedding family: 89,827,558 Gemini examples and 89,227,558 Nemotron examples.
We plot kernel density estimates of log 10 \log_{10} log 10 activation rates, using a bandwidth of 0.12 and scaling each curve to integrate to the number of features with positive rates. Zero-rate features are omitted from the logarithmic axis. The vertical axis uses a square-root scale with tick labels in the original density units.
The total mass and average prevalence are partly constrained by dictionary width and sparsity. For N N N examples and an SAE of width m m m with TopK parameter k k k , there are at most N k Nk N k positive activation events. Strictly exceeding their pooled median selects at most half of these events, with ties potentially reducing this number. Thus, if p j p_j p j denotes feature j j j ’s above-median prevalence, then 1 m ∑ j = 1 m p j ≤ k 2 m \frac{1}{m}\sum_{j=1}^{m}p_j \le\frac{k}{2m} m 1 ∑ j = 1 m p j ≤ 2 m k . For KMeans, cluster prevalences sum to one and have mean 1 / m 1/m 1/ m . Consequently, a growing low-prevalence tail and changes in the count-scaled density area partly reflect these constraints. The observed curve shapes provide descriptive evidence consistent with the recovery principle, rather than identifying atoms on their own.
We observe a “nested” behavior, in which larger SAEs tend to include a similar number of coarse features as smaller SAEs, while also learning a longer tail of more granular features, consistent with the recovery principle. The KMeans prevalence distributions instead shift toward smaller clusters as the number of clusters increases.
To control for varying sparsities, Figure 11 repeats the comparison with TopK sparsity fixed at k = 128 k = 128 k = 128 for all SAE widths. We use widths 512, 4,096, 32,768, 65,536, and 131,072, with the same prevalence definitions, full evaluation corpora, and KMeans baselines as above.
Figure 11. Prevalence for SAEs with fixed TopK sparsity k = 128 k = 128 k = 128 (left) and KMeans (right), for Gemini (top) and Nemotron (bottom). SAE widths are 512, 4,096, 32,768, 65,536, and 131,072; KMeans cluster counts are 512, 4,096, 16,384, and 131,072. SAE prevalence is the fraction of examples with activation strictly above each SAE’s pooled median positive activation; KMeans prevalence is nearest-centroid assignment frequency after 100 full-corpus training iterations. Colors indicate the number of features or clusters. Curves show feature-count-scaled densities of log 10 \log_{10} log 10 prevalence with bandwidth 0.12, shared axes, and a square-root vertical scale. Zero-rate features are omitted from the logarithmic axis.
Relationship between persistence and prevalence
We directly compare feature prevalence with direction persistence using the median activation threshold from Figure 10 . For an SAE with continuous post-TopK activations z ^ i ( x ) \hat{z}_i(x) z ^ i ( x ) , let τ S A E \tau_{\mathrm{SAE}} τ SAE be the pooled median of all strictly positive activation events, across features and examples in its embedding model’s full evaluation corpus. We define
p i ( D ) = 1 ∣ D ∣ ∑ x ∈ D 1 { z ^ i ( x ) > τ S A E } . (47) p_i(D) = \frac{1}{|D|} \sum_{x \in D} \mathbf{1}\{\hat{z}_i(x) > \tau_{\mathrm{SAE}}\}. \tag*{(47)} p i ( D ) = ∣ D ∣ 1 x ∈ D ∑ 1 { z ^ i ( x ) > τ SAE } . (47)
There is one threshold per SAE, rather than a separate median for each feature; the denominator includes every example. We use the full corpora for these measurements.
For each source width in the original sweep, we compare p i p_i p i for persistent features and non-persistent features.
We measure the AUC of feature prevalence as a predictor of persistence. At widths 16,384, 32,768, and 65,536, AUCs are 0.814, 0.801, and 0.822 for Gemini, and 0.818, 0.905, and 0.917 for Nemotron. Restricting to features with nonzero prevalence gives respective ranges of 0.787–0.821 and 0.792–0.905. The association is weaker at the smallest widths.
Overall, these results are consistent with the recovery principle’s prediction that the most prevalent atomic features are recovered.
Extended Experiments for P2: Stability across Distributions
We extend the direction-based comparison in Figure 2b using the exclusive matching criterion, activation-based matching, and the relationship between cross-distribution stability and cross-distribution prevalence.
Cross-distribution stability under exclusive matching
Figure 13 applies the exclusive criterion from Section C.2.5 to SAE and PCA dictionaries trained on different distributions, at t = 0.7 t = 0.7 t = 0.7 . This tests whether cross-distribution agreement persists when each match must have an unambiguous partner, allowing either sign for PCA.
Cross-distribution stability by activation similarity
Figure 14 applies the activation metric, pairwise matching rule, and normalization in Section C.2 to the width-16,384 SAEs trained on full, wiki, no_wiki, rand1, and rand2. Within each embedding model, the cell at row D D D and column D ′ D' D ′ evaluates both SAEs on all examples in D D D . Reversing the row and column changes the evaluation distribution, so the heatmap need not be symmetric.
We construct sketches and candidate graphs for each row distribution using Section C.2.4, with moments computed over that distribution.
Matched proportions range from 22.0% to 48.9% for Gemini and from 29.3% to 60.7% for Nemotron.
Feature prevalence and cross-distribution matching
We test whether features matched between distribution-specific SAEs are more prevalent in both distributions, using the median-threshold definition in Equation (47) . Proposition 2 suggests that the atomic features that are prevalent in both data distributions are recovered.
For each width-16,384 source SAE trained on D D D , we compute its pooled median positive activation on the embedding model’s full evaluation corpus, including MIRACL. We freeze that single threshold when evaluating the source SAE on both D D D and the target training distribution D ′ D' D ′ , and summarize prevalence by
b i ( D , D ′ ) = min { p i ( D ) , p i ( D ′ ) } . (48) b_i(D,D') = \min\{p_i(D), p_i(D')\}. \tag*{(48)} b i ( D , D ′ ) = min { p i ( D ) , p i ( D ′ )} . (48)
Both frequencies refer to the same feature in the same source SAE, including when it has no match in the target SAE. This avoids assigning a partner to unmatched features. Reversing source and target evaluates a different SAE, so the prevalence analysis is directional.
We use the disjoint wiki/no_wiki and rand1/rand2 dataset partitions from Section C. These evaluation pairs exclude MIRACL, although threshold calibration uses the full corpus. They contain respectively 42,166,282/20,089,125 and 37,336,279/24,919,128 examples; they partition datasets rather than equal numbers of rows. The outcome is membership in one optimal SAE direction matching under the protocol in Section C.4.
Higher prevalence in both distributions is associated with matching in all eight directional comparisons. AUCs, defined as in Section D.7, range from 0.864 to 0.923 for Gemini and from 0.839 to 0.927 for Nemotron. They remain large after restricting to features with nonzero prevalence in both distributions (ranges 0.844–0.905 and 0.828–0.921, respectively).
Extended Experiments for P3: Hierarchical Feature Recovery
We complement the aggregate hierarchy results in Figure 2c by controlling for sparsity, examining recovery of individual features and parent-child pairs, examining the prefix recovery examples, and discussing hierarchy extraction more broadly.
Hierarchical recovery at fixed sparsity
Figure 16 repeats the mean-F1 analysis of Figure 2c with k = 128 k = 128 k = 128 at widths 512, 4,096, 32,768, 65,536, and 131,072. We use the additional fixed-k k k checkpoints at the first three widths and the existing k = 128 k = 128 k = 128 checkpoints at the final two. The datasets, eligible categories, train/test splits, detector selection, and averaging over category–model pairs are the same as in the main analysis.
Figure 16. Hierarchical feature recovery at fixed k = 128 k = 128 k = 128 . Mean held-out test F1 for Prefix, Cities, and GBIF at five SAE widths, pooling Gemini and Nemotron. Each curve averages the same category–model pairs as the corresponding curve in Figure 2c ; each category’s feature and threshold are selected using training rows only.
Counts and proportions of recovered categories and adjacent pairs
To complement mean F1, Figure 17 and Figure 18 count categories and parent–child pairs (in gbif, this means adjacent levels of the hierarchy) whose held-out test F1 is strictly greater than 0.6.
Figure 17. Recovery of individual categories across SAE widths. A category is recovered when its selection-chosen detector achieves held-out test F1 > 0.6. Left axes show proportions; right axes show raw counts among 242 word prefixes, 93 geographic categories, and 499 organism categories. Geography uses different continent and country prompts.
Recovery of letter-prefix hierarchies
The upper panel of Figure 3 a shows Gemini test F1 for the a parent and its eligible two-letter children, selecting a separate detector for each. The lower recall heatmap instead fixes the selection-chosen a detector at each width and measures its recall within each prefix group. That descriptive heatmap uses the full 200,000-word collection, including selection and test rows, rather than only the held-out split. Figure 19 extends the upper F1 panel to the 25 one-letter prefixes with eligible two-letter children, excluding x (since it does not have any qualifying two-letter children), using the same saved probes, nine widths, and category eligibility rules. These curves report continuous held-out test F1 without filtering by F1. We see more instances of mesoscale splitting (a U-shaped parent F1 curve). Figure 20 repeats this grid at fixed k = 128 k = 128 k = 128 for widths 512, 4K, 32K, 65K, and 131K, using the checkpoints described in Section F.1.
Figure 20. Gemini F1 recovery for 25 letter prefixes at fixed k = 128 k = 128 k = 128 . The analog of Figure 19 at five SAE widths: 512, 4,096, 32,768, 65,536, and 131,072. Panels cover a–z, excluding x. Blue curves show parent F1; bold green curves show the unweighted mean F1 of eligible two-letter children; faint green curves show individual children. Each category’s detector is selected using selection rows and evaluated on held-out test rows, with no F1 filtering.
Empirical extraction of feature hierarchies
The food and music hierarchies in Figure 21 are curated subsets of a graph extracted from activation co-occurrences in the Gemini SAE with 131,072 features and k = 128 k = 128 k = 128 . We use cached post-TopK activations on N = 89,827,558 N = 89{,}827{,}558 N = 89 , 827 , 558 corpus rows. A feature is active when its activation is strictly greater than 0.05; this threshold is the same for candidate parents and children. For a candidate parent P P P and child C C C , let n P n_P n P and n C n_C n C denote their activation counts and n P C n_{PC} n P C their co-activation count. We estimate forward and reverse containment as
Figure 21. Learned hierarchies for Music and Food. The labels here are automatically generated using Codex; activating examples for each feature in the hierarchy are given in Table 8 and Table 9 .
p ^ P ∣ C = n P C n C , p ^ C ∣ P = n P C n P . (49) \hat{p}_{P|C} = \frac{n_{PC}}{n_C}, \qquad\hat{p}_{C|P} = \frac{n_{PC}}{n_P}. \tag*{(49)} p ^ P ∣ C = n C n P C , p ^ C ∣ P = n P n P C . (49)
High forward containment indicates that the parent usually activates when the child does; low reverse containment indicates that the parent also covers examples outside the child.
Candidate edges and directionality. We retain a candidate edge P → C P \to C P → C only if n C ≥ 100 n_C \ge100 n C ≥ 100 , n P C ≥ 100 n_{PC} \ge100 n P C ≥ 100 , n P > n C n_P > n_C n P > n C , and
L P ∣ C ≥ 0.70 , p ^ C ∣ P ≤ 0.50 , p ^ P ∣ C n P / N ≥ 5. (50) L_{P|C} \ge0.70, \qquad\hat{p}_{C|P} \le0.50, \qquad\frac{\hat{p}_{P|C}}{n_P/N} \ge5. \tag*{(50)} L P ∣ C ≥ 0.70 , p ^ C ∣ P ≤ 0.50 , n P / N p ^ P ∣ C ≥ 5. (50)
The last condition is a lift threshold: containment must be at least five times the parent’s marginal activation rate. The reverse-containment and support conditions orient edges from broader to narrower activation sets; the strict support ordering also rules out directed cycles. Here L P ∣ C L_{P|C} L P ∣ C is the lower endpoint of the two-sided 95% Wilson interval for a binomial proportion. Writing p ^ = p ^ P ∣ C \hat{p} = \hat{p}_{P|C} p ^ = p ^ P ∣ C , n = n C n = n_C n = n C , and z = 1.96 z = 1.96 z = 1.96 , it is
L P ∣ C = p ^ + z 2 / ( 2 n ) − z p ^ ( 1 − p ^ ) / n + z 2 / ( 4 n 2 ) 1 + z 2 / n . (51) L_{P|C} = \frac{\hat{p} + z^2/(2n) - z\sqrt{\hat{p}(1-\hat{p})/n + z^2/(4n^2)}}{1 + z^2/n}. \tag*{(51)} L P ∣ C = 1 + z 2 / n p ^ + z 2 / ( 2 n ) − z p ^ ( 1 − p ^ ) / n + z 2 / ( 4 n 2 ) . (51)
This penalizes estimates based on fewer observations: for example, 90/100 and 900/1000 both give 90% containment, but their lower bounds are approximately 82.6% and 88.0%. We use the bound as a screening heuristic, since corpus rows can be duplicated or dependent and the interval does not adjust for testing many feature pairs.
Removing ancestor shortcuts. After collecting all qualifying edges, we remove P → C P \to C P → C whenever a feature M M M has both qualifying edges P → M P \to M P → M and M → C M \to C M → C . Thus, Food → \to → Cheddar is removed if Food → \to → Cheese and Cheese → \to → Cheddar both qualify. Multiple parents can remain, and a broader ancestor edge can remain if an intermediate edge fails the thresholds. The procedure yields 154,316 qualifying ancestor pairs and 114,762 retained parent–child pairs.
Selection and interpretation of the figures. Each hierarchy in Figure 21 displays 33 selected features and 32 retained edges. The compact main-text table in Figure 3 b represents all 66 features and 64 parent–child relationships in three hierarchy-level columns, omitting only the feature IDs. We inspected cached activating texts to choose interpretable branches and assign descriptive labels; Table 8 and Table 9 provide example texts. All edge statistics use the full corpus counts, rather than the sampled texts. The diagrams illustrate selected activation-containment relationships, not an exhaustive taxonomy or disjoint partition, and the labels are interpretations rather than independent ground truth.
Table 8. Food hierarchy with five unique activating examples per feature.
Table 9. Music hierarchy with five unique activating examples per feature.
Simulation experiments
Recovery under width and sparsity variation
We study recovery in finite synthetic distributions with known ground-truth atoms. These experiments assess whether trained TopK SAEs exhibit prefix recovery and how this behavior depends on the frequency distribution and the SAE sparsity. Figure 22 and Figure 23 report approximate recovered prefix lengths, expressed in atoms and divided by SAE width.
Figure 22. Width-normalized prefix recovery across frequency distributions. Generating sparsity K = 8 K = 8 K = 8 and SAE sparsity k = 8 k = 8 k = 8 are fixed; each curve corresponds to a different α \alpha α . All models train on 1,024M examples. Rows show flat and hierarchical data; columns show geometric and activation recovery. The vertical axis is approximate prefix length in atoms divided by SAE width (three atoms per complete family for hierarchical data), with a 10% miss allowance. Lines show three-seed means and bands show seed ranges.
Figure 23. Width-normalized prefix recovery across SAE sparsities. Generating sparsity K = 8 K = 8 K = 8 and frequency exponent α = 1.6 \alpha= 1.6 α = 1.6 are fixed; curves vary SAE sparsity k k k . All models train on 1,024M examples. Panels, normalization, and the 10% prefix miss allowance follow Figure 22 . Lines show three-seed means and bands show seed ranges.
Data-generating distributions. Inputs lie in R 512 \mathbb{R}^{512} R 512 and are nonnegative linear combinations of exactly K = 8 K = 8 K = 8 atoms. We draw each ground-truth direction independently from a standard Gaussian and normalize it to unit length. In the flat setting, there are M = 4096 M = 4096 M = 4096 atoms. An eight-element support S S S is sampled according to
Pr ( S ) = ∏ i ∈ S i − α ∑ T : ∣ T ∣ = 8 ∏ j ∈ T j − α , ∣ S ∣ = 8 , \Pr(S) = \frac{\prod_{i \in S} i^{-\alpha}}{\sum_{T: |T|=8} \prod_{j \in T} j^{-\alpha}}, \qquad|S| = 8, Pr ( S ) = ∑ T : ∣ T ∣ = 8 ∏ j ∈ T j − α ∏ i ∈ S i − α , ∣ S ∣ = 8 ,
and its nonzero coefficients are independent Uniform( 0 , 1 ) (0, 1) ( 0 , 1 ) draws. This is a product-weight distribution over fixed-size subsets; the power law specifies the support weights, rather than the marginal activation probabilities directly. In the hierarchical setting, M = 3072 M = 3072 M = 3072 atoms form 1024 families, each containing a parent and two children. We sample four families using the same product-weight law over family ranks, then activate each selected parent and one of its two children, chosen uniformly. The eight active coefficients are again independent Uniform( 0 , 1 ) (0, 1) ( 0 , 1 ) draws. Thus a child can only occur with its parent, while either child can accompany the parent.
Training and sweeps. We train nonnegative TopK SAEs at widths m ∈ { 128 , 256 , 512 , 1024 , 2048 , M } m \in\{128, 256, 512, 1024, 2048, M\} m ∈ { 128 , 256 , 512 , 1024 , 2048 , M } . Generating sparsity K = 8 K = 8 K = 8 is fixed throughout; k k k denotes the SAE’s activation budget. The frequency sweep uses α ∈ { 0.8 , 1.2 , 1.6 , 2.0 , 2.4 } \alpha\in\{0.8, 1.2, 1.6, 2.0, 2.4\} α ∈ { 0.8 , 1.2 , 1.6 , 2.0 , 2.4 } at k = 8 k = 8 k = 8 . The sparsity sweep uses k ∈ { 1 , 2 , 4 , 6 , 8 , 10 , 12 , 16 , 32 } k \in\{1, 2, 4, 6, 8, 10, 12, 16, 32\} k ∈ { 1 , 2 , 4 , 6 , 8 , 10 , 12 , 16 , 32 } at α = 1.6 \alpha= 1.6 α = 1.6 . Theorem 2 does not give guarantees for α = 0.8 \alpha= 0.8 α = 0.8 . We use three paired random seeds per setting, giving 468 distinct training trajectories after deduplicating the shared α = 1.6 \alpha= 1.6 α = 1.6 , k = 8 k = 8 k = 8 setting. Each trajectory trains on 1,024M examples using Adam with learning rate 10 − 3 10^{-3} 1 0 − 3 , β 1 = 0.9 \beta_1 = 0.9 β 1 = 0.9 , β 2 = 0.99 \beta_2 = 0.99 β 2 = 0.99 , and batch size 1024, with no learning-rate schedule. Decoder directions have unit norm and the decoder bias is fixed to zero. An auxiliary reconstruction loss with coefficient 0.25 targets up to 64 neurons inactive for 256 steps.
Recovery criteria. Geometric recovery requires absolute cosine similarity at least 0.9 with a learned decoder direction. For hierarchical data, child comparisons project both directions onto the orthogonal complement of the true parent; recovery of a complete family requires three distinct decoder directions meeting the parent and two projected-child criteria. Activation recovery uses 200,000 independent validation examples to select coordinate thresholds and a maximum-cardinality injective assignment among atom–coordinate pairs with validation F1 at least 0.8. A matched atom is recovered if its F1 is also at least 0.8 on a separate set of 400,000 test examples. An activation-recovered family must recover all three members.
For either criterion, let q i q_i q i indicate recovery of atom i i i in the flat setting or complete family i i i in the hierarchical setting, ordered by generating weight. We compute
r = max ( { 0 } ∪ { s : ∑ i = 1 s q i ≥ 0.9 s } ) . r = \max\left(\{0\} \cup\left\{s : \sum_{i=1}^{s} q_i \ge0.9s\right\}\right). r = max ( { 0 } ∪ { s : i = 1 ∑ s q i ≥ 0.9 s } ) .
Persistent features across simulated SAE widths
We apply the persistence metric in Section C.2.3. For each source width m m m , we independently compute a maximum matching into each larger trained SAE and intersect the matched source-feature sets, holding the data distribution, SAE sparsity, and paired seed fixed. Matches require signed decoder cosine similarity or signed Pearson correlation of continuous post-TopK activations at least t = 0.8 t = 0.8 t = 0.8 . The largest width (4096 for flat data, 3072 for hierarchical data) is a matching target only. We report the persistent-feature proportion, dividing the size of the intersection by all m m m source features, including inactive features.
We evaluate each group of six widths on the same 400,000 held-out test examples and compute all pairwise similarities without sketching or candidate truncation. Constant activation columns cannot form Pearson edges. The procedure in Section C.2.3 certifies each pairwise maximum on these empirical threshold graphs and verifies their matched source-set intersection. This measures persistence between learned SAEs.
Figure 24 varies the frequency exponent; Figure 25 varies SAE sparsity. At α = 1.6 \alpha= 1.6 α = 1.6 , k = 8 k = 8 k = 8 , mean activation persistence across source widths ranges from 93.6–96.1% for flat data and 91.9–99.1% for hierarchical data. Hierarchical decoder persistence rises from 61.5% at width 128 to 91.8% at width 2048. Severe sparsity underspecification particularly reduces activation persistence, showing that persistent decoder directions need not imply persistent activation patterns.
Figure 24. Persistent-feature proportions across frequency distributions at t = 0.8 t = 0.8 t = 0.8 . The intersection of source sets matched by independent maximum matchings to every larger trained width, divided by source SAE width. Generating sparsity K = 8 K = 8 K = 8 and SAE sparsity k = 8 k = 8 k = 8 are fixed; colors vary α \alpha α . Rows show flat and hierarchical data; columns show signed decoder cosine and activation Pearson similarity. All models train on 1,024M examples. Lines show three-seed means and bands show seed ranges. The dashed α = 0.8 \alpha= 0.8 α = 0.8 curve is the finite-distribution control outside the theorem’s guarantees.
Figure 25. Persistent-feature proportions across SAE sparsities at t = 0.8 t = 0.8 t = 0.8 . The intersection of source sets matched by independent maximum matchings to every larger trained width, divided by source SAE width. Generating sparsity K = 8 K = 8 K = 8 and frequency exponent α = 1.6 \alpha= 1.6 α = 1.6 are fixed; colors vary SAE sparsity k k k . Rows show flat and hierarchical data; columns show signed decoder cosine and activation Pearson similarity. All models train on 1,024M examples. Lines show three-seed means and bands show seed ranges.
Table 10. Learned directions illustrate molecular splitting. Corresponding learned features illustrate mesoscale feature splitting and absorption: at size 2 only, there is no learned feature that is active on both cat and dog.
A Molecular Model of SAE Scaling
Computing the empirical molecules
The empirical molecules in Table 1 and Table 2 approximate smaller-SAE decoder directions using decoder directions from the Gemini SAE of width 131,072 and sparsity k = 128 k = 128 k = 128 as proxy atoms. These are decompositions of learned directions in embedding space; the activation values and recalls are measured separately by evaluating the corresponding SAEs. The 131K features serve as empirical proxies, rather than certified atomic directions. Below, d d d denotes a target decoder row and b j b_j b j a proxy-atom decoder row, both at their stored checkpoint scale.
Prefix molecules: basis and least-squares fit. For Table 2 , we use the word-prefix data, saved selection/test split, and single-feature probe procedure in Section C.5. For each of the 23 available one- and two-letter prefixes beginning with a, we take the 131K feature and positive activation threshold maximizing selection F1, without filtering by test F1. Their decoder rows form a matrix B = [ b 1 , … , b 23 ] B = [b_1, \ldots, b_{23}] B = [ b 1 , … , b 23 ] . There are 22 distinct directions, since ac and ak select the same feature; the regression retains both columns. For each selected smaller-SAE decoder direction, we compute
c ∗ = arg min c ∈ R 23 ∥ d − B c ∥ 2 2 , c^* = \underset{c \in\mathbb{R}^{23}}{\operatorname{arg\,min}}\ \lVert d - Bc \rVert_2^2, c ∗ = c ∈ R 23 arg min ∥ d − B c ∥ 2 2 ,
using the minimum-norm solution, computed in double precision with numpy.linalg.lstsq and rcond=None. There is no intercept, regularization, or nonnegativity constraint, and no additional normalization of the decoder rows. The fit uses all 23 basis columns, even though the table displays only the five prefixes a, ah, ab, ap, and as. Their proxy-atom feature IDs are 38618, 121657, 100965, 120576, and 32170, respectively.
At each displayed width (512 / k = 32 512/k = 32 512/ k = 32 , 2,048 / k = 32 2{,}048/k = 32 2 , 048/ k = 32 , and 131,072 / k = 128 131{,}072/k = 128 131 , 072/ k = 128 ), we select the best probe for each of those five categories and deduplicate feature IDs. If a feature is selected for multiple categories, we use the threshold from the first category in the order a, ah, ab, ap, as. For a category q q q , its recall cell is
# { x ∈ T q : z ^ j ( x ) ≥ τ j } ∣ T q ∣ \frac{\#\{x \in T_q : \hat{z}_j(x) \ge\tau_j\}}{|T_q|} ∣ T q ∣ # { x ∈ T q : z ^ j ( x ) ≥ τ j }
where T q T_q T q is the set of held-out words beginning with q q q . The four displayed child categories contain 70, 339, 292, and 456 test words, respectively. We display only rows whose recall is at least 0.5 on at least one category for which that feature was selected, using the same threshold across all cells in a row. This is a display filter using held-out recall; the probes and thresholds themselves are selected on the selection split.
The displayed sums and circles retain only coefficients at least 0.015 among the five illustrated prefixes. Negative coefficients, smaller positive coefficients, and all other prefix components are omitted without refitting or renormalizing the retained coefficients. Circle radii are proportional to the cube root of the coefficient. Thus, these pictures summarize selected positive contributions rather than the complete signed least-squares reconstruction. At width 131,072, the illustrated directions are themselves basis columns, so their single-atom decompositions hold by construction; their held-out activation patterns are measured independently.
Polysemantic molecule: sparse decoder reconstruction. For feature 3290 in the Gemini width-4,096, k = 32 k = 32 k = 32 SAE (Table 1 ), the candidate dictionary contains all 131,072 proxy-atom decoder rows. We use orthogonal matching pursuit (OMP). Starting with residual r = d r = d r = d , each step selects the unselected atom maximizing ∣ ⟨ r , b j / ∥ b j ∥ 2 ⟩ ∣ |\langle r, b_j/\lVert b_j\rVert_2\rangle| ∣ ⟨ r , b j / ∥ b j ∥ 2 ⟩ ∣ , refits unrestricted signed least-squares coefficients on the selected support, and updates the residual. Atom normalization is used for selection; reported coefficients are expressed against the stored decoder rows. We retain the first support along this greedy path satisfying
∥ d − ∑ j ∈ S c j b j ∥ 2 2 ≤ 0.05. \left\lVert d-\sum_{j\in S}c_jb_j\right\rVert_2^2 \le0.05. d − j ∈ S ∑ c j b j 2 2 ≤ 0.05.
This is an absolute squared-error threshold on the stored target row, not a relative-error criterion or a guarantee of globally minimal support. The retained fit has 17 terms, squared error 0.049297, and cosine similarity 0.975040 between the target and reconstruction.
For readability, the diagram shows the five largest positive coefficients of this 17-term fit (also the first five atoms selected by OMP): 0.6763 on feature 8574, 0.1955 on 114331, 0.1665 on 68236, 0.1615 on 72509, and 0.0593 on 97729. These coefficients come from the full fit, not a refit restricted to five atoms, and the reported reconstruction error applies to all 17 terms. Circle areas approximately encode these positive coefficients; the smallest circle (97729) is enlarged for legibility. The other twelve signed terms are omitted from the illustration.
Activation examples. The numerical cells in Table 1 and Table 11 are cached post-TopK SAE activations on the same corpus inputs, with absent features assigned zero. They are not inferred from the decoder-decomposition coefficients. The upper block of the main table is manually selected from activating texts to illustrate different senses of transformation, including examples containing and not containing the substring transform. The appendix gives twelve examples per proxy atom, curated across activation bins and semantic subtypes and sorted by decreasing activation. The lower block of the main table takes one example per atom from this appendix selection, with activation at least 0.09 on that atom and below 0.05 on each of the other four. These curated examples illustrate semantic selectivity rather than estimating its corpus frequency. Main-table shading uses a shared linear activation scale capped at 0.3.
Table 11. Activating examples for the five 131K atoms. Each column contains twelve examples, sorted by decreasing activation. These appear more monosemantic than the feature in Table 1 .
Decoder-similarity heatmaps. For Figure 26 , we select the best probes for all 23 available a a a -prefix categories separately at widths 32,768/k = 64 k = 64 k = 64 and 131,072/k = 128 k = 128 k = 128 , again without a test-F1 filter. After deduplicating feature IDs, each panel contains 22 directions. Entries are signed decoder cosines ⟨ d i , d j ⟩ / ( ∥ d i ∥ 2 ∥ d j ∥ 2 ) \langle d_i, d_j \rangle/(\lVert d_i\rVert_2\lVert d_j\rVert_2) ⟨ d i , d j ⟩ / (∥ d i ∥ 2 ∥ d j ∥ 2 ) , computed directly from the checkpoint rows, rather than from the molecule fits. The reported medians use the 231 unordered off-diagonal pairs in each panel.
Table 11 gives twelve activating examples for each of the five 131K features in Table 1 .
An Atomic View of Feature Manifolds
A growing body of work has observed that features do not necessarily exclusively have one-dimensional representations. For example, considering two-dimensional PCA projections of days of the year, one often recovers circular structure. The observation of such “manifolds” is sometimes used to argue against the linear representation hypothesis (which the atomic hypothesis strengthens).
Here, we point out that the atomic hypothesis is not inconsistent with the observation of higher-dimensional non-linear structure. However, the atomic hypothesis can be viewed as implying that it should be possible to reconstruct this non-linear structure using atomic features. In particular, if we believe that the information represented by f f f is captured entirely by z z z , we should see the same non-linear structure arise in z z z . Looking exclusively at z z z disentangles the information stored in the features themselves from information potentially stored by the directions corresponding to each feature.
We consider subsets of SAE features S ⊆ [ 131072 ] S \subseteq[131072] S ⊆ [ 131072 ] and consider PCA projections of z S ( x ) ∈ R M z_S(x) \in\mathbb{R}^{M} z S ( x ) ∈ R M for x ∈ X ∗ x \in X^* x ∈ X ∗ . We demonstrate that this procedure reveals geometric structure from atomic features. Notice this procedure only uses the learned features z z z and not the learned directions A A A . Importantly, this disentangles geometric structure arising from the embedding space (i.e., if different atoms are represented along correlated directions in R d \mathbb{R}^{d} R d ) from geometric structure arising purely from correlation in feature activations in data.
We study two datasets: dates and colors. For each dataset, Figure 27 compares PCA of the raw embeddings with PCA of the continuous post-TopK activations restricted to a selected subset S S S of the 131K Gemini SAE’s coordinates. The feature subsets and color filtering were chosen through exploratory inspection.
Dates. The inputs are the 366 strings “[Month] [Day]” in calendar order, including “February 29”, with no year in the strings. We identify twelve month-related features in the gemini 131K SAE. We apply the full 131K encoder and TopK operation before extracting these twelve coordinates, assigning zero when a coordinate is not retained by TopK. PCA mean-centers the 366 × \times × 3072 raw embedding matrix and the 366 × \times × 12 activation matrix separately. The heatmap displays the same uncentered, continuous activation matrix in calendar order.
Colors. The original collection contains 865 color-name rows with hex-string embedding inputs. We deduplicate hex codes case-insensitively, retaining the first row for each of the 765 distinct colors. After scaling RGB channels to [0,1], we retain colors with HSV saturation S ≥ 0.60 S \ge0.60 S ≥ 0.60 , HSV value V ≥ 0.50 V \ge0.50 V ≥ 0.50 , and HLS lightness L ≤ 0.70 L \le0.70 L ≤ 0.70 . This leaves 374 colors. We sort these by increasing hue, decreasing saturation, and then increasing value.
The eight selected 131K features were chosen from ranks 6, 7, 8, 10, 11, 12, 15, and 16, respectively, in the color collection’s feature-prevalence ranking at activation threshold 0.05. These corresponded to features that seemed color-related (rather than activating on hex patterns). That threshold is used only for selection: the plotted values are raw post-TopK activations. We refit three-component PCA separately to the 374 × \times × 3072 raw embeddings and the 374 × \times × 8 activation matrix using the full SVD solver, mean-centering without standardization, whitening, or additional normalization. These are fits on the retained colors, rather than subsets of PCA coordinates fitted to all 865 rows. The color heatmap uses the same raw activations, with rows ordered by activation-weighted circular mean position along the displayed hue sequence.
Text and artwork examples. Table 12 shows five texts and five WikiArt images for each of the eight color features: 40 texts and 40 images in total. Texts are ranked by raw post-TopK activation over all 89,827,558 Gemini training-corpus rows, removing exact duplicate full texts separately for each feature. Images are ranked independently by the same activation definition over all 116,261 rows of the cached WikiArt corpus. We take the five highest positive image activations per feature, with ties broken by decreasing image-vector index; no hex-color, style, or enrichment filter is applied to these images.
WikiArt images are outside the SAE training corpus. These selected examples illustrate transfer beyond hex codes to multilingual text and images; they are not a held-out population performance estimate.
An Atomic View of the Platonic Representation Hypothesis
If we interpret the rigidity property at an even higher level, then we can arrive at an even stronger theory: that atomic features are not atomic only with respect to an individual model, but are actually atomic as descriptions of the world (or at least, of descriptions of human-generated text). We might describe these atomic features as also being “platonic” [48 ] .
So while there is no reason for atomic directions to be model independent (one can have an equivalent representation that is a rotation), it seems possible that z z z could be model independent, in which case different representations f , f ′ f, f' f , f ′ are just different projections of the feature representation: that is, f = A z f = Az f = A z and f ′ = A ′ z f' = A'z f ′ = A ′ z .
Same-width cross-model matching. We compare activations between models for all nine SAE widths from 512 to 131,072. At each width and threshold t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } t \in\{0.5, 0.6, 0.7, 0.8\} t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } , we apply the pairwise matching and candidate-graph procedures in Sections C.2.3 and C.2.4 to Gemini and Nemotron features.
Figure 28 shows that the number of matched pairs increases with SAE width, while the fraction of each dictionary that is matched generally decreases.
Figure 28. Feature-activation matching between Gemini and Nemotron SAEs of equal width. Curves give maximum-cardinality one-to-one matching at signed Pearson thresholds t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } t \in\{0.5, 0.6, 0.7, 0.8\} t ∈ { 0.5 , 0.6 , 0.7 , 0.8 } on 89,227,558 shared examples. Left: matched-pair count. Right: count divided by the common SAE width, including dead and unmatched features in the denominator. Counts are exact on the retained candidate graphs and lower bounds on exhaustive matching. The 131K comparison is included because matching across models does not require a larger SAE.
Example matches. Table 13 to Table 24 show twelve illustrative correlated pairs of features: two main examples and ten additional diverse pairs, with Pearson similarity ranging from 0.3 to 0.9. They cover clarification of meaning, algebraic transformations, education, trigonometry, astronomy, trade, programming, mechanics, food, sign languages, music, and botany. The captions describe qualitative interpretations of the activating texts. Each table contains fifteen sampled texts from each model: eight with source-feature activation in (0.05, 0.1] and seven above 0.1. Gemini feature 71850 is an exception: it has no cached activations above 0.1, so all fifteen of its examples come from (0.05, 0.1].
Table 13. Clarifying the meaning or scope of a term. Pearson r = 0.352 r = 0.352 r = 0.352 .
Table 24. Astragalus and milkvetch species. Pearson r = 0.871 r = 0.871 r = 0.871 .
Table 14. Whether algebraic transformations preserve solutions. Pearson r = 0.362 r = 0.362 r = 0.362 .
Table 15. School activities and educational offerings. Pearson r = 0.516 r = 0.516 r = 0.516 .
Table 16. Trigonometric half-angle identities. Pearson r = 0.578 r = 0.578 r = 0.578 .
Table 17. Telescopes and astronomical optics. Pearson r = 0.604 r = 0.604 r = 0.604 .
Table 18. Trade tariffs and protectionism. Pearson r = 0.651 r = 0.651 r = 0.651 .
Table 19. Comments in source code. Pearson r = 0.667 r = 0.667 r = 0.667 .
Table 20. Mechanical bearings. Pearson r = 0.709 r = 0.709 r = 0.709 .
Table 21. Butter. Pearson r = 0.788 r = 0.788 r = 0.788 .
Table 22. Sign languages. Pearson r = 0.802 r = 0.802 r = 0.802 .
Table 23. Eurovision Song Contest entries. Pearson r = 0.865 r = 0.865 r = 0.865 .