Layerwise Representation Divergence as Non-Invasive Neural Telemetry for Emergent LLM Misalignment
Fine-tuning an aligned large language model (LLM) on a narrow task can make it behave in misaligned ways on unrelated requests, a failure known as emergent misalignment. Output filters act only after tokens are generated and depend on surface wording. We study whether non-invasive telemetry on the transformer residual stream can flag misaligned context before the first output token. On a documented corpus of 80 requests in eight categories, each paired with a benign, an overt misaligned, and a subtle misaligned assistant opener, we measure layerwise cosine divergence and train linear probes with request-grouped cross-validation, repeated runs, and bootstrap confidence intervals on GPT-2, Qwen-1.5-Chat, Qwen-2.5-Instruct, and TinyLlama-Chat. Benign–misaligned divergence rises gradually and peaks at 0.58L–0.79L. A probe at 0.6L detects overt openers with AUROC ≥ 0.998, but a TF-IDF text classifier nearly matches it (0.987). On held-out subtle openers without cue words, the probes of the three chat models reach 0.976–0.989 versus 0.823 for TF-IDF, and the gain persists on unseen categories. The probe adds about 1% to the prefill pass. In a controlled fine-tuning experiment, malicious training made misaligned continuations more likely on unrelated requests, but representation drift and the probe did not distinguish it from benign training. Mid-depth probes are thus a promising low-cost pre-emission signal for misaligned content, while detecting misalignment induced by fine-tuning remains open.
Authors
- Abdurrachman Mappuji
- Maulana Ragil Zakariah
Institutions
- Universitas Gadjah Mada (ID)
- Royal Holloway University of London (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24780047
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- preprint