Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrieval
Not on the map. Why?
Abstract (arXiv)
This study investigates the existence of positional biases in Transformer-based models for text representation learning, particularly in the context of web document retrieval. We build on previous research that demonstrated loss of information in the middle of input sequences for causal language models, extending it to the domain of representation learning. We examine positional biases at various stages of training for an encoder-decoder model, including language model pre-training, contrastive pre-training, and contrastive fine-tuning. Experiments with the MS-MARCO document collection reveal that after contrastive pre-training the model already generates embeddings that better capture early contents of the input, with fine-tuning further aggravating this effect.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 35 of its 49 references that are in the map. First posted on arXiv 5 Apr 2024.
Builds on
35 of 49 references.
References · 35
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Reformer: The Efficient Transformercited by 1,658
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
23 more
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 266
- 2018WikiHow: A Large Scale Text Summarization Datasetcited by 203
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2021Optimizing Dense Retrieval Model Training with Hard Negativescited by 154
- 2021Scaling Deep Contrastive Learning Batch Size under Memory Limited Setupcited by 123
- 2022RetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encodercited by 118
- 2019Deeper Text Understanding for IR with Contextual Neural Language Modelingcited by 111
- 2023Llama2Vec: Unsupervised Adaptation of Large Language Models for Dense Retrievalcited by 77
- 2020PARADE: Passage Representation Aggregation for Document Rerankingcited by 44
- 2024User Embedding Model for Personalized Language Promptingcited by 28
- 2022Pre-train a Discriminative Text Encoder for Dense Retrieval via Contrastive Span Predictioncited by 23
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
- 2023DAPR: A Benchmark on Document-Aware Passage Retrievalcited by 9
- 2024Drop your Decoder: Pre-training with Bag-of-Word Prediction for Dense Passage Retrievalcited by 3
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 5.
13 papers.
Sort:
By area:
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 21
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
- 2024Unified Generative and Discriminative Training for Multi-modal Large Language Modelscited by 15
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaningcited by 10
- 2025Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generationcited by 9
- 2025StatEval: A Comprehensive Benchmark for Large Language Models in Statisticscited by 4
- 2026Answer Bubbles: Information Exposure in AI-Mediated Searchcited by 3
- 2026PosIR: Position-Aware Heterogeneous Information Retrieval Benchmarkcited by 2
- 2026Information Representation Fairness in Long-Document Embeddings: The Peculiar Interaction of Positional and Language Biascited by 2
- 2025ImpliRet: Benchmarking the Implicit Fact Retrieval Challengecited by 1
- 2026DP-RFT: Learning to Generate Synthetic Text via Differentially Private Reinforcement Fine-Tuningcited by 0
- 2026Masking or Mitigating? Deconstructing the Impact of Query Rewriting on Retriever Biases in RAG7 Apr 2026
- 2026Answer Bubbles: Information Exposure in AI-Mediated Search17 Mar 2026
- 2026DP-RFT: Learning to Generate Synthetic Text via Differentially Private Reinforcement Fine-Tuning20 Feb 2026
- 2026Information Representation Fairness in Long-Document Embeddings: The Peculiar Interaction of Positional and Language Bias23 Jan 2026
- 2026PosIR: Position-Aware Heterogeneous Information Retrieval Benchmark13 Jan 2026
- 2025StatEval: A Comprehensive Benchmark for Large Language Models in Statistics10 Oct 2025
- 2025ImpliRet: Benchmarking the Implicit Fact Retrieval Challenge17 Jun 2025
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaning10 Jun 2025
- 2025Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generation30 May 2025
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidence6 Mar 2025
- 2024Unified Generative and Discriminative Training for Multi-modal Large Language Models1 Nov 2024
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-tracking21 Sep 2024
1 more
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidencecited by 16
- 2025Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generationcited by 9
- 2026Masking or Mitigating? Deconstructing the Impact of Query Rewriting on Retriever Biases in RAGcited by 0
- 2026Masking or Mitigating? Deconstructing the Impact of Query Rewriting on Retriever Biases in RAG7 Apr 2026
- 2025Who is in the Spotlight: The Hidden Bias Undermining Multimodal Retrieval-Augmented Generation30 May 2025
- 2025Collapse of Dense Retrievers: Short, Early, and Literal Biases Outranking Factual Evidence6 Mar 2025
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaningcited by 10
- 2026Answer Bubbles: Information Exposure in AI-Mediated Searchcited by 3
- 2026PosIR: Position-Aware Heterogeneous Information Retrieval Benchmarkcited by 2
- 2026Information Representation Fairness in Long-Document Embeddings: The Peculiar Interaction of Positional and Language Biascited by 2
- 2025ImpliRet: Benchmarking the Implicit Fact Retrieval Challengecited by 1
- 2026DP-RFT: Learning to Generate Synthetic Text via Differentially Private Reinforcement Fine-Tuningcited by 0
- 2026Answer Bubbles: Information Exposure in AI-Mediated Search17 Mar 2026
- 2026DP-RFT: Learning to Generate Synthetic Text via Differentially Private Reinforcement Fine-Tuning20 Feb 2026
- 2026Information Representation Fairness in Long-Document Embeddings: The Peculiar Interaction of Positional and Language Bias23 Jan 2026
- 2026PosIR: Position-Aware Heterogeneous Information Retrieval Benchmark13 Jan 2026
- 2025ImpliRet: Benchmarking the Implicit Fact Retrieval Challenge17 Jun 2025
- 2025Position: Text Embeddings Should Capture Implicit Semantics, Not Just Surface Meaning10 Jun 2025
- 2024LongEmbed: Extending Embedding Models for Long Context Retrieval18 Apr 2024