Detecting Regional Spurious Correlations in Vision Transformers via Token Discarding

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kang, Solha, Anzaku, Esla Timothy, De Neve, Wesley, Van Messem, Arnout, Vankerschaver, Joris, Rameau, Francois, Ozbulak, Utku
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914022097420288
author Kang, Solha
Anzaku, Esla Timothy
De Neve, Wesley
Van Messem, Arnout
Vankerschaver, Joris
Rameau, Francois
Ozbulak, Utku
author_facet Kang, Solha
Anzaku, Esla Timothy
De Neve, Wesley
Van Messem, Arnout
Vankerschaver, Joris
Rameau, Francois
Ozbulak, Utku
contents Due to their powerful feature association capabilities, neural network-based computer vision models have the ability to detect and exploit unintended patterns within the data, potentially leading to correct predictions based on incorrect or unintended but statistically relevant signals. These clues may vary from simple color aberrations to small texts within the image. In situations where these unintended signals align with the predictive task, models can mistakenly link these features with the task and rely on them for making predictions. This phenomenon is referred to as spurious correlations, where patterns appear to be associated with the task but are actually coincidental. As a result, detection and mitigation of spurious correlations have become crucial tasks for building trustworthy, reliable, and generalizable machine learning models. In this work, we present a novel method to detect spurious correlations in vision transformers, a type of neural network architecture that gained significant popularity in recent years. Using both supervised and self-supervised trained models, we present large-scale experiments on the ImageNet dataset demonstrating the ability of the proposed method to identify spurious correlations. We also find that, even if the same architecture is used, the training methodology has a significant impact on the model's reliance on spurious correlations. Furthermore, we show that certain classes in the ImageNet dataset contain spurious signals that are easily detected by the models and discuss the underlying reasons for those spurious signals. In light of our findings, we provide an exhaustive list of the aforementioned images and call for caution in their use in future research efforts. Lastly, we present a case study investigating spurious signals in invasive breast mass classification, grounding our work in real-world scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2509_04009
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Detecting Regional Spurious Correlations in Vision Transformers via Token Discarding
Kang, Solha
Anzaku, Esla Timothy
De Neve, Wesley
Van Messem, Arnout
Vankerschaver, Joris
Rameau, Francois
Ozbulak, Utku
Computer Vision and Pattern Recognition
Artificial Intelligence
Due to their powerful feature association capabilities, neural network-based computer vision models have the ability to detect and exploit unintended patterns within the data, potentially leading to correct predictions based on incorrect or unintended but statistically relevant signals. These clues may vary from simple color aberrations to small texts within the image. In situations where these unintended signals align with the predictive task, models can mistakenly link these features with the task and rely on them for making predictions. This phenomenon is referred to as spurious correlations, where patterns appear to be associated with the task but are actually coincidental. As a result, detection and mitigation of spurious correlations have become crucial tasks for building trustworthy, reliable, and generalizable machine learning models. In this work, we present a novel method to detect spurious correlations in vision transformers, a type of neural network architecture that gained significant popularity in recent years. Using both supervised and self-supervised trained models, we present large-scale experiments on the ImageNet dataset demonstrating the ability of the proposed method to identify spurious correlations. We also find that, even if the same architecture is used, the training methodology has a significant impact on the model's reliance on spurious correlations. Furthermore, we show that certain classes in the ImageNet dataset contain spurious signals that are easily detected by the models and discuss the underlying reasons for those spurious signals. In light of our findings, we provide an exhaustive list of the aforementioned images and call for caution in their use in future research efforts. Lastly, we present a case study investigating spurious signals in invasive breast mass classification, grounding our work in real-world scenarios.
title Detecting Regional Spurious Correlations in Vision Transformers via Token Discarding
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2509.04009