Towards Fast and Disentangled Counterfactuals for Visual Foundation Models
Not on the map. Why?
Abstract (arXiv)
Foundation models remain vulnerable to spurious correlations and ``Clever Hans'' strategies. Explainable machine learning can find and remove such strategies for classifiers without metadata. For foundation models, no such option exists yet. We propose Disentangled Diffusion Autoencoders (DiDAE). DiDAE wraps a frozen foundation model in a conditional diffusion decoder. A counterfactual is one closed-form edit along a direction of a disentangled dictionary, followed by decoding. The dictionary can be supervised (Procrustes) or unsupervised (Singular Value Decomposition, Sparse Autoencoders). No gradients are needed, so DiDAE is up to 2000 times faster than the state of the art. We evaluate on six datasets, two synthetic and four real-world. In a desiderata-driven benchmark on three of them, its counterfactuals are on par with or better than the state of the art, and they repair downstream classifiers through Counterfactual Knowledge Distillation (CFKD), where they beat metadata-based correction. The same machinery can rank a pretrained dictionary against a trained classifier. It returns the few directions the classifier actually reads, each causally verified by a counterfactual that flips the decision, and repairs the classifier along those a teacher marks spurious. The workflow is plug-and-play in our open-source Peal library we publish alongside the paper. With a public dictionary and a pretrained decoder, all that remains is a cheap linear distillation of the classifier and its own fine-tuning.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 58 of its 73 references that are in the map. First posted on arXiv 1 Oct 2026.
Builds on
58 of 73 references.
References · 58
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
- 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representationcited by 447
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
38 more
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
- 2025Diffusion Transformers with Representation Autoencoderscited by 275
- 2023An Edit Friendly DDPM Noise Space: Inversion and Manipulationscited by 243
- 2023Debiasing Vision-Language Models via Biased Promptscited by 147
- 2022CLIP-Dissect: Automatic Description of Neuron Representations in Deep Vision Networkscited by 144
- 2025Learning Multi-Level Features with Matryoshka Sparse Autoencoderscited by 136
- 2023Explainable Artificial Intelligence (XAI) 2.0: A Manifesto of Open Challenges and Interdisciplinary Research Directionscited by 123
- 2022Diffusion Visual Counterfactual Explanationscited by 96
- 2021The effectiveness of feature attribution methods and its correlation with automatic evaluation scorescited by 87
- 2022NICO++: Towards Better Benchmarking for Domain Generalizationcited by 86
- 2021Beyond Trivial Counterfactual Explanations with Diverse Valuable Explanationscited by 56
- 2025Interpreting CLIP with Hierarchical Sparse Autoencoderscited by 54
- 2023PathLDM: Text conditioned Latent Diffusion Model for Histopathologycited by 51
- 2023Adversarial Counterfactual Visual Explanationscited by 47
- 2022Spurious Features Everywhere -- Large-Scale Detection of Harmful Spurious Features in ImageNetcited by 41
- 2023Fast Diffusion-Based Counterfactuals for Shortcut Removal and Generationcited by 41
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2022Diffeomorphic Counterfactuals with Generative Modelscited by 29
- 2023Text-to-Image Models for Counterfactual Explanations: a Black-Box Approachcited by 28
- 2022Disentangled Explanations of Neural Network Predictions by Finding Relevant Subspacescited by 25
- 2022Navigating Neural Space: Revisiting Concept Activation Vectors to Overcome Directional Divergencecited by 24
- 2024The Clever Hans Effect in Unsupervised Learningcited by 24
- 2023From Hope to Safety: Unlearning Biases of Deep Models via Gradient Penalization in Latent Spacecited by 20
- 2025Temporal Sparse Autoencoders: Leveraging the Sequential Nature of Language for Interpretabilitycited by 16
- 2024Global Counterfactual Directionscited by 15
- 2023Towards Fixing Clever-Hans Predictors with Counterfactual Knowledge Distillationcited by 14
- 2024Diffusion-based Iterative Counterfactual Explanations for Fetal Ultrasound Image Quality Assessmentcited by 13
- 2025Can LLMs Explain Themselves Counterfactually?cited by 10
- 2023Preemptively Pruning Clever-Hans Strategies in Deep Neural Networkscited by 9
- 2024Generating Counterfactual Trajectories with Latent Diffusion Models for Concept Discoverycited by 8
- 2025AbsTopK: Rethinking Sparse Autoencoders For Bidirectional Featurescited by 8
- 2025Towards Desiderata-Driven Design of Visual Counterfactual Explainerscited by 7
- 2025OrtSAE: Orthogonal Sparse Autoencoders Uncover Atomic Featurescited by 7
- 2025Mitigating Clever Hans Strategies in Image Classifiers through Generating Counterexamplescited by 6
- 2025Diffusion Counterfactuals for Image Regressorscited by 5
- 2025LeapFactual: Reliable Visual Counterfactual Explanation Using Conditional Flow Matchingcited by 4
- 2025Graph Diffusion Counterfactual Explanationcited by 4
- 2026Visual Disentangled Diffusion Autoencoders: Scalable Counterfactual Generation for Foundation Modelscited by 4
50 most cited of 58 All 58 (JSON)
Built on by
Not cited yet.