Chiosa
Machine Learning

A new test reveals when model alarms arrive too late

3 min
Updated
Overview of Prewarn. Left: a monitor runs a scorer over the generated tokens and alarms where the score crosses τ (dots mark flagged tokens, the flag the first alarm); AUROC rates three such…
Overview of Prewarn. Left: a monitor runs a scorer over the generated tokens and alarms where the score crosses τ (dots mark flagged tokens, the flag the first alarm); AUROC rates three such monitors as equal although their first alarms fall well before, just before and after…Figure 1 · Marco De Negri et al. · CC BY 4.0

In plain words

A monitor can score each word a language model produces. But a score that says “this answer will fail” may not tell us whether the alarm came before the failure started.

Prewarn is a way to check alarm timing against a human-marked failure onset. In tests of repetitive degeneration in three models, learned probes often warned before the loop in two models, but usually alarmed after it began in the third.

The research

A monitor that identifies a failing answer only after the failure begins cannot provide an early warning. By checking alarms against the failure’s onset, this evaluation changes what counts as evidence of warning: a strong score for recognizing a bad response is not enough. In these tests, learned probes warned early in two models, but not consistently across all three.

Prewarn calibrates token alarms to an error budget, then measures them against failure onset to test whether monitors warn in time.

The researchers calibrated token-scoring monitors on validation responses to a fixed false-alarm budget, then compared alarms with human-verified failure onsets in repetitive-degeneration tests of three models.

Probes warned before most flagged loops in Apertus and Llama, but usually after onset in Mistral. This shows that onset-aware evaluation reveals model differences that response-level scores obscure.

The empirical case study covers repetitive degeneration in three models, with human-verified in-domain test responses. Alarm timing depends on how reviewers place the onset, and the study did not test whether probes can distinguish harmful looping from repetition that is useful for a task.

What the evidence shows

  • Measure when alarms arrive

    Prewarn, an evaluation protocol for token-level monitors, asks whether an alarm arrives before an annotated failure onset. It calibrates a threshold on validation data to a chosen error budget, then tests alarms against the onset.

    That timing question matters because a response can be identified as failing even when its alarm comes too late to count as an early warning.

  • Whole-response scores miss timing

    The diagnostic comparison used four scorers on Apertus, including a rule that flags only the final token of a response cut off at the token limit. Response-level AUROC remained above 0.96 across layers, while warning-window coverage was seven times higher at the best layer than the worst.

    The first measure ranks whole responses; the second captures flags in the 256 tokens before onset. Similar response scores can hide very different alarm timing.

  • Warnings differed across models

    In the human-verified in-domain tests, probes warned before most flagged loops in Apertus and Llama, with median first alarms 137 to 232 tokens before onset. In Mistral, most first alarms came after onset.

    Across the three models, probes had the highest early-warning rates and earliest median alarms; on Apertus and Llama, only probes warned before onset on more than half of the responses they flagged. Detection alone therefore did not mean advance warning.

  • More flags did not mean earlier alarms

    Adding low-rank adapters at the same layer more than doubled warning-window coverage on every model, but barely increased the share of responses whose first alarm came before onset. Many added flags were far ahead of the warning window.

    The comparison shows that adapters made more token positions score as warnings, without a comparable increase in responses receiving an early first alarm.

  • A bounded case for onset measures

    The evidence supports using onset-aware measures to assess warning timing and shows that learned probes can give advance warning in some tested models.

    It does not make advance warning a uniform property of the three-model case study: Mistral probes mostly detected degeneration after it began, and untrained baselines stayed near random for early warnings.

Deep

Next paperA method finds feature changes that recur across prompts