Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Code Less, Align More: Efficient LLM Fine-tuning for Code Generation with Data Pruning (2407.05040v1)

Published 6 Jul 2024 in cs.SE and cs.LG

Abstract: Recent work targeting LLMs for code generation demonstrated that increasing the amount of training data through synthetic code generation often leads to exceptional performance. In this paper we explore data pruning methods aimed at enhancing the efficiency of model training specifically for code LLMs. We present techniques that integrate various clustering and pruning metrics to selectively reduce training data without compromising the accuracy and functionality of the generated code. We observe significant redundancies in synthetic training data generation, where our experiments demonstrate that benchmark performance can be largely preserved by training on only 10% of the data. Moreover, we observe consistent improvements in benchmark results through moderate pruning of the training data. Our experiments show that these pruning strategies not only reduce the computational resources needed but also enhance the overall quality code generation.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Yun-Da Tsai (17 papers)
  2. Mingjie Liu (26 papers)
  3. Haoxing Ren (45 papers)
Citations (3)