-Bench: LLMs Struggle with Resource-Rational Reasoning under Shared Budgets
Organizations: The Hong Kong University of Science and Technology (Guangzhou) · The University of Hong Kong · Hunyuan Team, Tencent
Abstract
In cognitive science, resource rationality asks how an agent should allocate limited computation to maximize expected value. Most reasoning and agent benchmarks use independent per-task budgets; existing shared-budget studies do not calibrate suite performance against the same model's demonstrated single-problem competence. We introduce -Bench, which evaluates six-problem suites under shared budgets across mathematics, competitive programming, and abstract reasoning in tool-free and agentic settings. Matched single-problem response curves define an offline empirical oracle over observed successes. Across 72 main-table cells for six models, the oracle mean matches or exceeds the contest mean in all cells and is strictly higher in 71. Under moderate tool-free pressure, equal-allocation replay also exceeds contest performance for four of six models. Trajectory diagnostics reveal limited strategy updating and pressure-dependent failure patterns. In a three-model diagnostic under strong agentic pressure, at least one fixed scheduler exceeds the contest mean in six of nine cells, but no policy dominates across domains. These results expose a persistent gap between demonstrated competence and shared-budget realization.
Figures & tables
| Benchmark / Study | Evaluation Setting Domain Tool- Free Agentic Math Code Abstract Reasoning | Shared Budget | ||||
| Wang et al. (2024) | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ |
| TALE ( Han et al., 2025 ) | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ |
| SelfBudgeter ( Li et al., 2025 ) | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ |
| BATS ( Liu et al., 2025 ) | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| General AgentBench ( Li et al., 2026 ) | ✗ | ✓ | ✗ | ✓ | ✓ | ✗ |
| ZEBRA ( Hamri and Talgam-Cohen, 2026 ) | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ |
| Model | Regime | Math | Code | AR | ||||||
| Contest | Oracle | Gap Ratio | Contest | Oracle | Gap Ratio | Contest | Oracle | Gap Ratio | ||
| Tool-Free | ||||||||||
| 2.34 | 3.94 | 40.61% | 1.38 | 3.12 | 55.77% | 2.24 | 4.02 | 44.28% | ||
| DeepSeek-V4-Pro | 3.94 | 5.08 | 22.44% | 3.06 | 4.62 | 33.77% | 2.90 | 4.64 | 37.50% | |
| 3.54 | 3.70 | 4.32% | 1.42 | 2.94 | 51.70% | 2.76 | 4.06 | 32.02% | ||
| Qwen3.7-Max | 4.32 | 5.06 | 14.62% | 3.44 | 5.24 | 34.35% | 3.82 | 4.70 | 18.72% | |
| Model | Domain | Score | |||
| Contest Reference | A | B | Oracle | ||
| DeepSeek-V4-Pro | Math | 4.48 | 4.56 | 4.90 | 5.28 |
| Code | 2.60 | 4.10 | 3.86 | 4.90 | |
| AR | 4.36 | 4.32 | 4.72 | 5.06 | |
| GLM-5.2 | Math | 4.48 | 4.04 | 4.20 | 4.58 |
| Code | 2.02 | 2.92 | 2.66 | 3.90 | |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Stage 2 input | Finalization constraint |
| Mathematics / AR trace-only finalizer | Stage 1 reasoning and visible output; no original problem statements | Extracts trace-supported answers and returns a missing-answer marker when the trace is insufficient |
| Coding trace-only finalizer | Stage 1 reasoning and visible output; no original problem statements | Prints complete trace-supported C++ programs, or MISSING when the trace is insufficient |
| Domain | Pure-NL answer contract | Agentic final artifact | Correctness judge |
| Mathematics | \boxed{...} final answer | /logs/artifacts/answer.txt | Boxed-answer extraction followed by an offline model-based equivalence judge |
| Competitive programming | Complete standalone C++17 solution, usually in a fenced code block | /app/solution_A.cpp – /app/solution_F.cpp | LightCPVerifier over hidden tests; Accepted is correct |
| Abstract reasoning | <answer>...</answer> final answer | /logs/artifacts/answer.txt | Reasoning Gym answer extraction and dataset-specific scorers |
| Domain | Tool-Free final answer | Agentic contest artifact | Judge |
| Mathematics | Final Answer: \boxed{...} | /logs/artifacts/answer.txt | model-based equivalence judge |
| Code | C++17 code block | /app/solution_A.cpp – /app/solution_F.cpp | executable verifier |
| Abstract reasoning | Final Answer: <answer>...</answer> | /logs/artifacts/answer.txt | rule-based verifier |
| Action type | Examples | Budget status | Role |
| Compute command | python , python3 , perl , awk , bc , node , Rscript , julia | Counted | Performs computation used for solving or verification. |
| Compilation or execution | gcc , g++ , javac , java , locally built executables, local tests | Counted | Compiles, executes, or tests a candidate solution. |
| Text or data processing | grep , rg , sed , wc , tr , sort , uniq , cut , paste , seq | Counted | Processes task-relevant text or data during solving. |
| Shell computation | Shell arithmetic, expr , let , or arithmetic loops | Counted | Performs computation directly through the shell. |
| Passive file operation | Direct file reads, copies, edits, or pure staging of source and scratch files | Free non-compute action | Inspects or records task state without executing computation. |
| Final artifact write | Writing /app/solution_X.cpp , /logs/artifacts/answer.txt , or an answer slot | Free finalization | Records an existing solution or answer without returning correctness feedback. |
| Tool-free reasoning | Agentic reasoning | ||||
| Model | Domain | ||||
| DeepSeek-V4-Pro | Math | 19161 | 76642 | 2 | 8 |
| DeepSeek-V4-Pro | Code | 16800 | 67200 | 7 | 28 |
| DeepSeek-V4-Pro | AR | 15500 | 62000 | 2 | 7 |
| Qwen3.7-Max | Math | 8317 | 33265 | 2 | 10 |
| Qwen3.7-Max | Code | 25500 | 101989 | 3 | 12 |
| Setting | Model | Regime | Math | Code | AR | ||||||
| Contest | Oracle | Gap Ratio | Contest | Oracle | Gap Ratio | Contest | Oracle | Gap Ratio | |||
| Tool-free | DeepSeek-Chat | 2.42 | 3.24 | 25.31% | 0.86 | 2.02 | 57.43% | 1.80 | 3.00 | 40.00% | |
| 3.40 | 4.06 | 16.26% | 1.68 | 2.24 | 25.00% | 2.80 | 3.88 | 27.84% | |||
| DeepSeek-Reasoner | 2.42 | 3.68 | 34.24% | 1.38 | 1.88 | 26.60% | 2.14 | 3.64 | 41.21% | ||
| 3.70 | 4.98 | 25.70% | 2.44 | 3.34 | 26.95% | 2.98 | 4.32 | 31.02% | |||
| DeepSeek-V4-Pro | 2.34 | 3.94 | 40.61% | 1.38 | 3.12 | 55.77% | 2.24 | 4.02 | 44.28% | ||
| Model | Math | Code | AR | ||||||||||
| E | M | H | All | E | M | H | All | E | M | H | All | ||
| DeepSeek-Chat | 0.2 | 60.7 | 22.0 | 16.0 | 40.3 | 28.0 | 1.0 | 0.0 | 14.3 | 42.7 | 22.0 | 8.0 | 30.0 |
| 0.8 | 76.0 | 43.0 | 26.0 | 56.7 | 54.7 | 2.0 | 0.0 | 28.0 | 58.0 | 44.0 | 18.0 | 46.7 | |
| DeepSeek-Reasoner | 0.2 | 56.7 | 30.0 | 12.0 | 40.3 | 41.3 | 7.0 | 0.0 | 23.0 | 49.3 | 27.0 | 12.0 | 35.7 |
| 0.8 | 73.3 | 57.0 | 36.0 | 61.7 | 65.3 | 22.0 | 4.0 | 40.7 | 66.7 | 42.0 | 14.0 | 49.7 | |
| DeepSeek-V4-Pro | 0.2 | 58.7 | 26.0 | 6.0 | 39.0 | 36.0 | 14.0 | 2.0 | 23.0 | 50.7 | 31.0 | 10.0 | 37.3 |
| Model | Math | Code | AR | ||||||||||
| E | M | H | All | E | M | H | All | E | M | H | All | ||
| DeepSeek-Chat | 0.2 | 85.3 | 62.0 | 44.0 | 70.7 | 75.3 | 9.0 | 0.0 | 40.7 | 76.7 | 60.0 | 50.0 | 66.7 |
| 0.8 | 89.3 | 71.0 | 58.0 | 78.0 | 93.3 | 49.0 | 8.0 | 64.3 | 83.3 | 72.0 | 70.0 | 77.3 | |
| DeepSeek-Reasoner | 0.2 | 84.7 | 69.0 | 46.0 | 73.0 | 87.3 | 21.0 | 4.0 | 51.3 | 82.7 | 69.0 | 56.0 | 73.7 |
| 0.8 | 90.0 | 70.0 | 62.0 | 78.7 | 96.7 | 57.0 | 6.0 | 68.3 | 82.7 | 75.0 | 76.0 | 79.0 | |
| DeepSeek-V4-Pro | 0.2 | 91.3 | 66.0 | 42.0 | 74.7 | 70.0 | 24.0 | 2.0 | 43.3 | 81.3 | 64.0 | 64.0 | 72.7 |
| Setting | Domain | Spearman | Perm. | |
| Tool-Free | Math | 0.2 | +0.10 | 0.95 |
| Tool-Free | Code | 0.2 | -0.30 | 0.68 |
| Tool-Free | AR | 0.2 | +0.20 | 0.78 |
| Tool-Free | Math | 0.8 | -0.80 | 0.13 |
| Tool-Free | Code | 0.8 | -0.50 | 0.45 |
| Tool-Free | AR | 0.8 | +0.20 | 0.78 |
| Model | Temperature | Top-p | Reasoning / thinking configuration | Independent runs |
| DeepSeek-Chat | Non-thinking chat completion. | |||
| DeepSeek-Reasoner | Omitted | Omitted | Native reasoning mode; sampling parameters are unsupported and have no effect. | |
| DeepSeek-V4-Pro | Omitted | Omitted | Thinking enabled with reasoning_effort=high . | |
| Qwen3.7-Max | Thinking enabled for reasoning runs and disabled for answer-only finalization. | |||
| GLM-5.2 | Thinking enabled with high effort for reasoning and agentic tasks. | |||
| Hy-3 | reasoning_effort=high for mathematics, coding, and abstract reasoning. |
| Configuration item | Coding | Mathematics / abstract reasoning |
| Runtime container | Docker Harbor task with Terminus-2 shell runtime. | Docker Harbor job with Terminus-2 shell runtime. |
| Timeouts | Agent timeout s; build timeout s. | Agent and verifier timeout s. |
| Sandbox resources | Memory MB; storage MB. | CPU; memory MB; storage MB. |
| Tool environment | Local shell, file editing, C++ compilation, local execution, and local tests under the compute_tools policy. | Local shell plus computation-oriented tools under the compute_tools policy. |
| Trajectory logging | Model messages, tool calls, shell commands, outputs, exposed reasoning content, budget usage, blocked commands, and final artifacts. | Model messages, tool calls, shell commands, outputs, exposed reasoning content, budget usage, blocked commands, and final artifacts. |
| Problem | Tier | Oracle? | Lowest observed successful cost | Contest actions | Outcome | State | Diagnosis |
| A: 2120E | Medium | Yes | 2 | 0 | Missing | Never focused | Cheap oracle-selected miss |
| B: 2091B | Easy | Yes | 2 | 0 | Missing | Never focused | Cheap oracle-selected miss |
| C: 2107A | Easy | No | 3 | 10 | Wrong | Repeated construction, repair, compilation, and testing | Overcommitment target |
| D: 2029B | Easy | Yes | 2 | 0 | Missing | Never focused | Cheap oracle-selected miss |
| E: 1992F | Medium | Yes | 2 | 0 | Missing | Never focused | Cheap oracle-selected miss |
| F: 2107F2 | Hard | No | No observed success | 0 | Missing | Never focused | No response-curve reachability evidence |
| Stage | Evidence and decision | Budget and consequence |
| Initial probe | The candidate is a palindrome, but the all-letters constraint is known to be violated; the agent attempts further work on Problem 3 | 4 remain; progress is substantive but incomplete |
| Coverage guard | A second paid action is requested before full initial coverage; the runtime blocks it and requires a switch | 4 remain; the first switch is protocol-shaped |
| Shelving | The agent records the defect and continues the coverage pass | 4 remain; the candidate is stored but unresolved |
| Coverage completion | Problems 4–6 each receive one paid probe; return to Problem 3 is now permitted | 1 remains |
| Finalization | The agent notes that one compute step remains and considers revisiting Problem 3, but keeps the current answer | 1 unused; the candidate receives non-full credit and is counted incorrect |
| Problem | Contest reference | Strategy B | Allocation effect |
| A: 2108B (M) | 3 / Wrong | 2 / Wrong | One fewer action on the initial target; repeated low-return investment is curtailed |
| B: 2070B (E) | 3 / Accepted | 1 / Accepted | Existing success is preserved with two fewer actions |
| C: 2003D2 (H) | 0 / Missing | 1 / Wrong | Newly covered, but coverage does not guarantee success |
| D: 2070C (E) | 0 / Missing | 1 / Accepted | Newly covered; one answer is recovered |
| E: 2022E1 (M) | 0 / Missing | 1 / Accepted | Newly covered; a second answer is recovered |
| F: 2000C (E) | 1 / Accepted | 1 / Accepted | Existing success is preserved at unchanged cost |
| Model | Domain | Control | Stress | (pp) |
| Agentic | ||||
| DeepSeek-V4-Pro | AR | 0.800 | 0.857 | -5.7 |
| Code | 0.917 | 0.867 | 5.0 | |
| Math | 0.867 | 0.867 | 0.0 | |
| Qwen3.7-Max | AR | 0.835 | 0.851 | -1.6 |
| Code | 0.900 | 0.817 | 8.3 | |
LLM Reasoning
Large language model reasoning studies how models solve multi-step problems, verify intermediate steps, and use computation or tools reliably.
See all 924 papers