HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation
🤗 Upvotes: 5 | cs.SE, cs.CL Authors: Zhaojian Yu, Yilun Zhao, Arman Cohan, Xiao-Ping Zhang Title: HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generation Arxiv: http://arxiv.org/abs/2412.21199v1 Abstract: 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.
You May Also Like

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

Sasquatch Chronicles
Sasquatch Chronicles - Bigfoot Encounters

Somewhere in the Skies
SpectreVision Radio

UAP Files Podcast
UAP Files Podcast
![Cosmosis [Formerly The UFO Rabbit Hole]](https://megaphone.imgix.net/podcasts/d3ee87c2-574f-11f0-b7e9-5fbb4796470a/image/6f967dac188a10d90dcdbd82d3194a98.png?ixlib=rails-4.3.1&max-w=3000&max-h=3000&fit=crop&auto=format,compress)
Cosmosis [Formerly The UFO Rabbit Hole]
Kelly Chase
Life, Death, and Taxonomy
Life, Death, and Taxonomy

Podcast de Juan Ramón Rallo
Juan Ramón Rallo

Vida Eterna. Respuestas desde la Ciencia | Dr. Manuel Sans Segarra
Dr. Manuel Sans Segarra

The Best of Coast to Coast AM
iHeartPodcasts and Coast to Coast AM

Let's Science
SQPN, Inc.
Community discussion