扩散模型成员推理的跨时间难度校准
Difficulty Calibration Across Time for Membership Inference in Diffusion Models
AI总结:
本研究针对扩散模型的成员推理问题,提出RMC与TSC两种跨时间难度校准方法,大幅提升攻击性能且可跨模型参数化泛化。
摘要:
现代扩散模型在包含大量受版权保护或私人图像的数据集上训练,成员推理攻击(MIA)用于判断给定图像是否属于模型的训练集。标准方法通过图像的重建损失评分,将低损失图像标记为成员,但该方法常失效,因为部分图像本身更易重建,导致简单的未见过图像的损失可能低于复杂的训练图像。难度校准将记忆与图像固有难度分离,我们展示如何沿训练时间和扩散时间两个轴进行校准:首先,针对训练时间,我们提出参考模型校准(RMC),将微调模型的损失与早期检查点的损失对比,可清晰分离新记忆的数据,实现近乎完美的审计,即使无需文本标注;由于早期检查点并非总能获取,我们提出时间自校准(TSC),仅用单个模型沿扩散时间校准,核心观察是图像难度在不同噪声水平下持续存在,而记忆具有时间局部性,通过将目标时间步的损失与同一模型相邻时间步的损失对比,TSC利用模型自身轨迹衰减图像难度。实验表明,我们的方法大幅优于现有技术,且与多数现有攻击不同,可跨不同模型参数化(如x-、v-和ε-预测模型)泛化,代码可在指定URL获取。
英文摘要:
Modern diffusion models are trained on massive datasets that often include copyrighted or private images. Membership inference attacks (MIAs) address this by testing whether a given image was in a model's training set. The standard approach scores an image by its reconstruction loss and flags low-loss images as members. This often fails because some images are simply easier to reconstruct than others, so a simple unseen image can score a lower loss than a complex training image. Difficulty calibration separates memorization from how difficult an image is to begin with. We show how to calibrate along two axes of time: training time and diffusion time. First, across training time, we introduce Reference-Model Calibration (RMC), which compares a fine-tuned model's loss against an earlier checkpoint. This cleanly isolates newly memorized data and gives near-perfect auditing, even without text captions. Since earlier checkpoints are not always available, we next present Temporal Self-Calibration (TSC), which calibrates across diffusion time using only a single model. Our key observation is that an image's difficulty persists across noise levels, whereas memorization is localized in time. By comparing the loss at a target timestep against neighboring timesteps from the same model, TSC attenuates image difficulty using the model's own trajectory. Empirically, our methods beat the state of the art by a wide margin, and unlike most existing attacks, generalize across different model parameterizations such as $x$-, $v$-, and $ε$-prediction models. Code is available at https://github.com/MichaelJoseph777/TSC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。