On Computing Plans with Uniform Action Costs

Alberto Pozanco, Daniel Borrajo, Manuela Veloso

TL;DR

Standard automated planning minimizes the total sum of action costs, but real-world execution often demands predictability and steady pacing—such as maintaining consistent driving speeds or uniform monthly savings amounts. This paper introduces compilations that reformulate planning problems to lexicographically optimize both total cost and action cost uniformity using off-the-shelf classical planners, eliminating the need for expensive multi-objective search algorithms.

What Problem Does This Paper Address?

In classical planning, an optimal plan is simply the sequence of actions with the lowest cumulative cost. However, for human agents or physical systems, the distribution of effort matters just as much as the total. A driver might prefer a steady, predictable route over a path with identical travel time that alternates wildly between high-speed highway segments and bumper-to-bumper traffic. Similarly, in personal budgeting, an individual usually prefers saving a constant amount each month rather than erratic, fluctuating sums.

Optimizing for uniformity alongside cost presents a major technical challenge:

  1. Lack of Optimal Substructure (Non-isotonicity): Standard statistical dispersion measures (like standard deviation, range, or differences between adjacent actions) are not strictly isotone—an optimal sub-plan does not necessarily lead to an optimal global plan. This rules out standard heuristic search algorithms like $A^*$.
  2. Multi-Objective Complexity: Algorithms that compute full Pareto fronts (e.g., NAMOA*, BOA*) are memory-heavy and slow.

The authors tackle how to find uniformest cost-optimal plans (or cost-optimal uniform plans) via classical task reformulation without designing custom search algorithms.

Methods

The authors focus on lexicographic optimization—either prioritizing cost first and breaking ties by uniformity ($\preceq_{c,d}$), or prioritizing uniformity first and breaking ties by cost ($\preceq_{d,c}$).

Instead of variance or entropy (whose ranges scale with unknown plan length), they formalize three dispersion metrics whose values are bounded a priori by the task's action costs:

  • Number of Distinct Costs ($\#(\pi)$): The cardinality of distinct action costs used.
  • Delta ($\Delta(\pi)$): The largest cost difference between two consecutive actions.
  • Range ($R(\pi)$): The difference between the highest and lowest action costs in the plan.

To solve these with existing single-objective planners, the paper introduces grounded (STRIPS-level) compilations:

  • Auxiliary Tracking Propositions: Propositions track costs seen so far, the cost of the immediately preceding action, or running minimum and maximum costs.
  • Cost Scaling: By multiplying base action costs by large integer constants (e.g., $10^6$) and scaling uniformity penalty weights $\omega_d$, standard additive-cost optimal planners (such as Fast Downward running $A^*$ with LM-Cut) can strictly enforce the desired lexicographic order.

Datasets

The authors evaluated their compilations on 387 problems across 19 domains:

  • Existing Benchmarks: 347 problems across 17 standard International Planning Competition (IPC) domains drawn from the Planning Domains repository (filtered to domains without conditional effects where actions have at least two distinct costs).
  • Novel Benchmarks: Most classical domains feature few distinct action costs ($>50\%$ have fewer than 6). To evaluate tasks with high cost diversity, the authors introduced:
  • FINANCE: Monthly savings tasks with up to 41 distinct action costs.
  • NAVIGATION: 2D grid driving through variable traffic congestion with up to 101 distinct action costs.

Key Insights and Ideas

  • Bounded Metrics Enable Compact Compilations: Standard deviation is impossible to compile compactly because its denominator depends on an unbounded plan length. In contrast, Range, Delta, and Cost Cardinality depend exclusively on the grounded action set, making compilation sizes polynomial.
  • Cost Cardinality Serves as an Efficient Proxy: Optimizing the number of distinct costs ($\#$) is strictly isotone and adds minimal overhead (doubling the action count). Remarkably, plans that minimize $\#(\pi)$ also closely approximate Delta, Range, and standard deviation.
  • Cost-Optimal Plans Often Have Terrible Uniformity: Standard planners break ties arbitrarily. In domains with rich cost distributions like FINANCE, cost-optimal plans were up to 3× worse in dispersion compared to the uniform plans discovered by the compilations.

Key Results

  • Coverage: Out of 387 tasks, standard cost-only planning solved 225. Cost-first compilations ($\Pi^{c,d}$) solved 204 ($\#$), 115 ($\Delta$), and 125 ($R$) instances. Uniformity-first compilations ($\Pi^{d,c}$) solved 167 ($\#$), 100 ($\Delta$), and 105 ($R$).
  • Better than Post-Processing All Solutions: Finding all cost-optimal plans via top-$k$ planning ($P(\Pi)$) solved only 115 tasks and cannot discover plans where cost is sacrificed for uniformity ($\Pi^{d,c}$).
  • Overhead: $\Pi_{\#}$ introduced virtually negligible runtime overhead compared to standard planning. While $\Pi_{\Delta}$ and $\Pi_R$ were heavier, $\Pi_{\#}^{d,c}$ achieved average suboptimality ratios within 7% to 12% of the optimal values for Delta, Range, and standard deviation ($\sigma$).

Limitations and Future Work

  • Action Explosion: Compilations for Delta and Range scale with $|A| \times |c(A)|$ and $|A| \times |c(A)|^2$. On domains with dozens of distinct costs, grounded task sizes grow significantly, hurting planner coverage.
  • Optimal Only: Experiments focused entirely on optimal planners; testing satisficing planners could offer a practical trade-off between coverage and metric suboptimality.
  • Narrow Uniformity Concept: Uniformity is defined strictly over numerical action costs. Future extensions could evaluate uniformity over action identities (e.g., repeatedly executing the same lifted action).

Summary updated

BibTeX
@inproceedings{pozanco2024computing,
  author = {Alberto Pozanco and Daniel Borrajo and Manuela Veloso},
  title = {{On Computing Plans with Uniform Action Costs}},
  booktitle = {HAXP @ ICAPS},
  year = {2024},
  url = {https://openreview.net/forum?id=82ozEFuY3D},
}
Figure