MBPP+ Exposes LLM Semantic Robustness Gaps
MBPP+ reveals LLMs' difficulties with "semantic robustness," where generated code is syntactically correct but fails due to edge cases, specific function behaviors, or implicit requirements not immediately obvious from the prompt.
The top 3
- Top LLMs on MBPP+ Semantic Robustness: MiMo-V2.5-Pro from Xiaomi currently leads the MBPP+ leaderboard with a 74.1% score, demonstrating superior performance in handling diverse and challenging test cases for code generation. It is followed by Qwen2.5 32B Instruct (67.2%) and Qwen2.5 14B Instruct (63.2%) from Alibaba Cloud/Qwen Team.
- MBPP+ Reveals Three Key Semantic Failure Modes: MBPP+ exposes specific LLM weaknesses in semantic robustness through deliberately introduced task description flaws: ambiguous (allowing multiple interpretations), incomplete (omitting essential requirements), and contradictory (containing internal inconsistencies). These lead to a phenomenon termed 'detrimental semantic collapse,' where models consistently commit to a single, incorrect interpretation.
- MBPP+'s 35x Test Cases Uncover Hidden Flaws: MBPP+ rigorously assesses semantic robustness by expanding the original MBPP benchmark with 35 times more test cases. This extensive suite, generated through 'type-aware mutation,' verifies code behavior across normal, edge, and tricky inputs while preserving semantic validity, thus uncovering hidden bugs and edge-case failures beyond basic functional correctness.
Sources
Open the full topic