Smaller but Better: Self-Paced Knowledge Distillation for Lightweight yet Effective LCMs
Not on the map. Why?
Abstract (arXiv)
Large code models (LCMs) have remarkably advanced the field of code generation. Despite their impressive capabilities, they still face practical deployment issues, such as high inference costs, limited accessibility of proprietary LCMs, and adaptability issues of ultra-large LCMs. These issues highlight the critical need for more accessible, lightweight yet effective LCMs. Knowledge distillation (KD) offers a promising solution, which transfers the programming capabilities of larger, advanced LCMs to smaller, less powerful LCMs. In this paper, we propose a novel Self-Paced knOwledge DistillAtion framework, named SODA, aiming at developing lightweight yet effective student LCMs. SODA consists of three stages in one cycle: (1) Correct-and-Fault Knowledge Delivery stage aims at improving the student models capability to recognize errors while ensuring its basic programming skill during the knowledge transferring, which involves correctness-aware supervised learning and fault-aware contrastive learning methods. (2) Multi-View Feedback stage aims at measuring the quality of results generated by the student model from two views, including model-based and static tool-based measurement, for identifying the difficult questions. (3) Feedback-based Knowledge Update stage aims at updating the student model adaptively by generating new questions at different difficulty levels, in which the difficulty levels are categorized based on the feedback in the second stage. Experimental results show that SODA improves the student model by 65.96% in terms of average Pass@1, outperforming the best baseline by 29.85%. Based on the SODA framework, we develop SodaCoder, a series of lightweight yet effective LCMs, which outperform 15 LCMs with less than or equal to 16B parameters. Notably, SodaCoder-DS-6.7B, built on DeepseekCoder-6.7B, even surpasses the prominent ChatGPT on average Pass@1.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Aug 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2026Recursive Meta-Distillation: An Axiomatic Framework for Iterative Knowledge Refinementcited by 2
- 2025A Metamorphic Testing Perspective on Knowledge Distillation for Language Models of Code: Does the Student Deeply Mimic the Teacher?cited by 1
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 1
- 2026Recursive Harness Distillation across Agents for Robot Manipulationcited by 1
- 2026Automated Customization of LLMs for Enterprise Code Repositories Using Semantic Scopescited by 0
- 2026Recursive Harness Distillation across Agents for Robot Manipulation27 Sep 2026
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Development21 Jul 2026
- 2026Automated Customization of LLMs for Enterprise Code Repositories Using Semantic Scopes5 Feb 2026
- 2026Recursive Meta-Distillation: An Axiomatic Framework for Iterative Knowledge Refinement19 Jan 2026
- 2025A Metamorphic Testing Perspective on Knowledge Distillation for Language Models of Code: Does the Student Deeply Mimic the Teacher?7 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025