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

面向拜占庭鲁棒大语言模型(LLM)训练的水印技术

Watermarking for Byzantine Robust LLM Training

Georgia Institute of Technology(佐治亚理工学院)

Leixu Huang, Zedian Shao, Teodora Baluta

AI总结:

针对联邦学习中现有LLM水印易被恶意服务器利用鲁棒聚合器移除的问题,提出与聚合器无关的CamoMark水印方案,在Qwen-Alpaca上仅用3.3%水印数据即可实现有效检测,且对多种移除攻击鲁棒。

摘要:

大语言模型(LLM)水印已成为在集中式场景中检测下游模型滥用的有前景方法,但将其扩展到联邦学习(FL)领域面临独特挑战。具体而言,联邦学习系统通常依赖强鲁棒聚合器抵御中毒攻击。我们通过实验表明,恶意服务器可利用这些相同的聚合器作为有效的水印移除机制,在训练过程中导致现有代表性LLM水印方法无法在最终模型中被检测到。为解决这一局限,我们将该问题形式化为约束优化任务,并提出CamoMark——一种与聚合器无关的水印方案,用于在联邦学习中嵌入鲁棒水印。CamoMark优化水印更新使其成为内点,保持与干净更新分布的有界偏差,同时保留足够的水印信号以实现可靠检测。在基于Alpaca数据集微调的Qwen模型上进行评估,CamoMark仅使用3.3%的水印数据即可达到p值为1.82×10⁻²的检测置信度;该水印对一系列训练后移除攻击仍保持鲁棒性,包括在干净数据上继续微调、剪枝和模型蒸馏。在更高水印比例下,检测置信度大幅提升,当水印比例为13.3%时达到p值为5.11×10⁻¹¹。

英文摘要:

LLM watermarking has emerged as a promising approach for detecting downstream model misuse in centralized settings, but extending it to federated learning (FL) presents unique challenges. In particular, FL systems often rely on strong robust aggregators to defend against poisoning attacks. We empirically show that a malicious server can exploit these same aggregators as effective watermark-removal mechanisms during training, causing representative existing LLM watermarking methods to fail detection in the final model. To address this limitation, we formalize the problem as a constrained optimization task and propose CamoMark, an aggregator-agnostic watermarking scheme for embedding robust watermarks in FL. CamoMark optimizes watermarked updates to become inliers, maintaining bounded deviation from the distribution of clean updates, while preserving sufficient watermark signal for reliable detection. Evaluated on Qwen fine-tuned on the Alpaca dataset, CamoMark achieves a detection confidence of $p$-value $= 1.82\times10^{-2}$ using only 3.3% watermarked data. The watermark also remains robust to a range of post-training removal attacks, including continued fine-tuning on clean data, pruning, and model distillation. At higher watermark ratios, detection confidence improves substantially, reaching $p$-value $= 5.11\times10^{-11}$ at a 13.3% watermark ratio.

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

↑