Manuscript Offprint
arXiv:2610.20851Complete or Sparse: A Tale of Two Identifiabilities
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Understanding when neural networks learn interpretable representations is central to mechanistic interpretability. We study this through identifiability: when can supervised learning recover the true latent variables underlying the data? We introduce two data generating processes distinguished by their causal direction where either labels cause latents (generative) or latents cause labels (discriminative). When the representation has at least as many dimensions as the latent space, we prove that the optimal encoders are linear in the latents. Conversely, when dimensions are insufficient, identifiability generically fails and encoders become nonlinear. We then show that additional constraints yield recovery of individual latent variables, not just linear mixtures. In the generative setting, non-negative activations and energy efficiency force each neuron to encode exactly one latent, providing a precise account of selective grandmother cell-like responses. In the discriminative setting, when latents are sparse and the true measurement matrix satisfies the spark condition, the learned encoder inherits compressed sensing structure, enabling sparse dictionary learning to perfectly recover individual latents. This constitutes, to our knowledge, the first identifiability result for undercomplete nonlinear independent component analysis. Our framework unifies nonlinear ICA, compressed sensing, and neural network interpretability, delineating exactly when representations transition from nonlinear distortions to linear representations and, under additional constraints or steps, to clean, axis-aligned codes. Theoretical predictions are validated on synthetic benchmarks and on activations drawn from vision models, large language models, and macaque inferotemporal cortex.
1 Introduction
The discovery of “grandmother cells” [1], neurons that selectively respond to highly specific concepts such as the “Jennifer Aniston neuron” in human medial temporal lobe [2], has challenged traditional theories of neural coding [3]. Similar observations have emerged in modern vision [4] and large language models, exemplified by neurons selectively responding to concepts such as certain despots [5]. Specific concepts, encoded by individual neurons, have even been found across models [6] and brains [7]. The existence of these highly interpretable individual neurons is surprising since dedicated single-neuron representations are generally assumed to be computationally inefficient and fragile [8].
Perhaps more surprising still is the presence of interpretable concepts (latent variables) within such nonlinear systems which could, in principle, reformat information in highly unintelligible ways [9]. Recent theoretical advances in identifiability theory, particularly nonlinear Independent Component Analysis (ICA), suggest that neural populations optimally recover the underlying latent variables of the data up to an arbitrary linear transformation [9, 10]. With such an arbitrary linear transformation, individual neurons are almost certainly responsive to linear combinations of latent variables. This means that they exhibit what is called mixed selectivity [8] in neuroscience, or, polysemanticity [11] in mechanistic interpretability of AI research. This stands in tension to the empirical observations of clean selective (monosemantic), interpretable neurons [2, 7, 5, 4, 12].
Preprint.
To resolve this contradiction, we introduce a sparse generative model of latent variables that better aligns theoretical predictions with empirical data. This model captures the intuitive notion that natural stimuli are sparse and conceptually distinct. Specifically, exponential priors naturally emerge in sensory coding [13, 14]. This offers a principled explanation for the success of sparse autoencoders in capturing interpretable neural representations [15, 16, 17]. Combined with biologically plausible assumptions such as non-negative neural activations, we prove mathematically and demonstrate empirically that the statistical optimum of neural coding under this model naturally yields individually interpretable neurons aligned directly with latent variables.
Contributions. 1. We propose a sparse Data Generating Process (DGP) (sec. 3) that addresses key limitations of existing nonlinear independent component models. 2. We derive identifiability results for both the overcomplete and full-capacity settings, proving that optimal encoders recover the latent variables up to a linear transformation (Theorem 4.1). Conversely, we prove that in the undercomplete setting , the global optimum of the cross-entropy loss is generically nonlinear—linear encoders are provably suboptimal (Theorem 4.2). 3. Integrating identifiability theory with non-negative and energy constraints, we prove that optimal solutions correspond to axis-aligned, monosemantic neurons (Theorem 4.3). 4. We analyze the undercomplete setting where the number of neurons is insufficient, and show that it leads to distributed neural representations that support compressed sensing (Theorem 4.4), providing a theoretical explanation for the empirical success of sparse autoencoders. 5. We validate our theoretical predictions empirically, bridging insights from neuroscience, machine learning, and interpretability research.
Sparse Coding and Sparse Autoencoders (SAEs). Sparse coding and non-negative matrix factorization [14, 24] have long provided frameworks to explain the emergence of selective and interpretable neural representations. However, theoretical extensions beyond linear mixing remain limited. Notably, the uniqueness of sparse solutions, highlighted by compressed sensing theory [25], has been extended to sparse coding scenarios [26]. Additionally, biological plausibility has been reinforced by imposing non-negativity constraints [27, 28, 29]. Recent empirical studies utilizing SAEs have demonstrated that sparse decompositions applied to neural representations yield interpretable sparse codes [30, 31, 16, 17, 15, 32, 33, 34]. These findings underscore the potential of sparsity as a crucial factor driving interpretability in neural representations, providing practical motivation for the theoretical considerations presented here.
Integration and Theoretical Contribution. Our work synthesizes these perspectives, explicitly bridging sparse coding frameworks with nonlinear identifiability theory. By integrating the uniqueness guarantees of non-negative coding into identifiability theory, we resolve conceptual tensions between sparse selectivity and theoretical optimality [35, 3], thereby offering a rigorous theoretical foundation for interpreting neural representations.
3 Data Generating Processes
We assume latent variables that are -dimensional, and class labels over classes. The difference between our two DGPs will be the causal direction between these: either generative or discriminative . The latent variables are transformed into inputs by an invertible nonlinear function . Inputs are transformed into activations by a learned nonlinear function , where the activation space is -dimensional. The composite function is defined as . We assume is continuous. Crucially, is fixed while must be learned.
The learning task in both settings is classification. We assume the true relationship between latents and labels is captured by a log-linear model:
for some matrix , where denotes quantities from the true data generating process. Softmax logits are invariant to a common row shift, so throughout we assume that is row-centered. See Lemma 8.1 for more details. The effective dimensionality will play a central role in our analysis.
The learned model predicts class probabilities via a linear readout applied to the activations:
Training minimizes the cross-entropy loss:
See complete assumption list in Supplement 8.1. We now describe the two causal settings in detail.
3.1 Generative Setting: From Labels to Latents
In this setting, we draw a label first, then a latent conditioned on that label. This is akin to the causal process underlying MNIST: a person thinks of a digit, then draws it [36]. Prior work has assumed hyperspherical latents [19, 20, 37], but this is incompatible with sparsity. We propose a different model: non-negative latents with varying norms.
Specifically, we set and associate each class with rate parameters , giving factorized exponential conditionals:
where . The conditional entropy is
We assume constant conditional entropy across classes:
With a uniform prior , Bayes' rule gives the posterior in the form of (1), where has rows . We assume , requiring . Thus, in the generative setting, the effective dimensionality equals the full latent dimension: .
Additional assumptions for axis-alignment. To obtain the stronger result that neurons align with individual latent dimensions (Section 4.3.1), we restrict to the exact-capacity regime and additionally assume: (i) activations are non-negative, (e.g., real neurons or ReLU networks); (ii) a fixed within-class population variance (e.g., variance normalization); and (iii) an energy constraint favors small activations (e.g., via energy optimization or weight decay during training).
3.2 Discriminative Setting: From Latents to Labels
In this setting, we draw a latent first from some prior , and then draw a label conditioned on that latent. This models the common image labeling problem—an image, containing some (imperfect) measurement of latent features, is presented to a human observer who labels it [36].
Here we allow more flexibility: may be any distribution over . The conditional over labels is log-linear as in (1): .
The key assumption is that factorizes as
where is a measurement matrix and is a readout matrix. This means the label depends on only through the compressed measurement . When , not all latent dimensions are directly relevant for classification—a key difference from the generative setting.
Additional assumptions for compressed sensing recovery. To obtain the stronger result that latents can be fully recovered up to permutation (Section 4.3.2), we additionally assume: (i) latents are sparse, for all ; and (ii) satisfies the spark-2k condition: no nonzero 2k-sparse vector lies in . This ensures all k-sparse latents remain distinguishable after projection, making compressed sensing recovery possible [38].
4 Theory
A central question is why neural representations sometimes align with individual latent concepts (monosemanticity) and other times represent linear combinations of them (polysemanticity). To answer this, we must first address a fundamental prerequisite: linearity. Before a system can be axis-aligned, it must first be linearly identifiable—that is, the encoder must successfully invert the nonlinear mixing up to a linear transformation. We show that the answer depends critically on the data generating process and the capacity of the neural representation. First, we establish when linear identifiability holds or fails (shared by both settings). Then, we show how to go beyond linear mixing to recover the exact latent variables up to permutations—via two distinct paths depending on the setting. For readers who prefer intuition over algebra, every step ends with a box that restates the key point. For a complete list of assumptions, see Supplement 8.1.
4.1 Linear Identifiability
With supervised training, let encoder and linear read-out minimize the cross-entropy
Recall that the true posterior is where is the effective latent dimension. Building on prior theory [18, 19, 39], we show that when the model has sufficient capacity, the optimal encoder must be linear.
Theorem 4.1 (Linear identifiability). Let Assumption 8.1 hold with . Every global minimizer of the cross-entropy satisfies
where has , and for all .
Proof in Supplement 8.3.
The term captures the degrees of freedom in the dimensions orthogonal to the readout. These dimensions do not affect the classification loss and may be nonlinear or arbitrary. The classification-relevant part Az is always linear.
TL;DR: Although the network could apply complicated nonlinear transformations, the best it can do for supervised classification is recover the latent variables up to linear mixing. Extra dimensions beyond are unconstrained by the loss.
By the centering lemma (Supplement 8.1), we assume without loss of generality that is row-centered, so rank equals the dimension of the row space.
4.2 Non-identifiability under Capacity Constraints
What happens when there are not enough neurons? If , the model cannot achieve zero KL divergence, and the optimal encoder is forced to be nonlinear.
Theorem 4.2 (Non-identifiability). Let Assumption 8.1 hold with . Assume that has nonempty interior , that is continuous and strictly positive on , and that for every candidate under consideration, . Then the global minimizer of the cross-entropy loss is generically nonlinear.
Proof in Supplement 8.4.
TL;DR: With fewer neurons than the effective latent dimension, it is not possible to recover latents up to a linear transformation. The encoder must distort the geometry.
4.3 Beyond Linear: Axis Alignment and Sparse Recovery
Linear identifiability recovers z up to an arbitrary linear transformation A. Can we do better? Under additional constraints, we can recover z up to permutation and scaling—meaning individual neurons correspond to individual latent variables. We present two paths to this stronger result.
4.3.1 Path A: Axis-Aligned Neurons (Generative Setting)
In the generative setting with , we have linear identifiability. If we additionally impose non-negative activations (e.g., ReLU or biological spikes) and an energy constraint (e.g., weight decay or efficient coding), the encoder is a scaled permutation.
Theorem 4.3 (Axis-aligned neurons). Following Assumption 8.1 and Assumption 8.2, in the generative setting with , let be any minimizer of among the cross-entropy global minimizers. Then
where is a permutation matrix and with . That is, the representation is identifiable up to permutation and component-wise positive scaling.
Proof in Supplement 8.5.1.
TL;DR: With non-negative activations and energy constraints under exact capacity, each neuron encodes exactly one latent variable. This provides a possible theoretical explanation for “grandmother cells.”
4.3.2 Path B: Compressed Sensing Recovery (Discriminative Setting)
In the discriminative setting with , the encoder learns . What can we say about the structure of ? If the latents are sparse and the true projection satisfies the spark condition, then inherits this structure, enabling sparse recovery of .
Theorem 4.4 (Compressed sensing recovery). Following Assumption 8.1 and Assumption 8.3, in the discriminative setting with , assume , latents are k-sparse, and . Let denote the orthogonal projector onto and define the classifier-visible representation . Then the learned encoder satisfies . Consequently, , and can be recovered from the unique k-sparse solution of
Proof in Supplement 8.5.2.
TL;DR: With sparse latents, networks learn the best possible projector. SAEs may then recover all latent variables—explaining their empirical success in mechanistic interpretability.
A

