- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper introduces CURE, a test-time safety method for diffusion language models that identifies and surgically re-masks intermediate “unsafe” tokens whose presence increases the likelihood of eventual harmful completions. The core idea is to train a lightweight, time-conditioned value model that estimates the conditional safety return of partially denoised states using a spine-tree Monte Carlo procedure, and then to compute counterfactual token contributions via cached cross-attention readouts to decide which tokens to re-mask. Experiments on three DLMs and five jailbreak benchmarks report large ASR reductions with minimal utility loss and very low computational overhead.
Strengths and weaknesses
Strengths
- Introduces a token-level, counterfactual value-driven auditing mechanism tailored to the editable states of DLMs, distinct from prior model-level or block-level approaches.
- Spine-tree Monte Carlo procedure for estimating conditional safety returns of partial denoising states is a pragmatic and scalable alternative to exhaustive branching.
- Evaluates across three representative DLMs and five jailbreak benchmarks, including diffusion-specific attacks (PAD, DIJA).
- Method described with consistent notation and a well-motivated MDP/value-estimation framing; equations are understandable despite minor PDF artifacts.
- The empirical analysis of potentially unsafe tokens reveals that risk-inducing tokens in DLMs are dominated by function words and formatting markers rather than explicitly harmful terms.
Weaknesses
- The counterfactual approximation changes only the value model’s readout mask without re-encoding or re-generating; while efficient, this may misestimate true causal effects in complex compositions.
- Token-level auditing may miss higher-order compositional or phrase-level unsafe cues; acknowledged by authors but leaves important attack surfaces.
- Some critical hyperparameters for the spine-tree rollouts are deferred to the appendix; main-text clarity could be improved.
- Relying on a single judge (gpt-4o-mini) limits the reliability of the current ASR evaluation. It would be beneficial to cross-validate with at least one additional independent judge to demonstrate robustness of the near-zero ASR claims.
- The current evaluation considers only existing attacks that are not specifically designed to evade CURE. Evaluating against an adaptive adversary, such as one aware of the value model and remasking threshold, would provide stronger evidence for the robustness of the method.
Questions
-
What safety judges are used for final ASR evaluation on each benchmark? Can you report results under multiple independent judges to assess robustness to judge bias?
-
How often does CURE trigger repeated re-masking on the same positions, and does this lead to degraded fluency or longer decoding in practice?
-
The re-masking threshold decays linearly from 0.4 to 0.2. How sensitive is the safety–utility trade-off to this schedule, and was it tuned per model or shared across all DLMs?
Limitations
yes
Paper formatting concerns
no
Final justification
The rebuttal substantially improves my confidence in the paper.
The authors address my main concerns through additional experiments on counterfactual consistency, safety judge robustness, adaptive attacks, and threshold sensitivity. Remaining limitations include potential misses of higher-order compositional risks, limited adaptive attack coverage, and incomplete runtime analysis. However, these are scope limitations rather than fundamental issues.
W1: The counterfactual approximation changes only the value model’s readout mask without re-encoding or re-generating; while efficient, this may misestimate true causal effects in complex compositions.
RW1: We thank the reviewer for pointing out this distinction. We agree that CURE estimates an efficient counterfactual approximation rather than a strict causal effect. It keeps the encoded contextual features fixed and changes only the readout visibility mask, and may therefore miss interactions that require re-encoding or re-generation.
To test whether CURE effectively approximate counterfactual safe value, we conduct an input re-encoding consistency experiment on 100 attack states. For each state, we evaluate eight tokens, yielding 800 paired interventions. The CURE approximation changes only the readout mask. In the re-encoded reference,
Drop(i)replaces tokeniwith[MASK], whileHold(i)replaces all other visible tokens with[MASK]; the full value-model backbone is then rerun at the same diffusion progress.For each state, Within-state Spearman measures how similarly the two methods rank its eight tokens by risk, while Positive states is the percentage of states with a correlation above zero.
The mean correlation of 0.763, with positive agreement in every state, shows that CURE's efficient estimate closely matches the token-risk ranking obtained by full input re-encoding.
W2: Token-level auditing may miss higher-order compositional or phrase-level unsafe cues; acknowledged by authors but leaves important attack surfaces.
RW2: We thank the reviewer for highlighting this limitation. Although CURE audits individual tokens, each token is evaluated using its contextualized representation from the full current state. Therefore, the estimated risk reflects the surrounding phrase and context rather than the token in isolation. However, because CURE measures the effect of removing one token at a time, it may miss unsafe patterns that arise only from a combination of tokens when no individual token has a sufficiently large effect. We will clarify this limitation and discuss phrase-level or group-level auditing as future work.
W3: Some critical hyperparameters for the spine-tree rollouts are deferred to the appendix; main-text clarity could be improved.
RW3: We thank the reviewer for this suggestion to improve main-text clarity. Due to the page limit, detailed rollout settings were placed in the appendix. In the camera-ready version, we will move the critical settings, including the number of spines, checkpoint selection, and rollout branches, into the main method section.
W4 & Q1: Relying on a single judge (gpt-4o-mini) limits the reliability of the current ASR evaluation. It would be beneficial to cross-validate with at least one additional independent judge to demonstrate robustness of the near-zero ASR claims.
RW4 & Q1: Thank you for raising this concern about evaluator mismatch. To assess the robustness of our ASR evaluation against safety judge bias, we re-evaluate the LLaDA-8B-Instruct responses generated with CURE across the five benchmarks using Claude 3 Haiku. The results across 3,502 valid evaluation pairs are summarized below:
(Note: Δ=Claude Unsafe Rate−GPT-4o-mini Unsafe Rate. Cohen’s K is undefined for JBB because both judges labeled all examples as safe.)
Across all benchmarks, the two judges exhibit strong consistency, with 98.37% overall case-level agreement and only a 0.02 percentage point difference in the aggregate unsafe rate. Although Cohen's K is moderate (0.487), this is largely due to the severe class imbalance caused by the rarity of unsafe responses. These results indicate that the final ASR measurements are robust to the choice of safety evaluator and are unlikely to be driven by judge-specific bias.
W5: The current evaluation considers only existing attacks that are not specifically designed to evade CURE. Evaluating against an adaptive adversary, such as one aware of the value model and remasking threshold, would provide stronger evidence for the robustness of the method.
RW5: We thank the reviewer for this important suggestion. To evaluate CURE against an adaptive attack, we consider an extreme setting in which the attacker knows which tokens are most frequently remasked by CURE. We construct an adaptive attack, Value-Aware DIJA (VA-DIJA), by regenerating the DIJA templates while additionally instructing the refiner to remove the top-10 or top-20 risk-inducing tokens identified by CURE. We evaluate both settings on LLaDA-8B-Instruct.
Even after excluding these tokens, CURE reduces the ASR from 57.50% to 0.75% in the top-10 setting and from 58.50% to 0.75% in the top-20 setting. These results indicate that avoiding frequently remasked tokens is insufficient to bypass CURE, because CURE evaluates token risk contextually rather than relying on a fixed token list.
Q2: How often does CURE trigger repeated re-masking on the same positions, and does this lead to degraded fluency or longer decoding in practice?
RQ2: To directly assess whether repeated re-masking unnecessarily affects benign generation, we analyze safe MT-Bench prompts at the sample–turn–position level. Among positions that are re-masked, 69.86% are revisited only 1–2 times, whereas 17.23% are re-masked more than six times.
Importantly, re-masking is integrated into the original fixed denoising schedule and therefore does not increase the number of DLM denoising steps. Its effect on benign-response fluency is also limited: as reported in KA11-RW1, the average PPL on safe MT-Bench responses increases only moderately from 2.83 to 3.30 across the three backbones.
Overall, on benign prompts, repeated re-masking is predominantly shallow, does not lengthen the denoising schedule, and causes only a modest change in fluency.
Q3: The re-masking threshold decays linearly from 0.4 to 0.2. How sensitive is the safety–utility trade-off to this schedule, and was it tuned per model or shared across all DLMs?
RQ3. We agree that the schedule affects the safety–utility trade-off. We therefore selected it before test evaluation on a held-out validation set by averaging the candidate-wise min--max normalized gaps to the best observed harmful ASR, MMLU invalid-answer rate, and MMLU error rate.
0.40 → 0.200.40 → 0.000.55 → 0.000.30 → 0.100.400.20Thus, more aggressive schedules slightly improve safety but reduce utility, while static thresholds perform substantially worse.
0.40 → 0.20provides the best validated trade-off and was selected once and shared across all DLMs, rather than tuned per model.