Abstract: The identification of relevance with little textual context is a primary challenge in passage retrieval. We address this problem with a representation-based ranking approach that: (1) explicitly models the importance of each term using a contextualized language model; (2) performs passage expansion by propagating the importance to similar terms; and (3) grounds the representations in the lexicon, making them interpretable. Passage representations can be pre-computed at index time to reduce query-time latency. We call our approach EPIC (Expansion via Prediction of Importance with Contextualization). We show that EPIC significantly outperforms prior importance-modeling and document expansion approaches. We also observe that the performance is additive with the current leading first-stage retrieval methods, further narrowing the gap between inexpensive and cost-prohibitive passage ranking approaches. Specifically, EPIC achieves a MRR@10 of 0.304 on the MS-MARCO passage ranking dataset with 78ms average query latency on commodity hardware. We also find that the latency is further reduced to 68ms by pruning document representations, with virtually no difference in effectiveness.
Introduction
Traditional document retrieval systems, such as those based on BM25, rely heavily on term frequency to determine relevance. However, passage retrieval introduces a "short text" problem: individual passages often lack sufficient term frequency signals to build reliable statistical models. While deep learning approaches—specifically interaction-based models using contextualized language models like BERT—have successfully addressed this by capturing deep linguistic context, they are computationally expensive. Running a full BERT model to compare a query against every candidate passage at query time introduces latencies that are often impractical for real-world, high-throughput search engines.
This paper introduces EPIC (Expansion via Prediction of Importance with Contextualization), a representation-based neural ranker designed to deliver the contextual understanding of BERT with the efficiency required for production environments.
Methodology
EPIC operates as a representation-based ranker, allowing query and document representations to be computed independently. This architecture enables the pre-computation and indexing of document representations, shifting the bulk of the computational load to index time.
The core mechanism involves projecting BERT-derived contextualized embeddings directly into the vocabulary space ($|V|$).
- Query Representation: The model uses BERT to generate embeddings for the query, which are then projected into a sparse vector. A learned function assigns an "importance weight" to each term present in the query.
- Document Representation & Expansion: For documents, EPIC generates a dense vector across the entire vocabulary. It projects each term's embedding into the vocabulary space, effectively predicting the importance of every word in the lexicon to that specific document. This process naturally performs document expansion by assigning weights to semantically related terms not explicitly present in the text.
- Scoring: At query time, the relevance score is the dot product between the sparse query vector and the pre-computed dense document vector.
Interpretability and Expansion
A key advantage of EPIC is its lexicon-grounded interpretability. Unlike dense retrieval models that use opaque latent spaces, EPIC's vector dimensions correspond directly to terms in the vocabulary. This allows researchers to inspect the model's "reasoning" by looking at which terms receive high importance weights.
As illustrated in the visualization, for a passage regarding "endless pools," EPIC assigns high weights to the original terms and successfully expands the representation with related concepts such as "cost," "price," and "paying." This demonstrates the model's ability to bridge the vocabulary gap between queries and passages without the need for explicit generative text augmentation.
Experimental Results
The authors evaluated EPIC on the MS-MARCO Passage Ranking dataset and TREC CAR (2017).
Performance and Latency
On MS-MARCO, EPIC achieved an MRR@10 of 0.304 with an average query latency of 78ms on commodity hardware. In comparison, a full BERT-Large re-ranker achieves a higher MRR (0.365) but at a cost of 3,500ms per query—nearly 45 times slower than EPIC.
Efficiency via Pruning
The dense document vectors produced by EPIC contain many near-zero values. The researchers found that keeping only the top 1,000 highest-weighted terms per document (pruning approximately 96.7% of the vocabulary) drastically reduces storage and latency. Pruning reduced the index size from 500 GiB to 34 GiB and lowered latency to 68ms, while maintaining an MRR@10 of 0.303.
Generalization and Additivity
EPIC's performance was found to be additive with existing discrete expansion techniques like docTTTTTquery. When used to re-rank results from docTTTTTquery, EPIC improved the MRR@10 to 0.304, a significant jump over the 0.277 achieved by docTTTTTquery alone. On the TREC CAR dataset, EPIC outperformed prior index-time approaches like DeepCT, improving the BM25 baseline MRR from 0.235 to 0.353.
Conclusion
EPIC addresses the "short text" challenge in passage retrieval by combining contextualized importance modeling with efficient lexicon-grounded representations. By enabling pre-computation and effective pruning, EPIC offers a scalable solution that narrows the gap between inexpensive lexical search and high-cost neural re-ranking. Future work will explore the scalability of this approach to full-length document retrieval.
Summary updated