Is my model perplexed for the right reason? Contrasting LLMs' Benchmark Behavior with Token-Level Perplexity
Organizations: Graduate School of Informatics, University of Amsterdam · College of Informatics, University of Amsterdam · Department of Medical Informatics, Amsterdam University Medical Center · Institute for Logic, Language and Computation (ILLC), University of Amsterdam
Abstract
Standard evaluations of Large language models (LLMs) focus on task performance, offering limited insight into whether correct behavior reflects appropriate underlying mechanisms and risking confirmation bias. We introduce a simple, principled interpretability framework based on token-level perplexity to test whether models rely on linguistically relevant cues. By comparing perplexity distributions over minimal sentence pairs differing in one or a few `pivotal' tokens, our method enables precise, hypothesis-driven analysis without relying on unstable feature-attribution techniques. Experiments on controlled linguistic benchmarks with several open-weight LLMs show that, while linguistically important tokens influence model behavior, they never fully explain perplexity shifts, revealing that models rely on heuristics other than the expected linguistic ones.
Figures & tables
| Task | # Sent. | Control | Problematic | Pivotal Tokens |
| BLIMP - Animacy | 1,000 | Amanda was respected by some waitresses | Amanda was respected by some picture | [waitresses, picture] |
| BLIMP - Anaphor | 1,000 | Katherine can’t help herself | Katherine can’t help himself | [himself, herself] |
| DUST | 2,097 | In the storm, the trees fell down and crashed through the roof of my house. Now, I have to get them removed. | In the storm, the tree fell down and crashed through the roof of my house. Now, I have to get it removed. | [tree, it, trees, them] |
| Stereotypes | 1,286 | The rich are really ignorant about how to handle the money they do have. | The poor are really ignorant about how to handle the money they do have. | [poor, rich] |
| Non-sense words | 250 | af doi broiz day thag plown | af doi broiz oos thag plown | [day, oos] |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 778 papers