Explingo: Explaining AI Predictions using Large Language Models

Alexandra Zytek, Sara Pido, Sarah Alnegheimish, Laure Berti-Equille, Kalyan Veeramachaneni
12/6/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: sibyl-dev/pyreal (24 stars, MIT, last commit 2025-05-06).

Abstract

Explanations of machine learning (ML) model predictions generated by Explainable AI (XAI) techniques such as SHAP are essential for people using ML outputs for decision-making. We explore the potential of Large Language Models (LLMs) to transform these explanations into human-readable, narrative formats that align with natural communication. We address two key research questions: (1) Can LLMs reliably transform traditional explanations into high-quality narratives? and (2) How can we effectively evaluate the quality of narrative explanations? To answer these questions, we introduce Explingo, which consists of two LLM-based subsystems, a Narrator and Grader. The Narrator takes in ML explanations and transforms them into natural-language descriptions. The Grader scores these narratives on a set of metrics including accuracy, completeness, fluency, and conciseness. Our experiments demonstrate that LLMs can generate high-quality narratives that achieve high scores across all metrics, particularly when guided by a small number of human-labeled and bootstrapped examples. We also identified areas that remain challenging, in particular for effectively scoring narratives in complex domains. The findings from this work have been integrated into an open-source tool that makes narrative explanations available for further applications.

View on arXivView PDF

Code Implementations(1)

sibyl-dev/pyrealCommunity100%
MIT

An easier approach to using and understanding ML models

243Python, Jupyter NotebookApr 17, 20201 years agoMIT
explainable-aimachine-learningpythonxai

Similar Papers

Cite this paper

@article{zytek2024explingo,
  title  = {Explingo: Explaining AI Predictions using Large Language Models},
  author = {Alexandra Zytek and Sara Pido and Sarah Alnegheimish and Laure Berti-Equille and Kalyan Veeramachaneni},
  year   = {2024},
  eprint = {2412.05145},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.05145v1}
}

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

Discussion