Optimal Infinite Temporal Planning: Cyclic Plans for Priced Timed Automata

Rasmus Grønkjær Tollund, Nicklas Slorup Johansen, Kristian Ødum Nielsen, Alvaro Torralba, Kim Guldstrand Larsen

TL;DR

This paper introduces Symbolic $\lambda$-Deduction (S-XD), a novel algorithm for finding optimal cyclic plans in systems with both costs and rewards over time. S-XD efficiently computes these plans by using a symbolic representation of the system's state, significantly outperforming existing methods in robustness and speed, especially for complex temporal constraints.

What Problem Does This Paper Address?

Many real-world applications, like manufacturing assembly lines or resource management systems, require continuous operation and the execution of tasks indefinitely. Simply repeating a single plan often leads to suboptimal performance or even system failure. The challenge is to find "infinite plans" that are not only feasible but also optimal in terms of a cost-reward ratio (e.g., minimizing cost per unit produced). Traditional approaches struggle with the vast state spaces of timed systems, especially when dealing with concurrent actions and precise timing constraints. This paper tackles the problem of finding ratio-optimal cycles in doubly-priced timed automata, which are formal models capable of representing these complex systems.

Methods

The core of the paper is the Symbolic $\lambda$-Deduction (S-XD) algorithm. It builds upon the concept of $\lambda$-deduction, which transforms the problem of finding a minimum cost-reward ratio into finding negative-weight cycles in a modified system. The key innovation is the use of priced zones for symbolic state representation.

Here's a breakdown of the approach:

  • Doubly-Priced Timed Automata (CRTA): The system is modeled as a timed automaton where both locations and transitions have associated costs and rewards.
  • Ratio-Optimal Cycles: The goal is to find an infinite sequence of actions (a cycle) that minimizes the ratio of total cost to total reward.
  • $\lambda$-Deduction: This technique converts the ratio optimization problem into a series of negative-cycle detection problems. For a given ratio $\lambda$, the algorithm checks for cycles where cost - λ * reward < 0. By iteratively refining $\lambda$, the optimal ratio is found.
  • Symbolic State Representation (Priced Zones): Instead of exploring every single concrete state (which is infeasible), S-XD uses "priced zones." These are compact symbolic representations that capture a set of states and their associated "price functions" (representing the cost to reach any state within that zone). This allows the algorithm to explore the state space much more efficiently.
  • Anytime Algorithm: S-XD is designed as an "anytime" algorithm, meaning it can provide a valid (though not necessarily optimal) solution at any point during its execution, and it continuously improves this solution until optimality is reached.

Datasets

The paper evaluates S-XD on three benchmark domains:

  • Surveillance: Models scenarios where agents must monitor locations, with costs incurred for unmonitored areas and rewards for surveillance. Instances are denoted as $S_{a,p}$ (agents, places).
  • Job Scheduling: An extension of a scheduling problem where jobs need to be processed on multiple machines with associated costs and rewards for completion. Instances are denoted as $J_{m,j}$ (machines, jobs).
  • Volunteer: A scheduling problem involving volunteers balancing work and providing services (e.g., refilling refrigerators), with costs for actions and rewards for service. Instances are denoted as $V_{f,v,c}$ (refrigerators, volunteers, consumers).

These domains are modeled as networks of timed automata within the UPPAAL framework.

Key Insights and Ideas

  • Symbolic Representation is Crucial: The paper strongly demonstrates that exploring the concrete state space of timed automata is computationally prohibitive for complex problems. Symbolic representations, specifically priced zones, are essential for scalability.
  • Anytime Nature is a Major Advantage: The ability to provide a good solution quickly, even if not optimal, is highly valuable in many practical applications. S-XD's anytime behavior allows for early decision-making and continuous improvement.
  • Robustness to Temporal Constraints: S-XD shows remarkable resilience to large clock values and fine-grained temporal constraints, a significant weakness of traditional methods like corner-point abstraction.
  • $\lambda$-Deduction as a Unifying Framework: By transforming the multi-objective (cost and reward) problem into a single-objective (negative cycle detection) problem, $\lambda$-deduction provides a clean and effective way to search for optimal ratios.

Key Results

  • Performance Outperformance: S-XD significantly outperforms the baseline CP-MCR (Corner-Point Minimum Cycle Ratio) in the job scheduling and surveillance domains, solving more problems faster and with lower memory usage.
  • Scalability: S-XD demonstrates better scalability with respect to the number of concurrent timed automata and clocks compared to CP-MCR.
  • Robustness: S-XD is much less affected by large clock constants than CP-MCR, which experiences a dramatic increase in runtime as clock constants scale.
  • Anytime Behavior: Figure 3a clearly illustrates S-XD's superior anytime performance, finding good solutions much earlier than CP-MCR.
  • Limitations in Volunteer Domain: In the volunteer domain, CP-MCR performed better. This was attributed to S-XD exploring a larger number of symbolic states due to the nature of the problem and the specific structure of the optimal cycle.

Limitations and Future Work

  • Symbolic State Inefficiency: While symbolic states are generally more efficient, in some cases (like the volunteer domain), the number of symbolic states explored by S-XD can still be substantial, leading to performance degradation compared to CP-MCR.
  • Future Work: The authors suggest that further research could explore more efficient symbolic representations or hybrid approaches that combine symbolic and concrete search strategies. Investigating the impact of different $\lambda$ update strategies on convergence speed could also be beneficial. The paper also hints at potential extensions to more general forms of temporal planning beyond cyclic schedules.

Summary updated

BibTeX
@inproceedings{tollund2024optimal,
  author = {Rasmus Grønkjær Tollund and Nicklas Slorup Johansen and Kristian Ødum Nielsen and Alvaro Torralba and Kim Guldstrand Larsen},
  title = {{Optimal Infinite Temporal Planning: Cyclic Plans for Priced Timed Automata}},
  booktitle = {ICAPS},
  year = {2024},
  doi = {10.1609/icaps.v34i1.31521},
}
Figure