B
C
D
E

Figure 1: Linear and axis-aligned latent recovery at exact capacity. A) Hyperspherical DGP [19, 20], training a neural network with linear representation (i.e., no final activation function, blue) and a non-negative representation (ReLU, orange); Disentanglement between true latent variables (z) and learned neural representations ( ), measured up to arbitrary linear transformations (W). B) Our proposed sparse, non-negative DGP, same architectures as on the left (with/without activation function), linear disentanglement reported. C) Same as A, but disentanglement is measured only up to permutations (P), measuring axis-aligned latent variable recovery. D) Same as B but individual, axis-aligned disentanglement measured. E) Sample visualizations of five optimization runs, learned linear representation showing a clear permutation only for the non-negative case. Shaded areas in all plots indicate standard error of the mean over 10 random seeds.
4.4 Summary
| Generative () | Discriminative () | |
|---|---|---|
| Linear identifiability | Linear identifiability | |
| Nonlinear (non-identifiable) | Nonlinear (non-identifiable) | |
| Path to permutation Result Interpretation | Non-negativity + energyAxis-aligned neuronsGrandmother cells | Sparsity + sparkCompressed sensing recoverySparse autoencoders |
Experiments in Section 5 corroborate these predictions.
5 Experiments
5.1 Axis-aligned Neurons
We begin with the full-capacity setting , in which our theory predicts that every neuron should align with a single latent dimension when activations are constrained to be non-negative. We compare two DGPs: a) The hyperspherical latent model used in prior work [19, 37, 39]; and b) Our proposed sparse, non-negative exponential latent model (Section 3). For both DGPs we train identical encoders that differ only in the final activation: a linear head (no non-linearity) versus a non-negative ReLU activation function. Disentanglement is assessed with two metrics. Linear alignment measures recovery of the latent space up to an arbitrary linear transform, whereas the stricter axis alignment metric evaluates recovery up to permutation and element-wise scaling using the mean correlation coefficient (MCC) [18]. Each experiment is repeated with ten random seeds. All configurations reach near-perfect linear alignment (Fig. 1, top), showing that the encoder behaves approximately linearly across settings—confirming Theorem 4.1. However, axis alignment tells a different story (bottom panels): the combination of a sparse DGP and a non-negative output layer converges (albeit slowly) to an axis-aligned neural representation, whereas both the hyperspherical DGP and the linear output retain mixed-selectivity—confirming Theorem 4.3. Although convergence is slower for the

Figure 2: Phase transition at the capacity threshold. Final KL( ) is reported as a function of encoder dimension m, for linear (blue) and MLP (red) encoders across three latent distributions. The dashed vertical line marks , the capacity threshold.

