Detecting the Disturbance: A Nuanced View of Introspective Abilities in LLMs

Ely Hahami, Ishaan Sinha, Lavik Jain, Josh Kaplan, Jon Hahami
12/13/2025
cs.AI

Official code: elyhahami18/llama-introspection-new (2 stars, Python, MIT, last commit 2026-07-28).

Abstract

Can large language models introspect, that is, accurately detect perturbations to their own internal states? We systematically investigate this question using activation steering in Meta-Llama-3.1-8B-Instruct.

Show full abstract

First, we show that the binary detection paradigm used in prior work conflates introspection with a methodological artifact: apparent detection accuracy is entirely explained by global logit shifts that bias models toward affirmative responses regardless of question content. However, on tasks requiring differential sensitivity, we find robust evidence for partial introspection: models localize which of 10 sentences received an injection at up to 88\% accuracy (vs.\ 10\% chance) and discriminate relative injection strengths at 83\% accuracy (vs.\ 50\% chance). These capabilities are confined to early-layer injections and collapse to chance thereafter -- a pattern we explain mechanistically through attention-based signal routing and residual stream recovery dynamics. Our findings demonstrate that LLMs can compute meaningful functions over perturbations to their internal states, establishing introspection as a real but layer-dependent phenomenon that merits further investigation. Our code is open-sourced here: https://github.com/elyhahami18/llama-introspection-new

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of "Detecting the Disturbance: A Nuanced View of Introspective Abilities in LLMs"

23PythonMar 1, 20264 months agoMIT

Similar Papers

Cite this paper

@article{hahami2025detecting,
  title  = {Detecting the Disturbance: A Nuanced View of Introspective Abilities in LLMs},
  author = {Ely Hahami and Ishaan Sinha and Lavik Jain and Josh Kaplan and Jon Hahami},
  year   = {2025},
  eprint = {2512.12411},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.12411v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.12411.svg)](https://codeofpaper.com/paper/2512.12411)

Discussion