arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.21159cs.LGcs.CV
收藏

生成模型中检测记忆与指纹识别的嵌入空间选择

Embedding Space Selection for Detecting Memorization and Fingerprinting in Generative Models

University of California, Los Angeles(加州大学洛杉矶分校)

Jack He, Jianxing Zhao, Andrew Bai, Cho-Jui Hsieh

AI总结:

本文研究生成模型的数据记忆检测,发现ViT不同层嵌入的记忆分数对低级和高级信息敏感度不同且具有架构独特性,据此提出一种基于层间记忆分数分布的指纹识别方法,将模型识别准确率提升30%。

摘要:

在人工智能快速发展的背景下,生成对抗网络(GANs)和扩散模型等生成模型已成为基石性技术,推动着从艺术创作到医疗健康等多个领域的创新。尽管这些模型潜力巨大,但它们面临着数据记忆的重大挑战,这对隐私和生成内容的完整性构成风险。在各种记忆检测指标中,我们的研究深入探讨了由编码器层嵌入计算得到的记忆分数,这涉及在嵌入空间中测量样本之间的距离。特别地,我们发现由视觉Transformer(ViTs)的层嵌入计算得到的记忆分数呈现出显著趋势——层越靠后(越深),测得的记忆越少。研究发现,来自早期层嵌入的记忆分数对低级记忆(例如图像的颜色和简单模式)更为敏感,而来自后期层的记忆分数则对高级记忆(例如图像的语义含义)更为敏感。我们还观察到,对于特定的模型架构,其在不同信息层级上的记忆程度是独特的,这可以被视为该架构的一种固有属性。基于这一见解,我们引入了一种独特的指纹识别方法。该方法利用ViTs不同层之间记忆分数的独特分布,为识别参与生成深度伪造和恶意内容的模型提供了一种新颖的方法。我们的方法在识别准确率上相比现有基线方法显著提升了30%,为打击数字虚假信息提供了更有效的工具。

英文摘要:

In the rapidly evolving landscape of artificial intelligence, generative models such as Generative Adversarial Networks (GANs) and Diffusion Models have become cornerstone technologies, driving innovation in diverse fields from art creation to healthcare. Despite their potential, these models face the significant challenge of data memorization, which poses risks to privacy and the integrity of generated content. Among various metrics of memorization detection, our study delves into the memorization scores calculated from encoder layer embeddings, which involves measuring distances between samples in the embedding spaces. Particularly, we find that the memorization scores calculated from layer embeddings of Vision Transformers (ViTs) show an notable trend - the latter (deeper) the layer, the less the memorization measured. It has been found that the memorization scores from the early layers' embeddings are more sensitive to low-level memorization (e.g. colors and simple patterns for an image), while those from the latter layers are more sensitive to high-level memorization (e.g. semantic meaning of an image). We also observe that, for a specific model architecture, its degree of memorization on different levels of information is unique. It can be viewed as an inherent property of the architecture. Building upon this insight, we introduce a unique fingerprinting methodology. This method capitalizes on the unique distributions of the memorization score across different layers of ViTs, providing a novel approach to identifying models involved in generating deepfakes and malicious content. Our approach demonstrates a marked 30% enhancement in identification accuracy over existing baseline methods, offering a more effective tool for combating digital misinformation.

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

↑