CLEAR: Cooperative Latent Flow for Visual Counterfactual Explanations with Accurate Region Preservation
Yan Zeng, Changlu Guo, Oskar Kristoffersen, Anders Nymark Christensen, Morten Rieger Hannemose, Anders Bjorholm Dahl
Key points
From the paper's conclusion- We introduce CLEAR, a latent Flow Matching framework for VCEs.
Abstract
Visual counterfactual explanations (VCEs) should alter a classifier's prediction while remaining realistic and preserving decision-irrelevant content. Image-space methods provide high-quality counterfactuals but are computationally costly, whereas latent-space methods are more efficient but often less faithful. We identify two sources responsible for this gap. First, latent generation recovers a natural sample from a perturbed representation, whereas classifier guidance pushes it toward a target class, so their update directions may oppose. Second, VAE reconstruction can alter regions that should remain unchanged. We introduce CLEAR, a latent Flow Matching framework for VCEs. CLEAR uses Flow Matching's explicit instantaneous velocity as a reference for the generative direction to decompose classifier guidance into cooperative and conflicting components. It preserves the cooperative component and adaptively attenuates only the conflicting one according to conflict strength. We further analyze conflict frequency and strength throughout generation to reveal how classifier guidance interacts with the generative process. CLEAR also dynamically identifies editable regions, constrains latent modifications, and directly preserves factual content outside them to reduce VAE-induced changes. Across five bidirectional tasks on two datasets, CLEAR retains latent-space efficiency while achieving counterfactual quality comparable to or better than strong image-space baselines, with a 2.5x speedup over the strongest baseline. Project page: https://yan-zen9.github.io/CLEAR/
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CounterFlow: Target-Conditioned Flow Matching for Visual CounterfactualsarXiv · 2026
- Targeted Visual Counterfactual Explanations for Contrastive Vision-Language ModelarXiv · 2026
- Counter-DECEIVR: Counterfactual Explanations for Deepfake Detectors using Detector-Guided Rectified Flow InversionarXiv · 2026
- FADE: From Passive Verification to Active Discovery in Counterfactual Video UnderstandingarXiv · 2026
- SmoothShift: Disrupting Visual Adversarial Attacks on LVLMs at Test TimearXiv · 2026
- Rethinking Classifier-Free Guidance for TI2I Flow MatchingarXiv · 2026