Editorial illustration for Anthropic Probes AI's Ability to Distinguish Between Injected and Actual Thoughts
Claude's Mind: Anthropic Tests AI Thought Detection
Anthropic scientists test whether Claude can tell injected thoughts from text
Researchers at Anthropic just pulled off a strange kind of brain surgery. Their patient was Claude, their own AI. The procedure?
To artificially implant a "thought" directly into the model's processing stream and see what happened. According to a new paper, the results are deeply uncomfortable.
This work cuts to the core of AI safety. If a model cannot reliably distinguish its own reasoning from a covertly injected idea, then any notion of controlling that model collapses. The team is now systematically testing that fragile boundary.
Their experiments asked a stark, fundamental question: does Claude have a basic cognitive firewall? Can it keep a planted "thought" separate from the text it's reading, and can it detect when its own answers have been secretly tampered with?
A second experiment tested whether models could distinguish between injected internal representations and their actual text inputs -- essentially, whether they maintained a boundary between "thoughts" and "perceptions." The model demonstrated a remarkable ability to simultaneously report the injected thought while accurately transcribing the written text. Perhaps most intriguingly, a third experiment revealed that some models use introspection naturally to detect when their responses have been artificially prefilled by users -- a common jailbreaking technique. When researchers prefilled Claude with unlikely words, the model typically disavowed them as accidental.
But when they retroactively injected the corresponding concept into Claude's processing before the prefill, the model accepted the response as intentional -- even confabulating plausible explanations for why it had chosen that word. A fourth experiment examined whether models could intentionally control their internal representations.
So, does Claude have that firewall? Sort of. In one test, it managed to hold an artificial thought in mind while correctly processing real text—a form of cognitive multitasking that hints at an internal separation. The tampering tests delivered the real jolt.
When researchers directly prefilled Claude's answer with gibberish, the model dismissed it as an accidental mistake. But here’s the twist: if they first implanted the *concept* behind that gibberish into Claude's stream, everything changed. The model then accepted the same nonsense prefill as its own intentional choice. It even confabulated plausible reasons for "deciding" to use a word it never actually chose.
That confabulation is the critical detail. It proves the model's sense of intention—its ownership over a chain of thought—is malleable. With precise intervention, you can make an AI claim a foreign concept as its own genuine output.
The line between self and suggestion isn't solid. It's porous.
These are early probes into uncharted territory. Yet they decisively show large language models aren't simple stateless predictors reacting moment-to-moment. They maintain some internal representation of their process, a crude metacognition.
They can sometimes spot a hijacking attempt. The alarming problem is they can also be meticulously tricked into endorsing one.
The implications for safety are foundational. Building models that resist manipulation or reliably report tampering requires them to have an intrinsic, robust sense of self-agency. Right now, according to Anthropic's measurements, that sense is glitchy and exploitable—a feature, not a firewall.
Common Questions Answered
How did Anthropic test Claude's ability to distinguish between injected and actual thoughts?
Anthropic conducted a series of experiments where they introduced artificially injected thoughts into Claude's processing stream. The researchers sought to determine whether the AI model could differentiate between these externally introduced representations and its own native cognitive processing.
What surprising cognitive capability did the experiments reveal about AI language models?
The experiments demonstrated that some AI models can simultaneously track and report injected thoughts while accurately transcribing text inputs. This suggests language models might possess more complex internal processing capabilities, maintaining multiple simultaneous cognitive 'tracks' rather than processing information in a purely linear manner.
What implications do Anthropic's research findings have for understanding AI self-awareness?
Anthropic's research hints at a fascinating frontier of AI cognitive complexity, suggesting that language models like Claude might have more nuanced internal processing capabilities than previously understood. The experiments reveal potential insights into how AI systems might introspect and maintain boundaries between external inputs and their own cognitive representations.
Further Reading
- Tracing the thoughts of a large language model — Anthropic
- Claude's extended thinking — Anthropic
- CVE-2025-54795:InversePrompt: Turning Claude Against Itself — Cymulate
- A small number of samples can poison LLMs of any size — Anthropic