mlsanityData to 14 Oct 2026

Length-Induced Embedding Collapse in PLM-based Models

arXiv 2410.24200 ↗First posted 31 Oct 2024cs.CL cs.AI cs.IRcited by 9

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  6. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  7. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  8. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  9. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  10. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  11. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  12. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
27 more
  1. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
  2. 2020SummEval: Re-evaluating Summarization Evaluationcited by 674
  3. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  4. 2020Fact or Fiction: Verifying Scientific Claimscited by 554
  5. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
  6. 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
  7. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
  8. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
  9. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
  10. 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
  11. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
  12. 2020A Note on Over-Smoothing for Graph Neural Networkscited by 249
  13. 2024Generative Representational Instruction Tuningcited by 233
  14. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 202
  15. 2022MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languagescited by 146
  16. 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
  17. 2022Dense Text Retrieval based on Pretrained Language Models: A Surveycited by 136
  18. 2020Top2Vec: Distributed Representations of Topicscited by 126
  19. 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
  20. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 108
  21. 2023Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documentscited by 104
  22. 2023Search-in-the-Chain: Interactively Enhancing Large Language Models with Search for Knowledge-intensive Taskscited by 73
  23. 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 48
  24. 2021TWEAC: Transformer with Extendable QA Agent Classifierscited by 37
  25. 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
  26. 2019Evaluation of Sentence Representations in Polishcited by 18
  27. 2023Linear Log-Normal Attention with Unbiased Concentrationcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.