LAMP: Extracting Locally Linear Decision Surfaces from LLM World Models
Ryan Chen, Youngmin Ko, Zeyu Zhang, Catherine Cho, Sunny Chung, Mauro Giuffré, Dennis L. Shung, Bradly C. Stadie
TL;DR
LAMP addresses whether an LLM's self-reported reasons align with its decisions by constructing a local linear surrogate that maps explanation weights to predicted probabilities, using perturbations of those weights without access to gradients. The method aggregates a compact set of explanation factors and fits a ridge-regularized surrogate to capture local decision surfaces, validating the approach through multiple datasets and counterfactual perturbations. Key findings show that LAMP surrogates can predict LLM outputs with high fidelity, correlate with human judgments of explanation quality, and offer practical auditing insights, even for proprietary models. The work advances interpretable auditing by providing a gradient-free, transportable framework that can inform trust and governance in high-stakes NLP applications, with plans to extend to higher-order and interactive settings.
Abstract
We introduce LAMP (Linear Attribution Mapping Probe), a method that shines light onto a black-box language model's decision surface and studies how reliably a model maps its stated reasons to its predictions through a locally linear model approximating the decision surface. LAMP treats the model's own self-reported explanations as a coordinate system and fits a locally linear surrogate that links those weights to the model's output. By doing so, it reveals which stated factors steer the model's decisions, and by how much. We apply LAMP to three tasks: sentiment analysis, controversial-topic detection, and safety-prompt auditing. Across these tasks, LAMP reveals that many LLMs exhibit locally linear decision landscapes. In addition, these surfaces correlate with human judgments on explanation quality and, on a clinical case-file data set, aligns with expert assessments. Since LAMP operates without requiring access to model gradients, logits, or internal activations, it serves as a practical and lightweight framework for auditing proprietary language models, and enabling assessment of whether a model behaves consistently with the explanations it provides.
