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

协作阈值水印

Collaborative Threshold Watermarking

Department of Machine Learning, MBZUAI(机器学习系,MBZUAI)

Tameem Bakr, Anish Ambreth, Nils Lukas

AI总结:

针对联邦学习中多客户端模型溯源问题,提出 (t,K)-阈值水印协议,通过秘密共享水印密钥实现至少 t 个客户端协作验证,且抵抗少于 t 客户端的共谋攻击。

摘要:

在联邦学习(FL)中,$K$ 个客户端共同训练一个模型,而不共享原始数据。由于每个参与者投入数据和计算资源,客户端需要机制来后续证明联合训练模型的来源。模型水印在权重中嵌入隐藏信号,但朴素方法要么随着 $K$ 增长,每个客户端的水印被稀释而无法扩展,要么赋予单个客户端验证并可能移除水印的能力。我们引入 $(t,K)$-阈值水印:客户端在训练期间协作嵌入共享水印,而只有至少 $t$ 个客户端的联盟才能重建水印密钥并验证可疑模型。我们秘密共享水印密钥 $τ$,使得少于 $t$ 个客户端的联盟无法重建它,并且可以在不公开 $τ$ 的情况下进行验证。我们在白盒设置中实例化我们的协议,并在 IID 和非 IID 分区上的图像分类任务以及语言模型微调设置中评估它。我们的水印在规模($K=128$)下仍可检测,准确率损失最小,并且在攻击(包括使用多达 20% 训练数据的自适应微调)下仍保持在检测阈值($z\ge 4$)以上。代码可在 https://github.com/tameemalaa/collaborative-threshold-watermark 获取。

英文摘要:

In federated learning (FL), $K$ clients jointly train a model without sharing raw data. Because each participant invests data and compute, clients need mechanisms to later prove the provenance of a jointly trained model. Model watermarking embeds a hidden signal in the weights, but naive approaches either do not scale with many clients as per-client watermarks dilute as $K$ grows, or give any individual client the ability to verify and potentially remove the watermark. We introduce $(t,K)$-threshold watermarking: clients collaboratively embed a shared watermark during training, while only coalitions of at least $t$ clients can reconstruct the watermark key and verify a suspect model. We secret-share the watermark key $τ$ so that coalitions of fewer than $t$ clients cannot reconstruct it, and verification can be performed without revealing $τ$ in the clear. We instantiate our protocol in the white-box setting and evaluate it on image classification tasks on both IID and non-IID partitions, as well as language models fine-tuning setting. Our watermark remains detectable at scale ($K=128$) with minimal accuracy loss and stays above the detection threshold ($z\ge 4$) under attacks including adaptive fine-tuning using up to 20% of the training data. Code is available at https://github.com/tameemalaa/collaborative-threshold-watermark.

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

↑