Deep Relevance Ranking Using Enhanced Document-Query Interactions

Ryan T. McDonald, Georgios-Ioannis Brokos, Ion Androutsopoulos

Abstract

We explore several new models for document relevance ranking, building upon the Deep Relevance Matching Model (DRMM) of Guo et al. (2016). Unlike DRMM, which uses context-insensitive encodings of terms and query-document term interactions, we inject rich context-sensitive encodings throughout our models, inspired by PACRR's (Hui et al., 2017) convolutional n-gram matching features, but extended in several ways including multiple views of query and document inputs. We test our models on datasets from the BIOASQ question answering challenge (Tsatsaronis et al., 2015) and TREC ROBUST 2004 (Voorhees, 2005), showing they outperform BM25-based baselines, DRMM, and PACRR.

Introduction

Ad-hoc retrieval—the task of ranking documents by relevance to a query—has traditionally relied on term frequency models like BM25. While effective, these methods often fail to capture semantic nuances. Early deep learning approaches, such as the Deep Relevance Matching Model (DRMM), introduced word embeddings to address this. However, these models often suffer from "context blindness," treating words as isolated entities regardless of their surrounding text. Furthermore, the use of non-differentiable components like similarity histograms limits end-to-end trainability. This work introduces architectures that leverage context-sensitive encodings and differentiable interaction layers to overcome these limitations.

Methodology

The proposed models extend the DRMM framework by enhancing the interaction between query terms ($q$) and document terms ($d$).

Context-Sensitive Term Encodings

Instead of static embeddings, we employ Bidirectional Long Short-Term Memory (BiLSTM) networks. This allows the model to generate word representations that incorporate local context, distinguishing between different meanings of polysemous words based on their usage in a sentence.

ABEL-DRMM and POSIT-DRMM

We introduce two primary architectures designed for end-to-end differentiability:

  1. ABEL-DRMM (Attention-Based ELement-wise DRMM): This model replaces rigid histograms with a differentiable attention mechanism. It computes a document-aware query term encoding by weighting document terms based on their similarity to the query term.
  2. POSIT-DRMM (POoled SImilariTy DRMM): This architecture simplifies interactions using max-pooling and $k$-max pooling over similarity scores. This approach rewards both the single strongest match and the overall density of relevant matches within a document.

Multiple Views (+MV)

A key innovation is the "Multiple Views" approach, which processes query-document interactions through three distinct lenses simultaneously:

  • Context-sensitive: BiLSTM-based encodings.
  • Context-insensitive: Standard pre-trained embeddings.
  • Exact Match: One-hot encodings to preserve the model's ability to identify literal keyword matches.
The POSIT-DRMM architecture illustrating the Multiple Views approach, combining context-sensitive, context-insensitive, and one-hot encodings.

Experimental Setup

Models were evaluated as re-rankers for the top candidates returned by a BM25 engine on two benchmarks:

  • BioASQ: A biomedical dataset with ~18 million MEDLINE articles.
  • TREC Robust 2004: A general-purpose retrieval benchmark with ~528,000 documents.

Results and Discussion

The POSIT-DRMM+MV model consistently outperformed all baselines. On the BioASQ dataset, it achieved a Mean Average Precision (MAP) of 51.0, compared to 46.1 for BM25 and 49.3 for the original DRMM. Similar gains were observed on TREC Robust 2004.

Performance comparison of various IR systems on the BioASQ dataset. The proposed enhanced interaction models significantly outperform traditional and deep learning baselines.

The results highlight several key insights:

  • Contextual Importance: The shift to context-sensitive models confirms that the relevance of a term match is highly dependent on its surrounding context.
  • The Value of Exact Matching: The success of the "+MV" models demonstrates that literal keyword matching remains a vital component of effective retrieval, even when using sophisticated neural representations.
  • End-to-End Trainability: Replacing discrete histograms with differentiable pooling and attention allows the model to fine-tune its internal representations specifically for the ranking task.

Conclusion

By integrating context-sensitive encodings and multi-view interaction layers, our models significantly advance the state-of-the-art in neural document ranking. While these models are currently computationally intensive and best suited for re-ranking, they bridge a significant portion of the performance gap between traditional methods and theoretical "Oracle" performance. Future work will focus on improving efficiency and leveraging larger-scale pre-training.

Summary updated

Abstract

We explore several new models for document relevance ranking, building upon the Deep Relevance Matching Model (DRMM) of Guo et al. (2016). Unlike DRMM, which uses context-insensitive encodings of terms and query-document term interactions, we inject rich context-sensitive encodings throughout our models, inspired by PACRR's (Hui et al., 2017) convolutional n-gram matching features, but extended in several ways including multiple views of query and document inputs. We test our models on datasets from the BIOASQ question answering challenge (Tsatsaronis et al., 2015) and TREC ROBUST 2004 (Voorhees, 2005), showing they outperform BM25-based baselines, DRMM, and PACRR.
BibTeX
@inproceedings{mcdonald2018deep,
  author = {Ryan T. McDonald and Georgios-Ioannis Brokos and Ion Androutsopoulos},
  title = {{Deep Relevance Ranking Using Enhanced Document-Query Interactions}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1211},
}
Figure