Research map / Large language models / Language, safety and interpretability
Duplicate-Aware Controlled Code Generation: Enhancing Copyright Protection with Targeted Reordering Beam Search in LLMs
Junbo Fu, Guoshuai Zhao, Linkang Yang, Yunqi Mi, Xueming Qian
Xi’an Jiaotong University
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| apply TRBS (alpha=5) instead of standard beam search | Qwen3-8B · HumanEval-X Python | LCS length: 65.68 -> 38.62 | Improved |
| apply TRBS (alpha=5) instead of standard beam search | Qwen3-8B · HumanEval-X Python | execution accuracy: 80.49 -> 73.78 | Hurt |
| apply TRBS (alpha=2) instead of standard beam search | Qwen3-8B · HumanEval-X Python | LCS length and accuracy: LCS 65.68 -> 55.16; ACC 80.49 -> 80.49 | Improved |
| apply TRBS (alpha=2) instead of standard beam search | Qwen3-8B · HumanEval-X Java | execution accuracy: 80.49 -> 64.63 | Hurt |
| add structural anchor protection (spike entropy) (ablation) | TRBS alpha=5 · HumanEval-X Python | execution accuracy: 60.98 -> 73.78 | Improved |
| add structural anchor protection (ablation) | TRBS alpha=5 · HumanEval-X Python | LCS length: 36.08 -> 38.62 | Mixed |
| add structural anchor protection (ablation) | TRBS alpha=3 on Llama3-instruct-8B · HumanEval-X Python | execution accuracy: 71.34 -> 73.78 | Improved |
| raise alpha from 2 to 5 (ablation) | TRBS on Qwen3-8B · HumanEval-X Python | LCS length and accuracy: LCS 55.16 -> 38.62; ACC 80.49 -> 73.78 | Mixed |
| raise beta from 0.55 to 0.60 (ablation) | TRBS alpha=2 on Qwen3-8B · HumanEval-X Python | LCS length and accuracy: LCS 53.91 -> 57.01; ACC 77.44 -> 82.93 | Mixed |
| increase beam num from 5 to 25 (ablation) | TRBS on Qwen3-8B · HumanEval-X Go | LCS length: 39.76 -> 35.24 | Improved |
| increase beam num from 5 to 25 (ablation) | TRBS on Qwen3-8B · HumanEval-X Java | LCS length: 73.70 -> 72.60 | No clear effect |
| use training data rewrite instead of standard fine-tuning data | Qwen3-8B · HumanEval-X Java | execution accuracy: 80.49 -> 21.95 | Hurt |
Open problems in parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- Let's Revise Step-by-Step: A Unified Local Search Framework for Code Generation with LLMs (NeurIPS 2025 · similarity 0.87)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.85)
- Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Models (AAAI 2024 · similarity 0.84)
- Uncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code Rewriting (AAAI 2025 · similarity 0.84)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.84)
- Self-Infilling Code Generation (ICML 2024 · similarity 0.84)
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.