KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding

We introduce KODCODE, a synthetic dataset that addresses the persistent challenge of acquiring high-quality, verifiable training data across diverse difficulties and domains for training Large Language Models for coding.Existing code-focused resources typically fail to ensure either the breadth of coverage (e.g., spanning simple coding tasks to advanced algorithmic problems) or verifiable correctness (e.g., unit tests).In contrast, KODCODE comprises question-solution-test triplets that are systematically validated via a self-verification procedure.Our pipeline begins by synthesizing a broad range of coding questions, then generates solutions and test cases with additional attempts allocated to challenging problems.Finally, posttraining data synthesis is done by rewriting questions into diverse formats and generating responses under a test-based reject sampling procedure from a reasoning model (DeepSeek R1).This pipeline yields a large-scale, robust and diverse coding dataset.KODCODE is suitable for supervised fine-tuning and the paired unit tests also provide great potential for RL tuning.Fine-tuning experiments on coding benchmarks (HumanEval(+), MBPP(+), Big-CodeBench, and LiveCodeBench) demonstrate that KODCODE-tuned models achieve state-ofthe-art performance, surpassing models like Qwen2.5-Coder-32B-Instruct and DeepSeek-R1-Distill-Llama-70B.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.365
Citations
3
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
6.81

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding

Mingyuan Zhou, Zhangchen Xu, Yang Liu, Radha Poovendran et al.
3 citations
Parallel Computing and Optimization Techniques
6.81
article

KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding

Mingyuan Zhou, Zhangchen Xu, Yang Liu, Radha Poovendran, Yueqin Yin
article en
3 citations

Abstract

We introduce KODCODE, a synthetic dataset that addresses the persistent challenge of acquiring high-quality, verifiable training data across diverse difficulties and domains for training Large Language Models for coding.Existing code-focused resources typically fail to ensure either the breadth of coverage (e.g., spanning simple coding tasks to advanced algorithmic problems) or verifiable correctness (e.g., unit tests).In contrast, KODCODE comprises question-solution-test triplets that are systematically validated via a self-verification procedure.Our pipeline begins by synthesizing a broad range of coding questions, then generates solutions and test cases with additional attempts allocated to challenging problems.Finally, posttraining data synthesis is done by rewriting questions into diverse formats and generating responses under a test-based reject sampling procedure from a reasoning model (DeepSeek R1).This pipeline yields a large-scale, robust and diverse coding dataset.KODCODE is suitable for supervised fine-tuning and the paired unit tests also provide great potential for RL tuning.Fine-tuning experiments on coding benchmarks (HumanEval(+), MBPP(+), Big-CodeBench, and LiveCodeBench) demonstrate that KODCODE-tuned models achieve state-ofthe-art performance, surpassing models like Qwen2.5-Coder-32B-Instruct and DeepSeek-R1-Distill-Llama-70B.

Microsoft (United States) (US)
National Science Foundation, U.S. Department of Homeland Security, Office of Naval Research, Air Force Office of Scientific Research
Openalex Percentile: Top 3%
Parallel Computing and Optimization Techniques
6.81
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.