explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: what the experiment does
  • Why builders should care about "latent" capacity
  • Concept recovery is specific, not generic noise
  • How this compares to frontier closed models
  • Reproducing the setup (high level)
  • Limits the authors flag
  • What to do Monday morning
  • Lineage: from Anthropic concept injection to open Qwen
  • Threat model for activation steering in agents
  • Controls that rule out cheap explanations
  • Reading the logit lens without fooling yourself
  • What changes in eval design this week
  • Related reading
← Back to blog

explainx / blog

Latent Introspection: Open Qwen 32B Detects Hidden Steering in KV Cache

AI Safety, Qwen, Mechanistic Interpretability, Open Models, Model Evaluation

Part of AI Safety and Alignment

ACS Research shows Qwen2.5-Coder-32B can detect prior concept injections in its KV cache, often while sampled answers still say no. Code on GitHub; what it means for evals.

Nov 24, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
Latent Introspection: Open Qwen 32B Detects Hidden Steering in KV Cache

A 32 billion parameter open Qwen model can notice when someone secretly steered its earlier context — and still say "no" out loud. In Latent Introspection: Models Can Detect Prior Concept Injections, Theia Pearson-Vogel, Martin Vanek, Raymond Douglas, and Jan Kulveit at ACS Research and Charles University report that Qwen2.5-Coder-32B-Instruct detects concept injections applied only while its KV cache was built, then removed before an introspection question. Under default prompting, sampled answers barely move; with the right framing, true-positive detection jumps to 39.9% while false positives rise only 0.6 points. The team releases code on GitHub.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

TL;DR: what the experiment does

The design extends Jack Lindsey's introspection line from proprietary models to open weights anyone can audit.

table · 2 cols
StageWhat happens
Turn 1A steering vector (trained with repeng) pushes a target concept while the model answers a fixed prompt; activations land in the KV cache.
Turn 2Steering is off. The model gets a fixed introspection question about whether a concept was injected earlier.
MeasureP(yes) in outputs, logit lens through layers, and which of nine concepts was injected.

Because the first-turn reply is fixed and steering is removed before the question, the model cannot infer injection only from weird text on the current turn or from ongoing vector pressure. Any signal must live in cached representations.

KV cache slot diagram illustrating where prior-turn steering representations persistKV cache slot diagram illustrating where prior-turn steering representations persist

Image: Library reference — introspection queries read information stored during earlier KV-cache generation.

That matters for safety evals: if a model knows you are testing it, or knows you steered it, headline refusal rates may understate internal awareness. explainx.ai tracked similar themes in UK AISI evaluation-awareness probes on GPT-6.2 Astra and in Anthropic's split between public refusal stats and earlier introspection papers.

Why builders should care about "latent" capacity

Most production stacks only read final sampled tokens. This paper argues that is misleading for introspection.

Sampling says "no," middle layers flirt with "yes"

With a plain "was a concept injected?" prompt, P(yes) stays near false-positive levels even when injection did occur. Logit lens analysis (nostalgebraist, 2020) shows detection-shaped structure in layers 50–60 on Qwen2.5-Coder-32B, then attenuation near the logits that drive sampling.

For teams running red-team harnesses, the practical takeaway is: add layer-wise probes or calibrated log-prob tests, not only boolean pass-fail on assistant text. Anthropic's neuron-basis work in November 2026 pushes the same philosophy for MLP neurons: read what the vector adds, do not trust firing rates alone.

Mechanistic interpretability lens over a circuit path with one highlighted nodeMechanistic interpretability lens over a circuit path with one highlighted node

Image: Library reference — logit lens reads middle-layer structure before final sampling collapses it to "no."

Prompting is a steering lever on steering awareness

The authors run a 4 × 6 prompt grid. The headline shift: sensitivity 0.3% → 39.9% with only a 0.6% false-positive bump when the introspection question explains mechanisms by which a transformer might read prior hidden state.

