paper-with-me

홈 › Papers

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

2024-02-12 · Jon Saad-Falcon, Daniel Y. Fu, Simran Arora, Neel Guha, Christopher Ré

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.

📄 PDF Abstract BibTeX arXiv:2402.07440

Code (0)

등록된 구현이 없습니다.

Tasks

BenchmarkingChunkingGPULanguage ModellingRetrieval

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

LOCORE: Image Re-ranking with Long-Context Sequence Modeling

2025-03-27 · CVPR 2025 1 · Zilin Xiao, Pavel Suma, Ayush Sachdeva, Hao-Jen Wang 외

We introduce LOCORE, Long-Context Re-ranker, a model that takes as input local descriptors corresponding to an image query and a list of gallery images and outputs similarity scores between the query and each gallery ima…

Image RetrievalRe-RankingRetrieval

RippleMem: From Isolated Retrieval to Associative Recollection for Long-Term Agent Memory

2026-08-13 · Jingbo Ji, Lingyi Li, Xilong Cheng, Yuhao Zhou 외 arxiv

LLM-based agents increasingly rely on external memory to support long-horizon reasoning and interaction. However, the main bottleneck is not simply storing past experience, but recovering the right set of evidence when r…

Multi-Layered Memory Architectures for LLM Agents: An Experimental Evaluation of Long-Term Context Retention

2026-03-31 · Sunil Tiwari, Payal Fofadiya arxiv

Long-horizon dialogue systems suffer from semanticdrift and unstable memory retention across extended sessions. This paper presents a Multi-Layer Memory Framework that decomposes dialogue history into working, episodic, …

Computational Efficiency

AnchorMem: Anchored Facts with Associative Contexts for Building Memory in Large Language Models

2026-04-19 · Zhanyu Shen, Sijie Cheng, Zhicheng Guo, Weiqin Wang 외 arxiv

While large language models have achieved remarkable performance in complex tasks, they still need a memory system to utilize historical experience in long-term interactions. Existing memory methods (e.g., A-Mem, Mem0) p…

Logit-Contribution Scoring Identifies Non-Literal Retrieval Heads

2026-07-01 · Aryo Pradipta Gema, Beatrice Alex, Pasquale Minervini hf

In long-context use, large language models frequently synthesize answers from the meaning of a relevant context span rather than literally copy-pasting them. Identifying which attention heads perform this synthesis matte…

Arithmetic Reasoning