Code-Optimise: Self-Generated Preference Data for Correctness and Efficiency
원문 초록
Code Language Models have been trained to generate accurate solutions, typically with no regard for runtime. On the other hand, previous works that explored execution optimisation have observed corresponding drops in functional correctness. To that end, we introduce Code-Optimise, a framework that incorporates both correctness (passed, failed) and runtime (quick, slow) as learning signals via self-generated preference data. Our framework is both lightweight and robust as it dynamically selects solutions to reduce overfitting while avoiding a reliance on larger models for learning signals. Code-Optimise achieves significant improvements in pass@k while decreasing the competitive baseline runtimes by an additional 6% for in-domain data and up to 3% for out-of-domain data. As a byproduct, the average length of the generated solutions is reduced by up to 48% on MBPP and 23% on HumanEval, resulting in faster and cheaper inference. The generated data and codebase will be open-sourced at www.open-source.link.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
any4: Learned 4-bit Numeric Representation for LLMs
Self-Correcting Code Generation Using Small Language Models
Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking
Rethinking Repetition Problems of LLMs in Code Generation
Web-Bench: A LLM Code Benchmark Based on Web Standards and Frameworks
KodCode: A Diverse, Challenging, and Verifiable Synthetic Dataset for Coding
토론
이 논문과 연결된 포럼 글이 아직 없습니다.