Anytime Generation of Counterfactual Explanations for Text Classification

11/01/2022
by   Daniel Gilo, et al.
0

In many machine learning applications, it is important for the user to understand the reasoning behind the recommendation or prediction of the classifiers. The learned models, however, are often too complicated to be understood by a human. Research from the social sciences indicates that humans prefer counterfactual explanations over alternatives. In this paper, we present a general framework for generating counterfactual explanations in the textual domain. Our framework is model-agnostic, representation-agnostic, domain-agnostic, and anytime. We model the task as a search problem in a space where the initial state is the classified text, and the goal state is a text in the complementary class. The operators transform a text by replacing parts of it. Our framework includes domain-independent operators, but can also exploit domain-specific knowledge through specialized operators. The search algorithm attempts to find a text from the complementary class with minimal word-level Levenshtein distance from the original classified object.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/26/2018

Generating Counterfactual Explanations with Natural Language

Natural language explanations of deep neural network decisions provide a...
research
12/04/2019

Counterfactual Explanation Algorithms for Behavioral and Textual Data

We study the interpretability of predictive systems that use high-dimens...
research
04/24/2023

TIGTEC : Token Importance Guided TExt Counterfactuals

Counterfactual examples explain a prediction by highlighting changes of ...
research
10/23/2020

Generating Plausible Counterfactual Explanations for Deep Transformers in Financial Text Classification

Corporate mergers and acquisitions (M A) account for billions of dolla...
research
12/02/2021

Counterfactual Explanations via Latent Space Projection and Interpolation

Counterfactual explanations represent the minimal change to a data sampl...
research
03/01/2021

Counterfactual Explanations for Oblique Decision Trees: Exact, Efficient Algorithms

We consider counterfactual explanations, the problem of minimally adjust...
research
07/11/2019

Time2Vec: Learning a Vector Representation of Time

Time is an important feature in many applications involving events that ...

Please sign up or login with your details

Forgot password? Click here to reset