A Heuristic Search Approach to Planning with Temporally Extended Preferences

Jorge A. Baier, Fahiem Bacchus, Sheila A. McIlraith

Abstract

Planning with preferences involves finding a plan that not only achieves a goal but does so in a way that satisfies user-specified desires. This paper presents a technique for handling Temporally Extended Preferences (TEPs), which express desired properties over the entire sequence of states in a plan. By converting TEPs into simple final-state preferences using parameterized automata and employing novel heuristics within a specialized search algorithm, the HPLAN-P system achieves high-quality planning without the memory blowups typical of previous methods.

Introduction

In automated planning, reaching a goal is often not enough; the way the goal is reached matters. While simple preferences concern the final state, Temporally Extended Preferences (TEPs) use Linear Temporal Logic (LTL) to define constraints over the plan's trajectory. Evaluating these temporal rules during search is computationally intensive. Previous approaches often suffered from an "exponential explosion" when grounding these formulas for every object in the domain.

Methodology: Compiling Temporal Logic

The core innovation of this work is a three-part pipeline that simplifies the planning process:

1. Compilation via Parameterized Automata

Instead of evaluating LTL during search, TEPs are compiled into simple final-state preferences. This is achieved by embedding parameterized non-deterministic finite state automata (PNFA) directly into the planning domain. As the planner simulates actions, these automata update their states. A preference is satisfied if its corresponding automaton reaches an "accepting" state by the plan's conclusion.

Parameterized non-deterministic finite state automata (PNFA) used to compile temporally extended preferences into simple final-state goals.

Crucially, these automata remain parameterized, avoiding the memory-intensive grounding process that hindered earlier planners.

2. Novel Heuristics

Once reduced to final-state preferences, the authors utilize relaxed planning graphs to estimate distances to goals. A standout contribution is the Discounted metric ($D(r)$), which balances the reward of a preference against the estimated difficulty of achieving it. This allows the search to be guided by preference satisfaction without pre-committing to a specific subset of goals.

3. Iterative Search and Pruning

The HPLAN-P planner operates in episodes. It first finds an initial valid plan satisfying hard constraints. It then restarts the search using preference-aware heuristics, using the first plan's metric as an upper bound to aggressively prune paths that cannot improve the score.

Evaluation and Results

The approach was tested on domains from the 5th International Planning Competition (IPC-5), including TPP, trucks, openstacks, storage, and rovers.

Competitive Performance

HPLAN-P demonstrated superior scalability compared to other automata-based planners like MIPS-BDD and MIPS-XXL, which often failed on larger problems due to memory exhaustion.

Comparison of HPLAN-P against other planners in the IPC-5 domains, showing the number of solved problems (#S) and the ratio of plan quality.

Key Insights

  • Avoiding Grounding: Parameterized automata prevent the search space explosion common in LTL-based planning.
  • The Power of Pruning: Iterative pruning was essential for improving plan quality. In the openstacks domain, pruning was required to improve upon the initial plan in 18 out of 20 cases.
  • Heuristic Effectiveness: Heuristics leveraging the relaxed planning graph significantly outperformed state-only metrics.

Conclusion

HPLAN-P provides a robust framework for planning with complex temporal preferences. By combining automata-based compilation with effective heuristic search and pruning, it avoids the pitfalls of grounding while maintaining high plan quality. Future work aims to integrate these techniques with problem-partitioning strategies to further enhance performance.

Summary updated

BibTeX
@inproceedings{baier2007heuristic,
  author = {Jorge A. Baier and Fahiem Bacchus and Sheila A. McIlraith},
  title = {{A Heuristic Search Approach to Planning with Temporally Extended Preferences}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
  url = {https://openreview.net/forum?id=HyNwt4zuZB},
}
Figure