MBPP+'s 'Self-Invoking' Code: The Multi-Step Test
MBPP+ (and its related MBPP Pro) challenges models with 'self-invoking code generation,' where they must first solve a base problem and then progressively utilize that solution to address a more complex, related problem.
The top 3
- LLMs' Steep Performance Drop on Self-Invoking Code: Large Language Models often experience a 10-15% absolute performance decline on self-invoking code generation tasks compared to traditional benchmarks; for instance, o1-mini's pass@1 score dropped from 96.2% on HumanEval to 76.2% on HumanEval Pro.
- Top 3 LLM Failure Modes in Self-Invoking Code: The primary error types for LLMs on self-invoking code are `AssertionErrors` (failing test cases) and `NameErrors` (undefined variables or functions), revealing struggles with correctly integrating and utilizing generated solutions. Other common issues include `ValueErrors`, `TypeErrors`, and `IndexErrors`.
- Why Self-Invoking Code Tests Real-World AI Coding Skills: Self-invoking code generation benchmarks are critical because they mirror real-world software development, requiring LLMs to understand, reuse, and build upon their own generated code to solve more complex, multi-step problems, a capability traditional single-task benchmarks often fail to capture.
Sources
Open the full topic