Skip to main content
QUICK REVIEW

[Paper Review] Analyzing ImageNet with Spectral Relevance Analysis: Towards ImageNet un-Hans'ed.

Christopher J. Anders, Talmaj Marinč|arXiv (Cornell University)|Dec 22, 2019
Adversarial Robustness in Machine LearningComputer Science27 references10 citations
TL;DR

This paper introduces a scalable framework using Spectral Relevance Analysis (SpRAy) to detect and mitigate Clever Hans behavior in ImageNet by identifying spurious correlations through novel Wasserstein-based attribution comparisons, quantifying biased classes, and applying a systematic data-cleaning procedure that significantly reduces artifact-driven model predictions.

ABSTRACT

Today's machine learning models for computer vision are typically trained on very large (benchmark) data sets with millions of samples. These may, however, contain biases, artifacts, or errors that have gone unnoticed and are exploited by the model. In the worst case, the trained model may become a 'Clever Hans' predictor that does not learn a valid and generalizable strategy to solve the problem it was trained for, but bases its decisions on spurious correlations in the training data. Recently developed techniques allow to explain individual model decisions and thus to gain deeper insights into the model's prediction strategies. In this paper, we contribute by providing a comprehensive analysis framework based on a scalable statistical analysis of attributions from explanation methods for large data corpora, here ImageNet. Based on a recent technique - Spectral Relevance Analysis (SpRAy) - we propose three technical contributions and resulting findings: (a) novel similarity metrics based on Wasserstein for comparing attributions to allow for the first time scale, translational, and rotational invariant comparisons of attributions, (b) a scalable quantification of artifactual and poisoned classes where the ML models under study exhibit Clever Hans behavior, (c) a cleaning procedure that allows to relief data of artifacts and biases in a systematic manner yielding significantly reduced Clever Hans behavior, i.e. we un-Hans the ImageNet data corpus. Using this novel method set, we provide qualitative and quantitative analyses of the biases and artifacts in ImageNet and demonstrate that the usage of these insights can give rise to improved models and functionally cleaned data corpora.

Motivation & Objective

  • To identify and quantify biases and artifacts in large-scale datasets like ImageNet that lead models to rely on spurious correlations instead of learning generalizable features.
  • To develop a scalable method for analyzing model attribution maps across millions of images to detect systematic deviations indicating Clever Hans behavior.
  • To enable the systematic cleaning of image datasets by identifying and removing artifactual or poisoned classes that mislead model learning.
  • To improve model robustness and generalization by un-Hansing ImageNet through data curation guided by attribution-based analysis.

Proposed method

  • Proposes novel Wasserstein-based similarity metrics that enable scale-, translation-, and rotation-invariant comparison of attribution maps across images.
  • Applies Spectral Relevance Analysis (SpRAy) to compute and analyze attribution maps at scale across the entire ImageNet dataset.
  • Introduces a quantification pipeline to identify classes with high levels of artifact or poisoning signals based on attribution patterns.
  • Develops a data-cleaning procedure that removes images or classes exhibiting strong spurious correlations, guided by attribution analysis.
  • Uses statistical modeling of attribution distributions to detect and isolate regions of the dataset where models rely on non-semantic cues.
  • Validates the effectiveness of the cleaning process by measuring reductions in Clever Hans behavior through post-cleaning model evaluation.

Experimental results

Research questions

  • RQ1Which classes in ImageNet exhibit strong evidence of Clever Hans behavior due to spurious correlations in the training data?
  • RQ2How can attribution maps be compared in a way that is invariant to scale, translation, and rotation to enable reliable detection of artifacts?
  • RQ3To what extent can systematic data cleaning reduce Clever Hans behavior in models fine-tuned on the cleaned dataset?
  • RQ4Can spectral analysis of attribution maps reveal previously undetected biases or artifacts in ImageNet at scale?
  • RQ5What is the impact of removing artifact-laden images on model generalization and robustness?

Key findings

  • The proposed Wasserstein-based attribution comparison metrics successfully enable robust, invariant comparison of attribution maps across diverse image transformations.
  • A significant number of ImageNet classes were identified as containing high levels of artifacts or poisoning signals, indicating widespread Clever Hans behavior.
  • The data-cleaning procedure effectively reduced Clever Hans behavior in downstream models, leading to improved generalization on out-of-distribution and clean data.
  • Post-cleaning models showed reduced reliance on non-semantic cues such as background patterns or texture, confirming the mitigation of spurious correlations.
  • The framework enabled the first large-scale, quantitative assessment of artifact prevalence across ImageNet using attribution-based analysis.
  • The study demonstrates that systematic data curation guided by explainability methods can yield functionally cleaner datasets with improved model performance and reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.