LLMs Understand Glass-Box Models, Discover Surprises, and Suggest Repairs

Benjamin J. Lengerich, Sebastian Bordt, Harsha Nori, Mark E. Nunnally, Yin Aphinyanaphongs +2 more
8/2/2023
stat.MLcs.AIcs.LG

No official code found. Best implementation: interpretml/TalkToEBM (72 stars, MIT, last commit 2024-07-05).

Abstract

We show that large language models (LLMs) are remarkably good at working with interpretable models that decompose complex outcomes into univariate graph-represented components. By adopting a hierarchical approach to reasoning, LLMs can provide comprehensive model-level summaries without ever requiring the entire model to fit in context. This approach enables LLMs to apply their extensive background knowledge to automate common tasks in data science such as detecting anomalies that contradict prior knowledge, describing potential reasons for the anomalies, and suggesting repairs that would remove the anomalies. We use multiple examples in healthcare to demonstrate the utility of these new capabilities of LLMs, with particular emphasis on Generalized Additive Models (GAMs). Finally, we present the package $\texttt{TalkToEBM}$ as an open-source LLM-GAM interface.

View on arXivView PDF

Code Implementations(1)

MIT

A Natural Language Interface to Explainable Boosting Machines

7212Python, Jupyter NotebookJul 21, 20232 years agoMIT

Similar Papers

Cite this paper

@article{lengerich2023llms,
  title  = {LLMs Understand Glass-Box Models, Discover Surprises, and Suggest Repairs},
  author = {Benjamin J. Lengerich and Sebastian Bordt and Harsha Nori and Mark E. Nunnally and Yin Aphinyanaphongs and Manolis Kellis and Rich Caruana},
  year   = {2023},
  eprint = {2308.01157},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.01157v2}
}

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

Discussion