Reproducing and Extending Causal Insights Into Term Frequency Computation in Neural Rankers
Cile van Marken, Roxana Petcu
TL;DR
This work investigates the causal underpinnings of relevance computation in neural rankers by reproducing and extending activation patching in information retrieval. It tests $TFC1$ and extends to $TFC2$ using diagnostic MS-MARCO datasets and a TAS-B ranker, locating term-frequency signals to specific attention heads (e.g., 0.9, 1.6, 2.3) and showing aggregation in the CLS token. Results show partial alignment with $TFC1$ and reveal that adherence to the axiom is inconsistent when term frequency is incrementally increased, with $TFC2$ behavior suggesting sublinear gains and dataset-sensitive effects. The findings highlight the sensitivity of causal conclusions to diagnostic design and motivate more robust, axiom-based interpretability work in neural information retrieval.
Abstract
Neural ranking models have shown outstanding performance across a variety of tasks, such as document retrieval, re-ranking, question answering and conversational retrieval. However, the inner decision process of these models remains largely unclear, especially as models increase in size. Most interpretability approaches, such as probing, focus on correlational insights rather than establishing causal relationships. The paper 'Axiomatic Causal Interventions for Reverse Engineering Relevance Computation in Neural Retrieval Models' by Chen et al. addresses this gap by introducing a framework for activation patching - a causal interpretability method - in the information retrieval domain, offering insights into how neural retrieval models compute document relevance. The study demonstrates that neural ranking models not only capture term-frequency information, but also that these representations can be localized to specific components of the model, such as individual attention heads or layers. This paper aims to reproduce the findings by Chen et al. and to further explore the presence of pre-defined retrieval axioms in neural IR models. We validate the main claims made by Chen et al., and extend the framework to include an additional term-frequency axiom, which states that the impact of increasing query term frequency on document ranking diminishes as the frequency becomes higher. We successfully identify a group of attention heads that encode this axiom and analyze their behavior to give insight into the inner decision-making process of neural ranking models.