Figure 3: Compressed Sensing Recovery. A) Training dynamics for a linear encoder trained under different sparsity levels. Left: training KL( ). Right: row-space match between the learned A and the true . B) of supervised latent recovery by Lasso and OLS. C) MCCs of supervised latent recovery and unsupervised sparse dictionary learning. Shaded areas in A) and error bars in B) and C) indicate standard error of the mean over 10 random seeds.
non-negative encoder, we show in Section 9.1 that weight decay and alternative activation functions substantially accelerate axis alignment.
5.2 Non-identifiability in the undercomplete regime
We next test the undercomplete regime , in which Theorem 4.2 predicts that the global optimum of the cross-entropy loss is generically nonlinear. We fix and sweep the encoder dimension , straddling the theoretical threshold at . Two encoder architectures are compared: linear encoder and nonlinear encoder MLP of the same input-output dimensions. We repeat the experiment across three latent distributions. Each configuration is evaluated over ten random seeds, and we report the final KL( ) as a function of in Figure 2.
The results reveal a clear transition at that is consistent across all three distributions. When , the MLP achieves lower KL than the linear encoder across every setting, confirming that the optimal encoder is nonlinear, following Theorem 4.2. Additionally, when , both the linear and the MLP encoder converge to near-zero KL divergence. This supports Theorem 4.1 that sufficient capacity ensures the optimal encoder being linear to latent variables, z.
5.3 Compressed Sensing Recovery
We then validate compressed sensing recovery in the discriminative setting, where the labels depend on sparse latents through a low-rank projection . The theory predicts two interlocking results: the learned encoder will precisely recover the null space of , i.e. ; and this structural match enables full recovery of the high-dimensional sparse latent from the compressed encoding via sparse decoding.
As presented in Figure 3, we construct a discriminative DGP at full capacity and sweep over three sparsity levels to probe different regimes while ensuring spark-2k. Three recovery methods are applied to the activation : supervised sparse inference (Lasso), dense linear decoder (OLS), and unsupervised sparse dictionary learning (Lasso). Each experiment is repeated with ten random seeds. In Figure 3A. Training dynamics and null-space alignment demonstrate that as the KL approaches
A

Source Model: resnet50
Source Model: vit_b_16
Source Model: dinov2_small
B
Source Model: GPT2
Source Model: Pythia-70m
Source Model: TinyLlama
C
D
E
Figure 4: Disentanglement predicts cross-system preservation. A,B) Per-neuron interpretability (MIS, Zimmermann et al. 40) versus the Maximum Matching Unit (MMU) score, for ImageNet-trained vision models (A) and LLMs (B; MIS logits reported as accuracy is at ceiling). C,D) MIS–MMU correlations for all model pairs in A and B. E) Directional MIS–MMU associations in macaque IT cortex [41]. Responses to 3,200 images were recorded from 58 IT neurons in "Chabo" and 110 IT neurons in "Tito", two macaques.
zero, the row-space alignment between the learned A and the true undergoes an acute transition to 1 (Figure 3A, right), directly confirming at the optimum. The recovery results complete the picture (Figure 3B): supervised Lasso achieves near-perfect across all values of k, demonstrating faithful reconstruction of the full n-dimensional latent. By contrast, OLS recovery plateaus at , confirming Theorem 4.4. Also, the MCC of the unsupervised Lasso reaches under extreme sparsity (1-sparse) and declines notably as k increases, demonstrating the significant impact of sparsity on latent variable recovery and offering a principled account of why sparse autoencoders succeed in recovering latent structure from undercomplete neural representations.
5.4 Disentangled Neurons Generalize Across Models and Brains
Our identifiability results predict that, under suitable conditions, individual neurons recover individual latent variables (Theorems 4.3 and 4.4). A direct consequence is that if two systems trained on similar data have each achieved this recovery, well-disentangled units in one system should have a counterpart in the other. We test this prediction across vision models, language models, and macaque cortex. Since true latents are unobservable in real data, we use the Mechanistic Interpretability Score (MIS) of Zimmermann et al. [40] as a proxy for disentanglement—high-MIS neurons exhibit selective, monosemantic responses consistent with having cleanly captured a latent concept. We quantify cross-system preservation via the Maximum Matching Unit (MMU) score: for each neuron, the maximum absolute correlation with any neuron in the comparison system. Our prediction is then simply a positive MIS–MMU correlation.
Vision models. Across four ImageNet-trained networks (VGG-19, ResNet-50, ViT-b/16, DINOv2 ViT-S/14), MIS predicts MMU positively for all twelve directed model pairs (Fig. 4A,C).
Language models. The same pattern, though weaker, holds across GPT-2, Pythia-70m, and TinyLlama, evaluated on the 100,000 most frequent Wikipedia unigrams (Fig. 4B,D).
Biological neurons. In macaque IT cortex [41] (macaque 1 "Chabo": 58 neurons; macaque 2 "Tito": 110 neurons; 3,200 natural images), the directional MIS–MMU correlations are positive. Tito → Chabo yields ( ; Fig. 4E), whereas Chabo → Tito yields with less statistical significance ( ), plausibly due to the imbalance candidate pool of MMU.
Across all three settings, the more disentangled a unit, the more likely it is to be found in another system. This is consistent with the theoretical prediction that identifiability drives cross-system convergence on shared latent variables, although the gap between our idealized framework and real neural systems warrants caution.
6 Limitations and Ablations
Our analysis rests on a set of idealized assumptions that rarely hold exactly in real data [20]. We highlight four salient ones. Constant conditional entropy. The axis-alignment result (Theorem 4.3) relies on the class-independent entropy condition in eq. (6). Real datasets almost always exhibit some spread in conditional entropies. In preliminary simulations, moderate deviations merely blur axis alignment rather than destroy it, suggesting robustness, but a systematic study is left for future work. Non-negativity. Imposing non-negativity is analogous to restricting latents to the positive orthant of a sphere: inner products remain meaningful, but sign information is lost. Alternative sparsity models with Laplace-distributed (signed) latents break this symmetry; Theorem 4.3 does not apply directly there. Uniform class prior. Assuming simplifies the inner-product identity. Unequal priors merely add a constant offset to each logit row of , and the main results extend verbatim after subtracting row means. Extreme class imbalance could nonetheless interact with optimization in ways not captured here. DGP. Finally, the largest gap remains the existence of a true sparse DGP [42]—perhaps a philosophical question that no amount of data or theory will settle.
We also conduct ablation tests to assess the robustness of our results to violations of these assumptions. Overall, both linear identifiability and axis alignment are robust to moderate violations of constant conditional entropy, particularly with an affine readout, and to moderate departures from conditional independence and the exponential conditional distribution. In contrast, violating the non-negative latent-support assumption in the generative setting substantially degrades axis alignment. Full results and experimental details are provided in Supplement 9.1.
7 Discussion
Our framework unifies disparate empirical findings—dedicated, monosemantic units; polysemantic superposition; and sparse-autoencoder recovery—within a single statistical picture by combining nonlinear identifiability theory with two complementary data generating processes. Two ingredients control the qualitative regime: the causal direction of the DGP (labels→latents vs. latents→labels) and the capacity ratio between neurons and effective latents (m vs. ).
When capacity is sufficient ( ), the cross-entropy optimum identifies the latents up to an arbitrary linear transformation (Theorem 4.1). Two distinct paths then collapse this linear ambiguity to a permutation. In the generative setting, exact capacity, non-negative activations, and an energy constraint yield an axis-aligned optimum in which each neuron encodes a single latent (Theorem 4.3), offering one possible theoretical mechanism for grandmother-cell-like responses. In the discriminative setting, sparsity together with the spark condition on the true measurement matrix endows the encoder with a compressed-sensing geometry, so individual latents can be recovered from polysemantic representations via sparse coding (Theorem 4.4)—an explanation for why sparse autoencoders work. When capacity is insufficient ( ), no linear encoder is optimal: the bottleneck forces nonlinear distortion and identifiability fails generically (Theorem 4.2).
This perspective also speaks to efficient coding [35, 43], which has long struggled to reconcile distributed-coding intuitions with empirically dedicated units such as the frog’s fly detector [44] or the mouse’s bird detector [45]. The dichotomy is not between efficiency and selectivity but between regimes: under sparse, non-negative latents with sufficient capacity, selectivity is the efficient code. Future work should relax the most restrictive assumptions—non-negativity, constant conditional entropy, the uniform class prior—and address signed or manifold-valued latents, narrowing the gap between our idealized framework and real biological and artificial systems.
Code availability. Code for reproducing the experiments and figures in this paper is available at https://github.com/klindtlab/complete-or-sparse.
References
[1] Charles G Gross. Genealogy of the “grandmother cell”. The Neuroscientist, 8(5):512–518, 2002. doi: 10.1177/1073858402238512. (Cited on page 1.)
[2] Rodrigo Quian Quiroga, Leila Reddy, Gabriel Kreiman, Christof Koch, and Itzhak Fried. Invariant visual representation by single neurons in the human brain. Nature, 435(7045):1102–1107, 2005. (Cited on pages 1, 1, and 2.)
[3] Simon Thorpe. Local vs. Distributed Coding. Intellectica. Revue de l'Association pour la Recherche Cognitive, 8(2):3–40, 1989. ISSN 0769-4113. doi: 10.3406/intel.1989.873. URL https://www.persee.fr/doc/intel_0769-4113_1989_num_8_2_873. (Cited on pages 1 and 2.)
[4] David Bau, Jun-Yan Zhu, Jonas Wulff, William Peebles, Bolei Zhou, and Antonio Torralba. Understanding the role of individual units in a deep neural network. Proceedings of the National Academy of Sciences, 117(48):30071–30078, 2020. (Cited on pages 1, 1, and 2.)
[5] Gabriel Goh, Nick Cammarata, Chelsea Voss, Shan Carter, Michael Petrov, Ludwig Schubert, Alec Radford, and Chris Olah. Multimodal neurons in artificial neural networks. Distill, March 2021. doi: 10.23915/distill.00030. URL https://distill.pub/2021/multimodal-neurons/. (Cited on pages 1, 1, and 2.)
[6] Amil Dravid, Yossi Gandelsman, Alexei A Efros, and Assaf Shocher. Rosetta neurons: Mining the common units in a model zoo. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 1934–1943, 2023. (Cited on page 1.)
[7] Meenakshi Khosla, Alex H. Williams, Josh McDermott, and Nancy Kanwisher. Privileged representational axes in biological and artificial neural networks, June 2024. URL https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1. Pages: 2024.06.20.599957 Section: New Results. (Cited on page 1 and 1.)
[8] Mattia Rigotti, Omri Barak, Melissa R Warden, Xiao-Jing Wang, Nathaniel D Daw, Earl K Miller, and Stefano Fusi. The importance of mixed selectivity in complex cognitive tasks. Nature, 497(7451):585–590, 2013. (Cited on pages 1, 1, and 2.)
[9] Aapo Hyvärinen and Petteri Pajunen. Nonlinear independent component analysis: Existence and uniqueness results. Neural networks, 12(3):429–439, 1999. (Cited on page 1 and 1.)
[10] Aapo Hyvärinen, Hiroaki Sasaki, and Richard E Turner. Nonlinear ica using auxiliary variables and generalized contrastive learning. Journal of Machine Learning Research, 20(1):2569–2594, 2019. (Cited on pages 1 and 2.)
[11] Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The Building Blocks of Interpretability. Distill, 3(3):e10, March 2018. ISSN 2476-0757. doi: 10.23915/distill.00010. URL https://distill.pub/2018/building-blocks. (Cited on page 1.)
[12] Irina Higgins, Le Chang, Victoria Langston, Demis Hassabis, Christopher Summerfield, Doris Tsao, and Matthew Botvinick. Unsupervised deep learning identifies semantic disentanglement in single inferotemporal face patch neurons. Nature Communications, 12(1):6456, November 2021. ISSN 2041-1723. doi: 10.1038/s41467-021-26751-5. (Cited on pages 1 and 2.)
[13] Peter Földiak. Forming sparse representations by local anti-hebbian learning. Biological cybernetics, 64(2):165–170, 1990. (Cited on page 2.)
[14] Bruno A Olshausen and David J Field. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, 1996. (Cited on page 2 and 2.)
[15] Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, and et al. Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet, 2024. URL https://transformer-circuits.pub/2024/scaling-monosemanticity. (Cited on page 2 and 2.)
[16] Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, and Amanda Askell. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread, page 2, 2023. URL https://transformer-circuits.pub/2023/monosemantic-features. (Cited on page 2 and 2.)
[17] David Klindt, Sophia Sanborn, Francisco Acosta, Frédéric Poitevin, and Nina Miolane. Identifying Interpretable Visual Features in Artificial and Biological Neural Systems, October 2023. URL http://arxiv.org/abs/2310.11431. arXiv:2310.11431 [cs, stat]. (Cited on page 2 and 2.)
[18] Aapo Hyvärinen and Hiroshi Morioka. Unsupervised feature extraction by time-contrastive learning and nonlinear ica. Advances in neural information processing systems, 29, 2016. (Cited on pages 2, 4, 6, and 24.)
[19] Roland S. Zimmermann, Yash Sharma, Steffen Schneider, Matthias Bethge, and Wieland Brendel. Contrastive learning inverts the data generating process. In International Conference on Machine Learning, pages 12979–12990. PMLR, 2021. URL https://proceedings.mlr.press/v139/zimmermann21a.html. (Cited on pages 2, 3, 4, 6, 6, and 23.)
[20] Patrik Reizinger, Randall Balestriero, David Klindt, and Wieland Brendel. An empirically grounded identifiability theory will accelerate self-supervised learning research. arXiv preprint arXiv:2504.13101, 2025. (Cited on pages 2, 3, 6, 9, and 23.)
[21] Omri Barak, Mattia Rigotti, and Stefano Fusi. The sparseness of mixed selectivity neurons controls the generalization–discrimination trade-off. Journal of Neuroscience, 33(9):3844–3856, 2013. URL https://www.jneurosci.org/content/33/9/3844.short. Publisher: Soc Neuroscience. (Cited on page 2.)
[22] Aapo Hyvärinen and Hiroshi Morioka. Nonlinear ica of temporally dependent stationary sources. In Artificial intelligence and statistics, pages 460–469. PMLR, 2017. (Cited on page 2.)
[23] David Klindt, Lukas Schott, Yash Sharma, Ivan Ustyuzhaninov, Wieland Brendel, Matthias Bethge, and Dylan Paiton. Towards Nonlinear Disentanglement in Natural Data with Temporal Sparse Coding, March 2021. URL http://arxiv.org/abs/2007.10930. arXiv:2007.10930 [cs, stat]. (Cited on page 2.)
[24] Daniel D Lee and H Sebastian Seung. Learning the parts of objects by non-negative matrix factorization. Nature, 401(6755):788–791, 1999. (Cited on page 2.)
[25] David L. Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289–1306, 2006. URL https://ieeexplore.ieee.org/abstract/document/1614066/?casa_token=vtpGjU5mzFcAAAAA:rU2N5NCWY2K9IaaU0GHdJEuOj8P0dFk39KnF-rchFhrMrAe9T0XiWvCPGgJ5pszVR4-UWxvhvg.Publisher: IEEE. (Cited on page 2.)
[26] Christopher J Hillar and Friedrich T Sommer. When can dictionary learning uniquely recover sparse data from subsamples? IEEE Transactions on Information Theory, 61(11):6290–6297, 2015. (Cited on page 2.)
[27] Cengiz Pehlevan, Sreyas Mohan, and Dmitri B Chklovskii. Blind nonnegative source separation using biological neural networks. Neural computation, 29(11):2925–2954, 2017. (Cited on page 2.)
[28] David Lipshutz, Cengiz Pehlevan, and Dmitri B Chklovskii. Biologically plausible single-layer networks for nonnegative independent component analysis. Biological cybernetics, 116(5): 557–568, 2022. (Cited on page 2.)
[29] James CR Whittington, Will Dorrell, Surya Ganguli, and Timothy EJ Behrens. Disentanglement with biological constraints: A theory of functional cell types. arXiv preprint arXiv:2210.01768, 2022. (Cited on pages 2 and 24.)
[30] Alona Fyshe, Partha P. Talukdar, Brian Murphy, and Tom M. Mitchell. Interpretable Semantic Vectors from a Joint Model of Brain- and Text-Based Meaning. In Kristina Toutanova and Hua Wu, editors, Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 489–499, Baltimore, Maryland, June 2014. Association for Computational Linguistics. doi: 10.3115/v1/P14-1046. URL https://aclanthology.org/P14-1046. (Cited on page 2.)
[31] Zeyu Yun, Yubei Chen, Bruno A. Olshausen, and Yann LeCun. Transformer visualization via dictionary learning: contextualized embedding as a linear superposition of transformer factors, 2021. URL http://arxiv.org/abs/2103.15949. arXiv:2103.15949 [cs]. (Cited on page 2.)
[32] Charles O'Neill, Alim Gumran, and David Klindt. Compute optimal inference and provable amortisation gap in sparse autoencoders. arXiv preprint arXiv:2411.13117, 2024. (Cited on page 2.)
[33] Elana Simon and James Zou. Interplm: Discovering interpretable features in protein language models via sparse autoencoders. bioRxiv, pages 2024–11, 2024. (Cited on page 2.)
[34] David Klindt, Charles O'Neill, Patrik Reizinger, Harald Maurer, and Nina Miolane. From superposition to sparse codes: interpretable representations in neural networks. arXiv preprint arXiv:2503.01824, 2025. (Cited on page 2.)
[35] H. B. Barlow. Single units and sensation: a neuron doctrine for perceptual psychology? Perception, 1(4):371–394, 1972. ISSN 0301-0066. doi: 10.1068/p010371. (Cited on pages 2 and 9.)
[36] Bernhard Schölkopf, Dominik Janzing, Jonas Peters, Eleni Sgouritsa, Kun Zhang, and Joris Mooij. On causal and anticausal learning. arXiv preprint arXiv:1206.6471, 2012. (Cited on page 3 and 3.)
[37] Evgenia Rusak, Patrik Reizinger, Attila Juhos, Oliver Bringmann, Roland S Zimmermann, and Wieland Brendel. Infonce: Identifying the gap between theory and practice. arXiv preprint arXiv:2407.00143, 2024. (Cited on pages 3 and 6.)
[38] Holger Rauhut. Compressive sensing and structured random matrices. Theoretical foundations and numerical methods for sparse recovery, 9(1):92, 2010. (Cited on page 4.)
[39] Patrik Reizinger, Alice Bizeul, Attila Juhos, Julia E Vogt, Randall Balestriero, Wieland Brendel, and David Klindt. Cross-entropy is all you need to invert the data generating process. arXiv preprint arXiv:2410.21869, 2024. (Cited on pages 4, 6, and 23.)
[40] Roland Zimmermann, David Klindt, and Wieland Brendel. Measuring Mechanistic Interpretability at Scale Without Humans. NeurIPS, 2024. URL https://openreview.net/forum?id=M8yBcvRvwn. (Cited on pages 8, 8, and 28.)
[41] Najib J Majaj, Ha Hong, Ethan A Solomon, and James J DiCarlo. Simple learned weighted sums of inferior temporal neuronal firing rates accurately predict human core object recognition performance. Journal of Neuroscience, 35(39):13402–13418, 2015. (Cited on pages 8, 9, and 28.)
[42] Minyoung Huh, Brian Cheung, Tongzhou Wang, and Phillip Isola. The platonic representation hypothesis. arXiv preprint arXiv:2405.07987, 2024. (Cited on page 9.)
[43] Christian K Machens, Tim Gollisch, Olga Kolesnikova, and Andreas VM Herz. Testing the efficiency of sensory coding with optimal stimulus ensembles. Neuron, 47(3):447–456, 2005. (Cited on page 9.)
[44] Jerome Y Lettvin, Humberto R Maturana, Warren S McCulloch, and Walter H Pitts. What the frog’s eye tells the frog’s brain. Proceedings of the IRE, 47(11):1940–1951, 2007. (Cited on page 9.)
[45] Yifeng Zhang, In-Jung Kim, Joshua R Sanes, and Markus Meister. The most numerous ganglion cell type of the mouse retina is a selective feature detector. Proceedings of the National Academy of Sciences, 109(36):E2391–E2398, 2012. (Cited on page 9.)
Supplement
8 Proofs
8.1 Assumptions
We delineate the assumptions for our theoretical framework in three parts: General assumptions shared across all settings, assumptions specific to the Generative setting, and assumptions specific to the Discriminative setting.
Assumption 8.1 (General Assumptions).
These assumptions hold for both the Generative and Discriminative settings.
(G1) Latent-to-Data Map: The data generation process is given by , where is a fixed, continuous, and invertible function. This ensures that the observation contains all information about the latent variables .
(G2) Log-linear True Posterior: The true relationship between latents and labels is for some matrix . The effective dimensionality is .
(G3) Learned Model Structure: The learner optimizes a continuous encoder with hidden dimensionality and a linear readout . The composite representation is . The model's predictive distribution is .
(G4) Global Optimality: We assume the training procedure finds a global minimizer of the population cross-entropy loss: .
8.2 General Lemmas
Lemma 8.1 (Centering Invariance). Let where is the mean over rows. Then for all . Consequently, all identifiability results depend only on the centered matrix , and we assume without loss of generality that is row-centered.
Proof. For any constant vector , since the shift cancels in the ratio. Setting , we have .
Remark 1. The shift-invariance of the softmax function means that the true posterior is unchanged if we add any constant vector to all rows of . What matters for identifiability is not itself, but rather the space spanned by row differences . However, working with row differences directly is cumbersome. Centering gives us a convenient equivalence: for a row-centered matrix, . This allows us to state identifiability results in terms of the simpler quantity .
Lemma 8.2 (Log-Ratio Identity). Assume the true posterior is and the learned model is . If at a given , then for any pair of classes :
where and are the y-th rows of U and respectively.
Proof. For the given , for all . Writing out the softmax probabilities:
Taking the log-ratio of probabilities for classes y and eliminates the partition functions:
Consequently, the identity holds throughout the support whenever the two continuous posteriors agree -almost surely.
Lemma 8.3 (Linearity from Inner Products). Let be a domain spanning , and let be a continuous function with . Suppose there exist two families of vectors and indexed by a set , satisfying:
If has dimension , then there exists a matrix with , such that:
where for all .
Proof.
Step 1: Dimension bound. We first show . Suppose for some coefficients . Taking the inner product with and applying (9):
Since spans , this implies . Thus, every linear dependence among induces a linear dependence among . This implies .
Step 2: Construction of A. Select indices such that forms a basis for . Let be the matrix with rows for , and let be the matrix with corresponding rows . The inner product conditions give for all .
Since the rows of C are linearly independent by construction, is invertible. Define:
Let be the orthogonal projection onto . We decompose:
Substituting :
By construction, and .
Step 3: Rank of A. Observe that . We now show that . Since is a basis for , for every , there exists a sequence such that . By Equation (9), we have for every ,
Hence for all , . Again, as spans , we have . That is, , is a linear combination of , i.e.
Thus, . For the rank of : since factors through , we have . Conversely, since has full row rank, . Thus .
8.3 Linear Identifiability
Theorem (Linear identifiability). Let Assumption 8.1 hold with . Every global minimizer of the cross-entropy satisfies
where has , and for all
Remark 2. The component lies in the null space of the readout matrix U and is therefore unconstrained by the classification loss; it may be nonlinear.
Proof. By Lemma 8.1, assume without loss of generality that is row-centered, so .
- Establishing the inner product identity. The decomposition of the cross-entropy loss in equation (3) gives
Because , take a rank factorization with inner dimension and pad it with zeros to obtain and satisfying . By Item G1, the continuous map is realizable by an admissible encoder. Thus is attained. Every global minimizer consequently has zero expected KL divergence, hence for -almost every .
We then invoke the Log-Ratio Identity (Lemma 8.2). For any pair of classes :
- Linearity of the encoder. Define the families and , with the natural indexing .
Since is centered with rank , the difference vectors span an -dimensional subspace of . The identity (10) gives for all and all .
Applying Lemma 8.3 yields:
where has and .
- The residual lies in the null space of . Since , we have .
To show equality on : from and , we have for any class pair :
This means for all , so is a constant vector. Since and constant vectors lie in rowspace( ) only if they are zero (by the centering of at optimality), we have , i.e., .
8.4 Non-identifiability
Theorem (Non-identifiability). Let Assumption 8.1 hold with . Assume that has nonempty interior , that is continuous and strictly positive on , and that for every candidate under consideration, . Then the global minimizer of the cross-entropy loss is generically nonlinear.
Remark 3. The support condition is automatic in the discriminative setting where has full support on . In the generative setting where , it amounts to assuming is not entirely confined to the boundary . This holds for generic and is needed only to make the variational argument below well-posed.
This does not mean that f is linear, but that it inverts g up to a linear transform: .
Proof. By Lemma 8.1, assume WLOG that is row-centered, so . We proceed by contradiction: assume some linear encoder with readout achieves the global minimum of , where . Since , .
For brevity, write , so that . The standard softmax-plus-cross-entropy gradient is
- Pointwise stationarity on . We first show that at the global minimum,
This is the pointwise consequence of global optimality, by the fundamental lemma of the calculus of variations.
Suppose for contradiction that there exists with . Since is continuous and is continuous in both arguments, is continuous. So there exists an open ball such that
Let be a smooth bump function supported in with . For , define the continuous perturbation
By Taylor’s theorem applied to , which is smooth in its first argument:
Since on and is positive on a set of positive measure, the integral is strictly positive. For small enough, , contradicting global optimality. Hence (12) holds.
TL;DR. Global minimization in expectation forces pointwise stationarity in h on the interior of . A localized bump perturbation in any direction with nonzero gradient would strictly decrease the integral.
- Restriction to . For , , so . Substituting into (11) and (12):
Let denote the rows of and their mean. The condition rearranges to
Substituting and clearing the partition function :
TL;DR. On , the encoder collapses to zero, so the predicted distribution is uniform regardless of . Stationarity then balances against the true posterior on this subspace.
- Linear independence of exponentials forces rank-1. Since is open in the subspace (intersection of a subspace with an open set in ), and , we may pick together with a direction such that:
(i) and the line segment for some open interval (possible since is open in );
(ii) the scalars are distinct across .
Condition (ii) holds for almost every : it fails only on a finite union of hyperplanes within , namely for . (The "generic" qualifier in the theorem statement covers the degenerate cases where has repeated rows or where lies entirely in the row-difference annihilator of . The latter cannot occur when for generic .)
Substituting into (13) and defining :
Projecting onto each coordinate gives a scalar identity
Since the exponentials with distinct are linearly independent in , all vanish. Hence for every , and since :
TL;DR. Sliding z along a one-parameter ray in turns the constraint into a vanishing exponential sum with distinct exponents. Linear independence forces every coefficient to vanish, collapsing to rank one.
- Contradiction via strict improvement. By (14), , so for every :
which is a constant vector in . Consequently, for all , and the loss is
To derive a contradiction, we exhibit a linear pair with strictly smaller loss. Define the deviation-expectation matrix as follows:
As , we have is row centralized. Let be the SVD decomposition of . By Eckart–Young–Mirsky theorem, the best rank approximation of is . Then we define as:
Denote , thus . As , it directly gives . Now we write out the loss function for .
Here, notice that when , we have uniform and . Therefore, to prove contradiction, we need only prove equivalently.
TL;DR. Once collapses to rank one, the network outputs uniform predictions and incurs the entropy bound . Any linear encoder that “shifts” the latent variable in the direction of the difference between the true distribution and the uniform distribution, i.e. , will achieve strictly lower loss.
This completes the contradiction, so no linear encoder achieves the global minimum.

