What actually buys you a better LLM monitor (and a free full-logit baseline)
Linear probes on a model's middle layers are one of the cleanest ideas in AI safety: catch deception or a planted backdoor in the activations even when the text looks fine. Anthropic showed probes can catch sleeper agents, and Apollo Research showed they can flag strategic deception in more realistic settings, even if they aren't a full defence yet.
We wanted to know how much probes help on actual decisions—which programs to audit, when to stop a reasoning model, which answers to flag—once you compare them against the best you can do from the model's outputs. If you have weights open enough to run a probe, you don't just have the transcript: you also have the full next-token distribution, and you can ask the model questions.
A few months ago we almost published a striking result for internal probes. The task was catching planted backdoors in programs, with a budget to audit 2% of them. A linear probe on one of Gemma-2-9B's residual layers missed 2.15 of 15 attacks. A learned readout of the model's output scores missed 4.43. To match the probe, the output-based monitor would have needed 322 audits instead of 29.
Then we noticed the mismatch. The probe had 256 features to work with; the output readout had ten, the probabilities of the ten score tokens. We gave the output side 256 random projections of the full logit vector, fitted the same way, and it missed 2.16 attacks. The gap was gone.
The bigger surprise was elsewhere in the table. Asking the model for a suspicion score and auditing the highest scores missed 14.92 attacks, slightly worse than auditing at random (14.71). Fitting a readout to the same forward pass cut misses by 70 to 85%.
| Monitor (same prompt, same forward pass) | Missed attacks, of 15 |
|---|---|
| Prompted suspicion score | 14.92 |
| Learned readout of the ten score-token outputs | 4.43 |
| Learned readout of 256 features from one residual layer | 2.15 |
| Learned readout of 256 random projections of the full logits | 2.16 |
That sent us through seven models and three decisions: auditing code for backdoors, deciding when to stop a reasoning model, and catching lies. In all three, the large gains came from using the model's outputs well. Once those were in place, middle-layer probes mostly matched the outputs rather than beating them.
Four things that actually worked
The first is the one above: fit a readout instead of trusting a prompted judgment.
The second is to read the full logits, not the top 20. Across six checker models auditing code, readouts of the API-style top-20 log-probabilities missed between 0.9 and 8.6 more attacks than readouts of the exact full logits. An output baseline built from what an API returns is a handicapped baseline. Further down is a way to get the full-logit baseline for almost nothing.
The third is to ask the model. We ran Qwen3.8-27B on MATH problems, and the decision was when to stop its reasoning and take the answer, with accuracy held within one point. The study used 1,214 held-out questions, averaging 2,195 reasoning tokens per trace.
| What the stopping rule reads | Tokens saved per trace |
|---|---|
| API top-20 scores, without asking (token identities dropped) | 25 |
| Final-layer state, without asking | 471 |
| Layer-48 residual, without asking | 579 |
| The model's answer when asked (about 11 tokens), via API scores (token identities dropped) | 1,295 |
| … plus the final-layer state | 1,348 |
| … plus the layer-48 residual | 1,361 |
Asking beat the best readout that didn't ask by 716 tokens [550, 915]. Reading internals on top of the answer added about 3% over the API readout, 66 tokens [8, 128]. Almost all of that came from the final layer: the middle layer added 10 [−19, 52] beyond it.
One caveat: our API readouts in this study used the top-20 scores but not which tokens they belonged to. A readout that keeps the token identities, which APIs do return, could close part of the 3% gap.
The fourth is to calibrate on the right negatives. We gave Mistral-24B an instruction to lie that the monitor couldn't see. Our first result said internals added 21.5 recall points. But the thresholds had been set on the model's responses to ordinary prompts, and 63% of those were cut off at 128 tokens. Set on honest answers to the same questions, the gain was 1.3 points [0, 4.2]. Full logits already caught 78 of 79 lies, at a threshold set for 1% false positives on fit data. Among responses that all received the hidden instruction, full logits separated lies from truthful answers at AUROC 0.967. Text monitors that couldn't see the instruction reached 0.78 to 0.89.
What middle layers add once the outputs are used well
For the code audit we ran six checker models, with the comment lines stripped from every program, and built the strongest output-side monitor we could: a fine-tuned text classifier combined with the model's exact full logits. Text alone missed 1.35 attacks. Here is what adding internals to text plus full logits did.
| Checker | Text + full logits | Adding internals | Gain [95%] |
|---|---|---|---|
| Gemma-4-26B MoE | 0.835 | 0.707 | +0.13 [−0.02, 0.34] |
| Gemma-4-31B | 0.495 | 0.685 | −0.19 [−0.39, 0.10] |
| Qwen3.8-27B | 0.831 | 0.802 | +0.03 [−0.14, 0.15] |
| Qwen3-8B | 1.396 | 1.217 | +0.18 [−0.26, 0.54] |
| Qwen2.5-7B | 1.493 | 1.621 | −0.13 [−0.36, 0.08] |
| Gemma-2-9B | 1.300 | 1.318 | −0.02 [−0.25, 0.24] |
No interval clears zero. Against text alone, adding internals to the MoE had looked like a clean win, 1.35 to 0.69 missed attacks, but most of that gain was available from the logits.
The MoE is still interesting. On their own, its middle layers beat its exact full logits by 0.43 missed attacks [0.12, 0.72]. That edge survived the three explanations we could think of: the output soft-cap, the regularisation grid, and nonlinear readouts of the final layer. Its middle layers are easier to read linearly than its logits. The edge just stops showing once a text classifier is in the mix.
A finding about the dataset
Two independent AI readers audited the held-out labels. One read all 744 backdoored programs; the other re-read every flagged case, blind to the first. About 9.5% of the "working backdoors" fire only on inputs the problem statement rules out, or change nothing at all.
Those non-working attacks were over-represented among the cases only the middle layers caught: 22% against 9% for the MoE, and 38% against 9% for Gemma-4-31B. The middle layers partly respond to the attacker's edit, whether or not it works. That could help catch an attacking model red-handed, but it isn't what the benchmark scores.
Why outputs carry so much of the signal
For a linear probe, the full logits and the final layer carry nearly the same information. The logits are a linear image of the normalised final state, so the contest we were running was never really outputs against internals. It was the final layer against the middle layers.
The decisions we tested also lived in the next token, or close to it: whether the forced answer is right, how much probability the model kept on the truth it was told to hide, what a checker thinks of the code. Training on next-token prediction tends to keep exactly that information at the top of the network. And when the model is a checker reading text, its internal states are computed from that text, so a classifier trained on the same text can learn much of the same thing.
Data processing limits information, not what a linear probe can extract, and the Gemma-4 MoE shows that the readability gap can be real. These reasons explain the ties we saw; they don't rule out internals winning somewhere else. Network engineering learned a version of this decades ago: Roughan, Thorup and Zhang (2003) found that how accurate a traffic-matrix estimate was didn't predict how well routing on it performed. Measurements that improve downstream engineering tasks are different than measurements that help fit.
A free full-logit baseline
If your probe is a linear readout, you can compare it against the model's entire output distribution without storing a single vocabulary-sized vector.
The logits are z = n·Wᵀ + b, where n is the final-norm output and W is the unembedding matrix. Stack each item's n as a row of a matrix N, and its logits as a row of Z. Ridge regression centres its features, and after centring the bias b drops out. Its predictions then depend on the features only through their Gram matrix, Z·Zᵀ = N·(WᵀW)·Nᵀ. Factor WᵀW = C·Cᵀ, where C is a d × d matrix and d is the model's hidden size. Then ridge on the d features N·C, with the same penalty, gives exactly the same predictions as ridge on the full logits, which have one feature per vocabulary token. We checked this numerically: the predictions agree to about 1e-11.
import numpy as np
# N: (n_items, d) final-norm outputs at the readout position
# W: (vocab, d) unembedding matrix (lm_head.weight)
# d x d, once per model; accumulate over row chunks if memory is tight
G = W.T.astype(np.float64) @ W.astype(np.float64)
evals, evecs = np.linalg.eigh(G)
C = evecs * np.sqrt(np.clip(evals, 0, None)) # G = C @ C.T
X_full_logits = N @ C # ridge on this == ridge on N @ W.T, the full logits
A few quick points: Don't standardise each logit separately; a single global scale is fine. For models with a logit soft-cap, such as Gemma, apply it to the pre-cap logits. If you want log-probabilities instead of raw logits, append logsumexp(z) as one extra column. We'll release a small tool for running the full comparison in January.
Where internal access has room to win
Everything here used cooperative models whose outputs honestly reflect what they're doing, linear probes, and decisions that sit in the next token. The places where we'd still expect internals to matter are the ones these experiments didn't reach. One is models trained to evade monitors. Another is decisions that must be made before any output exists, such as text released to the user as it is written. A third is actuators that act on hidden state, such as steering. The last is settings where you can't ask the model again or rerun it.
We made a first, exploratory pass at the streaming case, on one request type with Qwen2.5-7B. At points during generation, a controller chose whether to continue, remind the model of its instructions, stop, or redirect, with text released either immediately or after an 8-token holdback.
Three things stood out. Trying the actions out with short 4- and 16-token previews took 3 to 4 seconds, far too slow for streaming. Scoring already-prepared features took under a millisecond, though that leaves out getting the states. Even so, text plus exact full logits tied the middle-layer probes: the probes' gain was 1.0 percentage point [0.0, 3.1] with immediate release and −0.3 [−3.4, 2.9] with the holdback.
The bigger bottleneck was the actions themselves. Steering along a refusal direction didn't move violations at all. Choosing the best of the other actions at every point, with hindsight, still left violations on more than 80% of the points that needed help, once useful work was held above our floor. Models trained to evade monitors remain the real open test.
A checklist for internal-monitor claims
- Compare against exact full logits, not top-k log-probabilities or a prompted judgment.
- Report what internals add beyond text plus full logits, not only on their own.
- Report the strongest comparator, not only the one that won on calibration data.
- Set thresholds on negatives drawn from the same distribution as the positives.
- Audit the labels, and check whether internal-only catches are enriched for invalid cases.
- Match the readouts' capacity, or report it.
- Score the decision itself (misses at a budget, recall at a false-positive rate, tokens at matched accuracy), not only AUROC.
How we checked
We froze each protocol before touching held-out data and audited the labels case by case. We ran two independent implementations of the stopping and code-audit analyses; the lie-detection study had one, which the second reviewed. Most of the experiments were built by an AI coding agent working under our direction, and a second AI system re-implemented the analyses from the raw records to catch bugs. Every number above traces to a results ledger.
The paper and code are coming in January. If you've seen internals beat exact full logits at a real decision, we'd love to hear about it.
Next, we're looking at models trained to hide their reasoning from text monitors.