paper-with-me

Papers

Contextual Document Embeddings

2024-10-03 · John X. 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 contextualized 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 the 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 state-of-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.

📄 PDF Abstract BibTeX arXiv:2410.02525

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive LearningDocument EmbeddingGPUMTEB BenchmarkRetrievalWord Embeddings

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

CMDR: Contextual Multimodal Document Retrieval

2026-07-07 · Ryota Tanaka, Taku Hasegawa, Kyosuke Nishida arxiv

Multimodal document retrieval aims to retrieve relevant pages while preserving both textual and visual content from the original document. However, existing benchmarks primarily evaluate simple lexical or semantic matchi…

Contrastive Learning

CWTM: Leveraging Contextualized Word Embeddings from BERT for Neural Topic Modeling

2023-05-16 · Zheng Fang, Yulan He, Rob Procter

Most existing topic models rely on bag-of-words (BOW) representation, which limits their ability to capture word order information and leads to challenges with out-of-vocabulary (OOV) words in new documents. Contextualiz…

Document ClassificationLanguage ModellingNatural Language UnderstandingNER+3

RepBERT: Contextualized Text Embeddings for First-Stage Retrieval

2020-06-28 · Jingtao Zhan, Jiaxin Mao, Yiqun Liu, Min Zhang 외

Although exact term match between queries and documents is the dominant method to perform first-stage retrieval, we propose a different approach, called RepBERT, to represent documents and queries with fixed-length conte…

Passage RankingRetrieval

ConTextING: Granting Document-Wise Contextual Embeddings to Graph Neural Networks for Inductive Text Classification

2022-10-01 · COLING 2022 10 · Yen-Hao Huang, Yi-Hsin Chen, Yi-Shin Chen

Graph neural networks (GNNs) have been recently applied in natural language processing. Various GNN research studies are proposed to learn node interactions within the local graph of each document that contains words, se…

text-classificationText ClassificationWord Embeddings

Enhancing Keyphrase Extraction from Long Scientific Documents using Graph Embeddings

2023-05-16 · Roberto Martínez-Cruz, Debanjan Mahata, Alvaro J. López-López, José Portela

In this study, we investigate using graph neural network (GNN) representations to enhance contextualized representations of pre-trained language models (PLMs) for keyphrase extraction from lengthy documents. We show that…

Graph Neural NetworkKeyphrase Extraction