Mitigating Backdoor Attacks in Masked Diffusion Language ModelsMitigating Backdoors in Masked Diffusion Language Models
The authors propose UNMASK, which they describe as the first backdoor defense framework for masked diffusion language models (MDLMs), capable of detecting inputs containing triggers, localizing trigger tokens, and removing the backdoor from a backdoored model. MDLMs have become an alternative to autoregressive models because they can predict multiple tokens in parallel, but prior work has shown that they are vulnerable to backdoor attacks: when the input contains an attacker-chosen trigger, the model generates a target output such as malicious code, and otherwise behaves normally. UNMASK exploits two properties of backdoor triggers, specificity and dominance, to compute a suspiciousness score for each input token, and implements this efficiently by leveraging the MDLM's ability to predict in parallel and reconstruct tokens at arbitrary positions; the authors also provide a theoretical analysis. Across 40 settings covering two attacks and four models, UNMASK detects 99.3% of trigger-containing inputs at a 5% false positive rate, far above the 54.8% of the strongest adapted baseline; trigger token localization accuracy exceeds 99%, the average attack success rate drops from 95% to 1%, and the model's utility on clean inputs is largely preserved.
Related events and news
1 events · 0 news mentions
- This event's paper
作者称UNMASK为首个掩码扩散语言模型后门防御框架