mlsanityData to 7 Oct 2026

A Knapsack by Any Other Name: Presentation impacts LLM performance on NP-hard problems

arXiv 2502.13776 ↗First posted 19 Feb 2025cs.CL cs.CCcited by 5

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

  1. 2024Can Large Language Models Reason and Plan?cited by 82

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Teaching LLMs to Think Mathematically: A Critical Study of Decision-Making via Optimization
  2. 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
  3. 2026Learning to Solve Hard Problems in RL for LLMs by Never Giving Up
  4. 2025OptiMind: Teaching LLMs to Think Like Optimization Experts
  5. 2026OptiSkill: A Hierarchical and Evolving SkillBank for LLM-Based Optimization Modeling
  6. 2025QueST: Incentivizing LLMs to Generate Difficult Problems
  7. 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
  8. 2025FINEREASON: Evaluating and Improving LLMs' Deliberate Reasoning through Reflective Puzzle Solving