Top 4 Semantic Mismatch Categories on MBPP+
Analysis of MBPP+ reveals that common semantic intent mismatches plague models through four primary error types: variable type mismatches, index out of bounds, invalid input handling, and failures in critical edge cases. [4, 5]
The top 3
- Most Prevalent Semantic Mismatches on MBPP+: `AssertionErrors` are the primary source of failure for models on MBPP+ and HumanEval Pro, indicating code fails test cases, with `NameErrors` (undefined variables/functions) also contributing significantly to semantic mismatches.
- Detrimental Semantic Collapse Plagues MBPP Tasks: A significant semantic mismatch on MBPP is 'detrimental semantic collapse,' where LLMs consistently commit to a single, incorrect interpretation of underspecified task descriptions, affecting over 10% of tasks.
- MBPP+ Exposes Hidden Edge Case Failures: MBPP+'s 35x expansion in test cases specifically uncovers semantic mismatches like 'edge case failures' and 'invalid input handling,' revealing brittle code that performs unexpectedly on subtle inputs.
Sources
Open the full topic