← Latest papers
🤖 machine learning

LAMP: Extracting Local Decision Surfaces From Large Language Models

LAMP (Local Attribution Mapping Probe) is a lightweight, black-box framework that audits large language models by fitting locally linear surrogates to their self-reported explanations, allowing researchers to assess how consistently a model's stated reasoning aligns with its actual predictions.

Original authors: Ryan Chen, Youngmin Ko, Zeyu Zhang, Catherine Cho, Sunny Chung, Mauro Giuffré, Dennis L. Shung, Bradly C. Stadie

Published 2026-04-28
📖 4 min read☕ Coffee break read

Original authors: Ryan Chen, Youngmin Ko, Zeyu Zhang, Catherine Cho, Sunny Chung, Mauro Giuffré, Dennis L. Shung, Bradly C. Stadie

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The "Mystery Chef" Problem: Understanding the LAMP Method

Imagine you are eating at a world-famous, high-end restaurant. The chef is a complete mystery—you can’t see into the kitchen, you don't know their recipes, and you don't know how they were trained. You only see the final dish and a little note on the menu that says: "This dish is delicious because it uses fresh basil, sea salt, and garlic."

You have a problem: Do you actually believe the chef?

Maybe the chef is just saying "basil" because it sounds fancy, but they are actually just dumping a ton of salt in the dish to make it taste like something. If you asked for less salt, would the dish actually change, or would the chef just keep giving you the same salty meal and claiming it’s "basil-forward"?

Large Language Models (LLMs) like ChatGPT are like that mysterious chef. They give us an answer (the dish) and a reason (the recipe). But researchers are worried that the "reason" the AI gives us might just be a polite lie—a way to make its answer sound logical when it’s actually just guessing or following a hidden bias.


Enter LAMP: The "Flavor Tester"

The researchers created a new tool called LAMP (Local Attribution Mapping Probe). Instead of trying to break into the kitchen to steal the chef's secret notebook (which is impossible with "black-box" models like GPT-4), LAMP acts like a highly scientific Flavor Tester.

Here is how LAMP works using a simple three-step process:

1. The "Ingredient" List (Extraction)

First, we ask the AI: "Why did you give this movie a 5-star rating?" The AI responds: "Because the acting was great (weight: 0.8) and the plot was exciting (weight: 0.2)." These are our "ingredients" and their "importance weights."

2. The "What If?" Game (Perturbation)

This is the genius part. LAMP doesn't just take the AI's word for it. It starts playing a game of "What If?"

  • It tells the AI: "Okay, what if the acting was only 0.4 important instead of 0.8?"
  • Then: "What if the plot was 0.5 important instead of 0.2?"

LAMP creates dozens of these "slightly different" versions of the recipe. It’s like a scientist slightly changing the amount of sugar in a cake over and over again to see exactly when it stops being sweet and starts being bitter.

3. Drawing the "Map" (The Decision Surface)

By watching how the AI’s answers change as we tweak those ingredients, LAMP draws a map (a "decision surface").

  • If the AI says "The plot is important," and then we decrease the plot weight and the AI’s rating actually drops, LAMP confirms: "Yes, the plot is a real dial you can turn."
  • If the AI says "The plot is important," but changing the plot weight does nothing to the rating, LAMP sounds the alarm: "Warning! The AI is lying about why it made this decision!"

Why does this matter?

The researchers tested LAMP on everything from movie reviews to medical diagnoses. They found two very important things:

  1. The "Dials" are Real: Most of the time, the AI's "reasons" actually work like real control knobs. If you turn the "positivity" knob up, the AI's prediction actually moves in that direction. This means the AI is being somewhat consistent.
  2. The "Doctor" Test: In a high-stakes medical test, LAMP helped show how much weight an AI was giving to certain symptoms. This allows a human doctor to look at the "map" and say, "Wait, the AI is making this diagnosis based on the patient's age rather than their actual symptoms. I shouldn't trust this one."

The Bottom Line

LAMP is like a lie detector for AI logic. It doesn't need to see the AI's "brain" to know if it's telling the truth; it just needs to see if the AI's behavior changes in the way it claims it should. It turns a "black box" into a machine with visible, predictable knobs and dials.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →