Planning Width Is Hard to Approximate: Even Given the Unique Optimal Plan

Even given the unique optimal plan, approximating planning width is NP-hard with tight lower bounds.
This paper studies the computational complexity of planning width approximation. The core finding is that approximating planning width remains hard even when a unique optimal plan is given. The authors characterize set width and chain width as hitting numbers, construct positive-precondition STRIPS tasks with unique optimal plans and binary branching, and prove that distinguishing width 1 from Θ(N) is NP-hard. Unless P=NP, no polynomial-time algorithm achieves o(N) one-sided or o(√N) symmetric approximation factors, and simple estimation methods match these orders, showing tightness. Testing whether width exceeds threshold k is coNP-complete (fixed k) or Σ₂ᴾ-complete (k as input). A greedy algorithm on explicit state graphs achieves logarithmic approximation, indicating part of the difficulty stems from implicit representation.
Introduction: Computational Complexity of Planning Width Approximation
In the field of AI planning, iterative-width search has been proven to solve tasks with bounded tuple-chain width in polynomial time. However, the approximability of planning width itself has remained an open question, even when an optimal plan is known. A recent paper, "Planning Width Is Hard to Approximate Even Given the Unique Optimal Plan," delves into this challenge, revealing that approximating planning width remains computationally hard even when the unique optimal plan is provided.

