Context is Gold to find the Gold Passage: Evaluating and Training Contextual Document Embeddings
Max Conti, Manuel Faysse, Gautier Viaud, Antoine Bosselut, C\'eline Hudelot, Pierre Colombo

TL;DR
This paper introduces a benchmark and a novel training method to improve document embeddings by leveraging full document context, significantly enhancing retrieval performance and robustness.
Contribution
The paper presents ConTEB, a new benchmark for context-aware retrieval, and InSeNT, a contrastive training approach that improves contextual embedding quality.
Findings
InSeNT enhances retrieval accuracy on ConTEB.
Context-aware embeddings are more robust to chunking strategies.
The method maintains efficiency while improving contextual understanding.
Abstract
A limitation of modern document retrieval embedding methods is that they typically encode passages (chunks) from the same documents independently, often overlooking crucial contextual information from the rest of the document that could greatly improve individual chunk representations. In this work, we introduce ConTEB (Context-aware Text Embedding Benchmark), a benchmark designed to evaluate retrieval models on their ability to leverage document-wide context. Our results show that state-of-the-art embedding models struggle in retrieval scenarios where context is required. To address this limitation, we propose InSeNT (In-sequence Negative Training), a novel contrastive post-training approach which combined with late chunking pooling enhances contextual representation learning while preserving computational efficiency. Our method significantly improves retrieval quality on ConTEB…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsInformation Retrieval and Search Behavior · Topic Modeling · Domain Adaptation and Few-Shot Learning
MethodsBalanced Selection
