Are Neural Ranking Models Robust?

Chen Wu, Ruqing Zhang, Jiafeng Guo, Yixing Fan, Xueqi Cheng · DOI

Abstract

Neural ranking models (NRMs) have revolutionized Information Retrieval (IR) by delivering high average performance on standard benchmarks. However, average metrics like Mean Average Precision (MAP) often obscure a model's fragility in non-ideal conditions. This paper addresses the lack of a systematic understanding of robustness in neural ranking. We introduce a three-dimensional taxonomy to evaluate robustness: performance variance, out-of-distribution (OOD) generalizability, and defensive ability. Our evaluation across various architectures—from traditional probabilistic models to massive pre-trained transformers—reveals that while NRMs offer stability in standard settings, they are surprisingly vulnerable to adversarial perturbations and distribution shifts.

1. Introduction

In the pursuit of effectiveness, the IR community has largely focused on optimizing average performance. While this has led to the dominance of neural architectures, it overlooks the "tail" of the distribution where models might fail catastrophically. Robustness—the ability of a system to maintain performance under abnormal or adversarial situations—is critical for deploying these models in real-world applications like search engines, where they face SEO spam, typos, and diverse query distributions.

2. A Taxonomy of Robustness in IR

To systematically evaluate ranking models, we propose a taxonomy that defines robustness through three distinct lenses:

  1. Performance Variance: Measures the stability of performance across individual queries in an Identically and Independently Distributed (I.I.D.) setting, focusing on "worst-case" scenarios.
  2. Out-of-Distribution (OOD) Generalizability: Assesses how well a model generalizes to unforeseen query types (e.g., shifting from "Location" to "Numeric" queries) or entirely new corpora.
  3. Defensive Ability: Evaluates resilience against adversarial operations, specifically character/word-level query attacks and malicious document manipulation.
A three-dimensional taxonomy of robustness for ranking models in Information Retrieval.

3. Experimental Methodology

The study benchmarks a wide array of models, including traditional probabilistic models (BM25, QL), Learning-to-Rank (LTR) frameworks (LambdaMART), and neural architectures ranging from interaction-based models (DRMM) to pre-trained transformers (BERT, ColBERT).

3.1 Datasets

The evaluation utilizes three standard IR corpora (MQ2007, Robust04, and MS MARCO) alongside specialized adversarial and OOD sets. The characteristics of the primary datasets are summarized below.

Statistics of the standard IR corpora used in the evaluation.

To test OOD generalizability, MS MARCO was partitioned into five subsets based on query intent (Location, Numeric, Person, Description, Entity). Defensive ability was tested using character-level edits (Add, Remove, Substitute, Swap) and the Adversarial Search Collection (ASRC), where documents were specifically engineered to deceive ranking algorithms.

4. Key Insights and Results

Our analysis yields several critical findings regarding the current state of NRM robustness:

  • The Complexity Paradox: There is an inverse relationship between model complexity and certain forms of robustness. Traditional models like BM25 often prove more "honest" and resilient to document manipulation than deep neural networks, which can be easily misled by adversarial text.
  • Vulnerability of Tokenization: Pre-trained models like BERT are highly susceptible to character-level typos. Because they rely on WordPiece tokenization, a single character change can decompose a word into meaningless sub-tokens, leading to a performance drop of up to 27.6%. In contrast, older models like DSSM, which utilize character-level n-gram hashing, saw only a 0.8% drop under similar attacks.
  • Pre-training and Stability: Despite their typo-sensitivity, pre-trained models (BERT/ColBERT) exhibit the lowest performance variance (VNAP). Their rich linguistic knowledge allows them to handle "difficult" queries more consistently than traditional models in standard settings.
  • OOD Performance Gaps: Most models experienced performance degradation exceeding 30% when transferred to unforeseen query types, highlighting significant limitations in the current transfer learning paradigm for IR.

5. Conclusion and Future Work

While neural ranking models have pushed the boundaries of IR effectiveness, their lack of robustness remains a significant hurdle for real-world deployment. Future research should focus on developing robust pre-training objectives, hybrid architectures that combine the linguistic depth of transformers with the noise-tolerance of character-level hashing, and unified metrics for evaluating ranking robustness.

Summary updated

BibTeX
@article{wu2021are,
  author = {Chen Wu and Ruqing Zhang and Jiafeng Guo and Yixing Fan and Xueqi Cheng},
  title = {{Are Neural Ranking Models Robust?}},
  journal = {ACM Trans. Information Systems},
  year = {2021},
  doi = {10.1145/3534928},
}
Figure