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

以少为学:约束预训练模型学习以实现可泛化的扩散生成图像检测

Learning on Less: Constraining Pre-trained Model Learning for Generalizable Diffusion-Generated Image Detection

Henan University(河南大学)

Yingjian Chen, Lei Zhang, Yakun Niu, Lei Tan, Pei Chen

AI总结:

针对未见扩散模型生成图像检测难题,提出 LoL 训练方法,通过随机掩码约束模型学习生成器特有模式并保留预训练优势,仅用 1% 数据即在 GenImage 上平均 ACC 提升 13.6%。

摘要:

扩散模型能够生成逼真图像,增加了虚假信息风险并侵蚀公众信任。当前,由于现有方法泛化能力有限,检测由未见扩散模型生成的图像仍具挑战。为解决该问题,我们重新思考了在大规模真实图像上训练的预训练模型的有效性。研究发现:1)预训练模型能够有效聚类真实图像特征;2)具有预训练权重的模型可在特定训练步骤逼近最优泛化解,但这一过程极不稳定。基于这些事实,我们提出一种简单而有效的训练方法 Learning on Less(LoL)。LoL 利用随机掩码机制约束模型学习某类扩散模型特有的独特模式,使其关注更少的图像内容。这既利用了预训练权重的内在优势,又能以更稳定的方式趋近最优泛化,从而提取出区分各类扩散生成图像与真实图像的通用特征。在 GenImage 基准上的大量实验证明了所提 LoL 出色的泛化能力。仅使用 1% 训练数据,LoL 就显著优于当前最先进方法,在八个不同模型生成的图像上,平均 ACC 提升 13.6%。

英文摘要:

Diffusion Models enable realistic image generation, raising the risk of misinformation and eroding public trust. Currently, detecting images generated by unseen diffusion models remains challenging due to the limited generalization capabilities of existing methods. To address this issue, we rethink the effectiveness of pre-trained models trained on large-scale, real-world images. Our findings indicate that: 1) Pre-trained models can cluster the features of real images effectively. 2) Models with pre-trained weights can approximate an optimal generalization solution at a specific training step, but it is extremely unstable. Based on these facts, we propose a simple yet effective training method called Learning on Less (LoL). LoL utilizes a random masking mechanism to constrain the model's learning of the unique patterns specific to a certain type of diffusion model, allowing it to focus on less image content. This leverages the inherent strengths of pre-trained weights while enabling a more stable approach to optimal generalization, which results in the extraction of a universal feature that differentiates various diffusion-generated images from real images. Extensive experiments on the GenImage benchmark demonstrate the remarkable generalization capability of our proposed LoL. With just 1% training data, LoL significantly outperforms the current state-of-the-art, achieving a 13.6% improvement in average ACC across images generated by eight different models.

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

↑