Abstract
Despite the rising popularity of saliency-based explanations, the research community remains at an impasse, facing doubts concerning their purpose, efficacy, and tendency to contradict each other. Seeking to unite the community’s efforts around common goals, several recent works have proposed evaluation metrics. In this paper, we critically examine two sets of metrics: the ERASER metrics (comprehensiveness and sufficiency) and the EVAL-X metrics, focusing our inquiry on natural language processing. First, we show that we can inflate a model’s comprehensiveness and sufficiency scores dramatically without altering its predictions or explanations on in-distribution test inputs. Our strategy exploits the tendency for extracted explanations and their complements to be “out-of-support” relative to each other and in-distribution inputs. Next, we demonstrate that the EVAL-X metrics can be inflated arbitrarily by a simple method that encodes the label, even though EVAL-X is precisely motivated to address such exploits. Our results raise doubts about the ability of current metrics to guide explainability research, underscoring the need for a broader reassessment of what precisely these metrics are intended to capture.
Introduction
In natural language processing (NLP), "saliency-based" explanations highlight specific input tokens to justify a model's prediction. As these explanations become more prevalent, the need for objective evaluation grows. The community has turned to automated benchmarks like ERASER and EVAL-X to measure "faithfulness"—the degree to which an explanation accurately reflects a model's underlying reasoning.
ERASER relies on two primary metrics: comprehensiveness (the drop in model confidence when explanation tokens are removed) and sufficiency (the model's confidence when only explanation tokens are present). EVAL-X was designed to detect "cheating," where a model encodes its predicted label directly into the explanation tokens. This research demonstrates that both benchmarks are highly susceptible to Goodhart's Law: when a measure becomes a target, it ceases to be a good measure.
Methods: Gaming the ERASER Benchmark
The primary vulnerability in removal-based metrics like ERASER is that they evaluate models on "out-of-distribution" (OOD) text. Masked or partial sentences look nothing like the natural language used during training. We introduce a model-agnostic "Meta-Algorithm" that exploits this gap.
The Meta-Algorithm acts as a wrapper around existing models. It employs a highly accurate "case detector" to classify inputs into three categories: original text, explanation-only (for sufficiency tests), or non-explanation (for comprehensiveness tests). When an original input is detected, the model behaves normally. However, when a masked input is detected, the wrapper's "Confidence Manipulator" artificially inflates or deflates the output scores to perfectly maximize the benchmark metrics. This manipulation occurs without changing the actual explanations presented to the user.
Bypassing EVAL-X
EVAL-X attempts to prevent models from encoding labels into explanations. We demonstrate that this can be bypassed using simple statistical encoding schemes that do not rely on the model's internal weights. One such method, the Token-label Likelihood Ratio, selects tokens that have high statistical correlations with the predicted label in the training data. Another method involves training a proxy of the EVAL-X evaluator to find tokens that will trick the benchmark into outputting the desired label.
Experimental Results
We evaluated these exploits across several datasets in the ERASER benchmark, including Movies (sentiment analysis), BoolQ (question answering), and FEVER (fact verification).
The results show massive score inflation. On the Movies dataset, the Meta-Algorithm increased the comprehensiveness score for Attention-based explanations from 0.18 to 0.89. Even more strikingly, when using the Meta-Algorithm with completely random token highlights, the model achieved higher faithfulness scores than legitimate saliency methods like LIME or Integrated Gradients that were not optimized to game the metric. On the BoolQ dataset, the Meta-Algorithm achieved a perfect combined faithfulness score of 1.00.
Regarding EVAL-X, the Token-label Likelihood Ratio successfully encoded labels into as few as 10 tokens while maintaining an evaluator accuracy of 83.7%, far exceeding the threshold used to flag cheating.
Discussion and Conclusion
Our findings suggest that current NLP explainability metrics are fundamentally flawed. Because removal-based metrics rely on OOD inputs, they are trivially easy to detect and manipulate. This allows for "fairwashing," where a malicious actor could hide biased features while maintaining high faithfulness scores on paper.
The failure of EVAL-X to detect simple statistical encoding further underscores the difficulty of defining and measuring faithfulness. We conclude that the research community must move beyond these easily gamed automated metrics and establish more mathematically rigorous definitions of saliency that are robust to optimization pressure.
Summary updated