Position: Explaining Behavioral Shifts in Large Language Models Requires a Comparative Approach
Martino Ciaperoni, Marzio Di Vece, Luca Pappalardo, Fosca Giannotti, Francesco Giannini
TL;DR
The paper tackles the problem of explaining behavioral shifts that occur in large language models after interventions such as scaling, fine-tuning, or prompting. It proposes a formal Comparative XAI (Δ-XAI) framework that compares model behavior across consecutive checkpoints and defines how to attribute shifts to underlying internal changes using paired explanations. It identifies a set of desiderata (comparability, validity, actionability, monitoring) and maps six families of comparative explainers to these goals, illustrating the approach with an end-to-end pipeline and a concrete experiment that localizes and mitigates a harmful shift. The work provides a governance-oriented view on model updates, advocating for transition-aware reporting, robust explanations, and falsifiable causal tests to support safer and more accountable deployment of LLMs.
Abstract
Large-scale foundation models exhibit behavioral shifts: intervention-induced behavioral changes that appear after scaling, fine-tuning, reinforcement learning or in-context learning. While investigating these phenomena have recently received attention, explaining their appearance is still overlooked. Classic explainable AI (XAI) methods can surface failures at a single checkpoint of a model, but they are structurally ill-suited to justify what changed internally across different checkpoints and which explanatory claims are warranted about that change. We take the position that behavioral shifts should be explained comparatively: the core target should be the intervention-induced shift between a reference model and an intervened model, rather than any single model in isolation. To this aim we formulate a Comparative XAI ($Δ$-XAI) framework with a set of desiderata to be taken into account when designing proper explaining methods. To highlight how $Δ$-XAI methods work, we introduce a set of possible pipelines, relate them to the desiderata, and provide a concrete $Δ$-XAI experiment.
