mlsanityData to 7 Oct 2026

Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERT

arXiv 2402.07440 ↗First posted 12 Feb 2024cs.IR cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

Retrieval pipelines-an integral component of many machine learning systems-perform poorly in domains where documents are long (e.g., 10K tokens or more) and where identifying the relevant document requires synthesizing information across the entire text. Developing long-context retrieval encoders suitable for these domains raises three challenges: (1) how to evaluate long-context retrieval performance, (2) how to pretrain a base language model to represent both short contexts (corresponding to queries) and long contexts (corresponding to documents), and (3) how to fine-tune this model for retrieval under the batch size limitations imposed by GPU memory constraints. To address these challenges, we first introduce LoCoV1, a novel 12 task benchmark constructed to measure long-context retrieval where chunking is not possible or not effective. We next present the M2-BERT retrieval encoder, an 80M parameter state-space encoder model built from the Monarch Mixer architecture, capable of scaling to documents up to 32K tokens long. We describe a pretraining data mixture which allows this encoder to process both short and long context sequences, and a finetuning approach that adapts this base model to retrieval with only single-sample batches. Finally, we validate the M2-BERT retrieval encoder on LoCoV1, finding that it outperforms competitive Transformer-based models by at least 23.3 points, despite containing upwards of 90x fewer parameters.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 35 of its 58 references that are in the map. First posted on arXiv 12 Feb 2024.

Builds on

35 of 58 references.

References · 35

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  9. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  10. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  11. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  12. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
23 more
  1. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  2. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  3. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  4. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
  5. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
  6. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
  7. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  8. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  9. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  10. 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
  11. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  12. 2023Improving Text Embeddings with Large Language Modelscited by 295
  13. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
  14. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
  15. 2022Liquid Structural State-Space Modelscited by 134
  16. 2021Scaling Deep Contrastive Learning Batch Size under Memory Limited Setupcited by 123
  17. 2013A Theoretical Analysis of NDCG Type Ranking Measurescited by 119
  18. 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 62
  19. 2022Pretraining Without Attentioncited by 51
  20. 2021Orthogonal Projection Losscited by 44
  21. 2022Perfectly Balanced: Improving Transfer and Robustness of Supervised Contrastive Learningcited by 40
  22. 2023UDAPDR: Unsupervised Domain Adaptation via LLM Prompting and Distillation of Rerankerscited by 37
  23. 2022An Efficiency Study for SPLADE Modelscited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 9; 2025: 5; 2026: 7.

21 papers.

Sort:

By area:

  1. 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
  2. 2024BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrievalcited by 153
  3. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
  4. 2024Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Modelscited by 60
  5. 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
  6. 2025U-NIAH: Unified RAG and LLM Evaluation for Long Context Needle-In-A-Haystackcited by 20
  7. 2024CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generationcited by 18
  8. 2024Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrievalcited by 13
  9. 2024Length-Induced Embedding Collapse in PLM-based Modelscited by 9
  10. 2025Single-Pass Document Scanning for Question Answeringcited by 6
  11. 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
  12. 2024RARe: Retrieval Augmented Retrieval with In-Context Examplescited by 2
9 more
  1. 2025CliniBench: A Clinical Outcome Prediction Benchmark for Generative and Encoder-Based Language Modelscited by 1
  2. 2026STAIR (STructure Aware Information Retriever): A novel dataset and LLM based retriever for document structure augmentationcited by 1
  3. 2026KV-Embedding: Training-free Text Embedding via Internal KV Re-routing in Decoder-only LLMscited by 0
  4. 2025LLM2IR: simple unsupervised contrastive learning makes long-context LLM great retrievercited by 0
  5. 2026RubiConv -- Efficient Boundary-Respecting Convolutionscited by 0
  6. 2026EASE-TTT: Evidence-Aligned Selective Test-Time Training for Long-Context Question Answeringcited by 0
  7. 2026REIGN: Refurbished Embeddings with Integrated Guidance Networks for Efficient Context-Length Scalingcited by 0
  8. 2026Quasi Linear Kernel Attention with Infinite Capacitycited by 0
  9. 2026Selecting What Matters: Semantic Compression-Guided Selective Pooling for Long-Context Embeddingscited by 0