potentialpaper

Adaptive Code Watermarking Through Reinforcement Learning

Import the versions from OpenReview: the same title at other venues

@openreview[bot] · 2026-11-22 20:11 UTC · c816320de7af ·

versions/v_h7cptbmd.json added

+++ b/versions/v_h7cptbmd.json
@@ -0,0 +1,18 @@
+{
+ "date": "2026-01-23",
+ "kind": "submitted",
+ "label": "ICML 2026",
+ "submissions": [
+ {
+ "venue": "ICML 2026",
+ "status": "accepted",
+ "url": "https://openreview.net/forum?id=4xjq3iR4aK"
+ }
+ ],
+ "title": "Adaptive Code Watermarking Through Reinforcement Learning",
+ "url": "https://openreview.net/forum?id=4xjq3iR4aK",
+ "evidence": [
+ "https://openreview.net/forum?id=4xjq3iR4aK"
+ ],
+ "abstract": "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."
+}

versions/v_wajpiins.json added

+++ b/versions/v_wajpiins.json
@@ -0,0 +1,18 @@
+{
+ "date": "2025-09-19",
+ "kind": "submitted",
+ "label": "ICLR 2026",
+ "submissions": [
+ {
+ "venue": "ICLR 2026",
+ "status": "rejected",
+ "url": "https://openreview.net/forum?id=4msXyRezc2"
+ }
+ ],
+ "title": "Adaptive Code Watermarking Through Reinforcement Learning",
+ "url": "https://openreview.net/forum?id=4msXyRezc2",
+ "evidence": [
+ "https://openreview.net/forum?id=4msXyRezc2"
+ ],
+ "abstract": "Protecting intellectual property on LLM-generated code necessitates effective watermarking systems that can operate within code's highly structured, syntactically constrained nature. In this work, we introduce CodeTracer, an innovative adaptive code watermarking framework underpinned by a novel 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. Additionally, we employ Gumbel Top-k reparameterization to enable gradient-based optimization of discrete watermarking decisions. Extensive comparative evaluations demonstrate CodeTracer's significant superiority over state-of-the-art baselines in both watermark detectability and the preservation of generated code's functionality. Our code is available at https://anonymous.4open.science/r/CodeTracer-B8EE."
+}