Evaluating Readability and Faithfulness of Concept-based Explanations

Meng Li, Haoran Jin, Ruixuan Huang, Zhihao Xu, Defu Lian +3 more
4/29/2024
cs.AIcs.HC

No official code found. Best implementation: hr-jin/Concept-Explanation-Evaluation (5 stars, last commit 2024-04-29).

Abstract

With the growing popularity of general-purpose Large Language Models (LLMs), comes a need for more global explanations of model behaviors. Concept-based explanations arise as a promising avenue for explaining high-level patterns learned by LLMs. Yet their evaluation poses unique challenges, especially due to their non-local nature and high dimensional representation in a model's hidden space. Current methods approach concepts from different perspectives, lacking a unified formalization. This makes evaluating the core measures of concepts, namely faithfulness or readability, challenging. To bridge the gap, we introduce a formal definition of concepts generalizing to diverse concept-based explanations' settings. Based on this, we quantify the faithfulness of a concept explanation via perturbation. We ensure adequate perturbation in the high-dimensional space for different concepts via an optimization problem. Readability is approximated via an automatic and deterministic measure, quantifying the coherence of patterns that maximally activate a concept while aligning with human understanding. Finally, based on measurement theory, we apply a meta-evaluation method for evaluating these measures, generalizable to other types of explanations or tasks as well. Extensive experimental analysis has been conducted to inform the selection of explanation evaluation measures.

View on arXivView PDF

Code Implementations(1)

50Shell, PythonJan 13, 20242 years ago

Similar Papers

Cite this paper

@article{li2024evaluating,
  title  = {Evaluating Readability and Faithfulness of Concept-based Explanations},
  author = {Meng Li and Haoran Jin and Ruixuan Huang and Zhihao Xu and Defu Lian and Zijia Lin and Di Zhang and Xiting Wang},
  year   = {2024},
  eprint = {2404.18533},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.18533v3}
}

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

Discussion