arXiv Machine Learning

Backdooring Masked Diffusion Language Models

arXiv:2605. 19262v2 Announce Type: replace Abstract: Masked diffusion language models (MDLMs) are emerging as a compelling new paradigm for text generation, but their training-time security remains largely unexplored.

arXiv Computation and Language
Oct 22

Adaptive Steering and Remasking for Safe Generation in Diffusion Language Models

The paper introduces an inference‑time defense for Diffusion Language Models that combines adaptive safety steering with safety‑aware remasking. It uses a gating direction to adjust steering strength during denoising and a lightweight response detector to identify unsafe trajectories early, triggering targeted remasking and regeneration under adaptive steering. Experiments on LLaDA and Dream show improved robustness against jailbreak attacks while maintaining benign generation quality.

By Yejin Lee, Ungsik Kim, Yo-Sub Han
arXiv AI
Oct 1

Learning Normal Diffusion Dynamics for Backdoor Defense in Text-to-Image Models

The paper introduces Normal Diffusion Dynamics Learning (NDDL), a defense framework for text-to-image diffusion models that learns normal transition dynamics from benign samples. By modeling structured, timestep‑dependent patterns across cross‑attention, latent, and noise spaces, NDDL detects backdoor attacks through deviations between observed and predicted diffusion trajectories. It also localizes triggers without prior knowledge by substituting low‑semantic words, and experiments show its effectiveness across diverse attacks.

By Junjian Li, Xiaolong Liu, Peng Sun, Liantao Wu, Linghan Chen, Yudong Gao, Honglong Chen
arXiv Computer Vision
Oct 7

The Linear Geometry of Interpretable Tokens: Jailbreaking Attacks and Defenses for Unlearned Diffusion Models

The paper investigates how diffusion models, even after fine‑tuning to unlearn harmful concepts, still retain a linear residual of those concepts in token embeddings. It introduces SubAttack, a jailbreak method that extracts this residual by learning orthogonal attack tokens composed of interpretable textual elements, and SubDefense, a plug‑and‑play defense that projects out the same subspace to suppress the residual. Experiments show SubAttack outperforms prior attacks in power and transferability, while SubDefense offers stronger robustness and better preservation of safe generation quality.

By Siyi Chen, Yimeng Zhang, Sijia Liu, Qing Qu
Hugging Face Trending Papers
Jul 29

ToxScreen: Detecting Whether an LLM Has Been Poisoned

As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time. We ask whether a defender can recover such a trigger under realistic affordances, namely white-box access to the weights and knowledge of the behavior of concern, but no training data, no trusted reference model, no knowledge of the trigger, and no certainty that the model is poisoned.

arXiv AI
Aug 25

Backdoor Sentinel: Detecting and Detoxifying Backdoors in Diffusion Models via Temporal Noise Consistency

Backdoor Sentinel introduces Temporal Noise Consistency (TNC), a new phenomenon where backdoor activation disrupts noise prediction consistency across adjacent diffusion timesteps, while clean inputs remain stable. Leveraging TNC, the authors propose TNC-Defense, a closed‑loop gray‑box framework that includes TNC‑Detect for auditors to identify and localize anomalous timesteps without accessing model weights, and TNC‑Detox for service providers to perform trigger‑agnostic, timestep‑aware corrections that suppress backdoor behavior. Experiments on five backdoor attacks show an 11% improvement in detection accuracy and a 98.5% invalidation rate of triggered samples with minimal impact on generation quality.

By Bingzheng Wang, Xiaoyan Gu, Hongbo Xu, Hongcheng Li, Zimo Yu, Jiang Zhou, Weiping Wang, Wu Liu
arXiv Machine Learning
Jul 30

ToxScreen: Detecting Whether an LLM Has Been Poisoned

arXiv:2607. 26849v1 Announce Type: cross Abstract: As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time.

By Anthony Hughes, Nicole Xing, Collin Francel, Andy Kim, Andrew Draganov
arXiv AI
Jun 4

MaskForge: Structure-Aware Adaptive Attacks for Jailbreaking Diffusion Large Language Models

arXiv:2606. 04027v1 Announce Type: cross Abstract: Diffusion large language models (dLLMs) generate text by iteratively denoising partially masked sequences under bidirectional context, exposing a safety surface distinct from autoregressive LLMs.

By Yingzi Ma, Zhengyue Zhao, Xiaogeng Liu, Minhui Xue, Yue Zhao, Chaowei Xiao
arXiv Machine Learning
Oct 23

Diffusion Language Models for Perplexity-Aware Black-Box Attacks

The paper introduces Diffusion Language Models for Perplexity-Aware Black-Box Attacks, replacing the random mapping used in continuous-space attacks with a learned generative distribution over language. This approach preserves the Gaussian latent formulation while producing more natural prompts, leading to dramatic reductions in character-level perplexity—from thousands to single digits—in both sampling-based (RareTrap) and optimization-based (ThinkTrap) settings. The study also shows that risk estimates can vary by an order of magnitude depending on the mapping used.

By Ali Al-Lawati, Elsayed Eshra, Dongwon Lee, Suhang Wang