DREQ: Document Re-Ranking Using Entity-based Query Understanding

Shubham Chatterjee, Iain Mackie, Jeff DaltonarXiv 2024

TL;DR

DREQ (Document Re-Ranking Using Entity-based Query Understanding) is a novel neural re-ranking model that introduces a "retrieve-harness-rerank" paradigm for Information Retrieval. By dynamically weighting a document's entities based on their specific relevance to a query and blending this with traditional text embeddings, DREQ achieves state-of-the-art performance across multiple benchmarks, showing massive improvements on the most challenging search queries.

What Problem Does This Paper Address?

Modern search engines typically use a two-stage "retrieve-then-rerank" architecture. First, a fast retriever (like BM25) fetches a broad set of candidate documents. Then, a sophisticated deep learning model re-ranks these candidates to ensure the most relevant results appear at the top.

While entity-oriented neural models have emerged to bridge the gap between unstructured text and structured knowledge graphs, they suffer from a major flaw: they treat all entities within a document as equally important, or they generate query-agnostic document representations.

In reality, an entity's importance depends entirely on the query. For example, if a user searches for "Black Bear Attacks," a document mentioning a bear encounter might contain the entities Parks Highway (a location famous for bear sightings) and National Guard (the protagonist's employer). While Parks Highway is highly relevant to the query's context, National Guard is completely peripheral. DREQ addresses this gap by dynamically emphasizing query-relevant entities while attenuating irrelevant ones.

Methods

DREQ implements a multi-step pipeline to construct a query-specific, hybrid document representation:

  1. Entity Ranking: The model pools all entities from candidate documents. It uses a BERT-based architecture to score each entity ($e$) against the query ($Q$) by leveraging the entity's DBpedia description. This generates a relevance score, $S(e, Q)$.
  2. Entity-Centric Representation: Entities within a document are represented using Wikipedia2Vec embeddings. DREQ computes a query-specific entity-centric document embedding ($V_{ed}^Q$) as a weighted sum of these embeddings, using softmax-normalized relevance scores as weights.
  3. Text-Centric Representation: Concurrently, the raw text of the document is segmented into passages, passed through BERT, and averaged to form a broad context vector ($V_{td}^Q$).
  4. Hybrid Blending: The entity-centric and text-centric vectors are concatenated and projected via a linear layer into a single hybrid document embedding ($d^Q$).
  5. Fine-Grained Interaction: To capture subtle relationships, DREQ computes three distinct interactions between the query embedding ($Q$) and the hybrid document embedding ($d^Q$): addition (commonalities), subtraction (differences), and Hadamard multiplication (subtle relationships). These are stacked alongside the original embeddings and fed into a final linear layer to output the document's relevance score.
Fig. 1: Our proposed system DREQ uses a hybrid document embedding learnt using (1) the query-specific entity-centric embedding, and (2) text embedding of the document to learn the document score.

Datasets

The authors evaluated DREQ on four large-scale, established document ranking benchmarks:

  • CODEC: A benchmark focused on complex research topics in the social sciences (finance, history, politics).
  • TREC Robust 2004: A dataset specifically designed to test poorly performing, highly challenging topics. Evaluation was performed on both short "title" and longer "description" queries.
  • TREC News 2021: Evaluated on the background linking task, which requires retrieving contextually relevant articles for a given news story.
  • TREC Core 2018: A diverse news-domain dataset utilizing the TREC Washington Post collection.

Key Insights and Ideas

  • The Power of Dynamic Weighting: An ablation study revealed that removing entity weightings (treating all entities uniformly) caused DREQ's performance to drop significantly. Stripping the probabilistic distinctions dilutes the document representation.
  • Hybrid Representations Win: Combining text-centric models (which capture broad narrative context) with entity-centric models (which capture distilled semantic concepts) provides a much more precise relevance signal than either approach alone.
  • Rescuing "Hard" Queries: Query performance prediction analysis showed that DREQ's biggest strength lies in handling exceptionally difficult queries where standard BM25 or baseline neural models fail completely. By aligning the document's core entities with the query's intent, it successfully surfaces highly relevant documents that were previously buried deep in the candidate pool.

Key Results

DREQ consistently outperformed all baseline models—including strong non-entity neural rankers (RoBERTa, DeBERTa, RankT5, ConvBERT) and entity-based models (ERNIE, EDRM)—across all datasets and evaluation metrics (MAP, nDCG@20, and Precision@20).

  • TREC Robust 2004 (Title): DREQ achieved an nDCG@20 of 0.75, dramatically outperforming the best baseline model, CEDR, which scored 0.55 (a 36% relative improvement).
  • Ablation Impact: Completely removing the entity component from DREQ caused its nDCG@20 on Robust04 to plummet from 0.75 to 0.26, demonstrating that entities are the absolute backbone of the model's effectiveness.
  • Alternative Weighting Failures: Replacing DREQ's supervised entity ranking with Reciprocal Rank (RR) weighting caused performance to drop to 0.54, proving that ordinal ranking is too coarse to capture the subtle probability differences between highly related entities.

Limitations and Future Work

While DREQ demonstrates remarkable effectiveness, the paper implies a few inherent limitations:

  • Dependency on Entity Linking: DREQ relies on an external entity linker (WAT was used in this study). If the entity linker fails to identify key entities or introduces noise, the quality of the entity-centric representation will degrade.
  • Computational Complexity: Performing entity extraction, entity ranking, and multi-vector interaction calculations during the re-ranking phase introduces additional computational overhead compared to pure text-centric bi-encoders (though the authors note that text and entity embeddings can be cached offline to mitigate inference latency).

Future work could explore tighter integration with end-to-end entity linking systems or adapting the framework to generative retrieval models.

Summary updated

BibTeX
@misc{chatterjee2024dreq,
  author = {Shubham Chatterjee and Iain Mackie and Jeff Dalton},
  title = {{DREQ: Document Re-Ranking Using Entity-based Query Understanding}},
  year = {2024},
  eprint = {2401.05939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.05939},
}
Figure