TIGTEC : Token Importance Guided TExt Counterfactuals

04/24/2023
by   Milan Bhan, et al.
0

Counterfactual examples explain a prediction by highlighting changes of instance that flip the outcome of a classifier. This paper proposes TIGTEC, an efficient and modular method for generating sparse, plausible and diverse counterfactual explanations for textual data. TIGTEC is a text editing heuristic that targets and modifies words with high contribution using local feature importance. A new attention-based local feature importance is proposed. Counterfactual candidates are generated and assessed with a cost function integrating semantic distance, while the solution space is efficiently explored in a beam search fashion. The conducted experiments show the relevance of TIGTEC in terms of success rate, sparsity, diversity and plausibility. This method can be used in both model-specific or model-agnostic way, which makes it very convenient for generating counterfactual explanations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/12/2020

Convex Density Constraints for Computing Plausible Counterfactual Explanations

The increasing deployment of machine learning as well as legal regulatio...
research
12/04/2019

Counterfactual Explanation Algorithms for Behavioral and Textual Data

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

Achieving Diversity in Counterfactual Explanations: a Review and Discussion

In the field of Explainable Artificial Intelligence (XAI), counterfactua...
research
11/01/2022

Anytime Generation of Counterfactual Explanations for Text Classification

In many machine learning applications, it is important for the user to u...
research
01/01/2021

Polyjuice: Automated, General-purpose Counterfactual Generation

Counterfactual examples have been shown to be useful for many applicatio...
research
01/02/2019

Efficient Search for Diverse Coherent Explanations

This paper proposes new search algorithms for counterfactual explanation...
research
10/22/2021

Text Counterfactuals via Latent Optimization and Shapley-Guided Search

We study the problem of generating counterfactual text for a classifier ...

Please sign up or login with your details

Forgot password? Click here to reset