What it says

This page from Learn Mechanistic Interpretability traces how activation probes move from controlled research setups into production safety systems, and what changes when they do. Production probes face varied sequence lengths, shifting traffic, rare failures, and adversarial users, not clean held-out splits. The dominant failure mode is distribution shift, led by sequence-length mismatch: a standard attention probe trained short can miss nearly nine out of ten long-context attacks, and length also dilutes concentrated signal across benign tokens. The fix is architectural, not cosmetic: hard-max aggregation (MultiMax) and rolling-mean attention collapse long-context false-negative rates from 87.9% to ~1.7-3.0% while keeping training short, pooling via MultiMax or SWiM stabilizes thresholds, multi-layer concatenation and softmax-weighted loss improve robustness, and cascades defer only the uncertain middle band to expensive LLM classifiers (about 5.5-8% of traffic) for accuracy better than either component alone at roughly 1/50th the cost.

Claims drawn from this source

  • Distribution shift is the most serious failure mode for production probes. A production probe encounters inputs at deployment time that differ systematically from its training data; research evaluation on same-distribution held-out splits does not surface this failure.
  • Sequence-length shift is the biggest culprit. A standard attention probe trained on short-context data showed an 87.9% false-negative rate on long-context attacks, missing nearly nine out of ten attacks.
  • Softmax-weighted averaging dilutes concentrated harmful signal in long contexts. Standard attention probes compute a softmax-weighted average over all token positions, so a signal concentrated in a few tokens is diluted by thousands of benign tokens; mean-pooling and last-token probes have the same dilution problem.
  • MultiMax and Max-of-Rolling-Means architectures preserve concentrated signal. MultiMax replaces the softmax average with a hard max per head, reducing long-context false-negative rate to 1.7%; Max of Rolling Means Attention (w=10) achieves 3.0%, versus 87.9% for standard attention.
  • Training on long contexts is too expensive, so architectures must transfer from short to long. Training directly on long contexts reportedly caused a 22-fold cost increase in Kramár et al.’s setting due to memory-bandwidth constraints.
  • Cascades route only the uncertain band to expensive classifiers. Anthropic’s cascade defers about 5.5% of traffic and cuts cost 5.4x; Google’s defers about 8% and achieves accuracy better than the LLM classifier alone at roughly 1/50th the inference cost.
  • Probes cost roughly 377K FLOPs per token vs 8B FLOPs for a small external classifier. A multi-layer linear probe on a 27B-parameter model runs over 10,000x lower cost than LLM-based classifiers, while Anthropic’s production system holds a 0.05% false-refusal rate (about 1 in 2,000 legitimate requests) after 1,736 cumulative hours of red-teaming across ~198,000 attempts.
  • Cascade thresholds trade accuracy against cost and must be widened in safety-critical settings. Too-narrow uncertain band pushes borderline cases to the probe, increasing false positives and false negatives; too-wide a band escalates too much traffic and approaches full-classifier cost; safety-critical systems should widen the band to escalate more aggressively.