Applying Causal Learning to Evaluate Large Language Models (LLMs)

Read full text
Authors: Michael Konrad, Andrew O Mellinger, Linda P. Gates, David Shepard, Nicholas Testa
Cited by: 0

Abstract

As the SEI’s body of causal work has evolved into an end-to-end causal discovery and inference method and tool suitable for detecting bias in ML and AI models, SEI researchers are beginning to investigate whether the first step of the method, causal discovery, can also be applied to LLMs. The SEI’s approach to exploring this question comprises three steps: (1) obtain a dataset of story/summary pairs to use as ground-truth, (2) design prompt styles (e.g., purpose, tone) with which to prompt a Summarizer LLM to summarize a story from one of those pairs, and (3) design a set of summarization-quality features employed by an Evaluator LLM to score the quality of summaries generated by the Summarizer LLM. In this way, SEI researchers created a dataset of higher level features for input to causal discovery. The resulting causal graph demonstrates that a causal relationship between the focus of a prompt style and summary quality is often discoverable when both features overlap. This overall approach may benefit software engineering and LLM research by providing a more formal methodology for assessing the nuanced cause-and-effect relationships unique to a given LLM, reducing confounding.

Fields of Study & Subjects

Topic Modeling Bayesian Modeling and Causal Inference Ethics and Social Impacts of AI

Publication details

Journal / source
KiltHub Repository
Publication date
3 March 2026
Language
EN