Introduction
In the field of automated planning, the ability to generalize—creating a single strategy that works across varying problem sizes—remains a significant challenge. Traditional classical planning focuses on discrete, propositional states, while numeric planning introduces variables like fuel levels or object counts. However, numeric planning often leads to undecidability, making it difficult to guarantee solutions.
In "Qualitative Numeric Planning: Reductions and Complexity," Blai Bonet and Hector Geffner provide a major theoretical and practical breakthrough. They demonstrate that Qualitative Numeric Planning (QNP)—a framework designed for generalized planning—is computationally equivalent to Fully Observable Non-Deterministic (FOND) planning. By introducing a novel polynomial-time reduction, the authors enable the use of standard FOND solvers to tackle complex numerical problems without the need for expensive external termination tests.
The Problem: Decidability in Numeric Planning
Standard numeric planning is often undecidable because tracking exact numerical values can lead to infinite state spaces. QNP offers a "qualitative" middle ground: instead of tracking exact numbers, it only monitors whether a variable is zero ($v = 0$) or greater than zero ($v > 0$), and whether an action increases or decreases that variable by an indeterminate amount.
This abstraction is ideal for generalized planning. For instance, a robot clearing a stack of $n$ blocks does not need to know the exact value of $n$; it only needs to know if there are still blocks left ($n > 0$) and that the "pick-up" action reduces the count.
Previously, solving QNPs required a cumbersome "generate-and-test" approach:
- Convert the QNP to a FOND problem.
- Generate a candidate policy.
- Use an external algorithm (the "Sieve") to test if the policy is guaranteed to terminate.
- If it fails, repeat the process.
This was highly inefficient, as the number of potential policies could be doubly exponential relative to the number of variables.
Methods and Reductions
The authors bridge the gap between QNP and FOND through two primary polynomial-time reductions:
1. FOND to QNP
The authors show that any FOND problem can be represented as a QNP. They achieve this by simulating non-deterministic effects using a "wheel of fortune" loop, proving that QNP is at least as hard as FOND.
2. QNP to FOND (The Stack Reduction)
This is the paper's core contribution. The authors developed a method to "bake" termination requirements directly into the FOND problem's state space. They utilize a bounded stack and counters to track which variables are being decremented and the order in which these changes occur.
By adding this internal "memory" to the state description, any "strong cyclic" solution found by a standard FOND planner is mathematically guaranteed to be a valid, terminating solution for the original QNP. This effectively eliminates the need for the external Sieve algorithm and the iterative generate-and-test loop.
Key Insights: Complexity and Soundness
The most significant theoretical finding is that QNP and FOND are both EXP-Complete. This establishes that they reside in the same complexity class, meaning they are essentially the same difficulty for a computer to solve.
The authors provide rigorous proofs that their reductions are both sound (they do not produce incorrect plans) and complete (if a valid plan exists, the reduction will find it). The "aha moment" of the research is the realization that the logic used to check for infinite loops can be encoded as part of the planning problem itself, allowing the planner to naturally avoid infinite cycles by tracking the "nestedness" of loops.
Experimental Results
The approach was evaluated using classic planning domains adapted for QNP, including:
- Clearing/Placing Blocks: Managing towers of arbitrary height.
- Gripper: A robot moving an arbitrary number of balls between rooms.
- Delivery: An agent delivering packages in a grid world.
Using the authors' qnp2fond translator and the FOND-SAT solver, problems like "Gripper" and "Delivery" were solved in just a few seconds. Because QNPs handle indeterminate changes, the solutions found are "generalized plans"—a solution for the Gripper domain works whether there are five balls or five million.
Limitations and Future Directions
While the reduction is polynomial, the addition of a stack and counters increases the number of propositional variables, which could lead to state space explosion in very complex problems. Additionally, the reduction produces "memory-extended" policies where the next move depends on the internal stack state. While these can often be simplified into "flat," memoryless policies, a general method for this simplification remains an open research area.
Finally, the paper assumes the QNP model is pre-defined. Future work may involve combining this solver with systems that learn qualitative abstractions directly from raw data or simulations, further bridging the gap between high-level reasoning and low-level perception.
Summary updated