← Latest papers
💻 computer science

Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models

This paper introduces the first gold standard evaluation framework for assessing highlight explanations of context utilization in language models, revealing that while the adapted mechanistic interpretability method MechLight outperforms existing techniques, all methods struggle with longer contexts and exhibit positional biases.

Original authors: Jingyi Sun, Pepa Atanasova, Sagnik Ray Choudhury, Sekh Mainul Islam, Isabelle Augenstein

Published 2026-04-28
📖 5 min read🧠 Deep dive

Original authors: Jingyi Sun, Pepa Atanasova, Sagnik Ray Choudhury, Sekh Mainul Islam, Isabelle Augenstein

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

Imagine you have a very smart robot assistant (a Language Model) that knows a lot of facts from its own memory, like a library it built inside its brain. Sometimes, you give this robot a new piece of paper with information on it and ask it a question. The robot might answer using what it already knows, or it might look at your new paper.

The problem is, the robot doesn't tell you which source it used. Did it read your paper, or did it just guess from its memory?

This paper introduces a new way to test "Highlight Explanations." Think of these explanations as a highlighter pen that the robot uses to mark the exact words in your paper that it read to give its answer. The goal is to see if the highlighter pen is actually pointing to the right words, or if it's just scribbling randomly.

Here is a simple breakdown of what the researchers did and found:

1. The Problem: The "Black Box"

Currently, we can't easily tell if the robot is reading your paper or just relying on its memory. Existing tools that try to show us "what the robot is thinking" (called Highlight Explanations) have never been properly tested to see if they are actually accurate. It's like having a GPS that claims to show you the route, but no one has ever checked if it actually points to the right streets.

2. The Solution: A "Gold Standard" Test

The researchers built a special test lab to check these highlighters. They created four specific scenarios, like a detective game:

  • The Conflict: The paper says "The capital is Ankara," but the robot's memory says "The capital is London." If the robot answers "Ankara," it must have read the paper. The highlighter should point to "Ankara."
  • The Distraction: The paper has a lot of nonsense or irrelevant info. The highlighter shouldn't point to the nonsense.
  • The Double Trouble: You give the robot two different papers that both contradict its memory. The highlighter needs to point to the specific paper the robot chose.

They created a "Gold Standard" (the correct answer key) for these tests so they could objectively grade the highlighters.

3. The Contestants

They tested four different types of highlighters:

  • The "Blocker" (Feature Ablation): This method tries to hide one word at a time to see if the answer changes. It's like covering a word with your finger to see if the sentence still makes sense.
  • The "Math Wizard" (Integrated Gradients): This uses complex math to calculate how much each word contributed to the answer.
  • The "Gaze Tracker" (Attention): This looks at where the robot's internal "eyes" were looking when it spoke.
  • The "Mechanic" (MechLight): This is a new method the authors created. Instead of guessing, they looked inside the robot's brain (its internal mechanics) to find the specific gear or switch that decided to use the paper, and then traced that back to the words.

4. The Results: Who Won?

  • The Winner: The "Mechanic" (MechLight) was the best at pointing to the right words. It was the most reliable detective.
  • The Runners-up: The "Blocker" method was okay but very inconsistent. Sometimes it worked great; other times it got confused.
  • The Losers: Surprisingly, the "Math Wizard" and the "Gaze Tracker"—which are very popular and used in many other tools—were terrible at this specific job. They often pointed to the wrong words or couldn't tell which paper the robot used.

5. The Big Flaws (The "Gotchas")

Even the best highlighter had two major weaknesses:

  • The "Long Paper" Problem: As the text got longer, all the highlighters got worse. It's like trying to find a specific needle in a haystack; the bigger the haystack, the harder it is for the highlighter to find the needle.
  • The "Position Bias": The highlighters had a weird habit of favoring words based on where they were, not what they meant.
    • Some methods always liked words at the end of the text (the "recency" bias).
    • Others always liked words at the beginning (the "primacy" bias).
    • This means if you move a sentence from the start to the end, the highlighter might change its mind about whether that sentence was important, even if the meaning is the same.

6. The Conclusion

The paper concludes that while we have tools to explain how robots use context, most of them are currently unreliable for this specific task. They often fail to show us exactly which part of the text the robot used, especially when the text is long or when there are multiple documents.

The authors' new framework (the test lab) is now available for others to use to build better, more accurate highlighters in the future. They also released their code and data so other scientists can try to fix these problems.

In short: We have a new, rigorous way to test if AI explainers are telling the truth. The test showed that current explainers are often lying (or at least, very confused), but we now have a blueprint to build ones that tell the truth.

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 →