ABNIRML: Analyzing the Behavior of Neural IR Models

Sean MacAvaney, Sergey Feldman, Nazli Goharian, Doug Downey, Arman Cohan
11/2/2020
66 citations
cs.CLcs.IR

Official code: allenai/abnirml (5 stars, Python, Apache-2.0, last commit 2022-10-19).

Abstract

Pretrained contextualized language models such as BERT and T5 have established a new state-of-the-art for ad-hoc search. However, it is not yet well-understood why these methods are so effective, what makes some variants more effective than others, and what pitfalls they may have.

Show full abstract

We present a new comprehensive framework for Analyzing the Behavior of Neural IR ModeLs (ABNIRML), which includes new types of diagnostic probes that allow us to test several characteristics -- such as writing styles, factuality, sensitivity to paraphrasing and word order -- that are not addressed by previous techniques. To demonstrate the value of the framework, we conduct an extensive empirical study that yields insights into the factors that contribute to the neural model's gains, and identify potential unintended biases the models exhibit. Some of our results confirm conventional wisdom, like that recent neural ranking models rely less on exact term overlap with the query, and instead leverage richer linguistic information, evidenced by their higher sensitivity to word and sentence order. Other results are more surprising, such as that some models (e.g., T5 and ColBERT) are biased towards factually correct (rather than simply relevant) texts. Further, some characteristics vary even for the same base language model, and other characteristics can appear due to random variations during model training.

View on arXivView PDF

Code Implementations(1)

allenai/abnirmlOfficial100%
Apache-2.0

ABNIRML: Analyzing the Behavior of Neural IR Models

50PythonMay 9, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{macavaney2020abnirml,
  title  = {ABNIRML: Analyzing the Behavior of Neural IR Models},
  author = {Sean MacAvaney and Sergey Feldman and Nazli Goharian and Doug Downey and Arman Cohan},
  year   = {2020},
  eprint = {2011.00696},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.00696}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.00696.svg)](https://codeofpaper.com/paper/2011.00696)

Discussion