LLMCheckup: Conversational Examination of Large Language Models via Interpretability Tools and Self-Explanations

Qianli Wang, Tatiana Anikina, Nils Feldhus, Josef van Genabith, Leonhard Hennig +1 more
1/23/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: DFKI-NLP/LLMCheckup (12 stars, last commit 2024-03-24).

Abstract

Interpretability tools that offer explanations in the form of a dialogue have demonstrated their efficacy in enhancing users' understanding (Slack et al., 2023; Shen et al., 2023), as one-off explanations may fall short in providing sufficient information to the user. Current solutions for dialogue-based explanations, however, often require external tools and modules and are not easily transferable to tasks they were not designed for. With LLMCheckup, we present an easily accessible tool that allows users to chat with any state-of-the-art large language model (LLM) about its behavior. We enable LLMs to generate explanations and perform user intent recognition without fine-tuning, by connecting them with a broad spectrum of Explainable AI (XAI) methods, including white-box explainability tools such as feature attributions, and self-explanations (e.g., for rationale generation). LLM-based (self-)explanations are presented as an interactive dialogue that supports follow-up questions and generates suggestions. LLMCheckupprovides tutorials for operations available in the system, catering to individuals with varying levels of expertise in XAI and supporting multiple input modalities. We introduce a new parsing strategy that substantially enhances the user intent recognition accuracy of the LLM. Finally, we showcase LLMCheckup for the tasks of fact checking and commonsense question answering.

View on arXivView PDF

Code Implementations(1)

DFKI-NLP/LLMCheckupCommunity100%

Code for the NAACL 2024 HCI+NLP Workshop paper "LLMCheckup: Conversational Examination of Large Language Models via Interpretability Tools and Self-explanation" (Wang et al. 2024)

121HTML, PythonOct 18, 20232 years ago
chatbotconversational-aidialogueexplainabilityexplainable-ai+6 more

Similar Papers

Cite this paper

@article{wang2024llmcheckup,
  title  = {LLMCheckup: Conversational Examination of Large Language Models via Interpretability Tools and Self-Explanations},
  author = {Qianli Wang and Tatiana Anikina and Nils Feldhus and Josef van Genabith and Leonhard Hennig and Sebastian Möller},
  year   = {2024},
  eprint = {2401.12576},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12576v2}
}

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

Discussion