A Knapsack by Any Other Name: Presentation impacts LLM performance on NP-hard problems
Not on the map. Why?
Abstract (arXiv)
To investigate the effect of problem presentation on LLMs' ability to solve optimization problems, we introduce the dataset of Everyday Hard Optimization Problems (EHOP), a collection of NP-hard problems expressed in natural language. EHOP includes problem formulations that could be found in computer science textbooks (e.g., graph coloring), versions that are dressed up as problems that could arise in real life (e.g., party planning), and variants with inverted rules. We find that state-of-the-art LLMs, across multiple prompting strategies, systematically solve textbook problems more accurately than their real-life and inverted counterparts. While reasoning models are more capable, they nonetheless show high variance across problem presentations, suggesting they lack a truly robust reasoning mechanism. We argue that this constitutes evidence that LLMs are still heavily dependent on what was seen in training and struggle to generalize to novel problems.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 1 of its 6 references that are in the map. First posted on arXiv 19 Feb 2025.
Builds on
1 of 6 references.
References · 1
- 2024Can Large Language Models Reason and Plan?cited by 82
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026What Makes an LLM a Good Optimizer? A Trajectory Analysis of LLM-Guided Evolutionary Searchcited by 4
- 2026Formalize, Don't Optimize: The Heuristic Trap in LLM-Generated Combinatorial Solverscited by 2
- 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)cited by 1
- 2026ZEBRA: Zero-shot Budgeted Resource Allocation for LLM Orchestrationcited by 1
- 2026LLM and Human Modes of Representationcited by 0
- 2026LLM and Human Modes of Representation19 Jun 2026
- 2026ZEBRA: Zero-shot Budgeted Resource Allocation for LLM Orchestration19 May 2026
- 2026Formalize, Don't Optimize: The Heuristic Trap in LLM-Generated Combinatorial Solvers12 May 2026
- 2026Barriers to Universal Reasoning With Transformers (And How to Overcome Them)28 Apr 2026
- 2026What Makes an LLM a Good Optimizer? A Trajectory Analysis of LLM-Guided Evolutionary Search21 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimization
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Up
- 2025OptiMind: Teaching LLMs to Think Like Optimization Experts
- 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modeling
- 2025QueST: Incentivizing LLMs to Generate Difficult Problems
- 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
- 2025FINEREASON: Evaluating and Improving LLMs' Deliberate Reasoning through Reflective Puzzle Solving