arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02333cs.CL
收藏

刻画扩散语言模型中的记忆化:通用提取与采样效应

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

Aalborg University(奥尔堡大学)

Xiaoyu Luo, Wenrui Yu, Qiongxiu Li, Johannes Bjerva

AI总结:

本文研究了扩散语言模型的记忆化现象,提出通用概率提取框架并验证其理论,显示DLMs在记忆化信息泄露方面优于自回归模型。

摘要:

自回归语言模型(ARMs)已被证明能够记忆并偶尔逐字重现训练数据,引发了关于隐私和版权责任的担忧。扩散语言模型(DLMs)最近作为一种有竞争力的替代方案出现,但其记忆化行为仍由于生成动态的根本差异而鲜有研究。为解决这一差距,我们提出了对DLMs记忆化进行系统理论和实证刻画的方法。我们提出了一种通用概率提取框架,该框架在任意遮蔽模式和随机采样轨迹下统一了前缀条件解码和基于扩散的生成。定理4.3建立了采样分辨率与记忆化之间的单调关系:增加分辨率严格增加了精确训练数据提取的概率,这意味着自回归解码对应于通过将采样分辨率设为最大值的扩散生成的极限情况。在模型规模和采样策略的广泛实验中验证了我们的理论预测。在对齐的前缀条件评估下,我们进一步证明DLMs相比ARMs表现出显著较低的记忆化个人信息泄露(PII)水平。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