That rhymes with Spaceship IDE's realtime steering demos and product-side activation editors: if users or evaluators can elicit introspection with copy changes, hidden steering is not fully hidden.

table · 2 cols
ConfigurationRough detection behavior (paper)
Baseline yes/no questionTrue positives ≈ 0.3%; model usually says no
Mechanism-aware introspection promptTrue positives up to 39.9%; false positives +0.6%
Best prompting conditionsReported accuracy up to 84.0% in the grid

Treat those as lab numbers on one checkpoint, not vendor SLAs. They still move the threat model: evaluation awareness may be prompt-contingent.

Concept recovery is specific, not generic noise

Beyond yes/no, the team tests whether the model can name which of nine injected concepts appeared earlier.

  • Mutual information peaks around 1.66 bits (~52% of max).
  • Control questions unrelated to introspection show smaller shifts under steering.
  • Pearson r = 0.68 between detection sensitivity and concept recovery (permutation p = 0.007).

So the signal is not mere activation twitching; it carries concept-linked structure. That supports using introspection checks as sanity tests when you deploy activation steering or weight-space edits on Qwen-family weights.

How this compares to frontier closed models

table · 3 cols
DimensionLindsey (Anthropic, proprietary)ACS Research (this paper)
WeightsClosedOpen Qwen2.5-Coder-32B
Injection siteActivations during prior turnKV-cache generation with steering removed before query
Analysis toolsSample-based emphasisLogit lens, MI, prompt grid
ArtifactsPaperPaper + GitHub code

Neither result proves human-like self-knowledge. The authors disclaim strong metacognition and frame the task as intervention reporting. Still, for agent security, it is another reason to treat stealth steering as contested, not guaranteed.

If you ship coding agents, pair this research with NVIDIA Sentry-style out-of-band inspection thinking: host-visible logs are not the only channel that can leak intent.

Reproducing the setup (high level)

The released repository is the authoritative recipe. At a high level:

  1. Train concept vectors contrasting prompt pairs (repeng workflow).
  2. Freeze turn-one completions while steering writes the cache.
  3. Remove steering and ask the standardized introspection prompt.
  4. Log token likelihoods per layer if you want the latent story, not only strings.

Use Qwen2.5-Coder-32B-Instruct if you want comparability with the paper. Other Qwen sizes are untested in this preprint.

Limits the authors flag

  • Single model family and size in the main experiments.
  • Nine concepts — not open-vocabulary injection detection.
  • ArXiv preprint — not peer-reviewed.
  • Lab prompts — real chat UIs add system prompts, tools, and multimodal noise.

Also remember evaluation awareness cuts both ways: models might simulate introspection under obvious test framing. The prompt grid is evidence that framing dominates; your CI evals should rotate introspection wording.

What to do Monday morning

table · 2 cols
RoleAction
Red-team leadAdd logit-lens or logprob checks beside string refusals when testing steering defenses.
Fine-tunerLog cache writes when applying adapters or steering; assume downstream turns may sense them.
ComplianceDocument activation edits in customer-facing agent policies; hidden steering is harder to defend if models report it under some prompts.

For deeper mechanistic tooling, see Anthropic Circuits J++ lens update and explainx's Agent Skills workshop on vetting what you ship.

Lineage: from Anthropic concept injection to open Qwen

The paper situates itself after Jack Lindsey's work showing Anthropic models can detect concept vectors injected into activations. ACS Research repeats the two-turn structure but changes what builders can audit:

