VERSE: Verification-based Self-Play for Code Instructions
Hao Jiang, Qi Liu, Rui Li, Yuze Zhao, Yixiao Ma, Shengyu Ye, Junyu Lu, Yu Su
摘要
Instruction-tuned Code Large Language Models (Code LLMs) have excelled in diverse code-related tasks, such as program synthesis, automatic program repair, and code explanation. To collect training datasets for instruction-tuning, a popular method involves having models autonomously generate instructions and corresponding responses. However, the direct generation of responses does not ensure functional correctness, a crucial requirement for generating responses to code instructions. To overcome this, we present Verification-Based Self-Play (VERSE), aiming to enhance model proficiency in generating correct responses. VERSE establishes a robust verification framework that covers various code instructions. Employing VERSE, Code LLMs engage in self-play to generate instructions and corresponding verifications. They evaluate execution results and self-consistency as verification outcomes, using them as scores to rank generated data for self-training. Experiments show that VERSE improves multiple base Code LLMs (average 7.6%) across various languages and tasks on many benchmarks, affirming its effectiveness.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CursorCore: Assist Programming through Aligning Anything 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- CursorCore: Assist Programming through Aligning Anything 引用了 Training language models to follow instructions with human feedback
- Self-Rewarding Language Models 引用了 Training language models to follow instructions with human feedback
- Themis: Automated Constraint-Aware Test Synthesis Framework for Code Reinforcement Learning 引用了 CursorCore: Assist Programming through Aligning Anything
- Themis: Automated Constraint-Aware Test Synthesis Framework for Code Reinforcement Learning 引用了 WizardCoder: Empowering Code Large Language Models with Evol-Instruct
- WizardCoder: Empowering Code Large Language Models with Evol-Instruct 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper3
- R-Zero: Self-Evolving Reasoning LLM from Zero DataChengsong Huang, Wenhao Yu, Xiaoyang Wang, Hongming Zhang 等ICLR 2026 · 220 次引用
- CursorCore: Assist Programming through Aligning AnythingHao Jiang, Qi Liu, Rui Li, Shengyu Ye 等ICML 2025
- Themis: Automated Constraint-Aware Test Synthesis Framework for Code Reinforcement LearningShengyu Ye, Qi Liu, Hao Jiang, Zheng Zhang 等AAAI 2026
它引用的 Paper21
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
- WizardCoder: Empowering Code Large Language Models with Evol-InstructZiyang Luo, Can Xu, Pu Zhao, Qingfeng Sun 等ICLR 2024 · 945 次引用
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le 等ICLR 2023 · 681 次引用
- Self-Rewarding Language ModelsWeizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Xian Li 等ICML 2024 · 569 次引用
相关 Paper
- Language Models Can Teach Themselves to Program BetterPatrick Haluptzok, Matthew Bowers, Adam Tauman KalaiICLR 2023 · 17 次引用
- Propose, Solve, Verify: Self-Play Through Formal VerificationAlex Wilf, Pranjal Aggarwal, Bryan Parno, Daniel Fried 等ICML 2026 · 6 次引用
- VisCoder: Fine-Tuning LLMs for Executable Python Visualization Code GenerationYuansheng Ni, Ping Nie, Kai Zou, Xiang Yue 等EMNLP Findings 2025 · 3 次引用
- WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction TuningZhaojian Yu, Xin Zhang, Ning Shang, Yangyu Huang 等ACL 2024
- LEVER: Learning to Verify Language-to-Code Generation with ExecutionAnsong Ni, Srini Iyer, Dragomir Radev, Veselin Stoyanov 等ICML 2023 · 318 次引用
