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

Viet Bac NguyenarXiv 2026

This paper investigates a fundamental question in automated planning: how hard is it to determine the "width" of a problem? Planning width is the key metric that determines whether the popular Iterative Width (IW) search algorithm can solve a task efficiently. While it was known that calculating width is generally hard, this research proves that even if you are handed the unique optimal plan on a silver platter, estimating the width remains computationally intractable.

TL;DR

Even with a unique optimal plan provided, calculating or approximating the planning width of a STRIPS task is NP-hard and can be as high as $\Sigma_2^P$-complete. The paper demonstrates a massive approximation gap, showing that we cannot efficiently distinguish between a "simple" task (width 1) and a "complex" one (width proportional to the number of atoms) even for problems that are nearly optimal.

What Problem Does This Paper Address?

In automated planning, we want to find a sequence of actions (a plan) to reach a goal. The Iterative Width algorithm, $IW(k)$, is a state-of-the-art approach that prunes the search space by only keeping states that make a new "tuple" of $k$ atoms true for the first time. If a problem has a small width $k$, $IW(k)$ finds an optimal plan in polynomial time.

However, knowing the width $k$ beforehand is difficult. Previous work showed that deciding if a task has width $\le k$ is PSPACE-complete. This paper asks a more pointed question: Does knowing the optimal plan make width easy to certify? If we already have the solution, can we quickly determine how "wide" the problem was? This is crucial for understanding the theoretical limits of width-based search and for designing general policies or "sketches" that decompose complex tasks into simpler, low-width subproblems.

Methods

The author, Viet Bac Nguyen, characterizes planning width using the concept of Hitting Sets.

  1. Competitor States: For every state $s_i$ on an optimal plan, there are "competitor" states reachable in the same number of steps that are not on the optimal plan. To "certify" the width, one must find a small set of atoms (a tuple) that is true in $s_i$ but false in all its competitors at that depth.
  2. Hitting Number: This requirement maps directly to the Hitting Set problem: find the smallest set of atoms that "hits" (distinguishes) every competitor.
  3. Gap Construction: The paper introduces a novel reduction from 3-CNF formulas to STRIPS tasks. It constructs a task where the satisfiability of a Boolean formula determines the width.
  4. If the formula is unsatisfiable, the width is 1.
  5. If the formula is satisfiable, the width jumps to $\Theta(N)$, where $N$ is the number of atoms.

A key technical contribution is the analysis of "slack"—the extra length of non-optimal paths to the goal. The paper shows that even with just one unit of slack (meaning every reachable state can still reach the goal in at most one step more than the optimal length), the width remains hard to approximate.

Fig. 1. The width gap for a formula with 𝑛variables and 𝑚tags (Theorem 4.1). (a) The safe plan reaches 𝑆at depth 𝐷and then needs 𝑚+ 1 actions to reach the goal. Each of the 2𝑛𝑚complete testing executions is in 𝑆𝑗or 𝑇at the same depth and then needs 𝑚+ 2 more actions. The dashed boxes indicate which states exist for the given formula. (b) A filled cell marks an atom that every separating tuple at that depth must contain. Some competitor lacks that atom and contains every other atom of the safe state. In hypergraph terms, the atom forms a singleton minimal edge. At depth 𝐷+ 𝑘, the checker is at 𝑟𝑘, with 𝑟0 = 𝑀. Its predecessor forces 𝑟𝑘. If the formula is satisfiable, each as-yet unchecked tag 𝑢𝑗with 𝑗≥𝑘is also forced. The number of filled cells in a row is the hitting number 𝜏at that depth (Lemma 4.6).

Datasets

As a theoretical paper, it does not use standard machine learning datasets. Instead, it employs Mechanical Verification on several suites of generated tasks:

  • Suite A: 384 tasks derived from 96 Boolean formulas to verify the gap construction.
  • Suite B: 4,000 random solvable tasks (4 to 8 atoms) to test general width characterizations.
  • Suite E: 400 random Boolean circuits to test the "succinct" version of the hitting set reduction.

Key Insights and Ideas

  • Width is about Distinction: The core difficulty of width is not finding the goal, but distinguishing the "right" path from "near-miss" competitors.
  • The Slack Explosion: The jump from "zero slack" (where only optimal paths exist) to "slack one" (where paths can be one step longer) is a phase transition in complexity. In the zero-slack regime, width can be approximated within a logarithmic factor; with just one unit of slack, even polynomial-factor approximation becomes impossible.
  • Succinctness is the Enemy: In real planning (STRIPS), the state space is represented succinctly. This means a single state can have exponentially many competitors, making the underlying Hitting Set problem much harder than it would be on an explicit state graph.

Key Results

The paper provides a comprehensive complexity landscape for width approximation, summarized in the table below:

Summary of complexity results for certifying width with a supplied optimal plan.
  • Hardness of Approximation: Unless $P=NP$, no polynomial-time algorithm can achieve a one-sided approximation factor of $o(N)$ or a symmetric factor of $o(\sqrt{N})$.
  • Decision Complexity: Testing if width $w \le k$ is coNP-complete for a fixed $k \ge 1$. If $k$ is part of the input, the problem is $\Sigma_2^P$-complete (the second level of the polynomial hierarchy).
  • Greedy Success: On an explicit state graph, a greedy algorithm can approximate set width within a factor of $1 + \ln h^\star$ (where $h^\star$ is the plan length).

Limitations and Future Work

  • Task Constraints: The results focus on unit-cost STRIPS with positive preconditions. While these are standard, the behavior might differ in more complex action languages.
  • Optimal Constants: While the paper establishes the orders of magnitude for approximation ($N$ and $\sqrt{N}$), the exact optimal constants remain an open question.
  • Branching Plans: While the paper addresses branching optimal plans, a full recursive formula for chain width in these cases is still needed to avoid enumerating exponentially many candidate sets.

Summary updated

Abstract

For each fixed $k$, iterative-width search finds optimal plans in polynomial time on tasks of bounded tuple-chain width, but the approximability of planning width has remained open even when an optimal plan is supplied. When all optimal plans visit the same state sequence, we characterize set and chain width as hitting numbers of competing states. We construct positive-precondition STRIPS tasks with a supplied unique optimal plan, a single reachable goal state, binary branching, and constant-size actions. Every reachable state lies on a goal-reaching execution at most one action longer than optimal, yet distinguishing width $1$ from $Θ(N)$, where $N$ is the number of atoms, is NP-hard for set, chain, and goal-admissible width. Unless $\mathrm{P}=\mathrm{NP}$, no polynomial-time algorithm achieves a one-sided approximation factor $o(N)$ or a symmetric factor $o(\sqrt{N})$, and simple estimates attain both orders. For positive-precondition tasks with a supplied unique optimal plan of length at least two, testing set or chain width against a threshold $k\geq 1$ is coNP-complete for each fixed $k$ and $Σ_2^{\mathrm{P}}$-complete when $k$ is part of the input. Both results also hold for goal-admissible width if only one goal state is reachable. On an explicit state graph, a greedy algorithm approximates set width within a logarithmic factor even when optimal plans branch. Thus, knowing an optimal plan does not eliminate the difficulty of certifying substantially smaller width.
BibTeX
@misc{nguyen2026planning,
  author = {Viet Bac Nguyen},
  title = {{Planning Width Is Hard to Approximate Even Given the Unique Optimal Plan}},
  year = {2026},
  eprint = {2611.25484},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25484},
}
Figure