Counterfactual Explanations Using Optimization With Constraint Learning

Donato Maragno, Tabea E. Röber, Ilker Birbil
9/22/2022
cs.LG

Official code: tabearoeber/CE-OCL (4 stars, Jupyter Notebook, last commit 2025-02-24).

Abstract

To increase the adoption of counterfactual explanations in practice, several criteria that these should adhere to have been put forward in the literature. We propose counterfactual explanations using optimization with constraint learning (CE-OCL), a generic and flexible approach that addresses all these criteria and allows room for further extensions.

Show full abstract

Specifically, we discuss how we can leverage an optimization with constraint learning framework for the generation of counterfactual explanations, and how components of this framework readily map to the criteria. We also propose two novel modeling approaches to address data manifold closeness and diversity, which are two key criteria for practical counterfactual explanations. We test CE-OCL on several datasets and present our results in a case study. Compared against the current state-of-the-art methods, CE-OCL allows for more flexibility and has an overall superior performance in terms of several evaluation metrics proposed in related work.

View on arXivView PDF

Code Implementations(1)

tabearoeber/CE-OCLOfficial100%
41Jupyter Notebook, PythonSep 6, 20221 years ago

Similar Papers

Cite this paper

@article{maragno2022counterfactual,
  title  = {Counterfactual Explanations Using Optimization With Constraint Learning},
  author = {Donato Maragno and Tabea E. Röber and Ilker Birbil},
  year   = {2022},
  eprint = {2209.10997},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.10997}
}

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

Discussion