cs.LGMar 17, 2026

DISCOVER: A Solver for Distributional Counterfactual Explanations

Authors: Yikai GuLele CaoBo ZhaoLei LeiLei You

Organizations: Technical University of Denmark · Scholar7 · Aalto University · Xi’an Jiaotong University

Abstract

Counterfactual explanations (CE) explain model decisions by identifying input modifications that lead to different predictions. Most existing methods operate at the instance level. Distributional Counterfactual Explanations (DCE) extend this setting by optimizing an optimal transport objective that balances proximity to a factual input distribution and alignment to a target output distribution, with statistical certification via chance constrained bounds. However, DCE relies on gradient based optimization, while many real-world tabular pipelines are dominated by non-differentiable models. We propose DISCOVER, a model-agnostic solver for distributional counterfactual explanations. DISCOVER preserves the original DCE objective and certification while replacing gradient descent with a budgeted propose-and-select search paradigm. It exploits a sample-wise decomposition of the transport objective to compute per-row impact scores and enforce a top-k intervention budget, focusing edits on the most influential samples. To guide candidate generation without predictor gradients, DISCOVER introduces an OT-guided cone sampling primitive driven by input-side transport geometry. Experiments on multiple tabular datasets demonstrate strong joint alignment of input and output distributions, extending distributional counterfactual reasoning to modern black box learning pipelines. A code repository is available at: https://github.com/VALHALLA9/Discover.

Explore similar work

CardsList
  1. P2^2CE: Model-Agnostic Plausible Pareto-Optimal Counterfactual Explanations

    Jun 16, 2026Arthur Hendricks Mendes de Oliveira, Giovani Valdrighi, Marcos Medeiros RaimundoCounterfactual ExplanationOutliers