OCTET: Object-aware Counterfactual Explanations

Mehdi Zemni, Mickaël Chen, Éloi Zablocki, Hédi Ben-Younes, Patrick Pérez +1 more
11/22/2022
cs.CVcs.AI

Official code: valeoai/OCTET (18 stars, Python, last commit 2024-12-12).

Abstract

Nowadays, deep vision models are being widely deployed in safety-critical applications, e.g., autonomous driving, and explainability of such models is becoming a pressing concern. Among explanation methods, counterfactual explanations aim to find minimal and interpretable changes to the input image that would also change the output of the model to be explained.

Show full abstract

Such explanations point end-users at the main factors that impact the decision of the model. However, previous methods struggle to explain decision models trained on images with many objects, e.g., urban scenes, which are more difficult to work with but also arguably more critical to explain. In this work, we propose to tackle this issue with an object-centric framework for counterfactual explanation generation. Our method, inspired by recent generative modeling works, encodes the query image into a latent space that is structured in a way to ease object-level manipulations. Doing so, it provides the end-user with control over which search directions (e.g., spatial displacement of objects, style modification, etc.) are to be explored during the counterfactual generation. We conduct a set of experiments on counterfactual explanation benchmarks for driving scenes, and we show that our method can be adapted beyond classification, e.g., to explain semantic segmentation models. To complete our analysis, we design and run a user study that measures the usefulness of counterfactual explanations in understanding a decision model. Code is available at https://github.com/valeoai/OCTET.

View on arXivView PDF

Code Implementations(1)

valeoai/OCTETOfficial100%

[CVPR 2023] OCTET: Object-aware Counterfactual Explanations

183Python, CudaNov 21, 20221 years ago

Similar Papers

Cite this paper

@article{zemni2022octet,
  title  = {OCTET: Object-aware Counterfactual Explanations},
  author = {Mehdi Zemni and Mickaël Chen and Éloi Zablocki and Hédi Ben-Younes and Patrick Pérez and Matthieu Cord},
  year   = {2022},
  eprint = {2211.12380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.12380}
}

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

Discussion