Beyond Output Faithfulness: Diagnosing and Mitigating Pathway Rerouting in Feature Attribution
Abstract
Insertion and deletion are standard metrics for evaluating feature
attributions by progressively adding or removing pixels. While they test
whether attributed features control a model output, they do not verify
whether they do so through the computation that supports the clean
prediction. We study this distinction with Ensemble Quantile Optimization (EQO),
a differentiable method that directly optimizes the insertion sequence.
On CNNs, Unconstrained EQO attains the highest insertion scores while departing
from clean representations and retaining its insertion score after channels
supporting the clean prediction are ablated. Together, these results reveal
pathway rerouting that output-only metrics cannot detect. On a Vision
Transformer, target predictions from black inputs and attention deviation
expose the same failure.
To address this, we introduce ClipGrad, a layer-wise gradient
filter that preserves clean activation trajectories during optimization.
ClipGrad suppresses rerouting exploits while maintaining high output
sensitivity across convolutional networks and Vision Transformers, and
token intervention confirms this mitigation on the Transformer. These
results show that output sensitivity is necessary but insufficient: a faithful
attribution must control the output through internal computation used for the
clean prediction.