keyword
counterfactual attention
Counterfactual attention refers to an alternative or artificially altered configuration of attention weights used in machine learning interpretability to analyze how shifting focus across input features impacts a model prediction. In neural networks equipped with attention mechanisms, these hypothetical distributions are generated through techniques such as random permutation or adversarial optimization to present an alternate weighting of input elements. By observing whether these substituted weights cause meaningful changes in the output, researchers use counterfactual attention to evaluate the causal faithfulness and explanatory validity of the original attention scores, particularly to test whether vastly different attention patterns can yield identical model outcomes.
1 item

