Are self-explanations from Large Language Models faithful?

Andreas Madsen, Sarath Chandar, Siva Reddy
1/15/2024
163 citations
cs.CLcs.AIcs.LG

Official code: AndreasMadsen/llm-introspection (14 stars, Python, last commit 2024-05-29).

Abstract

Instruction-tuned Large Language Models (LLMs) excel at many tasks and will even explain their reasoning, so-called self-explanations. However, convincing and wrong self-explanations can lead to unsupported confidence in LLMs, thus increasing risk.

Show full abstract

Therefore, it's important to measure if self-explanations truly reflect the model's behavior. Such a measure is called interpretability-faithfulness and is challenging to perform since the ground truth is inaccessible, and many LLMs only have an inference API. To address this, we propose employing self-consistency checks to measure faithfulness. For example, if an LLM says a set of words is important for making a prediction, then it should not be able to make its prediction without these words. While self-consistency checks are a common approach to faithfulness, they have not previously been successfully applied to LLM self-explanations for counterfactual, feature attribution, and redaction explanations. Our results demonstrate that faithfulness is explanation, model, and task-dependent, showing self-explanations should not be trusted in general. For example, with sentiment classification, counterfactuals are more faithful for Llama2, feature attribution for Mistral, and redaction for Falcon 40B.

View on arXivView PDF

Code Implementations(1)

Interpretability faithfulness and introspection in conversational LLMs

142Python, ShellFeb 15, 20242 years ago

Similar Papers

Cite this paper

@article{madsen2024selfexplanations,
  title  = {Are self-explanations from Large Language Models faithful?},
  author = {Andreas Madsen and Sarath Chandar and Siva Reddy},
  year   = {2024},
  eprint = {2401.07927},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.07927v4}
}

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

Discussion