8.5 Permutation Identifiability
8.5.1 Axis-Aligned Neurons (Generative Setting)
Additional Assumptions
Assumption 8.2 (Generative Setting Assumptions).
These assumptions apply to the generative setting where we seek axis-alignment.
(GEN1) Non-negative Assumptions: The latent space is . The activation space is , e.g., from ReLU networks.
(GEN2) Exponential Conditionals: The true conditional follows a factorized exponential family:
(GEN3) Constant Conditional Entropy: The product is independent of . Combined with a uniform prior , this yields with .
(GEN4) Fixed within-class population variance: For a constant C > 0 shared by all admissible representations,
(GEN5) Energy Constraint: Among global minimizers satisfying (15), the learner selects the solution minimizing .
Theorem (Axis-aligned neurons). Following Assumption 8.1 and Assumption 8.2, in the generative setting with , let be any minimizer of among the cross-entropy global minimizers. Then
where is a permutation matrix and with . That is, the representation is identifiable up to permutation and component-wise positive scaling.
Proof.
We divide the proof into four steps.
- Pure linear representation under exact capacity. By Theorem 4.1, every global minimizer of the cross-entropy satisfies
where has rank . Since ,
Thus has full column rank and . Hence for every , so , with invertible.
- The linear map is entrywise non-negative. By GEN1, for every . In particular, by evaluating on the coordinate rays, each column is non-negative. Therefore
- Attainable lower bound of . Let , . Under GEN2,
Consequently,
(16)
The conditional bias–variance identity of GEN5 and (16) give
(17)
Because for all , and , every term added to 2C is non-negative. Hence .
It remains essential to show that this lower bound is feasible under all constraints. Let
Then is non-negative and invertible,
so is an admissible global minimizer and . Hence the minimum activation energy is attained and is equal to 2C.
- Equality forces a positive scaled permutation. Let denote the linear map of any activation-energy minimizer. Equality in (17) and strict positivity of every imply
Thus every row of is at most one-sparse. Since is an invertible matrix, every row is nonzero and two rows cannot use the same column. Therefore every row and every column contains exactly one positive entry. For a permutation and positive numbers ,
and hence .
8.5.2 Compressed Sensing Recovery (Discriminative Setting)
Additional Assumptions
Assumption 8.3 (Discriminative Setting Assumptions).
These assumptions apply to the discriminative setting where we analyze compressed sensing recovery.
(DIS1) Low-Rank Factorization: The true weight matrix factorizes as , where is a measurement matrix and is a readout matrix. Since , this implies the task depends only on .
(DIS2) Latent Sparsity: The latent variables are k-sparse: for all .
(DIS3) Sparse injectivity: The true operator satisfies , equivalently,
Theorem (Compressed sensing recovery). Following Assumption 8.1 and Assumption 8.3, in the discriminative setting with , assume , latents are k-sparse, and . Let denote the orthogonal projector onto and define the classifier-visible representation . Then the learned encoder satisfies . Consequently, , and can be recovered from the unique k-sparse solution of
Proof. By Lemma 8.1, assume without loss of generality that is row-centered.
- Linear identifiability. Since with , we have . With , Theorem 4.1 implies the learned encoder is linear:
with and .
- Matching nullspaces. We show . By the Log-Ratio Identity (Lemma 8.2), for any :
Since and , we can rewrite both sides:
where . Now suppose , i.e., . Then the LHS vanishes for all class pairs . Hence, we have . Additionally, since and has full row rank, we have . Thus,
That is, and . As this means that is full column rank and . Thus and
Conversely, both and have rank , so:
Combined with the inclusion above, we conclude .
- Factorization . Since and have the same nullspace of rank , their row spaces are identical. This means there exists an left invertible matrix such that:
To see this explicitly: let be a QR decomposition where is orthogonal and has the same row space as . Since has the same row space, we can write for some full-rank . Then , giving .
- Sparse recovery. For any two distinct k-sparse vectors satisfying , consider their difference , which is at most 2k-sparse. We have:
Since is invertible, if and only if . As spark(, no nonzero -sparse vector lies in . Therefore , i.e., .
Thus is injective on -sparse vectors. Given , the latent can be recovered via standard sparse coding algorithms (e.g., Basis Pursuit, Lasso, or OMP), which find the sparsest solution to .
Corollary (Basis Pursuit recovery). Following Theorem 4.4, suppose additionally that satisfies the Null Space Property (NSP) of order . Then satisfies the same property as . Consequently, every -sparse latent is the unique solution of
Proof. The Null Space Property depends only on the null space. It is therefore inherited by A from , and the conclusion follows from the standard equivalence between NSP of order k and uniform exact Basis-Pursuit recovery of all k-sparse vectors.
9 Experimental Details
Hardware & Software. All simulations were executed on a single NVIDIA Tesla V100 (32 GB) GPU. The software environment comprised Python 3.12.3, PyTorch 2.2.2 compiled against CUDA 12.1 and cuDNN 8902, and scikit-learn 1.6.1.

Figure 5: Empirical Results. Same as in main text but with exponential instead of ReLU nonlinearity, which is easier to optimize in this setting. Top left) DGP with latents on a hypersphere [19, 20], training a neural network with a linear representation (i.e., no final activation function, blue) and a non-negative representation (i.e., scale normalization and exponential nonlinearity as final activation function, orange); Disentanglement is measured up to arbitrary linear transformations. Bottom left) same as top left, but disentanglement is measured only up to permutations, measuring axis-aligned latent variable recovery. Top right) Our proposed sparse DGP with exponential distributions over non-negative latent variables, same architectures as on the left (with/without activation function), linear disentanglement reported. Bottom right) same as top right but individual, axis-aligned disentanglement measured. Shaded areas in all plots indicate standard error of the mean over 10 random seeds.

