Choose your Data Wisely: A Framework for Semantic Counterfactuals

Edmund Dervakos, Konstantinos Thomas, Giorgos Filandrianos, Giorgos Stamou
5/28/2023
cs.AIcs.LG

No official code found. Best implementation: geofila/Semantic-Counterfactuals (8 stars, MIT, last commit 2024-01-17).

Abstract

Counterfactual explanations have been argued to be one of the most intuitive forms of explanation. They are typically defined as a minimal set of edits on a given data sample that, when applied, changes the output of a model on that sample. However, a minimal set of edits is not always clear and understandable to an end-user, as it could, for instance, constitute an adversarial example (which is indistinguishable from the original data sample to an end-user). Instead, there are recent ideas that the notion of minimality in the context of counterfactuals should refer to the semantics of the data sample, and not to the feature space. In this work, we build on these ideas, and propose a framework that provides counterfactual explanations in terms of knowledge graphs. We provide an algorithm for computing such explanations (given some assumptions about the underlying knowledge), and quantitatively evaluate the framework with a user study.

View on arXivView PDF

Code Implementations(1)

MIT
81Python, Jupyter NotebookMay 17, 20232 years agoMIT

Similar Papers

Cite this paper

@article{dervakos2023choose,
  title  = {Choose your Data Wisely: A Framework for Semantic Counterfactuals},
  author = {Edmund Dervakos and Konstantinos Thomas and Giorgos Filandrianos and Giorgos Stamou},
  year   = {2023},
  eprint = {2305.17667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17667v1}
}

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

Discussion