Membership Inference Attacks Against Fine-tuned Diffusion Language Models
Yuetian Chen, Kaiyuan Zhang, Yuntao Du, Edoardo Stoppa, Charles Fleming, Ashish Kundu, Bruno Ribeiro, Ninghui Li
TL;DR
This paper investigates membership inference risks for Diffusion Language Models (DLMs) and shows that bidirectional masking enables sparse, configuration-dependent memorization signals. It introduces SAMA (Subset-Aggregated Membership Attack), combining robust local subset sampling, sign-based aggregation, and progressive masking with adaptive weighting to detect membership despite heavy-tailed noise. Empirical results across nine datasets and two modern DLMs demonstrate substantial gains over baselines, including up to 30% relative AUC improvement and up to 8× improvement at low false positive rates. The findings reveal critical privacy vulnerabilities in DLMs and highlight the need for tailored privacy defenses, such as privacy-preserving fine-tuning strategies, defense-aware calibration, and robust aggregation techniques. Overall, the work provides a rigorous framework for evaluating and mitigating MIA risks in diffusion-based language models with practical implications for secure deployment.
Abstract
Diffusion Language Models (DLMs) represent a promising alternative to autoregressive language models, using bidirectional masked token prediction. Yet their susceptibility to privacy leakage via Membership Inference Attacks (MIA) remains critically underexplored. This paper presents the first systematic investigation of MIA vulnerabilities in DLMs. Unlike the autoregressive models' single fixed prediction pattern, DLMs' multiple maskable configurations exponentially increase attack opportunities. This ability to probe many independent masks dramatically improves detection chances. To exploit this, we introduce SAMA (Subset-Aggregated Membership Attack), which addresses the sparse signal challenge through robust aggregation. SAMA samples masked subsets across progressive densities and applies sign-based statistics that remain effective despite heavy-tailed noise. Through inverse-weighted aggregation prioritizing sparse masks' cleaner signals, SAMA transforms sparse memorization detection into a robust voting mechanism. Experiments on nine datasets show SAMA achieves 30% relative AUC improvement over the best baseline, with up to 8 times improvement at low false positive rates. These findings reveal significant, previously unknown vulnerabilities in DLMs, necessitating the development of tailored privacy defenses.
