AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

CodeIP: A Grammar-Guided Multi-Bit Watermark for Large Language Models of Code

Batu Guan, Yao Wan, Zhangqian Bi, Zheng Wang, Hongyu Zhang, Pan Zhou, Lichao Sun

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Text watermarking48 citations (OpenAlex)

Huazhong University of Science and Technology · University of Leeds · Chongqing University · Lehigh University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
5improved
3no clear effect
4hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add type predictor to the watermark logit (ablation)CodeIP (Code Llama) · CodeSearchNet JavaCodeBLEU: 23.35 -> 27.14Improved
add type predictor to the watermark logit (ablation)CodeIP (StarCoder) · CodeSearchNet JavaCodeBLEU: 25.70 -> 32.11Improved
add type predictor to the watermark logit (ablation)CodeIP (DeepSeek Coder) · CodeSearchNet PythonCodeBLEU: 18.35 -> 13.57Hurt
add type predictor (ablation)CodeIP · five languagesextraction rateNo clear effect
insert watermark vs unwatermarkedCode Llama · CodeSearchNet JavaCodeBLEU: 28.99 -> 27.14Hurt
use CodeIP instead of Wang et al. 2023 multi-bit baselineStarCoder · CodeSearchNet JavaCodeBLEU: 27.29 -> 32.11Improved
use CodeIP instead of Yoo et al. 2023 baselineCode Llama · CodeSearchNet GoCodeBLEU: 28.29 -> 26.49Hurt
increase beta (ablation)CodeIP · Java, three LLMsextraction rate: approx 0.9 when beta exceeds 5Improved
increase gamma beyond a threshold (ablation)CodeIP · JavaCodeBLEUMixed
increase gamma (ablation)CodeIP · Javaextraction rateNo clear effect
longer generated code (ablation)CodeIP · Javaextraction rateImproved
crop 50% of generated codeCodeIP (Code Llama) · CodeSearchNet Javaextraction rate: 0.92 -> 0.71Hurt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy