Contextual Document Embeddings
John Xavier Morris, Alexander M. Rush
摘要
Dense document embeddings are central to neural retrieval. The dominant paradigm is to train and construct embeddings by running encoders directly on individual documents. In this work, we argue that these embeddings, while effective, are implicitly out-of-context for targeted use cases of retrieval, and that a document embedding should take into account both the document and neighboring documents in context -analogous to contextualized word embeddings. We propose two complementary methods for contextualized document embeddings: first, an alternative contrastive learning objective that explicitly incorporates document neighbors into the intra-batch contextual loss; second, a new contextual architecture that explicitly encodes neighbor document information into the encoded representation. Results show that both methods achieve better performance than biencoders in several settings, with differences especially pronounced out-of-domain. We achieve stateof-the-art results on the MTEB benchmark with no hard negative mining, score distillation, dataset-specific instructions, intra-GPU example-sharing, or extremely large batch sizes. Our method can be applied to improve performance on any contrastive learning dataset and any biencoder.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Training compute-optimal transformer encoder models 引用了 ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval 引用了 ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
- LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval 引用了 Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval 引用了 Contrastive Learning with Hard Negative Samples
- Contrastive Learning with Hard Negative Samples 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Context is Gold to find the Gold Passage: Evaluating and Training Contextual Document Embeddings 引用了 ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT
- Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining 引用了 A Simple Framework for Contrastive Learning of Visual Representations
引用它的顶会 Paper8
- Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch MiningRaghuveer Thirukovalluru, Rui Meng, Ye Liu, Karthikeyan K 等NeurIPS 2025 · 30 次引用
- DRAMA: Diverse Augmentation from Large Language Models to Smaller Dense RetrieversXueguang Ma, Xi Victoria Lin, Barlas Oguz, Jimmy Lin 等ACL 2025 · 20 次引用
- Training compute-optimal transformer encoder modelsMegi Dervishi, Alexandre Allauzen, Gabriel Synnaeve, Yann LeCunEMNLP 2025 · 1 次引用
- LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense RetrievalYanzhen Shen, Sihao Chen, Xueqiang Xu, Yunyi Zhang 等EMNLP 2025 · 1 次引用
- Context is Gold to find the Gold Passage: Evaluating and Training Contextual Document EmbeddingsMax Conti, Manuel Faysse, Gautier Viaud, Antoine Bosselut 等EMNLP 2025 · 1 次引用
它引用的 Paper18
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang 等ICLR 2021 · 1,547 次引用
- ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 次引用
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
- Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 次引用
相关 Paper
- CODER: An efficient framework for improving retrieval through COntextual Document Embedding RerankingGeorge Zerveas, Navid Rekabsaz, Daniel Cohen, Carsten EickhoffEMNLP 2022 · 10 次引用
- Embedding-based In-Context Prompt Training for Enhancing LLMs as Text EncodersAiliang Lin, Zhuoyun Li, Keyu Mao, Kotaro Funakoshi 等ACL Findings 2026
- Leveraging Cognitive Complexity of Texts for Contextualization in Dense RetrievalEffrosyni Sokli, Georgios Peikos, Pranav Kasela, Gabriella PasiEMNLP 2025
- GeAR: Generation Augmented RetrievalHaoyu Liu, Shaohan Huang, Jianfeng Liu, Yuefeng Zhan 等ACL Findings 2025
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding ModelsChankyu Lee, Rajarshi Roy, Mengyao Xu, Jonathan Raiman 等ICLR 2025
