SMT-Based Nonlinear PDDL+ Planning

Daniel Bryce, Sicun Gao, David J. Musliner, Robert P. GoldmanAAAI 2015

Abstract

Automated planning in real-world environments requires modeling complex, nonlinear continuous processes. While PDDL+ provides a framework for such systems, most existing planners are restricted to linear dynamics. This paper introduces an SMT-based approach that leverages the dReal solver to find $\delta$-satisfiable plans for nonlinear PDDL+ problems. By incorporating domain-specific heuristics for mode selection and interval constraint propagation, the proposed method achieves significant performance gains. Evaluation on benchmarks involving nonlinear drag and gravity demonstrates the approach's ability to solve problems that are fundamentally intractable for linear planners.

Introduction

In automated planning, PDDL+ is the standard language for modeling systems where discrete actions interact with continuous processes. However, a significant limitation of current PDDL+ planners is their reliance on linear approximations of continuous change. Real-world physics, such as aerodynamic drag, gravity, and chemical reaction rates, are inherently nonlinear. Solving these problems requires hybrid planning, which combines the combinatorial complexity of discrete choices with the numerical challenges of differential equations. This research addresses this gap by enabling planners to reason directly about nonlinear dynamics.

Methodology

The authors frame PDDL+ planning as a reachability problem within a hybrid system, utilizing three primary components:

  1. SMT Encoding: PDDL+ problems are translated into first-order logic formulas over real numbers ($\mathcal{L}_{\mathbb{R}\mathcal{F}}$), representing discrete "modes" and continuous "flows."
  2. $\delta$-Satisfiability: To overcome the undecidability of nonlinear systems, the dReal solver is used to find $\delta$-satisfiable solutions. This approach identifies a "tube" or range of values where a valid plan is guaranteed to exist within a specified numerical error bound ($\delta$).
  3. Planning-Specific Heuristics: To guide the SMT solver through the planning state space, two heuristics were developed:
  4. Mode Path Suggestions: A depth-first search strategy that suggests sequences of discrete modes likely to reach the goal, effectively pruning the search space.
  5. ICP Time Splitting: A heuristic for the Interval Constraint Propagation (ICP) solver that prioritizes starting actions as early as possible.

Experimental Evaluation

The approach was evaluated on three domains:

  • Nonlinear Car: A benchmark involving acceleration and deceleration, modified to include aerodynamic drag proportional to the square of velocity.
  • Nonlinear Generator: A classic refueling problem where fuel flow accelerates over time.
  • Dribble Domain: A new benchmark requiring precise timing to keep a ball at a specific height, involving gravity and nonlinear drag.

Results and Discussion

The integration of planning-specific heuristics proved essential for performance. In the Dribble domain, the SAT-based mode sequence heuristic enabled the solver to find plans for lengths up to 10, whereas the standard solver frequently timed out.

Performance of the SAT-based mode sequence heuristic on the Dribble domain across varying plan lengths.

By relaxing the requirement for absolute precision to $\delta$-precision, nonlinear planning becomes computationally feasible. The solver provides a sound "unsat" result or a "delta-sat" result indicating a valid plan exists near the found solution. While dReal is competitive with specialized tools like SpaceEx on some linear problems, it currently lacks specific optimizations for linear constraints, leading to slower performance in domains like the Generator.

Comparative performance of dReal against other planners (SpaceEx, CoLin, UPMur) on the Generator and Car domains.

Conclusion

This work successfully adapts formal verification tools for generative planning in nonlinear environments. Future research will focus on exploiting linearity when it occurs to improve speed and enhancing the numerical search engine to handle more continuous variables and longer plan horizons.

Summary updated

BibTeX
@inproceedings{bryce2015smt,
  author = {Daniel Bryce and Sicun Gao and David J. Musliner and Robert P. Goldman},
  title = {{SMT-Based Nonlinear PDDL+ Planning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  url = {https://openreview.net/forum?id=q0kQ2eKeZlb},
}
Figure