CONFEX: Uncertainty-Aware Counterfactual Explanations with Conformal Guarantees

Aman Bilkhoo, Mehran Hosseini, Milad Kazemi, Nicola Paoletti
10/22/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Counterfactual explanations (CFXs) provide human-understandable justifications for model predictions, enabling actionable recourse and enhancing interpretability. To be reliable, CFXs must avoid regions of high predictive uncertainty, where explanations may be misleading or inapplicable. However, existing methods often neglect uncertainty or lack principled mechanisms for incorporating it with formal guarantees. We propose CONFEX, a novel method for generating uncertainty-aware counterfactual explanations using Conformal Prediction (CP) and Mixed-Integer Linear Programming (MILP). CONFEX explanations are designed to provide local coverage guarantees, addressing the issue that CFX generation violates exchangeability. To do so, we develop a novel localised CP procedure that enjoys an efficient MILP encoding by leveraging an offline tree-based partitioning of the input space. This way, CONFEX generates CFXs with rigorous guarantees on both predictive uncertainty and optimality. We evaluate CONFEX against state-of-the-art methods across diverse benchmarks and metrics, demonstrating that our uncertainty-aware approach yields robust and plausible explanations.

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{bilkhoo2025confex,
  title  = {CONFEX: Uncertainty-Aware Counterfactual Explanations with Conformal Guarantees},
  author = {Aman Bilkhoo and Mehran Hosseini and Milad Kazemi and Nicola Paoletti},
  year   = {2025},
  eprint = {2510.19754},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.19754v2}
}

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/2510.19754.svg)](https://codeofpaper.com/paper/2510.19754)

Discussion