NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Characterizing Memorization in Diffusion Language Models: Generalized Extraction and Sampling Effects

Xiaoyu Luo, Wenrui Yu, Qiongxiu Li, Johannes Bjerva

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion Model Extraction and Memorization · Type: new method · Keywords: diffusion language models, memorization, probabilistic extraction, sampling resolution, privacy leakage

Areas: Privacy & Federated Learning › Privacy Defenses and Attacks › Data Extraction Attacks

Summary

The paper introduces a generalized probabilistic extraction framework that characterizes memorization in diffusion language models and shows that higher sampling resolution increases exact extraction, linking diffusion generation to autoregressive decoding.

Explained to a 5-year-old

Some computer programs learn to write words by reading many books. Scientists wanted to know if these new AI programs remember exact sentences from the books, just like older AI programs do. They found that when the AI takes more tiny steps to make a sentence, it is more likely to copy a sentence it has seen before. The new AI that writes text actually copies fewer secret or personal words than the old AI does. This helps keep people's private information safer when using these AI writers.

Explained to a 5-year-old, longer

Some computer programs learn to write words by reading many books. Old programs that write one word at a time sometimes copy exact sentences they have seen before. New programs that write text using a different method also might copy sentences. Researchers wanted to find out how often the new programs copy exact text. They created a way to measure copying that works for both old and new programs. They discovered that when the new program takes many small steps to finish a sentence, it copies more often. If the program takes fewer steps, it copies less. They also compared how much personal information, like names or addresses, the programs leaked. The new program leaked much less personal information than the old one. This means the new program might be safer for writing text that includes private details. The study also showed that the old program could copy exact sentences when it worked a lot. Overall, the research helps us understand how different AI writers remember what they have learned.

For a technical reader

The work develops a unified probabilistic extraction framework that models both prefix-conditioned decoding and diffusion generation under arbitrary masking and stochastic sampling. It proves that increasing sampling resolution monotonically raises the chance of exact training data extraction, with autoregressive decoding emerging as the high-resolution limit. Empirical evaluations across model scales confirm the theoretical predictions and show that diffusion language models leak substantially less personally identifiable information than autoregressive counterparts.

Problem

Understanding whether and how diffusion language models memorize training data is crucial for privacy, yet prior work has focused on autoregressive models, leaving the behavior of diffusion models unexplored.

Method

The approach formulates a general probabilistic extraction model that captures both prefix-conditioned decoding and diffusion-based generation under arbitrary masking and stochastic sampling, and it analytically studies how sampling resolution influences exact data extraction.

Results

The experiments confirm that increasing sampling resolution raises exact extraction probability and that diffusion language models leak significantly less PII than autoregressive models under comparable evaluation.

Contributions

The paper provides a systematic theoretical and empirical characterization of memorization in diffusion language models, establishes a relationship between sampling resolution and exact data extraction, and demonstrates that diffusion models leak less personally identifiable information than autoregressive models.

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