Abstract
ProBench is a rigorous evaluation framework for Large Language Models (LLMs) in competitive programming, utilizing real-world online submission platforms to ensure high-quality testing. Our analysis of 790 recent problems reveals that specialized reasoning models like QwQ-32B outperform significantly larger general-purpose models, though a substantial gap remains in solving high-difficulty algorithmic tasks.
Introduction
As Large Language Models (LLMs) transition from text generators to reasoning agents, existing coding benchmarks like HumanEval and MBPP are becoming obsolete. These older datasets often focus on simple, function-level tasks that may have been included in training data. Furthermore, they rely on limited local test suites, leading to "false positives" where incorrect code passes due to insufficient edge-case coverage.
Competitive programming (CP) demands a higher level of logical reasoning, complex data structure selection, and strict adherence to time and memory constraints. ProBench addresses these challenges by introducing a submission-based evaluation strategy that interacts directly with platforms like Codeforces, Luogu, and Nowcoder, ensuring models are tested against the same proprietary test cases as human contestants.
Methodology
ProBench consists of 790 competitive programming problems collected between July and December 2024 to mitigate data contamination. The dataset includes 305 Easy, 202 Medium, and 132 Hard problems, with descriptions available in both English and Chinese.
The evaluation framework employs a unified difficulty grading system based on ICPC award criteria and categorizes problems into seven algorithmic domains, such as Dynamic Programming and Graph Theory. Beyond simple pass rates, the researchers analyzed the "Chain of Thought" (CoT) length and performed error diagnosis to distinguish between syntax/execution errors and fundamental logical flaws.
Results and Analysis
The study evaluated nine prominent open-source LLMs using the pass@1 metric. A key finding is the significant advantage of models specifically trained for reasoning.
As shown in Figure 1, QwQ-32B-Preview achieved the highest overall score of 20.93, outperforming the much larger DeepSeek-V3 (16.38). This suggests that training methodology for complex logic can be more impactful than raw parameter count. However, a massive "difficulty gap" persists; while QwQ solved approximately 40% of Easy tasks, its performance dropped to 0% on Hard tasks, highlighting the distance between current AI and top-tier human programmers.
Reasoning Dynamics
The analysis of reasoning length revealed a phenomenon of "over-reasoning" on simple tasks. Reasoning-focused models generate massive CoT sequences (exceeding 10,000 characters) even for elementary problems.
Conversely, as shown in Figure 2, the increase in thinking length for Hard versus Medium problems is surprisingly modest (approximately 15%). This indicates that models may fail to scale their computational effort effectively, either over-thinking simple tasks or failing to deliberate sufficiently on truly difficult ones. Furthermore, while scaling model size reduces syntax and compilation errors, reasoning errors remain the dominant cause of failure in complex tasks.
Conclusion
ProBench reveals that while LLMs are making strides in algorithmic reasoning, they still face a significant "reasoning wall" at high difficulty levels. Future work will focus on expanding the benchmark to include more recent reasoning models and exploring techniques to improve "reasoning sufficiency" — encouraging models to allocate more cognitive effort to difficult problems rather than over-processing simple ones.
Summary updated