CounterFlowNet: From Minimal Changes to Meaningful Counterfactual Explanations
Not on the map. Why?
Abstract (arXiv)
Counterfactual explanations (CFs) provide human-interpretable insights into model's predictions by identifying minimal changes to input features that would alter the model's output. However, existing methods struggle to generate multiple high-quality explanations that (1) affect only a small portion of the features, (2) can be applied to tabular data with heterogeneous features, and (3) are consistent with the user-defined constraints. We propose CounterFlowNet, a generative approach that formulates CF generation as sequential feature modification using conditional Generative Flow Networks (GFlowNet). CounterFlowNet is trained to sample CFs proportionally to a user-specified reward function that can encode key CF desiderata: validity, sparsity, proximity and plausibility, encouraging high-quality explanations. The sequential formulation yields highly sparse edits, while a unified action space seamlessly supports continuous and categorical features. Moreover, actionability constraints, such as immutability and monotonicity of features, can be enforced at inference time via action masking, without retraining. Experiments on eight datasets under two evaluation protocols demonstrate that CounterFlowNet achieves superior trade-offs between validity, sparsity, plausibility, and diversity with full satisfaction of the given constraints.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 19 Feb 2026.
Builds on
20 of 34 references.
References · 20
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
- 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 343
- 2018Actionable Recourse in Linear Classificationcited by 327
- 2020Algorithmic Recourse: from Counterfactual Explanations to Interventionscited by 250
- 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
- 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
- 2022Biological Sequence Design with GFlowNetscited by 172
- 2022Bayesian Structure Learning with Generative Flow Networkscited by 153
- 2019Learning Model-Agnostic Counterfactual Explanations for Tabular Datacited by 146
- 2019Towards Realistic Individual Recourse and Actionable Explanations in Black-Box Decision Making Systemscited by 128
8 more
- 2024RGFN: Synthesizable Molecular Generation Using GFlowNetscited by 39
- 2023DAG Matters! GFlowNets Enhanced Explainer For Graph Neural Networkscited by 27
- 2022Counterfactual Plans under Distributional Ambiguitycited by 19
- 2024Probabilistically Plausible Counterfactual Explanations with Normalizing Flowscited by 11
- 2023CeFlow: A Robust and Efficient Counterfactual Explanation Framework for Tabular Data using Normalizing Flowscited by 8
- 2021MCCE: Monte Carlo sampling of realistic counterfactual explanationscited by 7
- 2025Scalable and Cost-Efficient de Novo Template-Based Molecular Generationcited by 5
- 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible controlcited by 2
Built on by
Not cited yet.