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

通过低秩适应与动态损失加权实现潜在扩散模型的高效水印方法

An Efficient Watermarking Method for Latent Diffusion Models via Low-Rank Adaptation and Dynamic Loss Weighting

Xiamen Key Laboratory of Data Security and Blockchain Technology, Huaqiao University, Xiamen 361021, China(厦门数据安全与区块链技术重点实验室,华侨大学,厦门361021,中国);Department of Information Engineering and Mathematics of the University of Siena, Italy(意大利锡耶纳大学信息工程与数学系);Guangdong Provincial Key Laboratory of Intelligent Information Processing, Shenzhen University, Shenzhen 518060, China(广东省智能信息处理重点实验室,深圳大学,深圳518060,中国);Shenzhen Key Laboratory of Media Security, Shenzhen University, Shenzhen 518060, China(深圳媒体安全重点实验室,深圳大学,深圳518060,中国);SZU-AFS Joint Innovation Center for AI Technology, Shenzhen University, Shenzhen 518060, China(深圳大学人工智能技术联合创新中心)

Dongdong Lin, Yue Li, Benedetta Tondi, Kaiqing Lin, Bin Li, Mauro Barni

AI总结:

本文提出基于低秩适应的潜在扩散模型高效水印方法,通过动态损失加权平衡生成质量与水印保真度,实现快速准确的水印嵌入且不影响生成图像质量。

摘要:

深度神经网络的快速普及推动了模型水印技术的发展,因为训练模型本身是有价值的知识产权。现有水印方法主要修改模型参数或改变采样行为。然而,随着模型规模的增大,提高水印嵌入效率以管理日益增长的计算需求变得至关重要。本文提出了一种基于低秩适应的潜在扩散模型(LDM)高效水印方法。核心思想是将可训练的低秩参数引入冻结的LDM中以嵌入水印,从而保持原始模型权重的完整性。此外,设计了一个动态损失权重调度器,以适应性地平衡生成质量和水印保真度,使模型能够以最小影响生成图像质量的方式实现有效的水印嵌入。实验结果表明,所提出的方法确保了快速且准确的水印嵌入,并保持了高质量的生成图像,同时在某些情况下与最先进的方法相比具有同等或更高的鲁棒性。此外,该方法在不同数据集和基础LDM上具有良好的泛化能力。代码可在:https://github.com/MrDongdongLin/EW-LoRA 上获取。

英文摘要:

The rapid proliferation of Deep Neural Networks (DNNs) is driving a surge in model watermarking technologies, as the trained models themselves constitute valuable intellectual property. Existing watermarking approaches primarily focus on modifying model parameters or altering sampling behaviors. However, with the emergence of increasingly large models, improving the efficiency of watermark embedding becomes essential to manage increasing computational demands. Prioritizing efficiency not only optimizes resource utilization, making the watermarking process more applicable for large models, but also mitigates potential degradation of model performance. In this paper, we propose an efficient watermarking method for Latent Diffusion Models (LDMs) based on Low-Rank Adaptation (LoRA). The core idea is to introduce trainable low-rank parameters into the frozen LDM to embed watermark, thereby preserving the integrity of the original model weights. Furthermore, a dynamic loss weight scheduler is designed to adaptively balance the objectives of generative quality and watermark fidelity, enabling the model to achieve effective watermark embedding with minimal impact on quality of the generated images. Experimental results show that the proposed method ensures fast and accurate watermark embedding and a high quality of the generated images, at the same time maintaining a level of robustness aligned - in some cases superior - with state-of-the-art approaches. Moreover, the method generalizes well across different datasets and base LDMs. Codes are available at: https://github.com/MrDongdongLin/EW-LoRA.

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

↑