D²-Monitor: Dynamic Safety Monitoring for Diffusion Large Language Models via Hesitation SignalsD²-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signals
Translation in progress — untranslated text is omitted.
D²-Monitor is a dynamic safety monitoring method for diffusion large language models (D-LLMs), using the "safety hesitation" signal of intermediate hidden states repeatedly approaching the probe decision boundary to judge sample difficulty. A lightweight probe first provides a base prediction and hesitation estimate for each sample, then decides whether to escalate to a stronger probe, which reads only the minimal segment of the trajectory where hesitation occurs at least once. On 3 datasets (WildGuardMix, ToxicChat, OpenAI-Moderation) and 4 D-LLMs, the method achieves SOTA performance with no more than 0.93M parameters and the best effectiveness-efficiency trade-off among 8 baselines.
- D-LLMs generate through multi-step denoising, and intermediate hidden states may contain safety information that single-step monitoring cannot see, but such monitoring is still rare. The authors believe alignment is insufficient against adversarial attacks, so they perform external probe monitoring without modifying the model.
- D²-Monitor keeps a linear probe always on, estimating difficulty by the number of denoising steps nτ where the margin falls within τ. When nτ exceeds λ, only the minimal contiguous interval of hesitation steps is passed to an MLP or TimeAttn trained on such trajectories.
- On 4 LLaDA models and 3 safety datasets, the authors claim in-domain and cross-set F1 scores higher than 8 baselines, with expected parameters not exceeding 0.93M. The authors state that probes generally degrade when transferred across sets, and Llama-Guard-3-1B achieves higher F1 after transfer.
- The authors state that experiments are limited to models up to 16B, and calibration under checkpoint or safety policy shifts, as well as the causes of hesitation, remain open questions. Evaluations include 4 LLaDA models, 3 datasets, and 3 seeds; Table 3 reports only 2 models. The paper does not report results for adaptive attacks that suppress hesitation.
Related papers
Both use: OpenAI-Moderation
Show 3 more papers
Both use: WildGuardMix
- Guard Models Are Overconfident Where Base Models Are UncertainAnalysis / interpretabilityarXiv