From Directions to Regions: Decomposing Activations in Language Models via Local Geometry
Or Shafran, Shaked Ronen, Omri Fahn, Shauli Ravfogel, Atticus Geiger, Mor Geva
TL;DR
The paper introduces Mixtures of Factor Analyzers (MFA) to model language-model activation spaces as a collection of region-centered, low-dimensional subspaces, addressing limitations of global-direction approaches. By decomposing activations into region centroids and within-region variation, MFA captures nonlinear, multi-dimensional structures and enables both localization and causal steering. Large-scale experiments on Llama-3.1-8B and Gemma-2-2B show MFA outperforms unsupervised baselines in localization, competes with supervised methods, and provides stronger, more interpretable steering than sparse autoencoders. The authors advocate a local-geometry view of activation space as a scalable unit for concept discovery and control, and release code and trained MFAs to support further research.
Abstract
Activation decomposition methods in language models are tightly coupled to geometric assumptions on how concepts are realized in activation space. Existing approaches search for individual global directions, implicitly assuming linear separability, which overlooks concepts with nonlinear or multi-dimensional structure. In this work, we leverage Mixture of Factor Analyzers (MFA) as a scalable, unsupervised alternative that models the activation space as a collection of Gaussian regions with their local covariance structure. MFA decomposes activations into two compositional geometric objects: the region's centroid in activation space, and the local variation from the centroid. We train large-scale MFAs for Llama-3.1-8B and Gemma-2-2B, and show they capture complex, nonlinear structures in activation space. Moreover, evaluations on localization and steering benchmarks show that MFA outperforms unsupervised baselines, is competitive with supervised localization methods, and often achieves stronger steering performance than sparse autoencoders. Together, our findings position local geometry, expressed through subspaces, as a promising unit of analysis for scalable concept discovery and model control, accounting for complex structures that isolated directions fail to capture.
