Length-Induced Embedding Collapse in PLM-based Models
Not on the map. Why?
Abstract (arXiv)
Text embeddings from PLM-based models enable a wide range of applications, yet their performance often degrades on longer texts. In this paper, we introduce a phenomenon we call Length Collapse, where embeddings of longer texts tend to cluster together. This clustering results in a distributional inconsistency between the embeddings of short and long texts. We further investigate how these differences contribute to the performance decline observed with longer texts across various downstream tasks. Through a rigorous theoretical analysis of the self-attention mechanism, which acts as a low-pass filter in PLM-based models, we demonstrate that as text length increases, the strength of low-pass filtering intensifies, causing embeddings to retain more low-frequency components. As a result, input token features become more similar, leading to clustering and ultimately the collapse of embeddings for longer texts. To address this issue, we propose a simple method, TempScale, which mitigates the Length Collapse phenomenon. By narrowing the gap in low-pass filtering rates between long and short texts, TempScale ensures more consistent embeddings across different text lengths. This approach leads to performance improvements of 0.94% on MTEB and 1.10% on LongEmbed, which focuses specifically on long-context retrieval, providing strong evidence for the validity of our analysis. The source code is available at https://github.com/Yuqi-Zhou/Length_Collapse.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 39 of its 69 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
39 of 69 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
27 more
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2020SummEval: Re-evaluating Summarization Evaluationcited by 674
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
- 2020A Note on Over-Smoothing for Graph Neural Networkscited by 249
- 2024Generative Representational Instruction Tuningcited by 233
- 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 202
- 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 146
- 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
- 2022Dense Text Retrieval based on Pretrained Language Models: A Surveycited by 136
- 2020Top2Vec: Distributed Representations of Topicscited by 126
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 108
- 2023Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documentscited by 104
- 2023Search-in-the-Chain: Interactively Enhancing Large Language Models with Search for Knowledge-intensive Taskscited by 73
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 48
- 2021TWEAC: Transformer with Extendable QA Agent Classifierscited by 37
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
- 2019Evaluation of Sentence Representations in Polishcited by 18
- 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2026ARC: Active and Reflection-driven Context Management for Long-Horizon Information Seeking Agentscited by 7
- 2026Sharper Generalization Bounds for Transformercited by 3
- 2025Patent Representation Learning via Self-supervisioncited by 2
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrixcited by 1
- 2026Pooling and Semantic Shift: The Fundamental Challenges in Long Text Embedding and Retrievalcited by 1
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agentscited by 1
- 2025Language-agnostic, automated assessment of listeners' speech recall using large language modelscited by 0
- 2025LLM generation novelty through the lens of semantic similaritycited by 0
- 2026GRIP: Geometric Refinement and Adaptive Information Potential for Data Efficiencycited by 0
- 2026Tool Specifications Matter: Uncovering and Mitigating Safety Risks in AI Agents31 Jul 2026
- 2026Sharper Generalization Bounds for Transformer23 Mar 2026
- 2026Pooling and Semantic Shift: The Fundamental Challenges in Long Text Embedding and Retrieval22 Mar 2026
- 2026GRIP: Geometric Refinement and Adaptive Information Potential for Data Efficiency4 Feb 2026
- 2026ARC: Active and Reflection-driven Context Management for Long-Horizon Information Seeking Agents17 Jan 2026
- 2025Patent Representation Learning via Self-supervision3 Nov 2025
- 2025LLM generation novelty through the lens of semantic similarity31 Oct 2025
- 2025Gaussian Equivalence for Self-Attention: Asymptotic Spectral Analysis of Attention Matrix8 Oct 2025
- 2025Language-agnostic, automated assessment of listeners' speech recall using large language models2 Mar 2025