Figure 6: Optimization Dynamics. A) MCC curves over 10 random seeds. B) Same as A, but with batch normalisation and exponential nonlinearity. C) ReLU models with better final performance have a flatter power spectrum. D) Adding weight decay 0.03 improves convergence for ReLU model.
Random Seeds. Every figure and table reports the mean ± s.e.m. over ten independent runs. We deterministically set seed= 42 + i with , forwarding the value to NumPy, PyTorch (CPU and CUDA), and Python’s random module.
Hyper-parameters. All optimiser and model settings were adopted verbatim from the study by Reizinger et al. [39] (see their Sec. 4.2 and App. B). Re-using this validated grid eliminates the risk of inadvertently tuning hyper-parameters to our synthetic benchmarks.
9.1 Axis-aligned Neurons ( )
For the full-capacity experiments we considered five latent variables. In the sparse condition each component followed an exponential distribution with rate , whereas in the hyperspherical condition latents were drawn from a von Mises–Fisher distribution with concentration and subsequently normalised to unit length. Latents were assigned to one of class prototypes, obtained once per seed by sampling random unit vectors and performing nearest-neighbour assignment. Every configuration used latent-label pairs.
A fixed, invertible forward map —implemented as an MLP with layer widths , SiLU activations, and orthonormal weight initialisation—generated the observations. The encoder mirrored this architecture. Its output layer was either left linear or constrained to be non-negative. In the main text we achieved non-negativity with a ReLU; in Fig. 5 of the supplement we instead applied an element-wise exponential followed by scale-only batch normalisation (denoted ), which improves gradient flow in this toy setting. A linear classifier was trained jointly with under a cross-entropy objective.
Optimisation used Adam with default -parameters (0.9, 0.999), , a learning-rate of , batch size 512, and no weight decay unless explicitly noted. Training proceeded for 50 000 gradient steps (approximately 500 epochs).
We quantified linear alignment by the of an ordinary-least-squares fit , averaged across dimensions. Axis alignment was measured by the mean-correlation coefficient (MCC) of Hyvärinen and Morioka [18], obtained after Hungarian matching between recovered axes and ground-truth latents.
Optimization Dynamics. As shown in Figure 1, although the non-negative encoder eventually resolves the axes, its convergence is noticeably slower. We wanted to know what causes the very slow convergence, beyond the fact that it has to converge to a permutation. In Fig. 6B we tried using a different activation function (exponential) and scale (batch) normalization to alleviate potential gradient issues in the ReLU activation. While this seemed to improve convergence in many cases, it is not ideal because, in contrast to ReLU, this is not a common activation function so that insights in this setting are less likely to bear on real systems. In a different line of attack, we observed in Fig. 6C that the models which converged to a perfect solution tended to have a flatter power spectrum. This motivated the hypothesis that some penalty on the activation scale might be important—which is also an important assumption in prior work to obtain axis-alignment [29]. Again, in the spirit of using relevant building blocks, we tried a weight decay of 0.03 which did indeed lead to faster and more reliable convergence across all seeds (Fig. 6D).
To probe the optimisation dynamics, we varied only three factors relative to the base setting: the output activation (ReLU versus exp+BN), the weight-decay coefficient , and—when studying gradient-flow effects—replacement of ReLU by exp+BN. Power-spectrum slopes (panel C) were computed from the singular values of the centred activation matrix evaluated on the validation set.
Individual trajectories in Fig. 7A–D show that the sparse-ReLU encoder maintains high linear alignment but can approach axis alignment slowly and with substantial initialization dependence. Without weight decay, only 3/10 runs reached MCC ≥ 0.90 within updates, and final MCC had median 0.878 [IQR 0.816, 0.895]. At weight decay 0.003, 0.01, and 0.03, the corresponding success counts were 7/10, 9/10, and 10/10, and median final MCC was 0.946, 0.993, and 0.987, respectively. Among runs that reached the threshold, median time-to-threshold decreased from 640,000 updates without weight decay to 569,000, 297,000, and 133,500 updates at weight decay 0.003, 0.01, and 0.03, respectively. Thus, weight decay substantially improves the finite-budget reliability and speed of reaching highly axis-aligned solutions in this experiment, which suggests an optimization option for practice.
Assumption Ablations. We next perturb the assumptions underlying Theorem 4.3 one family at a time. Based on the previous results, we use weight decay 0.03 as the stable reference configuration for these ablations except for the energy-regularization panel. Each condition is trained for updates using ten paired initialization seeds same as the optimization dynamics analysis. Within each comparison, the class-scale vectors, nonlinear mixing function, training-batch seed, and evaluation set are held fixed.
The reference configuration attains linear alignment and MCC (Fig. 8). Violating constant conditional entropy primarily affects the stronger axis-alignment criterion. With a bias-free readout, increasing the across-class standard deviation of the conditional-entropy term to 2 nats reduces MCC to , while linear alignment remains . Allowing

