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

CLMTracing:用于代码语言模型追踪的黑盒用户级水印

CLMTracing: Black-box User-level Watermarking for Code Language Model Tracing

Zhejiang University(浙江大学);Information Security Center, CEPREI(中国电子信息产品进出口商会信息安全中心)

Boyu Zhang, Ping He, Tianyu Du, Xuhong Zhang, Lei Yun, Kingsum Chow, Jianwei Yin

AI总结:

本文提出黑盒代码语言模型水印框架 CLMTracing,通过基于规则的水印与保持效用的注入方法实现用户级追踪,并结合参数选择算法与对抗训练增强鲁棒性,在多个 SOTA 模型上验证了其有效性与无害性。

摘要:

随着开源代码语言模型(code LMs)的广泛采用,知识产权(IP)保护已成为日益关键的问题。尽管当前的水印技术有潜力识别 code LM 以保护其 IP,但在面对更实用且复杂的需求,即在黑盒设置中提供个体用户级追踪时,它们存在局限性。本工作提出 CLMTracing,这是一个黑盒 code LM 水印框架,采用基于规则的水印和保持效用的注入方法进行用户级模型追踪。CLMTracing 进一步结合了对鲁棒水印敏感的参数选择算法和对抗训练,以增强抵御水印移除攻击的鲁棒性。全面评估表明,CLMTracing 在多个最先进(SOTA)的 code LMs 上均有效,与现有 SOTA 基线相比展现出显著的无害改进,并对各种移除攻击具有强鲁棒性。

英文摘要:

With the widespread adoption of open-source code language models (code LMs), intellectual property (IP) protection has become an increasingly critical concern. While current watermarking techniques have the potential to identify the code LM to protect its IP, they have limitations when facing the more practical and complex demand, i.e., offering the individual user-level tracing in the black-box setting. This work presents CLMTracing, a black-box code LM watermarking framework employing the rule-based watermarks and utility-preserving injection method for user-level model tracing. CLMTracing further incorporates a parameter selection algorithm sensitive to the robust watermark and adversarial training to enhance the robustness against watermark removal attacks. Comprehensive evaluations demonstrate CLMTracing is effective across multiple state-of-the-art (SOTA) code LMs, showing significant harmless improvements compared to existing SOTA baselines and strong robustness against various removal attacks.

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

↑