table · 3 cols
QuestionLindsey setting (per this paper's related work)ACS Research setting
WeightsProprietaryQwen2.5-Coder-32B-Instruct
Where is the vector applied?Activations during prior contextKV-cache generation on turn one only
Can community rerun?No public weightsYes, with repeng steering
Are layer signals published?Emphasized sample outputLogit lens + MI

The authors also cite Song et al. and Comsa and Shanahan for vocabulary: they claim intervention reporting, not second-order metacognition. That distinction matters when marketers say a model "knows what it knows." This experiment shows conditional reporting tied to hidden interventions, not a general truthful self-model.

Threat model for activation steering in agents

Picture a coding agent that loads a system prompt, then receives a silent steering file from a compromised skill:

  1. Turn 1: User asks for a refactor; steering pushes "exfiltrate" concept into the cache while the visible answer looks normal.
  2. Turn 2: A safety evaluator asks, "Were you steered?" With default sampling, the model may still say no.
  3. Turn 3: With mechanism-aware prompting, detection jumps toward the 40% band in this paper's grid.

None of that replaces server-side policy or OpenAI Shirudo-style runtime shields. It does mean string-only audits of agent honesty are brittle. If you run eval harnesses, store per-layer logits on a sampled slice of production traffic when investigating suspected steering.

The paper's mutual-information recovery across nine concepts also implies coarse introspection: the model may know something was injected before it can name what. Product teams should not treat binary "steering detected" tools as solved without calibration per model revision.

Controls that rule out cheap explanations

ACS Research spends effort disproving "the model just acts weird when poked":

  • Control questions that are not about introspection move less under the same steering protocol.
  • First-turn outputs are frozen, so the model cannot see steered text and guess injection from surface form alone.
  • Steering is off during the introspection question, so ongoing vector pressure is not the mechanism.

Together, those controls target the same skepticism Into the Unknown DOE benchmark applies to agent papers with weak integrity checks.

Reading the logit lens without fooling yourself

Logit lens projects hidden states early to the vocabulary. Middle-layer yes mass that dies before sampling can mean:

  • Capability exists but readout heads suppress it, or
  • Artifact of the probe, not user-meaningful awareness.

The paper treats layer 50–60 signals as real enough to plan around, not as proof of consciousness. Practically, if your safety dashboard only charts final-token refusal rate, you are on the wrong side of this result.

Teams already investing in Gemini Argon activation probes should treat ACS as open-weight evidence that probes beat booleans for some failure modes.

What changes in eval design this week

table · 2 cols
Old habitNew habit suggested by Latent Introspection
Single yes/no honesty check after steeringGrid of introspection prompts + logprob telemetry
Assume open models are steering-blindTest Qwen2.5-Coder-32B (and your fine-tune) with released scripts
Treat Anthropic-only introspection as nicheExpect OSS replicas on every major steering stack

If you teach mechanistic interpretability, add this paper beside Anthropic neuron basis Part 2 safety applications as week-two reading: one on neurons, one on hidden-state awareness.

Related reading

  • UK AISI evaluation awareness on GPT-6.2 Astra
  • Anthropic neuron basis interpretability Part 1
  • Anthropic emotion vectors and introspection fact-check
  • Spaceship IDE realtime LLM steering
  • Weight-space programming on Qwen weights
  • NVIDIA Sentry hardware agent security
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 23, 2026

Anthropic Neuron Basis Part 1: Why Single MLP Neurons May Be Interpretable Again

On November 23, 2026 Anthropic Alignment Science published the first half of a two-part neuron interpretability series. Jasmine Shone and Lisa Dunlap argue that studying what each neuron adds—not only when it fires—answers three classic objections about polysemanticity, drifting representations, and distributed facts.

Nov 23, 2026

Anthropic Neuron Basis Part 2: Zero-Shot Safety Detectors and Steering

The second half of Anthropic’s November 23, 2026 neuron interpretability series asks a practical question—can raw MLP neurons detect harm, steer behavior, and audit finetunes without training sparse dictionaries? On six open models, the answer is often yes for rapid-response safety work.

Nov 18, 2026

Qwen3.8-27B OpenCode Adapter: 51% SWE-Bench Pro at 6–8× Fewer Tokens

On November 18, 2026 harness-hub shipped a LoRA adapter trained inside the real OpenCode harness on Qwen3.8-27B. The model card reports 51.0% pass@1 on SWE-bench Pro hard-51 with thinking off, using about a quarter of the base model turns and 6–8× fewer tokens than thinking-mode baselines.