paper-with-me

Papers

Code-Optimise: Self-Generated Preference Data for Correctness and Efficiency

2024-06-18 · Leonidas Gee, Milan Gritta, Gerasimos Lampouras, Ignacio Iacobacci

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.

📄 PDF Abstract BibTeX arXiv:2406.12502

Code (0)

등록된 구현이 없습니다.

Tasks

HumanEvalmbpp

Similar Papers 제목 키워드 기반

DSTC: Direct Preference Learning with Only Self-Generated Tests and Code to Improve Code LMs

2024-11-20 · Zhihan Liu, Shenao Zhang, Yongfei Liu, Boyi Liu 외

Direct preference learning offers a promising and computation-efficient beyond supervised fine-tuning (SFT) for improving code generation in coding large language models (LMs). However, the scarcity of reliable preferenc…

Code GenerationHumanEvalmbpp

Extensive Self-Contrast Enables Feedback-Free Language Model Alignment

2024-03-31 · Xiao Liu, Xixuan Song, Yuxiao Dong, Jie Tang

Reinforcement learning from human feedback (RLHF) has been a central technique for recent large language model (LLM) alignment. However, its heavy dependence on costly human or LLM-as-Judge preference feedback could stym…

Language ModelingLanguage ModellingLarge Language Modeltext similarity

Beyond Scalar Reward Model: Learning Generative Judge from Preference Data

2024-10-01 · Ziyi Ye, Xiangsheng Li, Qiuchi Li, Qingyao Ai 외

Learning from preference feedback is a common practice for aligning large language models~(LLMs) with human value. Conventionally, preference data is learned and encoded into a scalar reward model that connects a value h…

Self-Improving Code Generation via Semantic Entropy and Behavioral Consensus

2026-03-31 · Huan Zhang, Wei Cheng, Wei Hu arxiv

Improving the code generation capabilities of large language models (LLMs) typically relies on supervised fine-tuning or preference optimization, both of which require costly external resources such as powerful teacher m…

Code Generation

Mitigating Hallucinations in Large Vision-Language Models by Self-Injecting Hallucinations

2025-09-14 · Yifan Lu, Ziqi Zhang, Chunfeng Yuan, Jun Gao 외 arxiv

Large Vision-Language Models (LVLMs) suffer from serious hallucination problems, where the model-generated responses are inconsistent with the visual inputs. Existing hallucination mitigation methods are mainly based on …