cs.LGAug 16, 2026

Sparse Prototype Code Underlies Classification and Prediction Across Modalities

Authors: Yehonatan Avidan, Daniel D. Lee, Haim Sompolinsky

Organizations: The Racah Institute of Physics, Hebrew University · Edmond and Lily Safra Center for Brain Sciences, Hebrew University · Department of Electrical and Computer Engineering, Cornell Tech, Cornell University · Center for Brain Science, Harvard University

Abstract

Neural representations have become a central tool for studying the internal mechanisms of modern AI models, yet their complex high-dimensional structure makes them difficult to interpret. We show that classification tasks give rise to a universal representational geometry, shared across state-of-the-art models in vision, audio, and language processing. The key structure is that within-class variability is not random in representation space. Instead, its classifier-relevant component has strong and structured correlations with the class's own centroid and with the centroids of its competing classes. Building on this observation, we derive an analytical mean-field theory governed mainly by the variability along true-class and rival-class centroid coordinates, together with a global renormalization of the class radius that compensates for the non-Gaussian statistics of real representations. The theory accurately predicts classification accuracy across architectures and modalities. The relevant geometric quantities improve systematically with model scale, mirroring the observed gains in accuracy. A striking feature of the theory is its sparsity: accurate prediction requires only a small set of centroid coordinates associated with the true class and its strongest rivals - connecting our framework to sparse-feature extraction approaches such as sparse autoencoders. Together, these results provide a parsimonious predictive theory of neural representations and suggest that classification in deep networks is governed by a sparse, centroid-aligned structure embedded within the full high-dimensional representation space.

Figures & tables

Appendix figures & tables19 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Beyond Neural Collapse: Task-Intrinsic Geometry Governs Neural Representations in Modular Arithmetic

    Jun 8, 2026Hu Tan, Kuo Gai, Shihua ZhangNeural Representation GeometryClassification

  2. Anchoring the Eigengap: Cross-Modal Spectral Stabilization for Sample-Efficient Representation Learning

    May 9, 2026Nikhil J. Dhinagar, Vidhi Chhatbar, Chirag Jagad +6Representation LearningSpectral Methods

  3. Directional Linear Separability of Neural Representations: Geometry and Transformations

    Jun 7, 2026Yi Wei, Xuan Qi, Suorong Yang +1Neural Representation GeometryLinear Classification