Model Guidance via Robust Feature Attribution

Mihnea Ghitu, Vihari Piratla, Matthew Wicker
6/24/2025
cs.LG

Official code: Mihneaghitu/ModelGuidanceViaRobustFeatureAttribution (0 stars, GPL-3.0, last commit 2025-06-25).

Abstract

Controlling the patterns a model learns is essential to preventing reliance on irrelevant or misleading features. Such reliance on irrelevant features, often called shortcut features, has been observed across domains, including medical imaging and natural language processing, where it may lead to real-world harms. A common mitigation strategy leverages annotations (provided by humans or machines) indicating which features are relevant or irrelevant. These annotations are compared to model explanations, typically in the form of feature salience, and used to guide the loss function during training. Unfortunately, recent works have demonstrated that feature salience methods are unreliable and therefore offer a poor signal to optimize. In this work, we propose a simplified objective that simultaneously optimizes for explanation robustness and mitigation of shortcut learning. Unlike prior objectives with similar aims, we demonstrate theoretically why our approach ought to be more effective. Across a comprehensive series of experiments, we show that our approach consistently reduces test-time misclassifications by 20% compared to state-of-the-art methods. We also extend prior experimental settings to include natural language processing tasks. Additionally, we conduct novel ablations that yield practical insights, including the relative importance of annotation quality over quantity. Code for our method and experiments is available at: https://github.com/Mihneaghitu/ModelGuidanceViaRobustFeatureAttribution.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
00Python, Jupyter NotebookMay 31, 20251 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ghitu2025model,
  title  = {Model Guidance via Robust Feature Attribution},
  author = {Mihnea Ghitu and Vihari Piratla and Matthew Wicker},
  year   = {2025},
  eprint = {2506.19680},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.19680v2}
}

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/2506.19680.svg)](https://codeofpaper.com/paper/2506.19680)

Discussion