Lune

ICML2026顶会

Adaptive Code Watermarking Through Reinforcement Learning

Zhimeng Guo, Huaisheng Zhu, Siyuan Xu, Hangfan Zhang, Teng Xiao, Minhao Cheng

问 Lune

摘要

As LLMs increasingly generate production code, protecting intellectual property demands watermarking techniques that respect code's strict syntactic constraints. In this work, we introduce CodeTracer, an innovative adaptive code watermarking framework underpinned by a reinforcement learning training paradigm. At its core, CodeTracer features a policy-driven approach that utilizes a parameterized model to intelligently bias token choices during next-token prediction. This strategy ensures that embedded watermarks maintain code functionality while exhibiting subtle yet statistically detectable deviations from typical token distributions. To facilitate policy learning, we devise a comprehensive reward system that seamlessly integrates execution feedback with watermark embedding signals, balancing process-level and outcome-level rewards. To enable gradient-based optimization of these discrete watermarking decisions, we employ Gumbel Top-k reparameterization. Extensive comparative evaluations demonstrate that CodeTracer outperforms state-of-the-art baselines across multiple benchmarks in both watermark detectability and code functionality. Our code is available at https://github.com/TimeLovercc/CodeTracer.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
  • DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
  • Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 Provable Robust Watermarking for AI-Generated Text
  • Provable Robust Watermarking for AI-Generated Text 引用了 Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense
  • Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense 引用了 A Watermark for Large Language Models
  • DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature 引用了 A Watermark for Large Language Models
  • Provable Robust Watermarking for AI-Generated Text 引用了 DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvature
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Flow-GRPO: Training Flow Matching Models via Online RLJie Liu, Gongye Liu, Jiajun Liang, Yangguang Li 等NeurIPS 2025 · 647 次引用
  2. BAPO: Stabilizing Off-Policy Reinforcement Learning for LLMs via Balanced Policy Optimization with Adaptive ClippingZhiheng Xi, Xin Guo, Yang Nan, Enyu Zhou 等ICLR 2026 · 54 次引用
  3. CE-GPPO: Coordinating Entropy via Gradient-Preserving Clipping Policy Optimization in Reinforcement LearningZhenpeng Su, Leiyu Pan, Minxuan Lv, Yuntao Li 等ACL 2026 · 21 次引用
  4. SIGMA: Refining Large Language Model Reasoning via Sibling-Guided Monte Carlo AugmentationYanwei Ren, Haotian Zhang, Fuxiang Wu, Jiayan Qiu 等NeurIPS 2025 · 5 次引用
  5. Replacing Multi-Step Assembly of Data Preparation Pipelines with One-Step LLM Pipeline Generation for Table QAFengyu Li, Junhao Zhu, Kaishi Song, Lu Chen 等VLDB 2026 · 1 次引用

它引用的 Paper13

  1. DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability CurvatureEric Mitchell, Yoonho Lee, Alexander Khazatsky, Christopher D. Manning 等ICML 2023 · 988 次引用
  2. A Watermark for Large Language ModelsJohn Kirchenbauer, Jonas Geiping, Yuxin Wen, Jonathan Katz 等ICML 2023 · 854 次引用
  3. Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defenseKalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting 等NeurIPS 2023 · 657 次引用
  4. Provable Robust Watermarking for AI-Generated TextXuandong Zhao, Prabhanjan Vijendra Ananth, Lei Li, Yu-Xiang WangICLR 2024 · 312 次引用
  5. OctoPack: Instruction Tuning Code Large Language ModelsNiklas Muennighoff, Qian Liu, Armel Randy Zebaze, Qinkai Zheng 等ICLR 2024 · 203 次引用

相关 Paper

  1. Practical and Effective Code Watermarking for Large Language ModelsZhimeng Guo, Minhao ChengNeurIPS 2025 · 1 次引用
  2. CLMTracing: Black-box User-level Watermarking for Code Language Model TracingBoyu Zhang, Ping He, Tianyu Du, Xuhong Zhang 等EMNLP 2025 · 1 次引用
  3. CodeGenGuard: A Watermark for Code Generation ModelsBorui Yang, Mingxuan Ma, Liyao Xiang, Nan Chen 等ICLR 2026
  4. CodeIP: A Grammar-Guided Multi-Bit Watermark for Large Language Models of CodeBatu Guan, Yao Wan, Zhangqian Bi, Zheng Wang 等EMNLP Findings 2024 · 12 次引用
  5. SrcMarker: Dual-Channel Source Code Watermarking via Scalable Code TransformationsBorui Yang, Wei Li, Liyao Xiang, Bo LiS&P 2024 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