Reproduce “Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Shojiro Yamabe, Jun Sakuma
Recovery Alignment (RA) trains masked diffusion language models to resume denoising from harmful intermediate states, rather than learning refusal only from a masked response. In a controlled anchoring attack, one retained token raised LLaDA Instruct’s GPT-4o-judged attack success rate from 2% to 21%. At step 4, RA reduced it to 1.3% versus 22.0% without intervention during training, but interventions late in generation remain difficult.
Key insights
- DLMs possess a unique 'priming vulnerability' where even minimal affirmative tokens introduced at intermediate denoising steps can significantly increase the likelihood of generating harmful content.
- The monotonicity assumption holds for DLMs, meaning that the log-likelihood of generating a harmful response generally increases with more harmful tokens introduced in earlier denoising steps, enabling efficient attack optimization.
- Explicitly training models to recover from contaminated intermediate states is crucial for mitigating DLM-specific vulnerabilities, as traditional alignment methods starting from pristine states are insufficient.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.