paper-with-me

Papers

HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation

2024-12-30 · Zhaojian Yu, Yilun Zhao, Arman Cohan, Xiao-Ping Zhang

We introduce self-invoking code generation, a new task designed to evaluate the progressive reasoning and problem-solving capabilities of LLMs. In this task, models are presented with a base problem and a related, more complex problem. They must solve the base problem and then utilize its solution to address the more complex one. This work features three key contributions. First, we propose a general recipe for generating more challenging versions of existing benchmarks, resulting in three new benchmarks: HumanEval Pro, MBPP Pro, and BigCodeBench-Lite Pro, specifically designed to assess LLMs on self-invoking code generation. Second, from the analysis of experimental results over twenty LLMs on our benchmarks, we have two important observations: (i) Most LLMs excel in traditional code generation benchmarks like HumanEval and MBPP, but their performance declines on self-invoking tasks. For example, o1-mini achieves 96.2% pass@1 on HumanEval but only 76.2% on HumanEval Pro. (ii) On self-invoking code generation task, the instruction-tuned models demonstrate only marginal improvements compared to the base models. Third, we disclose the types of failure modes that exist in our evaluation results. All these results underscore the need for further advancements in self-invoking code generation tasks and provide a new direction for future research on enhancing LLMs' code reasoning capabilities.

📄 PDF Abstract BibTeX arXiv:2412.21199

Code (1)

CodeEval-Pro/CodeEval-Pro 공식 구현

Tasks

Code GenerationHumanEvalmbpp

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agents

2024-03-23 · Feng Lin, Dong Jae Kim, Tse-Husn, Chen

Software process models are essential to facilitate collaboration and communication among software teams to solve complex development tasks. Inspired by these software engineering practices, we present FlowGen - a code g…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+2

How Many Tries Does It Take? Iterative Self-Repair in LLM Code Generation Across Model Scales and Benchmarks

2026-04-12 · Johin Johny Arimbur arxiv

Large language models frequently fail to produce correct code on their first attempt, yet most benchmarks evaluate them in a single-shot setting. We investigate iterative self-repair (feeding execution errors back to the…

Code Generation

DolphCoder: Echo-Locating Code Large Language Models with Diverse and Multi-Objective Instruction Tuning

2024-02-14 · Yejie Wang, Keqing He, Guanting Dong, Pei Wang 외

Code Large Language Models (Code LLMs) have demonstrated outstanding performance in code-related tasks. Several instruction tuning approaches have been proposed to boost the code generation performance of pre-trained Cod…

Code GenerationHumanEvalmbpp

QualityFlow: An Agentic Workflow for Program Synthesis Controlled by LLM Quality Checks

2025-01-20 · Yaojie Hu, Qiang Zhou, Qihong Chen, Xiaopeng Li 외

We introduce QualityFlow, a dynamic agentic workflow for program synthesis. Given the English description of a programming problem and a set of unit tests, the model's goal is to synthesize the correct program that solve…

Code GenerationHumanEvalLanguage ModelingLanguage Modelling+3

WizardCoder: Empowering Code Large Language Models with Evol-Instruct

2023-06-14 · Ziyang Luo, Can Xu, Pu Zhao, Qingfeng Sun 외

Code Large Language Models (Code LLMs), such as StarCoder, have demonstrated exceptional performance in code-related tasks. However, most existing models are solely pre-trained on extensive raw code data without instruct…

Code GenerationHumanEvalmbpp