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.
The top 3
- LLMs Face 10-15% Performance Drop on Self-Invoking Code: Most large language models experience a significant 10% to 15% absolute performance decrease on self-invoking code generation benchmarks like HumanEval Pro and MBPP Pro, compared to traditional benchmarks. For example, o1-mini's pass@1 score dropped from 96.2% on HumanEval to 76.2% on HumanEval Pro.
- Multi-Step Reasoning and Error Types Reveal Core LLM Weakness: The performance drop on self-invoking code highlights LLMs' struggle with progressive, multi-step reasoning. Primary failure modes include `AssertionErrors` (failing test cases) and `NameErrors` (undefined variables or functions), indicating difficulties in correctly understanding and utilizing previously generated code or provided function information.
- Instruction-Tuning's Limited Impact vs. CoT's Potential Boost: While instruction-tuned models show substantial gains on simpler code benchmarks, their performance on self-invoking tasks sees only marginal improvement over base models; for instance, Qwen2.5Coder-32B-instruct improved by 26.8% on HumanEval but only 8.5% on HumanEval Pro. However, Chain-of-Thought (CoT) prompting can notably enhance accuracy for models like GPT-4o, reducing `AssertionErrors`.
Sources
Open the full topic