Transparent Neighborhood Approximation for Text Classifier Explanation

Yi Cai, Arthur Zimek, Eirini Ntoutsi, Gerhard Wunder
11/25/2024
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Recent literature highlights the critical role of neighborhood construction in deriving model-agnostic explanations, with a growing trend toward deploying generative models to improve synthetic instance quality, especially for explaining text classifiers. These approaches overcome the challenges in neighborhood construction posed by the unstructured nature of texts, thereby improving the quality of explanations. However, the deployed generators are usually implemented via neural networks and lack inherent explainability, sparking arguments over the transparency of the explanation process itself. To address this limitation while preserving neighborhood quality, this paper introduces a probability-based editing method as an alternative to black-box text generators. This approach generates neighboring texts by implementing manipulations based on in-text contexts. Substituting the generator-based construction process with recursive probability-based editing, the resultant explanation method, XPROB (explainer with probability-based editing), exhibits competitive performance according to the evaluation conducted on two real-world datasets. Additionally, XPROB's fully transparent and more controllable construction process leads to superior stability compared to the generator-based explainers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cai2024transparent,
  title  = {Transparent Neighborhood Approximation for Text Classifier Explanation},
  author = {Yi Cai and Arthur Zimek and Eirini Ntoutsi and Gerhard Wunder},
  year   = {2024},
  eprint = {2411.16251},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.16251v1}
}

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

Discussion