Extracting Training Data from Diffusion Language Models via Infilling
Yihan Wang, N. Asokan
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Diffusion Model Extraction and Memorization · Type: new method · Keywords: diffusion language models, training data extraction, mask-based probing, memorization risk, privacy evaluation
Summary
The paper introduces infilling extraction, a mask-parameterized protocol that reveals higher training-data extractability in diffusion language models than prefix-only probing.
Explained to a 5-year-old
We look at a big computer brain that learns from many words. Sometimes it remembers the words too well, like a secret code. The new way to test it uses a special mask that hides some letters and lets the brain guess them from both sides. This helps find out if the brain can leak hidden information, especially personal stuff like email addresses. The test shows the brain can leak more than we thought, and just a little change in how we ask it doesn’t stop the leak.
Explained to a 5-year-old, longer
Imagine you have a super-smart robot that reads many stories and learns them. It can remember the stories and sometimes even tell them back when you ask. Usually we ask it only about the beginning of a story, but this robot can also guess missing words anywhere in the story. To see how much it remembers, we draw a picture with some blanks and let the robot fill them in. We try different shapes of blanks, like a line at the edge or in the middle, and see which ones let the robot remember more. We also test it on hidden email addresses that were supposed to be removed, and find the robot can still find them better than other robots. Even if we try to teach the robot new things to forget the old secrets, the old memories stay. This helps us understand how safe the robot is with personal information.
For a technical reader
The work defines a mask-based extraction protocol to evaluate memorization in diffusion language models, showing that edge-conditioned masks can extract up to three times more verbatim text than prefix-only probing. Bidirectional denoising reveals extraction channels not present in autoregressive models, and an adversary can achieve higher recall on redacted email addresses using diffusion models. Decoding parameters significantly affect extraction performance, while supervised fine-tuning does not eliminate the discovered memorization.
Problem
Current studies of memorization in language models rely on prefix-conditioned extraction, which may not capture the full risk in diffusion language models that can denoise arbitrary masked tokens. This leaves the true extractability of training data in DLMs unknown.
Method
The approach uses mask-based probing to assess how well training data can be recovered from diffusion language models, varying mask shapes and decoding settings, and checking whether fine-tuning reduces memorization.
Results
Edge-conditioned masks extract up to three times more verbatim sequences than prefix-conditioned masks, and bidirectional access reveals extraction channels absent in autoregressive models. An adversary can achieve higher recall extracting redacted email addresses from diffusion models than from comparable autoregressive models, and decoding parameters influence performance while fine-tuning does not remove memorization.
Contributions
A mask-parameterized extraction protocol that captures the bidirectional nature of diffusion models and demonstrates significantly higher memorization risks, including on redacted personal data, and an analysis of how decoding choices and fine-tuning affect extractability.
Practical relevance
Provides a realistic evaluation framework for assessing privacy risks in diffusion language models, informing safer deployment and mitigation strategies.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction