Research map / Large language models / Agents, code and math
NPHardEval: Dynamic Benchmark on Reasoning Ability of Large Language Models via Complexity Classes
Lizhou Fan, Wenyue Hua, Lingyao Li, Haoyang Ling, Yongfeng Zhang
University of Michigan - Ann Arbor · Rutgers University, New Brunswick
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| raise problem complexity from P / NP-complete to NP-hard | 12 LLMs (average) · NPHardEval | weighted accuracy: 0.24 / 0.25 -> 0.02 | Hurt |
| use closed-source instead of open-source model | LLMs · NPHardEval zero-shot | accuracy and failure rate | Improved |
| finetune on previous benchmark versions (QLoRA) (ablation) | Phi-2, Mistral-7b, Qwen-14b · NPHardEval P problems | accuracy | Improved |
| finetune on previous benchmark versions (QLoRA) (ablation) | Phi-2, Mistral-7b, Qwen-14b · NPHardEval NP-complete and NP-hard problems | accuracy | Hurt |
| finetune on levels 1-10, test on levels 11-20 (ablation) | Qwen-14b · NPHardEval SPP | accuracy | Hurt |
| vary difficulty of few-shot examples (5 easier to 5 harder) (ablation) | closed-source models · NPHardEval SAS, EDP | weighted accuracy: GPT 4 Turbo SAS 0.978 -> 0.991 | No clear effect |
| give easier few-shot examples instead of same or harder (ablation) | Yi-34b, Mistral-7b · NPHardEval SAS | weighted accuracy: Yi-34b 0.598 (same) -> 0.065 (5 easier) | Hurt |
| add 5 few-shot examples of same difficulty (vs zero-shot) (ablation) | Yi-34b · NPHardEval SAS | weighted accuracy: 0.620 -> 0.598 | No clear effect |
| add 5 few-shot examples of same difficulty (vs zero-shot) (ablation) | Qwen-14b · NPHardEval SAS | weighted accuracy: 0.706 -> 0.255 | Hurt |
Open problems in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- DARG: Dynamic Evaluation of Large Language Models via Adaptive Reasoning Graph (NeurIPS 2024 · similarity 0.91)
- metabench - A Sparse Benchmark of Reasoning and Knowledge in Large Language Models (ICLR 2025 · similarity 0.90)
- Autonomous Evaluation of LLMs for Truth Maintenance and Reasoning Tasks (ICLR 2025 · similarity 0.90)
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks (ICLR 2024 · similarity 0.90)
- SciEval: A Multi-Level Large Language Model Evaluation Benchmark for Scientific Research (AAAI 2024 · similarity 0.90)
- Exploring the Limits of Sub-Billion Language Model Reasoners with Open Training Recipes (ICLR 2026 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.