Skip to main content
Search

# RoCoMark

1 related articles

Subscribe to updates
  1. arXiv

    LLM rewriting strips code watermarks, so RoCoMark turns embedder and rewriter into a multi-round game, reaching 74.2% detection AUROC

    Large language models can rewrite code while preserving its functionality, substantially altering the syntactic and structural features that existing code watermarks rely on, so detection degrades. RoCoMark places the watermark embedder and an LLM rewriter in a multi-round attacker-defender game: the embedder first learns rewrite-stable representations through contrastive learning and knowledge distillation, then trains against rewriting strategies that evolve alongside it. Across four benchmarks and rewriting attacks from five LLMs, it reaches an average detection AUROC of 74.2%, a rewrite BitACC of 75.3%, and a code functionality pass rate above 99.7%.

You’re all caught up