paper-with-me

Papers

Infinite-Instruct: Synthesizing Scaling Code instruction Data with Bidirectional Synthesis and Static Verification

2025-05-29 · Wenjing Xing, Wenke Lu, Yeheng Duan, Bing Zhao, Zhenghui kang, Yaolong Wang, Kai Gao, Lei Qiao

Traditional code instruction data synthesis methods suffer from limited diversity and poor logic. We introduce Infinite-Instruct, an automated framework for synthesizing high-quality question-answer pairs, designed to enhance the code generation capabilities of large language models (LLMs). The framework focuses on improving the internal logic of synthesized problems and the quality of synthesized code. First, "Reverse Construction" transforms code snippets into diverse programming problems. Then, through "Backfeeding Construction," keywords in programming problems are structured into a knowledge graph to reconstruct them into programming problems with stronger internal logic. Finally, a cross-lingual static code analysis pipeline filters invalid samples to ensure data quality. Experiments show that on mainstream code generation benchmarks, our fine-tuned models achieve an average performance improvement of 21.70% on 7B-parameter models and 36.95% on 32B-parameter models. Using less than one-tenth of the instruction fine-tuning data, we achieved performance comparable to the Qwen-2.5-Coder-Instruct. Infinite-Instruct provides a scalable solution for LLM training in programming. We open-source the datasets used in the experiments, including both unfiltered versions and filtered versions via static analysis. The data are available at https://github.com/xingwenjing417/Infinite-Instruct-dataset

📄 PDF Abstract BibTeX arXiv:2505.23177

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Genetic Instruct: Scaling up Synthetic Generation of Coding Instructions for Large Language Models

2024-07-29 · Somshubra Majumdar, Vahid Noroozi, Mehrzad Samadi, Sean Narenthiran 외

Large Language Models (LLMs) require high quality instruction data for effective alignment, particularly in code generation tasks where expert curated datasets are expensive to produce. We present Genetic-Instruct, a sca…

Code Generation

Can It Edit? Evaluating the Ability of Large Language Models to Follow Code Editing Instructions

2023-12-11 · Federico Cassano, Luisa Li, Akul Sethi, Noah Shinn 외

A significant amount of research is focused on developing and evaluating large language models for a variety of code synthesis tasks. These include synthesizing code from natural language, synthesizing tests from code, a…

OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset

2024-02-15 · Shubham Toshniwal, Ivan Moshkov, Sean Narenthiran, Daria Gitman 외

Recent work has shown the immense potential of synthetically generated datasets for training large language models (LLMs), especially for acquiring targeted skills. Current large-scale math instruction tuning datasets su…

Arithmetic ReasoningGSM8KMathMath Word Problem Solving

Evaluating and Aligning CodeLLMs on Human Preference

2024-12-06 · Jian Yang, Jiaxi Yang, Ke Jin, Yibo Miao 외

Code large language models (codeLLMs) have made significant strides in code generation. Most previous code-related benchmarks, which consist of various programming exercises along with the corresponding test cases, are u…

Code Generation

CodeSimpleQA: Scaling Factuality in Code Large Language Models

2025-12-22 · Jian Yang, Wei Zhang, Yizhi Li, Shawn Guo 외 arxiv

Large language models (LLMs) have made significant strides in code generation, achieving impressive capabilities in synthesizing code snippets from natural language instructions. However, a critical challenge remains in …

Reinforcement LearningCode Generation