Latent Undertow: How Ordinary Typos Break Probes
Abstract
LLMs handle ordinary typing variation fluently: a typo or missing punctuation leaves both user intent and the model's response substantively unchanged. Yet probes that detect malicious prompts by reading the model's hidden states tell a different story: the same edit rotates the readout vector by 43--56 at the perturbed token, decaying below 15% within ~10 downstream tokens. Stacking ~3 common typos per message cuts a single-position prompt-injection probe's TPR@FPR$=1% by 12.0pp, a gap recalibration alone cannot close. Multi-position aggregation cures localized perturbations (<= 0.5 loss) but only attenuates distributed ones, where even attention- and max-based aggregators still drop ~3.8pp. For single-position probes, we introduce a KV-cache fork: a short fixed suffix appended after the user message lets the probe read a few tokens downstream of the perturbation, exploiting its rapid spatial decay. This closes 95% of the gap (-0.6pp residual) -- an order of magnitude better than perturbation-augmented training (-3.7pp). The rotation-and-decay geometry replicates on Llama-3.1-8B, Qwen3-8B, and Gemma-4-E4B; probe evaluation is on Llama-3.1-8B. Code: https://github.com/eladd-ai/latent-undertow
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- Published at Mechanistic Interpretability Workshop at the 43rd International Conference on Machine Learning, Seoul, South Korea, 2026
Related papers
Evaluating Latent Knowledge Stability in Multimodal Large Language Models
Shared title terminologycs.CLChuancheng Shi, Shangze Li, Wenhua Wu et al.
RELISH: LLM REgression with a Latent Iterative State Head
Shared title terminologycs.CLYiheng Su, Matthew Lease
Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokens
Shared title terminologycs.CLWeihao Liu, Dehai Min, Lu Cheng
Hidden Decoding at Scale: Latent Computation Scaling for Large Language Models
Shared title terminologycs.CLAiwei Liu, Cheng Shi, Chuhan Wu et al.
What LLM Forecasters Know but Don't Say: Probing Internal Representations for Calibration and Faithfulness
Shared title terminologycs.CLRaphaël Sarfati, Pratyush Ranjan Tiwari, Siddharth Boppana et al.