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

联邦学习中基于无害后门的客户端水印技术

Harmless Backdoor-based Client-side Watermarking in Federated Learning

Kaijing Luo, Ka-Ho Chow

AI总结:

针对联邦学习中模型水印存在的所有权模糊和恶意利用问题,提出服务器端方法Sanitizer,通过识别子网、提取后门并限制其在无害输入子空间激活,实现客户端贡献的高效验证并降低风险。

摘要:

随着客户端贡献专有数据协同训练模型,保护联邦学习(FL)中的知识产权(IP)日益重要。模型水印,尤其是基于后门的方法,已成为验证通过FL训练的深度神经网络所有权和贡献的流行手段。客户端通过操纵其数据集嵌入秘密模式,产生非直觉预测作为参与证明,用于主张激励或IP共有权。但该技术面临实际挑战:(1)客户端水印可能冲突,导致所有权主张模糊;(2)恶意客户端可能利用水印操纵模型预测以实现有害目的。为此,我们提出Sanitizer,一种服务器端方法,确保客户端嵌入的后门仅在无害环境中激活,而不在自然查询中激活。它识别客户端提交模型中的子网,在整个FL过程中提取后门,并将其限制在无害的、客户端特定的输入子空间中。该方法不仅提高了Sanitizer的效率,还解决了客户端使用相似触发器但目标标签不同时的冲突问题。我们的实证结果表明,Sanitizer在验证客户端贡献方面取得近乎完美的成功率,同时降低了恶意水印使用的风险。此外,与基线相比,它将GPU内存消耗减少了85%,处理时间至少缩短了5倍。我们的代码已开源:https://hku-tasr.github.io/Sanitizer/

英文摘要:

Protecting intellectual property (IP) in federated learning (FL) is increasingly important as clients contribute proprietary data to collaboratively train models. Model watermarking, particularly through backdoor-based methods, has emerged as a popular approach for verifying ownership and contributions in deep neural networks trained via FL. By manipulating their datasets, clients can embed a secret pattern, resulting in non-intuitive predictions that serve as proof of participation, useful for claiming incentives or IP co-ownership. However, this technique faces practical challenges: (i) client watermarks can collide, leading to ambiguous ownership claims, and (ii) malicious clients may exploit watermarks to manipulate model predictions for harmful purposes. To address these issues, we propose Sanitizer, a server-side method that ensures client-embedded backdoors can only be activated in harmless environments but not natural queries. It identifies subnets within client-submitted models, extracts backdoors throughout the FL process, and confines them to harmless, client-specific input subspaces. This approach not only enhances Sanitizer's efficiency but also resolves conflicts when clients use similar triggers with different target labels. Our empirical results demonstrate that Sanitizer achieves near-perfect success verifying client contributions while mitigating the risks of malicious watermark use. Additionally, it reduces GPU memory consumption by 85% and cuts processing time by at least 5x compared to the baseline. Our code is open-sourced at https://hku-tasr.github.io/Sanitizer/.

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

↑