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.
- 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.
- Hitting Number: This requirement maps directly to the Hitting Set problem: find the smallest set of atoms that "hits" (distinguishes) every competitor.
- 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.
- If the formula is unsatisfiable, the width is 1.
- 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.
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:
- 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