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

通过坐标曲率差异定位扩散模型中的记忆区域

Localizing Memorized Regions in Diffusion Models via Coordinate-Wise Curvature Differences

Department of Computer Science, Hanyang University, Seoul, South Korea(首尔国立大学计算机科学系)

Gwangho Kim, Sungyoon Lee

AI总结:

本文提出基于坐标曲率差异的方法,通过减去欠拟合基线的曲率来隔离过拟合驱动的记忆,从而在扩散模型中定位记忆区域,并在Stable Diffusion上优于先前方法。

摘要:

扩散模型可能无意中记忆训练样本,引发隐私和版权问题。虽然近期方法可以检测记忆,但它们通常依赖全局或模型特定信号,并且对记忆出现在生成图像中的位置提供的洞察有限。我们提供了局部记忆的几何表征,即坐标方差坍缩。然而,这种坍缩也可能源于内在数据约束而非过拟合。为了隔离过拟合驱动的记忆,我们提出了曲率差异方法,减去欠拟合基线(无条件模型或其训练较少的版本)的曲率。我们进一步推导了一个分数差异代理,为广泛使用的基于分数差异的检测指标提供了几何解释。在Stable Diffusion上的实验,针对真实记忆掩码进行评估,表明我们的方法优于先前的基于注意力的定位方法。代码可在 https://github.com/Gwangho99/mem-curv-diff 获取。

英文摘要:

Diffusion models can unintentionally memorize training samples, raising concerns about privacy and copyright. While recent methods can detect memorization, they often rely on global or model-specific signals and provide limited insight into where memorization appears within a generated image. We provide a geometric characterization of local memorization as a coordinate-wise variance collapse. However, such collapse can also arise from intrinsic data constraints rather than overfitting. To isolate overfitting-driven memorization, we propose curvature-difference methods that subtract the curvature of an underfitted baseline, either the unconditional model or a less-trained version of itself. We further derive a score-difference proxy that provides a geometric explanation for the widely used score-difference-based detection metric. Experiments on Stable Diffusion, evaluated against ground-truth memorization masks, show that our method outperforms the prior attention-based localization method. Code is available at https://github.com/Gwangho99/mem-curv-diff.

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

↑