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
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/
Create a lesson
Metadata
- Comments
- Accepted to WACV 2027
Related papers
Counter-DECEIVR: Counterfactual Explanations for Deepfake Detectors using Detector-Guided Rectified Flow Inversion
Shared title terminologycs.CVMariano V. Ntrougkas, Vasileios Mezaris, Ioannis Patras
DuoWM:Integrating Dual 6-DoF Visual Flows into Action-Conditioned Drone World Model
Shared title terminologycs.CVZixuan Li, Kangyao Huang, Meng Xu et al.
ATLAS: Attention-Guided Test-Time Latent Selection for Compositional Visual Autoregressive Generation
Shared title terminologycs.CVHossein Shahabadi, Raya Namazi, Mahdieh Soleymani Baghshah
Learning from the Right Regions: Class-Conditioned Explanation Guidance for Medical Imaging
Shared title terminologycs.CVZubair Faruqui, Rahul Dubey
ULIFLOW: Unified Latent Human-Object Interaction Flow
Shared title terminologycs.CVWenqi Cai, Chunzhi Gu, Weichen Zhou et al.
WebVibe: Multimodal Interactive Website Generation via Reverse Synthesis and Visual Self-Distillation
Shared title terminologycs.CVTianxiang Jiang, Sheng Xia, Yilin Long et al.