Detection Is Not Early Warning: Evaluating Token-Level Alarms on Language Model Failures
Not on the map. Why?
Abstract (arXiv)
Many failures of language models begin at a specific token, the onset. A monitor that reads the model during generation can classify the finished response, detect the failure once it is under way, or warn before it begins, and only a warning leaves time to stop or steer the generation. Monitors are usually evaluated with response-level metrics such as AUROC, which ignore when the monitor fires. We introduce PREWARN, an evaluation protocol for any failure with an annotated onset. It calibrates each monitor's threshold on validation data to an error rate chosen for the application, runs the monitor, and scores its alarms relative to the onset on all three tasks. As a case study we apply it to repetitive degeneration in three open language models, with early warning as the main task, using linear probes on activations and six untrained baselines. Response-level metrics saturate on this failure, and a rule that reads only the response length scores almost perfectly, while probes that AUROC ranks as equal warn very differently under PREWARN. Probes warn before the onset on most degenerate responses of two of the three models, low-rank adapters below the probe more than double the share of tokens just before the onset that it flags, largely by flagging degenerate responses long before the onset, and no untrained baseline warns much more often than random alarms. We release the probes with calibrated thresholds at https://huggingface.co/collections/marcodene/prewarn-degeneration-probes
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 38 of its 44 references that are in the map. Submitted 12 Nov 2026.
Builds on
38 of 44 references.
References · 38
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023Mistral 7Bcited by 3,489
- 2019The Curious Case of Neural Text Degenerationcited by 3,022
- 2021Membership Inference Attacks From First Principlescited by 910
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 863
- 2019Neural Text Generation with Unlikelihood Trainingcited by 522
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 334
- 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 323
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 302
- 2024HuatuoGPT-o1, Towards Medical Complex Reasoning with LLMscited by 282
26 more
- 2024Programming Refusal with Conditional Activation Steeringcited by 233
- 2025Llama-Nemotron: Efficient Reasoning Modelscited by 184
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 165
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 106
- 2025Detecting High-Stakes Interactions with Activation Probescited by 68
- 2024Obfuscated Activations Bypass LLM Latent-Space Defensescited by 55
- 2025Real-Time Detection of Hallucinated Entities in Long-Form Generationcited by 41
- 2024Backtracking Improves Generation Safetycited by 36
- 2025Wait, Wait, Wait... Why Do Reasoning Models Loop?cited by 35
- 2025To Steer or Not to Steer? Mechanistic Error Reduction with Abstention for Language Modelscited by 32
- 2025From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoringcited by 27
- 2026Real-Time Detection and Repair of LLM Agent Failurescited by 11
- 2026Circular Reasoning: Understanding Self-Reinforcing Loops in Large Reasoning Modelscited by 10
- 2025Language Models Can Predict Their Own Behaviorcited by 9
- 2025Word Salad Chopper: Reasoning Models Waste A Ton Of Decoding Budget On Useless Repetitions, Self-Knowinglycited by 7
- 2026Predict, Don't React: Value-Based Safety Forecasting for LLM Streamingcited by 6
- 2026When Evidence is Sparse: Weakly Supervised Early Failure Alerting in Dialogs and LLM-Agent Trajectoriescited by 6
- 2025Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Modelscited by 4
- 2026PrefixGuard: From LLM-Agent Traces to Online Failure-Warning Monitorscited by 3
- 2026Online Safety Monitoring for LLMscited by 3
- 2026From Probe Scores to Alarm Policies: Operational Validity of Activation Monitors for Language-Model Agentscited by 3
- 2026PreAct-Bench: Benchmarking Predictive Monitoring in LLMscited by 2
- 2026Quickest Detection of Hallucination Onset: Delay Bounds and Learned CUSUM Statisticscited by 2
- 2026SingProbe Technical Reportcited by 2
- 2026Token Budget Saturation and Mechanistic Early Detection of Reasoning Non-Convergence in Chain-of-Thought Modelscited by 1
- 2026When Reasoning Goes Astray: Attention Dynamics of Uncontrolled Reasoningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024An Auditing Test To Detect Behavioral Shift in Language Models
- 2025Linear probes rely on textual evidence: Results from leakage mitigation studies in language models
- 2026MonitorBench: A Comprehensive Benchmark for Chain-of-Thought Monitorability in Large Language Models
- 2025Phare: A Safety Probe for Large Language Models
- 2026Measuring Stability and Failure Behavior in Language Models Under Structured Perturbations
- 2026Do Activation Monitors Survive Model Updates? Benchmarking, Predicting, and Repairing Activation-Monitor Staleness
- 2025Preventing Catastrophic Forgetting: Behavior-Aware Sampling for Safer Language Model Fine-Tuning
- 2026Probing and Steering for Safety-Relevant Behaviours in Large Language Models