FlowCF: Sparse Counterfactual Explanations for Mixed-Type Tabular Data using Flow Matching
Emmanouil Panagiotou, Eirini Ntoutsi
Key points
From the paper's conclusion- We solve this transport with flow matching, which we extend to mixed feature types with a novel mixed flow operator, and exploit the resulting geometry to optimise for sparsity through a gating network that minimises the number of features the transport changes.
Abstract
In the field of Explainable AI (XAI), counterfactual (CF) explanations interpret a model's decision by suggesting the changes to the input that would lead to a more favourable outcome. To be useful in practice, such an explanation should change few features and change them as little as possible, properties known as sparsity and proximity. We observe that existing methods remain limited in this respect, especially for numerical features, whether they are model-agnostic and amortised, or gradient-based with full access to the model. In this paper, we propose FlowCF, a model-agnostic generative method that frames CF generation as sparse transport from the factual to the target class. We solve this transport with flow matching, which we extend to mixed feature types with a novel mixed flow operator, and exploit the resulting geometry to optimise for sparsity through a gating network that minimises the number of features the transport changes. Extensive experiments on six benchmark datasets demonstrate that FlowCF produces the best numerical sparsity and proximity, changing 29% of the numerical features where the best baseline changes 89%, at 70% smaller displacement, while remaining comparable on the other desiderata.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Extending PPCEF: probabilistically plausible counterfactual explanations for regression and heterogeneous tabular dataData Mining and Knowledge Discovery · 2026
- CounterFlow: Target-Conditioned Flow Matching for Visual CounterfactualsarXiv · 2026
- Counterfactual Modeling With Fine-Tuned LLMs for Health Intervention Design and Sensor Data Augmentation.IEEE open journal of engineering in medicine and biology · 2026
- Scalable Counterfactual Explanations for Time Series via Policy LearningarXiv · 2026
- Actionable CBFI: Integrating Structural Decomposition and Causal Counterfactual Recourse for Tabular Machine LearningarXiv · 2026
- Counterfactual Generation via Flow Matching: Coupling-Sensitive End-to-End RatesarXiv · 2026