AIHCApr 29, 2024

Evaluating Readability and Faithfulness of Concept-based Explanations

arXiv:2404.18533v328 citationsh-index: 10EMNLP
AI Analysis

This work addresses the need for better evaluation methods for global explanations of LLM behaviors, which is an incremental but important step for interpretability in AI.

The paper tackles the challenge of evaluating concept-based explanations for large language models by introducing a formal definition of concepts and quantifying faithfulness via perturbation and readability via coherence patterns, with extensive experimental analysis to inform measure selection.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes