Mitigating Clever Hans strategies in image classifiers through generating counterexamples

• Clever Hans effects (CHs) remain a problem even for pretrained foundation models. • We propose Counterfactual Knowledge Distillation (CFKD) to find and remove CHs. • We introduce a novel histopathology dataset with a confounder that provokes CHs. • CFKD’s effectiveness is demonstrated on various synthetic and real-world datasets. Deep learning models remain vulnerable to spurious correlations , leading to so-called Clever Hans predictors that undermine robustness even in large-scale foundation and self-supervised models. Group distributional robustness methods, such as Deep Feature Reweighting (DFR) rely on explicit group labels to upweight underrepresented subgroups, but face key limitations: (1) group labels are often unavailable, (2) low within-group sample sizes hinder coverage of the subgroup distribution, and (3) performance degrades sharply when multiple spurious correlations fragment the data into even smaller groups. We propose Counterfactual Knowledge Distillation (CFKD), a framework that sidesteps these issues by generating diverse counterfactuals, enabling a human annotator to efficiently explore and correct the model’s decision boundaries through a knowledge distillation step. Unlike DFR, our method not only reweights the undersampled groups, but it also enriches them with new data points. Our method does not require any confounder labels, achieves effective scaling to multiple confounders, and yields balanced generalization across groups. We demonstrate CFKD’s efficacy across five datasets, spanning synthetic tasks to an industrial application, with particularly strong gains in low-data regimes with pronounced spurious correlations. Additionally, we provide an ablation study on the effect of the chosen counterfactual explainer and teacher model, highlighting their impact on robustness.

Authors

Institutions

Publication Details

Journal
Information Fusion
Published
2026-04-25
DOI
https://doi.org/10.1016/j.inffus.2026.104406
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mitigating Clever Hans strategies in image classifiers through generating counterexamples

Heike Marxfeld, Sidney Bender, Grégoire Montavon, Klaus-Robert Müller et al.
Information Fusion
Machine Learning and Data Classification
article

Mitigating Clever Hans strategies in image classifiers through generating counterexamples

Heike Marxfeld, Sidney Bender, Grégoire Montavon, Klaus-Robert Müller, Jan Herrmann, Ole Delzer
article en

Abstract

• Clever Hans effects (CHs) remain a problem even for pretrained foundation models. • We propose Counterfactual Knowledge Distillation (CFKD) to find and remove CHs. • We introduce a novel histopathology dataset with a confounder that provokes CHs. • CFKD’s effectiveness is demonstrated on various synthetic and real-world datasets. Deep learning models remain vulnerable to spurious correlations , leading to so-called Clever Hans predictors that undermine robustness even in large-scale foundation and self-supervised models. Group distributional robustness methods, such as Deep Feature Reweighting (DFR) rely on explicit group labels to upweight underrepresented subgroups, but face key limitations: (1) group labels are often unavailable, (2) low within-group sample sizes hinder coverage of the subgroup distribution, and (3) performance degrades sharply when multiple spurious correlations fragment the data into even smaller groups. We propose Counterfactual Knowledge Distillation (CFKD), a framework that sidesteps these issues by generating diverse counterfactuals, enabling a human annotator to efficiently explore and correct the model’s decision boundaries through a knowledge distillation step. Unlike DFR, our method not only reweights the undersampled groups, but it also enriches them with new data points. Our method does not require any confounder labels, achieves effective scaling to multiple confounders, and yields balanced generalization across groups. We demonstrate CFKD’s efficacy across five datasets, spanning synthetic tasks to an industrial application, with particularly strong gains in low-data regimes with pronounced spurious correlations. Additionally, we provide an ablation study on the effect of the chosen counterfactual explainer and teacher model, highlighting their impact on robustness.

Information FusionVol. 135
Korea University (KR), BASF (Germany) (DE), Max Planck Institute for Informatics (DE), Berlin Institute of Health at Charité - Universitätsmedizin Berlin (DE), Technische Universität Berlin (DE), Charité - Universitätsmedizin Berlin (DE)
BASF, Bundesministerium für Bildung und Forschung, Technische Universität Berlin, Institute for Information and Communications Technology Promotion
Openalex Percentile: Top 99%
Machine Learning and Data Classification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.