Embedding-Based Context-Aware Reranker
Ye Yuan, Mohammad Amin Shabani, Siqi Liu
TL;DR
This paper introduces Embedding-Based Context-Aware Reranker (EBCAR), a lightweight reranker that operates entirely on dense passage embeddings to enable fast, scalable inference. By augmenting passage embeddings with document IDs and positional encodings and applying a Transformer with a hybrid attention mechanism (shared full attention plus document-local masked attention), EBCAR models both inter-document and intra-document context to support cross-passage inference. Trained with a contrastive InfoNCE objective, EBCAR achieves strong ranking performance on the ConTEB benchmark, particularly on tasks demanding entity disambiguation and coreference resolution, while delivering significantly higher throughput than text-based or large-LM rerankers. The work demonstrates that embedding-space reranking with structural signals is a practical, accurate alternative for RAG pipelines in settings where cross-passage evidence must be aggregated across documents.
Abstract
Retrieval-Augmented Generation (RAG) systems rely on retrieving relevant evidence from a corpus to support downstream generation. The common practice of splitting a long document into multiple shorter passages enables finer-grained and targeted information retrieval. However, it also introduces challenges when a correct retrieval would require inference across passages, such as resolving coreference, disambiguating entities, and aggregating evidence scattered across multiple sources. Many state-of-the-art (SOTA) reranking methods, despite utilizing powerful large pretrained language models with potentially high inference costs, still neglect the aforementioned challenges. Therefore, we propose Embedding-Based Context-Aware Reranker (EBCAR), a lightweight reranking framework operating directly on embeddings of retrieved passages with enhanced cross-passage understandings through the structural information of the passages and a hybrid attention mechanism, which captures both high-level interactions across documents and low-level relationships within each document. We evaluate EBCAR against SOTA rerankers on the ConTEB benchmark, demonstrating its effectiveness for information retrieval requiring cross-passage inference and its advantages in both accuracy and efficiency.
