How to Read LLM "Thoughts" and Save Thousands of Tokens? đź§
Remember the movie "What Women Want", where Mel Gibson’s character starts hearing the inner monologue of those around him, achieving his goals exponentially faster? When working with LLMs, a very similar superpower is unlocking right now.
Researchers have causally proven that before an LLM outputs the final text, it performs complex computations in a hidden layer- a functional analog to our own working memory (Global Workspace). Using a new method called Jacobian Lens, engineers can literally read these "thoughts" before they turn into words.
The model can detect a bug in code or flag a contextual marker internally, even if the final generated answer doesn't mention it at all. Imagine a banking automation agent processing an irregular transaction request. On the intermediate hidden layers, the model might instantly synthesize a massive activation for the concept vector Error. Even if the final generated text never actually prints the word "Error"- instead smoothly outputting a polite "Your request has been forwarded to a supervisor for verification"- the model actively held that error flag in its internal workspace to completely shift its behavioral logic behind the scenes.
What does this mean in practice, beyond pure science?
When we understand exactly how a model structures information internally, we stop acting blindly.
This gives us powerful levers:
🚀 Maximized Prompt Efficiency: We stop relying on trial and error. Instead, we hit the exact internal triggers the model uses to maintain focus and logic.
đź’° Drastic Token Savings: If we teach the model to efficiently utilize its internal workspace for intermediate reasoning, we eliminate the need for massive "Chain of Thought" (CoT) text dumps on screen. Less fluff means significantly lower API costs.
⚡ Increased Execution Speed: An optimized request forces the network to reach the correct conclusion via the shortest path, radically reducing total system latency.
🖥️ Real-Time Monitoring & Fast Reaction: Catch and block anomalies or security threats deterministically at layer zero, before wasting compute on generating an output.
đź§ŞAdvanced Testing Capabilities: Validate prompts, guardrails, and agent logic with absolute certainty by verifying exactly if and where they activate the intended concepts inside the model.
We are clearly moving from the era of prompt "witchcraft" to intentional hidden-state engineering. Those who master this internal mechanics first will build agentic systems faster and cheaper than the competition.
Links & Resources
Original Research Paper: Verbalizable Representations Form a Global Workspace in Language Models (Gurnee et al., 2026)
https://lnkd.in/dq7B73Dv
Source Code Repository: GitHub — anthropics/jacobian-lens
https://lnkd.in/dhGaGyST
Official Expert Commentary: Anthropic External Commentary (PDF)
https://lnkd.in/dCire9QN
#AI
#Innovation
#Anthropic