On Quantitative Evaluations of Counterfactuals

Frederik Hvilshøj, Alexandros Iosifidis, Ira Assent
10/30/2021
cs.LG

Official code: fhvilshoj/EvaluatingCounterfactuals (2 stars, Python, MIT, last commit 2021-08-27).

Abstract

As counterfactual examples become increasingly popular for explaining decisions of deep learning models, it is essential to understand what properties quantitative evaluation metrics do capture and equally important what they do not capture. Currently, such understanding is lacking, potentially slowing down scientific progress.

Show full abstract

In this paper, we consolidate the work on evaluating visual counterfactual examples through an analysis and experiments. We find that while most metrics behave as intended for sufficiently simple datasets, some fail to tell the difference between good and bad counterfactuals when the complexity increases. We observe experimentally that metrics give good scores to tiny adversarial-like changes, wrongly identifying such changes as superior counterfactual examples. To mitigate this issue, we propose two new metrics, the Label Variation Score and the Oracle score, which are both less vulnerable to such tiny changes. We conclude that a proper quantitative evaluation of visual counterfactual examples should combine metrics to ensure that all aspects of good counterfactuals are quantified.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the code used to quantitatively evaluate counterfactual examples in the associated paper.

22PythonAug 25, 20215 years agoMIT

Similar Papers

Cite this paper

@article{hvilshj2021quantitative,
  title  = {On Quantitative Evaluations of Counterfactuals},
  author = {Frederik Hvilshøj and Alexandros Iosifidis and Ira Assent},
  year   = {2021},
  eprint = {2111.00177},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.00177}
}

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

Discussion