Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers

Lukas Kuhn, Sari Sadiya, Jorg Schlotterer, Florian Buettner, Christin Seifert +1 more
1/1/2025
cs.LGcs.CV

No official code found. Best implementation: Arsu-Lab/Shortcut-Detection-Mitigation-Transformers (3 stars, last commit 2025-09-06). 2 more below.

Abstract

Shortcut learning, i.e., a model's reliance on undesired features not directly relevant to the task, is a major challenge that severely limits the applications of machine learning algorithms, particularly when deploying them to assist in making sensitive decisions, such as in medical diagnostics. In this work, we leverage recent advancements in machine learning to create an unsupervised framework that is capable of both detecting and mitigating shortcut learning in transformers. We validate our method on multiple datasets. Results demonstrate that our framework significantly improves both worst-group accuracy (samples misclassified due to shortcuts) and average accuracy, while minimizing human annotation effort. Moreover, we demonstrate that the detected shortcuts are meaningful and informative to human experts, and that our framework is computationally efficient, allowing it to be run on consumer hardware.

View on arXivView PDF

Code Implementations(3)

GitHub Repository for "Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers" presented in ICCV 2025.

30Jupyter NotebookJan 1, 20251 years ago
generalizationrobustnessshortcut-learning

Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers

11Jupyter NotebookJan 1, 20251 years ago

Page for the paper "Efficient unsupervised shortcut learning detection and mitigation in transformers"

00CSS, HTMLSep 4, 20251 years ago

Similar Papers

Cite this paper

@article{kuhn2025efficient,
  title  = {Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers},
  author = {Lukas Kuhn and Sari Sadiya and Jorg Schlotterer and Florian Buettner and Christin Seifert and Gemma Roig},
  year   = {2025},
  eprint = {2501.00942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00942v2}
}

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

Discussion