E Optimization reliability
Hypersphere DGP
Sparse DGP
D
Figure 7: Seed-level optimization dynamics and finite-budget reliability. A–D) Exact-capacity experiments under a hyperspherical DGP (A,C) and the class-conditional sparse exponential DGP (B,D), using a linear output (blue) or a non-negative ReLU output (orange). A,B show alignment up to an unrestricted linear map, whereas C,D show permutation-and-scaling axis alignment measured by MCC. Thin lines denote individual initialization seeds, thick lines denote their mean, and shaded bands denote ± s.e.m. over ten seeds. All A–D runs use zero weight decay. E) Paired weight-decay sweep for the sparse-ReLU condition. The upper panel shows final MCC; orange points denote individual runs, gray lines connect the same initialization across weight-decay values, and the counts report the number of runs reaching MCC ≥ 0.90. The lower panel shows the first update at which this threshold was reached. Black bars denote the median and interquartile range. Red crosses denote runs that did not reach the threshold within the -update budget.
the theoretically matched affine readout largely absorbs the resulting class-dependent logit offsets, restoring linear alignment to and MCC to .
Moderate conditional dependence is comparatively well tolerated. At Gaussian copula correlation 0.5, linear alignment and MCC remain 0.971 and 0.968, respectively. Mean-matched Gamma and Weibull conditionals likewise retain MCC 0.990 and 0.984, whereas the matched log-normal condition reduces MCC to 0.668. These results indicate that exponentiality and conditional independence are useful sufficient conditions but that modest departures from either assumption need not eliminate axis alignment in this finite-sample setting.
Signed latent support produces a sharper degradation: MCC falls to 0.770 when latent signs are flipped with probability 0.1, and to 0.049 at probability 0.5. By contrast, LeakyReLU and even a linear output attain MCC 0.987 and 0.968, respectively, under the regularized reference configuration. Removing weight decay leaves linear alignment near 0.999 but reduces MCC to , compared with MCC 0.994 at weight decay 0.03.
These ablations should not be interpreted as tests of whether each assumption is individually necessary. The assumptions of Theorem 4.3 jointly provide a sufficient population-level guarantee, whereas the experiments measure the solutions selected by a particular finite-sample optimization procedure, which is a more practical scenario. Accordingly, persistence of axis alignment after an assumption is relaxed shows empirical robustness in this setup. Conversely, degradation identifies practically important boundaries.

