Marco De Negri (ETH Zurich), Luca Sartori (ETH Zurich), Lorenzo Baggi (ETH Zurich), Moritz Reihs (ETH Zurich), Eduard Frank \v{D}urech (ETH AI Center), Mennatallah El-Assady (ETH Zurich), Valentina Pyatkin (ETH Zurich, ETH AI Center), Anna Hedstr\"om (ETH AI Center, Solaris Research)
Detection Is Not Early Warning: Evaluating Token-Level Alarms on Language Model Failures
arXiv:2611.16803v1 Announce Type: cross
Abstract: 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
Original source
This story was published by arXiv cs.CL and written by Marco De Negri (ETH Zurich), Luca Sartori (ETH Zurich), Lorenzo Baggi (ETH Zurich), Moritz Reihs (ETH Zurich), Eduard Frank \v{D}urech (ETH AI Center), Mennatallah El-Assady (ETH Zurich), Valentina Pyatkin (ETH Zurich, ETH AI Center), Anna Hedstr\"om (ETH AI Center, Solaris Research). SyncAI.news shows a preview; the complete article is on the publisher's site.