CounterFlow: Target-Conditioned Flow Matching for Visual Counterfactuals
In eXplainable AI, counterfactual explanations have gained significant traction by offering users direct, intuitive, and actionable insights into model decisions. We introduce CounterFlow, a novel framework based on Conditional Flow Matching that generates visual counterfactual explanations by directly steering a source image toward a user-specified target class. By leveraging target-conditioned vector fields, CounterFlow identifies highly realistic semantic modifications while requiring substantially lower computational overhead than traditional GAN- or diffusion-based architectures. Empirical evaluations on standard benchmarks demonstrate that CounterFlow achieves state-of-the-art performance in both visual realism and target class switching. By working directly in the raw pixel space, CounterFlow offers a more practical solution for real-world deployment.
Authors
- Romaric Gaudel
- Laurence Rozé
- Élisa Fromont (ORCID: https://orcid.org/0000-0003-0133-3491)
- Paul Viallard (ORCID: https://orcid.org/0000-0003-4836-0809)
- Paul Sevellec
- Laetitia Houeix
Publication Details
- Journal
- arXiv (Cornell University)
- Published
- 2026-10-26
- DOI
- https://doi.org/10.48550/arxiv.2610.35679
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- preprint