Iterative-width search is a planning algorithm framework based on the concept of planning width. Its core idea is: starting from a small upper bound on width, iteratively increase the width limit and search for plans satisfying that width constraint. Width constraints are typically defined via tuple chains or hitting numbers of state sets. The advantage of iterative-width search is that when the task's width is bounded, it can solve the problem in polynomial time, and the width parameter is often much smaller than the state space size. However, the algorithm's efficiency depends heavily on the actual width value, making approximate computation of planning width crucial for predicting algorithm performance. This paper studies precisely the problem that approximating width remains hard even when the optimal plan is known, which directly impacts the scalability analysis of iterative-width search.
Core Contribution: Characterizing Width as Hitting Numbers
The paper first provides an exact characterization of planning width under specific conditions. When all optimal plans visit the same state sequence, set width and chain width can be described as hitting numbers of competing states. This theoretical result lays the foundation for subsequent complexity analysis.
Building on this, the authors construct a class of positive-precondition STRIPS tasks with the following features:
- Provide a unique optimal plan
- Only one reachable goal state
- Binary branching
- Constant action size
In these tasks, every reachable state lies on an execution path that achieves the goal, and that path is at most one action longer than the optimal plan. However, distinguishing between width 1 and width Θ(N) (where N is the number of atoms) is NP-hard for set width, chain width, and goal-admissible width.
Positive-precondition STRIPS tasks refer to STRIPS planning tasks where all action preconditions are positive literals (i.e., atoms or conjunctions of atoms). Such tasks disallow negative preconditions, so an action's applicability depends only on whether certain atoms are present in the current state, not on their absence. Positive-precondition STRIPS tasks are a common model in planning complexity analysis because they simplify state transitions while preserving the core features of combinatorial explosion. The positive-precondition STRIPS tasks constructed in this paper additionally satisfy properties such as binary branching and unique optimal plan, making the width approximation problem NP-hard even under restricted conditions, thereby strengthening the robustness of the results.
Approximation Hardness: Limits of Polynomial-Time Algorithms
The paper further analyzes the possibility of approximation algorithms. Unless P=NP, no polynomial-time algorithm can achieve a one-sided approximation factor of o(N) or a symmetric approximation factor of o(√N). This means that even when we know an optimal plan, certifiably verifying a significantly smaller width is extremely hard. Notably, a simple estimation method can simultaneously achieve both orders, indicating that the approximation hardness bounds are tight.
One-sided and symmetric approximation factors are two standard measures in approximation algorithm theory. A one-sided approximation factor of o(N) means the algorithm's output width does not exceed o(N) times the optimal width (or vice versa, depending on the optimization direction), while a symmetric approximation factor of o(√N) requires the output width to be within o(√N) times the optimal width (i.e., bounding both overestimation and underestimation). This paper proves that no polynomial-time algorithm can achieve these factors unless P=NP, meaning the difficulty of approximating planning width grows rapidly with the number of atoms N. Simple estimation methods (such as trivial bounds based on the number of states) can match these orders, showing that the lower bound is tight—i.e., the essence of approximation hardness lies in the inability to significantly improve upon trivial estimates.
Complexity Classification: coNP and Σ₂ᴾ Completeness
For positive-precondition tasks, given a unique optimal plan of length at least 2, testing whether set width or chain width exceeds a threshold k (k≥1) is coNP-complete (for each fixed k), and when k is part of the input, the problem is Σ₂ᴾ-complete. If only one goal state is reachable, these results also hold for goal-admissible width.
coNP-complete and Σ₂ᴾ-complete are two important classes in computational complexity theory. coNP-complete problems are those whose complement is NP-complete, with a typical example being determining whether a propositional formula is unsatisfiable (TAUTOLOGY). Σ₂ᴾ-complete problems lie on the second level of the polynomial hierarchy, of the form "there exists a certificate such that for all certificates, some polynomial-time predicate holds," and are harder than NP and coNP. This paper shows that when the threshold k is fixed, testing whether width exceeds k is coNP-complete; when k is part of the input, the problem escalates to Σ₂ᴾ-complete. This characterizes the precise complexity of the width certification problem, showing that even with a unique optimal plan, verifying a width lower bound remains hard.
Greedy Algorithm on State Graphs
Although approximation is hard in general, the paper also notes that on explicit state graphs, a greedy algorithm can achieve a logarithmic-factor approximation for set width, even when the optimal plan has branching. This indicates that part of the problem's difficulty stems from implicit representation, while effective approximation means still exist on explicit graphs.
Conclusion: Knowing the Optimal Plan Does Not Eliminate Certification Hardness
This research clearly demonstrates that even when we possess a unique optimal plan, the task of certifying that the planning width is significantly smaller remains computationally hard. This provides important theoretical boundaries for the design and analysis of planning algorithms, and suggests that we should be cautious about the possibility of width approximation in practical applications.
Reference: Planning Width Is Hard to Approximate Even Given the Unique Optimal Plan. (Original paper)
One-line Summary
Even given the unique optimal plan, approximating planning width is NP-hard, with tight approximation lower bounds.
Paragraph Summary
This paper studies the computational complexity of planning width approximation. The core finding is that approximating planning width remains hard even when a unique optimal plan is provided. The authors first characterize set width and chain width as hitting numbers of competing states under conditions of unique optimal plan and consistent state sequence. They then construct a class of positive-precondition STRIPS tasks with properties such as unique optimal plan and binary branching, proving that distinguishing width 1 from Θ(N) is NP-hard. Furthermore, unless P=NP, no polynomial-time algorithm can achieve an o(N) one-sided or o(√N) symmetric approximation factor, while simple estimation methods can match these orders, showing the bounds are tight. For complexity classification, testing whether width exceeds a threshold k is coNP-complete (fixed k) or Σ₂ᴾ-complete (k as input). Finally, they note that a greedy algorithm on explicit state graphs can achieve a logarithmic-factor approximation, indicating that part of the difficulty stems from implicit representation.
Related articles

Running Local AI Agents on Mac: A Full Breakdown of the MLX Four-Layer Stack
A breakdown of Apple engineer Joanna's local Mac AI agent solution: the MLX four-layer stack, a three-step setup, and how the neural network accelerator, continuous batching, and distributed inference solve local agent performance bottlenecks.
52KB Engine Runs 2B LLM in a Browser Tab
52KB Engine Runs 2B LLM in a Browser Tab
A 52KB WebAssembly engine on Hacker News claims to run Qwen3.5-2B in a browser tab. We analyze the engine-model separation, browser inference pros and cons, and the on-device AI runtime race.

MIT PhD Takes You from Scratch to Build DeepSeek: A 25-Hour Hardcore Course
MIT PhD Raj Dandekar launches a 25+ hour Bilibili course building DeepSeek from scratch—MoE, MLA, GRPO, hand-written code plus math derivations, aiming to reproduce mini R1.