Function-Level Execution Feedback for Code Preference Optimization
Source
arxiv.org
Author
Idris Nechnech, Sehwan Kim, Jimin Seo, Yeongoon Kim, Minhae Oh, Sangwoo Hong, Jungwoo Lee
Date
Context
TrainingThe process that adjusts a model using examples and a measure of how well it performs.Full definition → a coding model only on whether a whole ProgramA set of instructions stored so that a computer can run it.Full definition → succeeds leaves its individual functions without separate feedback. STEP-KTODER generates unit tests for functions, labels their results as passing or failing, and combines those labels with feedback on the complete program.
The authors report improvements over the compared preference-training methods across four BenchmarkA fixed set of tasks with a stated way of scoring them, used to compare models or setups.Full definition → groups. They also find that replacing execution results with another Large language modelA model trained on large amounts of data to process and generate language.Full definition →'s judgments incorrectly labels too many functions as failures and weakens subsequent training. The useful signal here comes from running tests, although those generated tests cover only the behaviors they actually check.
Terms in this piece · Glossary
Training — The process that adjusts a model using examples and a measure of how well it performs.
Program — A set of instructions stored so that a computer can run it.
Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.
Large language model — A model trained on large amounts of data to process and generate language.