How Do Your Code LLMs Perform? Empowering Code Instruction Tuning with High-Quality Data
Not on the map. Why?
Abstract (arXiv)
Recently, there has been a growing interest in studying how to construct better code instruction tuning data. However, we observe Code models trained with these datasets exhibit high performance on HumanEval but perform worse on other benchmarks such as LiveCodeBench. Upon further investigation, we find that many datasets suffer from severe data leakage. After cleaning up most of the leaked data, some well-known high-quality datasets perform poorly. This discovery reveals a new challenge: identifying which dataset genuinely qualify as high-quality code instruction data. To address this, we propose an efficient code data pruning strategy for selecting good samples. Our approach is based on three dimensions: instruction complexity, response quality, and instruction diversity. Based on our selected data, we present XCoder, a family of models finetuned from LLaMA3. Our experiments show XCoder achieves new state-of-the-art performance using fewer training data, which verify the effectiveness of our data strategy. Moreover, we perform a comprehensive analysis on the data composition and find existing code datasets have different characteristics according to their construction methods, which provide new insights for future code LLMs. Our models and dataset are released in https://github.com/banksy23/XCoder
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 23 of its 34 references that are in the map. First posted on arXiv 5 Sep 2024.
Builds on
23 of 34 references.
References · 23
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Qwen2 Technical Reportcited by 2,120
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2023LIMA: Less Is More for Alignmentcited by 1,100
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 364
11 more
- 2023From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuningcited by 307
- 2024We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?cited by 286
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 247
- 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 223
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 160
- 2023Making Language Models Better Tool Learners with Execution Feedbackcited by 70
- 2023Active Instruction Tuning: Improving Cross-Task Generalization by Training on Prompt Sensitive Taskscited by 55
- 2024Towards Scalable Automated Alignment of LLMs: A Surveycited by 35
- 2024CS-Bench: A Comprehensive Benchmark for Large Language Models towards Computer Science Masterycited by 30
- 2024Exploring the Mystery of Influential Data for Mathematical Reasoningcited by 13
- 2024DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuningcited by 11
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 3.
8 papers.
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scalingcited by 1,599
- 2025InnovatorBench: Evaluating Agents' Ability to Conduct Innovative LLM Researchcited by 19
- 2026daVinci-Dev: Agent-native Mid-training for Software Engineeringcited by 18
- 2025GenieBlue: Integrating both Linguistic and Multimodal Capabilities for Large Language Models on Mobile Devicescited by 3
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selectioncited by 3
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modelingcited by 2
- 2025Interaction as Intelligence Part II: Asynchronous Human-Agent Rollout for Long-Horizon Task Trainingcited by 1
- 2026InstructDiff: Domain-Adaptive Data Selection via Differential Entropy for Efficient LLM Fine-Tuningcited by 1
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling5 Aug 2026
- 2026InstructDiff: Domain-Adaptive Data Selection via Differential Entropy for Efficient LLM Fine-Tuning30 Jan 2026
- 2026daVinci-Dev: Agent-native Mid-training for Software Engineering26 Jan 2026
- 2025Interaction as Intelligence Part II: Asynchronous Human-Agent Rollout for Long-Horizon Task Training31 Oct 2025
- 2025InnovatorBench: Evaluating Agents' Ability to Conduct Innovative LLM Research31 Oct 2025
- 2025RICo: Refined In-Context Contribution for Automatic Instruction-Tuning Data Selection8 May 2025
- 2025GenieBlue: Integrating both Linguistic and Multimodal Capabilities for Large Language Models on Mobile Devices8 Mar 2025
- 2024Expanding Performance Boundaries of Open-Source Multimodal Models with Model, Data, and Test-Time Scaling6 Dec 2024