On the Predictive Power of Representation Dispersion in Language Models
Not on the map. Why?
Abstract (arXiv)
We show that a language model's ability to predict text is tightly linked to the breadth of its embedding space: models that spread their contextual representations more widely tend to achieve lower perplexity. Concretely, we find that representation dispersion--the average pairwise cosine distance among hidden vectors--strongly and negatively correlates with perplexity across diverse model families (LLaMA, Qwen, and others) and domains (Wikipedia, news, scientific abstracts). Beyond illustrating this link, we show how dispersion can be leveraged for a range of practical tasks--without requiring labeled data. First, measuring dispersion on unlabeled text allows us to rank examples by difficulty and identify hard slices in new domains, offering a data-efficient tool for screening and prioritizing models before full evaluation. Next, we find that identifying layers with higher dispersion pinpoints the best representations for retrieval-based methods such as kNN-LM, bypassing exhaustive layer-by-layer searches. Finally, we integrate a simple "push-away" objective into training, which increases dispersion in both single-domain and cross-domain scenarios and directly improves perplexity in each. Code is available at https://github.com/yanhong-lbh/rep_dispersion.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 23 of its 30 references that are in the map. First posted on arXiv 30 Jun 2025.
Builds on
23 of 30 references.
References · 23
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
- 2022The Vendi Score: A Diversity Evaluation Metric for Machine Learningcited by 311
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 276
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 255
- 2017All-but-the-Top: Simple and Effective Postprocessing for Word Representationscited by 212
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 159
11 more
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2023The geometry of hidden representations of large transformer modelscited by 112
- 2023Intrinsic Dimension Estimation for Robust Detection of AI-Generated Textscited by 112
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2024What Happened in LLMs Layers when Trained for Fast vs. Slow Thinking: A Gradient Perspectivecited by 29
- 2023Bridging Information-Theoretic and Geometric Compression in Language Modelscited by 26
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2025The Intrinsic Dimension of Prompts in Internal Representations of Large Language Modelscited by 17
- 2025How Instruction and Reasoning Data shape Post-Training: Data Quality through the Lens of Layer-wise Gradientscited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2026Seeing without Looking: Do Vision-Language Benchmarks Really Test Vision?cited by 6
- 2025An LLM-based Agentic Framework for Accessible Network Controlcited by 2
- 2026Dispersion Loss Counteracts Embedding Condensation and Improves Generalization in Small Language Modelscited by 2
- 2026The Geometric Canary: Predicting Steerability and Detecting Drift via Representational Stabilitycited by 0
- 2026Contrastive Regularization for Accent-Robust ASRcited by 0
- 2026Global Divergence, Local Convergence: Representation Geometry in SSMs and Transformerscited by 0
- 2026Before Attention Sinks Form: Hidden-State Geometry Reveals and Modulates Their Formationcited by 0
- 2026Before Attention Sinks Form: Hidden-State Geometry Reveals and Modulates Their Formation12 Oct 2026
- 2026Global Divergence, Local Convergence: Representation Geometry in SSMs and Transformers8 Sep 2026
- 2026Seeing without Looking: Do Vision-Language Benchmarks Really Test Vision?21 May 2026
- 2026Contrastive Regularization for Accent-Robust ASR5 May 2026
- 2026The Geometric Canary: Predicting Steerability and Detecting Drift via Representational Stability20 Apr 2026
- 2026Dispersion Loss Counteracts Embedding Condensation and Improves Generalization in Small Language Models30 Jan 2026
- 2025An LLM-based Agentic Framework for Accessible Network Control24 Sep 2025