B
C
Conditional distribution
D
E
Output activation
F
Figure 8: Sensitivity to the assumptions of the axis-alignment result. Each point shows mean ± s.e.m. over ten paired initialization seeds after updates. Blue denotes held-out alignment up to an unrestricted linear map, and orange denotes permutation-and-scaling MCC. A) Class-dependent conditional entropy, with both bias-free and affine-readout controls. B) Conditional dependence introduced through a Gaussian copula while preserving the exponential marginals. C) Alternative class-conditional marginal families matched in conditional mean. D) Signed latent support introduced by independently flipping latent signs. E) Relaxations of output non-negativity using LeakyReLU and a linear output. F) AdamW weight decay. All other data-generation, training, and evaluation randomness is shared across paired conditions.

Figure 9: Training Dynamics under undercomplete regime. CE loss as a function of gradient update step for linear (solid blue) and MLP (dashed orange) encoders, across three latent distributions with encoder dimensions (lighter shades indicate smaller ). Shaded areas indicate standard error of the mean over 10 random seeds.
9.2 Non-identifiability in the Undercomplete Regime
For the undercomplete experiments we fixed the latent and effective dimensions at and the number of classes at . The teacher weight matrix was constructed via the low-rank factorisation , where and were built from the leading columns of independent QR decompositions of random Gaussian matrices with flat (unit) singular values, so that by construction. Soft labels were computed from latents drawn from three distributions: exponential , standard Gaussian, and uniform hyperspherical.
Two encoder architectures sharing the same input/output dimensions were compared: a bias-free linear encoder and an MLP with three hidden layers of width 128, ReLU activations, and a linear output projection to with no final nonlinearity. In both cases a bias-free linear readout was trained jointly with the encoder under soft cross-entropy. The encoder dimension was swept over , straddling the theoretical threshold at . Optimisation used Adam ( , ) with learning rate , batch size 512, and 12,000 gradient steps without weight decay. After training, was evaluated by sampling with . Every configuration was repeated over ten random seeds ( ), with model initialisations re-seeded deterministically as a function of all hyperparameters to ensure full reproducibility. Figure 2 reports the mean s.e.m. across seeds.
We also report the training dynamics in Figure 9. Through three latent distributions (Exponential, Gaussian and Hyperspherical), the MLP consistently attains lower final CE than the linear encoder at every , with the gap closing as approaches the capacity threshold; at , all architectures converge to comparable values, consistent with the Theorem 4.2 prediction.
9.3 Compressed Sensing Recovery
For the compressed sensing experiments we set the full latent dimension to , the effective dimension to , and the number of classes to . The measurement matrix was drawn as a random Gaussian matrix with -normalised columns. The readout was drawn from an independent Gaussian, and the teacher was set to with by construction. Latents were -sparse non-negative: the support of size was drawn uniformly at random and the nonzero entries sampled from , with all other entries set to zero. The sparsity level was swept over . Since Theorem 4.4 requires , all three values satisfy the NSP condition.
A bias-free linear encoder with , , was trained jointly with a bias-free linear readout under soft cross-entropy against teacher labels . Optimisation used Adam ( , ) with initial learning rate and a cosine annealing schedule over 20,000 gradient steps at batch size 512 without weight decay. Throughout training we logged and the row-space alignment , where and are orthonormal bases of and obtained via QR decomposition to measure the similarity between the and .
Three recovery methods were applied to the compressed activations : supervised Lasso ( regression with and non-negativity constraint, solved per sample), dense linear OLS (fitted on 5,000 training samples and applied to 1,000 test samples), and unsupervised dictionary learning followed by sparse coding (sklearn DictionaryLearning with components, , coordinate-descent fitting, and trained on without access to ). Recovery quality was assessed by for supervised methods and by the mean correlation coefficient (MCC) with Hungarian matching between recovered and ground-truth latent dimensions for all methods. Each configuration was repeated over ten independent seeds ( ). Results are reported in Figure 3.
9.4 Real-data Analyses
Vision models. We examined four ImageNet-trained networks: VGG-19 BN, ResNet-50, ViT-b/16, and DINOv2 ViT-S/14. All images from the 50 000-sample ImageNet-1K validation set were resized to pixels and normalised according to the respective preprocessing pipelines. We extracted activations from layer fc6 (4096 units) in VGG-19, the global-average-pooled penultimate layer (2048 units) in ResNet-50, and the class token (768 and 384 units, respectively) in the two Vision Transformers.
Large-language models. For GPT-2 small (124 M parameters), Pythia-70 M, and TinyLlama-1.1 B we generated single-token sentences containing each of the 100 000 most frequent Wikipedia unigrams. We recorded the last-token MLP activations from the final transformer block and computed semantic similarity using GPT-2-small embeddings (768-d), thereby avoiding circularity in the MIS calculation.
Biological data. Neuronal firing rates were taken from the inferior-temporal cortex recordings of Majaj et al. [41]. Following the original preprocessing (square-root transformation and per-neuron normalisation), we analysed 58 neurons from subject 0 and 110 neurons from subject 1, each viewing 3 200 natural images.
Evaluation metrics. Neuron interpretability was quantified with the Mechanistic Interpretability Score (MIS) of Zimmermann et al. [40], using 100 reference items and 10 queries per reference. To assess representational overlap between two models we computed the Maximum Matching Unit (MMU): for every neuron in model 1 we took the largest absolute Pearson correlation with any neuron in model 2. Correlations reported in Fig. 4C–E were tested two-sided against the null hypothesis .