The Geometric Wall: Manifold Structure Predicts Layerwise Sparse Autoencoder Scaling Laws

Eslam Zaher, Maciej Trzaskowski, Quan Nguyen, Fred Roosta

TL;DR

Sparse autoencoders (SAEs) are widely used to extract interpretable, linear features from large language models, but their reconstruction performance varies drastically from layer to layer. This paper demonstrates that this variation is not random; it is precisely predicted by the underlying geometry—specifically the curvature and intrinsic dimension—of the activation manifold. When these geometric properties mismatch the flat, linear assumptions of SAEs, the models hit an irreducible "geometric wall" of reconstruction error that cannot be overcome simply by scaling up dictionary size.

What Problem Does This Paper Address?

Mechanistic interpretability often relies on the Linear Representation Hypothesis (LRH), which posits that neural networks represent concepts as linear directions in activation space. SAEs operationalize this by trying to reconstruct model activations using a sparse linear basis.

While previous scaling laws suggested that SAE performance follows a universal power law relative to dictionary width and sparsity, these laws were typically fitted to a single layer. In reality, SAE reconstruction error fluctuates sharply across different layers of the same model. The authors tackle this mystery by proposing that activation space is actually a curved, multi-dimensional manifold rather than a flat, global vector space. This creates a geometric mismatch: a flat linear dictionary cannot uniformly approximate a curved space, causing the scaling behavior of SAEs to be highly layer-dependent.

Methods

The authors design a two-stage statistical framework to analyze 844 publicly available residual-stream SAE checkpoints across two model sizes:

  1. Stage 1 (Per-Layer Scaling Surface Fits): For each layer, they fit a scaling-law surface mapping the reconstruction loss against dictionary width ($n$) and sparsity ($k$). For a subset of "showcase layers" with rich width data, they fit an expanded law that accounts for an asymptotic error floor ($B$).
  2. Stage 2 (Cross-Layer Geometric Regression): They regress the scaling parameters extracted from Stage 1 against four extrinsic Euclidean geometric summaries calculated directly from the activation point clouds:
  3. Intrinsic Dimension ($d_{\text{int}}$): The local degrees of freedom of the manifold.
  4. Multi-scale Curvature ($\kappa_{\text{ms}}$): How much the manifold bends away from its local tangent plane.
  5. Tangent Variation ($\kappa_{\text{tv}}$): The rate at which the tangent space rotates between nearby points.
  6. Heterogeneity ($\nu$): The local roughness or non-uniformity of the intrinsic dimension.

They validate the regression using a closed-form leave-K-layer-out cross-validation protocol and test for cross-model transferability.

Datasets

  • C4 (Colossal Clean Crawled Corpus) Validation Set: Used for the primary analysis. The authors carefully partition the data by document index (sequences 0–5K for geometry estimation, 5K–10K for error measurement) to ensure the geometric summaries do not overfit to token-level artifacts.
  • WikiText-103: Employed as an independent cross-corpus validation set for error measurement to confirm that the observed depth profiles are not specific to the C4 corpus.

Key Insights and Ideas

  • The "Geometric Wall" vs. Resource Ceilings: Traditional scaling laws imply that if you make an SAE wide enough, reconstruction error will approach zero. This paper introduces the concept of a geometry-dependent wall: because an SAE maps flat affine subspaces to a curved manifold, it leaves behind an irreducible second-order residual. No amount of compute or dictionary width can eliminate this floor in low-sparsity regimes.
  • Curvature is the Dominant Channel: Multi-scale curvature ($\kappa_{\text{ms}}$) stands out as the single most critical factor depressing the width-scaling exponent ($\alpha$). Put simply, flatter activation manifolds are significantly easier for linear dictionaries to span efficiently.
  • Cross-Model Transferability: The mathematical function mapping manifold geometry to the SAE scaling rate is preserved across model scales. The exact regression coefficients learned on a 2B parameter model successfully predict the layerwise scaling exponents of a 9B parameter model.

Key Results

  • Geometry Predicts Scaling Rates: As shown in Figure 1, layerwise reconstruction errors closely track the "hunchback" profile of intrinsic dimension and the plateauing profile of curvature across network depth.
Phenomenology of layerwise SAE reconstruction and geometric summaries for Gemma 2 9B
  • High Explanatory Power: In Gemma 2 9B, regressing the width-scaling exponent against multi-scale curvature alone yields an impressive leave-one-out (LOO) $R^2$ of $0.869$ (Table 1).
  • Predicting the Asymptotic Floor: At the showcase layers where the error floor is identifiable, the vertical ordering of the fitted floors perfectly matches the geometric ordering of the layers (Figure 2). Layers with higher curvature and higher intrinsic dimensions consistently exhibit a higher irreducible error floor.
Per-layer width-scaling exponents and showcase fits showing the geometric wall

Limitations and Future Work

  • Training Schedule Confounders: The analyzed SAEs were trained using a width-dependent token budget rather than being fully convergence-matched, meaning the absolute values of the scaling exponents are tied to the specific training schedule of the Gemma Scope family.
  • Scope Constraints: The study is limited to the residual stream of two specific models. Extending this geometric analysis to attention and MLP sublayers, or to other architectures (like TopK or Gated SAEs), remains future work.
  • Proxy Quantities: The geometric summaries used are $k$-NN proxies computed in ambient Euclidean space. A complete characterization would require calculating the true pullback Fisher–Rao information metric via the model's Jacobian, which is currently computationally prohibitive for large models.
  • Next-Gen Disentanglement: The authors suggest that instead of forcing flat linear combinations onto curved spaces, future interpretability tools should focus on developing non-linear, geometry-grounded sparse decompositions (e.g., local atlas charts or mixture-of-charts dictionaries).

Summary updated

BibTeX
@inproceedings{zaher2026geometric,
  author = {Eslam Zaher and Maciej Trzaskowski and Quan Nguyen and Fred Roosta},
  title = {{The Geometric Wall: Manifold Structure Predicts Layerwise Sparse Autoencoder Scaling Laws}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7eqIUZyAMz},
}
Figure