CounterFlow: Target-Conditioned Flow Matching for Visual Counterfactuals

Paul Sevellec, Elisa Fromont, Romaric Gaudel, Laurence Roze, Paul Viallard +1 more
10/26/2026
cs.LGcs.AIcs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sevellec2026counterflow,
  title  = {CounterFlow: Target-Conditioned Flow Matching for Visual Counterfactuals},
  author = {Paul Sevellec and Elisa Fromont and Romaric Gaudel and Laurence Roze and Paul Viallard and Laetitia Houeix},
  year   = {2026},
  eprint = {2610.35679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.35679v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.35679.svg)](https://codeofpaper.com/paper/2610.35679)

Discussion