English

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

Computation and Language 2026-03-04 v1

Abstract

Autoregressive language models (ARMs) have been shown to memorize and occasionally reproduce training data verbatim, raising concerns about privacy and copyright liability. Diffusion language models (DLMs) have recently emerged as a competitive alternative, yet their memorization behavior remains largely unexplored due to fundamental differences in generation dynamics. To address this gap, we present a systematic theoretical and empirical characterization of memorization in DLMs. We propose a generalized probabilistic extraction framework that unifies prefix-conditioned decoding and diffusion-based generation under arbitrary masking patterns and stochastic sampling trajectories. Theorem 4.3 establishes a monotonic relationship between sampling resolution and memorization: increasing resolution strictly increases the probability of exact training data extraction, implying that autoregressive decoding corresponds to a limiting case of diffusion-based generation by setting the sampling resolution maximal. Extensive experiments across model scales and sampling strategies validate our theoretical predictions. Under aligned prefix-conditioned evaluations, we further demonstrate that DLMs exhibit substantially lower memorization-based leakage of personally identifiable information (PII) compared to ARMs.

Keywords

Cite

@article{arxiv.2603.02333,
  title  = {Characterizing Memorization in Diffusion Language Models: Generalized Extraction and Sampling Effects},
  author = {Xiaoyu Luo and Wenrui Yu and Qiongxiu Li and Johannes Bjerva},
  journal= {arXiv preprint arXiv:2603.02333},
  year   = {2026}
}

Comments

21 pages, 9 figures

R2 v1 2026-07-01T10:59:56.959Z