arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19042cs.LGcs.AIstat.ML
收藏

损失曲率作为扩散模型中记忆的无采样代理

Loss Curvature as a Sampling-Free Proxy for Memorization in Diffusion Models

Department of Mathematics, University of California, Los Angeles(加州大学洛杉矶分校数学系);Elmore Family School of Electrical and Computer Engineering, Purdue University(普渡大学埃尔默电气与计算机工程学院)

Shashank Sule, Xinyue Yu, Boonam Shin, Yuxuan Liu, Abolfazl Hashemi, Hayden Schaeffer

AI总结:

本文提出输入损失曲率作为扩散模型记忆的无采样代理,从模型和样本层面研究扩散模型的记忆机制,建立样本局部损失景观与生成可能性的理论联系并通过实验验证。

摘要:

理解扩散模型为何会记忆训练数据的机制仍是生成建模领域的开放问题。本文从两个视角研究该问题:(a) 模型层面视角,关注训练过程中模型记忆的起始;(b) 样本层面视角,关注单个样本被给定模型记忆的倾向。我们表明,所谓的输入损失曲率,即扩散模型训练损失的海森矩阵的Frobenius范数,是量化记忆的两个视角的有效指标。具体而言,我们通过实验证明,训练样本和验证样本的平均输入曲率可识别模型在训练过程中何时可能开始重现训练数据。不过,该指标不足以衡量单个样本被记忆的可能性。为解决这一视角问题,我们引入扩散模型中记忆的反事实定义,扩展了Feldman(2019)提出的监督学习中的类似概念。我们证明,这种反事实记忆由留一法模型的输入曲率控制,从而在样本的局部损失景观与其生成可能性之间建立了直接的理论联系。我们通过多项实验验证了推导的边界,并表明依赖输入的曲率提供了记忆的代理。

英文摘要:

Understanding the mechanism behind why diffusion models memorize their training data remains an open question in generative modeling. In this paper, we examine this question from two perspectives: (a) the model-level perspective concerning the onset of memorization in a model during training, and (b) the sample-level perspective concerning the proclivity of an individual sample to be memorized by a given model. We show that the so-called input loss curvature, or the Frobenius norm of the Hessian of the diffusion model's training loss, is an effective metric for quantifying both perspectives on memorization. In particular, we empirically demonstrate that input curvatures averaged across training and validation samples can identify when a model is likely to start regurgitating its training data when tracked over training time. However, this metric is not sufficient for measuring an individual sample's likelihood of being memorized. To address this perspective, we introduce a counterfactual definition of memorization in diffusion models, extending the analogous notion from supervised learning proposed by [Feldman, 2019]. We prove that this counterfactual memorization is controlled by the input curvature of the leave-one-out model, thus establishing a direct theoretical link between a sample's local loss landscape and its generation likelihood. We validate our derived bounds through several empirical experiments and show that input-dependent curvature provides a proxy for memorization.

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

↑