Skip to content

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

Arsu-Lab/Shortcut-Detection-Mitigation-Transformers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers

This is the official code for the paper "Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers" by Lukas Kuhn, Sari Sadiya, Joerg Schloetterer, Florian Buettner, Christin Seifert, and Gemma Roig as presented in the International Conference on Computer Vision (ICCV 2025).

The methods is able to identify potential shortcuts and mitigate them during inference time using token ablations. We opted for a Jupyter Notebook approach to make the code more accessible and to provide a more interactive experience, since an important part of our research is the understanding and visiualization of the detected shortcut for better interpretability by a domain expert.

The ISIC dataset used for this example can be downloaded here: ISIC Dataset

Demo

The recorded presentation contains a rundown and a demo that starts at 7:30.

Method and Code

To install the required packages, please run pip install -r requirements.txt. The notebook contains step by step walktrhough of the method for the ISIC example.

Please open an issue and assign to @lukaskuhn-lku for any specific issues.

Citation

@InProceedings{KuhnSadiya_2025,
  author    = {Lukas Kuhn, and Sari Sadiya, and Jorg Schlotterer, and Florian Buettner, and Christin Seifert, and Gemma Roig},
  title     = {Efficient Unsupervised Shortcut Learning Detection and Mitigation in Transformers}, 
  booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
  month     = {October},
  year      = {2025}
}

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%