SECLJan 22

Evaluating and Achieving Controllable Code Completion in Code LLM

arXiv:2601.15879v11 citationsh-index: 12Has Code
Originality Incremental advance
AI Analysis

This addresses the problem of evaluating and improving instruction-following in code LLMs for software engineering, representing an incremental advance in benchmarking and model fine-tuning.

The authors tackled the lack of evaluation methods for instruction-following in code completion by introducing C3-Bench, a benchmark with 2,195 tasks, and developed a data synthesis pipeline that produced Qwen2.5-Coder-C3, achieving state-of-the-art performance on this benchmark.

Code completion has become a central task, gaining significant attention with the rise of large language model (LLM)-based tools in software engineering. Although recent advances have greatly improved LLMs' code completion abilities, evaluation methods have not advanced equally. Most current benchmarks focus solely on functional correctness of code completions based on given context, overlooking models' ability to follow user instructions during completion-a common scenario in LLM-assisted programming. To address this limitation, we present the first instruction-guided code completion benchmark, Controllable Code Completion Benchmark (C3-Bench), comprising 2,195 carefully designed completion tasks. Through comprehensive evaluation of over 40 mainstream LLMs across C3-Bench and conventional benchmarks, we reveal substantial gaps in instruction-following capabilities between open-source and advanced proprietary models during code completion tasks. Moreover, we develop a straightforward data synthesis pipeline that leverages Qwen2.5-Coder to generate high-quality instruction-completion pairs for supervised fine-tuning (SFT). The resulting model, Qwen2.5-Coder-C3, achieves state-of-the-art performance on C3-Bench. Our findings provide valuable insights for enhancing LLMs' code completion and instruction-following capabilities, establishing new directions for future research in code LLMs. To facilitate reproducibility and foster further research in code LLMs, we open-source all code, datasets, and models.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes