Probabilistic Reasoning for Plan Robustness
Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence. Pages 1266-1270.
© 2005 International Joint Conferences on Artificial Intelligence
Abstract
A planning system must reason about the uncertainty of continuous variables in order to accurately project the possible system state over time. A method is devised for directly reasoning about the uncertainty in continuous activity duration and resource usage for planning problems. By representing random variables as parametric distributions, computing projected system state can be simplified. Common approximations and novel methods are compared for over-constrained and lightly constrained domains within an iterative repair planner. Results show improvements in robustness over the conventional non-probabilistic representation by reducing the number of constraint violations during execution. The improvement is more significant for larger problems and those with higher resource subscription levels but diminishes as the system is allowed to accept higher risk levels.
- [Bertsekas & Tsitsiklis, 1996] Bertsekas, D., and Tsitsiklis, J. 1996. Neuro-dynamic Programming. Athena, Belmont, MA.
- [Blythe, 1999] Blythe, J. 1999. Decision-theoretic planning. AI Magazine 20(2):37-54.
- [Boutilier, Dean, & Hanks, 1999] Boutilier, C.; Dean, T.; and Hanks, S. 1999. Decision-theoretic planning: Struc- tural assumptions and computational leverage. Journal of Artificial Intelligence Research 11:1-94.
- [Boyan & Littman, 2000] Boyan, J., and Littman, M. 2000. Exact solutions to time-dependent MDPs. In Advances in Neural Information Processing Systems, 1026-1032.
- [Bresina et al., 2002] Bresina, J.; Dearden, R.; Meuleau, N.; Ramakrishnan, S.; Smith, D.; and Washington, R. 2002. Planning under continuous time and resource uncertainty: A challenge for AI. In Proceedings of the Conference on Uncertainty in Artificial Intelligence. [
- [Chien et al., 2000] Chien, S.; Knight, R.; Stechert, A.; Sherwood, R.; and Rabideau, G. 2000. Using itera- tive repair to improve the responsiveness of planning and scheduling. In Proceedings of the International Confer- ence on AI Planning and Scheduling, 300-307.
- [Chien et al., 2002] Chien, S.; Sherwood, R.; Rabideau, G.; Castano, R.; Davies, A.; Burl, M.; Knight, R.; Stough, T.; Roden, J.; Zetocha, P.; Wainwright, R.; Gaasbeck, J. V.; Cappelaere, P.; and Oswald, D. 2002. The Techsat-21 autonomous space science agent. In International Confer- ence on Autonomous Agents.
- [Chien et al., 2003] Chien, S.; Sherwood, R.; Tran, D.; Cas- tano, R.; Cichy, B.; Davies, A.; Rabideau, G.; Tang, N.; Burl, M.; Mandl, D.; Frye, S.; Hengemihle, J.; Agostino, J.; Bote, R.; Trout, B.; Shulman, S.; Ungar, S.; Gaas- beck, J. V.; Boyer, D.; Griffin, M.; Burke, H.; Greeley, R.; Doggett, T.; Williams, K.; Baker, V.; and Dohm, J. 2003. Autonomous science on the EO-1 mission. In In- ternational Symposium on Artificial Intelligence, Robotics, and Automation in Space.
- [Dearden et al., 2003] Dearden, R.; Meuleau, N.; Ramakr- ishnan, S.; Smith, D.; and Washington, R. 2003. Incre- mental contingency planning. In ICAPS Workshop on Un- certainty and Incomplete Information.
- [Frank et al., 2001] Frank, J.; Jnsson, A.; Morris, R.; and Smith, D. 2001. Planning and scheduling for fleets of earth observing satellites. In Proceedings of the Interna- tional Symposium on Artificial Intelligence, Robotics, and Automation in Space.
- [Globus et al., 2002] Globus, A.; Crawford, J.; Lohn, J.; and Morris, R. 2002. Scheduling earth observing fleets us- ing evolutionary algorithms: Problem description and ap- proach. In Proceedings of the 3rd International NASA Workshop on Planning and Scheduling for Space.
- [Gordon, Salmond, & Smith, 1993] Gordon, N.; Salmond, D.; and Smith, A. 1993. Novel approach to nonliner/non gaussian bayesian state estimation. [Koenig, 2001]
- Koenig, S. 2001. Agent-centered search. AI Magazine 22(4):109-131.
- [Long & Fox, 2002] Long, D., and Fox, M. 2002. Domain modelling and the satellite observation domain. In Pro- ceedings of the 3rd International NASA Workshop on Plan- ning and Scheduling for Space.
- [Puterman, 1994] Puterman, M. 1994. Markov Decision Processes: Discrete Stochastic Dynamic Programming. Wiley, New York.
- [Smart & Kaelbling, 2000] Smart, W., and Kaelbling, L. 2000. Practical reinforcement learning in continuous spaces. In Proceedings of the Seventeenth International Conference on Machine Learning.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Planning systems that reason about real world events must eventually deal with the inherent uncertainty of any real world mechanism. For example, actions may take longer or consume more resources than predicted. Even if it were possible to model every variable that affected a planned set of actions, doing so is impractical for realistically sized domains. Further, practical modeling abstractions themselves also introduce uncertainty into reasoning about a system.
The way a planning system deals with uncertainty in its actions and observations is critical to how well the system is able to perform in the real world. Clearly, systems that effectively reason about uncertainty can better avoid generating plans that are likely to violate execution constraints. But effective use of uncertainty can also improve the longterm efficiency of a plan by balancing acceptable risk levels against the inefficiencies incurred to avoid those risks. Finally, knowledge of uncertainty allows the system to better assess and report on the most risky plan segments.
∗This research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration.
One historical approach to dealing with uncertainty is to assume no uncertainty at the level of planning abstraction. To be used in a real world system, such systems are often augmented with some replanning mechanism for when predictions do not match results [Chien et al., 2000; Koenig, 2001]. One step further is to depend on an execution system to handle any variations in plan execution. Effectively, the planner itself is abstracted from any knowledge that the real world does not behave as predicted.
There are many planning systems that reason more directly about uncertainty. Classifications and surveys of this work are given by Bresina et al. (2002), Blythe (1999), and Boutilier et al. (1999). Some techniques handle some level of temporal uncertainty [Puterman, 1994; Boyan & Littman, 2000] or continuous resources, e.g. [Bertsekas & Tsitsiklis, 1996; Smart & Kaelbling, 2000], and one can represent both complex temporal constraints and continuous states/resources [Dearden et al., 2003]. This is important for domains where concurrent tasks interact in their effect on continuous resources. For example, a spacecraft can be slewing, operating instruments, and communicating at the same time. Metric resources such as power, energy, memory, and temperature are continuously affected and often require complex temporal constraints to balance safe operation with efficiency.
This paper outlines one possible approach for directly reasoning about the uncertainty in action timing and resource consumption. While Dearden et al. use a Monte Carlo approach to estimating the value of a plan (2003), we directly compute parametric probability distributions for time and resource variables based on a user-supplied model of activities and resources. The distributions are then combined during planning to determine the net probability distribution of a resource at any time point, which in turn may be integrated to yield the probability of violating any execution constraints on the resource. The key idea is to use this "probability of conflict" to score potential plans and to drive the planner's search toward low-risk actions. An output plan provides a balance between the user's risk aversion and other measures of plan optimality. This is a simple conformant planning approachthe planner does no contingency planning but also assumes no future state observability.
The present work deals only with durations and resource usages that can be modeled as normally distributed random variables, though the techniques are more widely applicable. To gauge the effectiveness of our probabilistic system, batch-generated plans are executed in a stochastic simulator. A comparative evaluation of our technique versus some common probabilistic approximations is provided along with an analysis of its applicability to different kinds of planning problems.
2 Approach
Planning effort is directed to repairing areas of a plan that have unacceptable levels of risk, as determined by a userspecified risk tolerance on each resource as a function of time. Risk for any one timeline segment is assessed by computing the probability that the sum of all activity reservations that potentially overlap the segment would exceed one of the modeled system resource limits. This probability of resource constraint conflict is readily derived if the resources' net probability density functions are available. Our approach for maintaining each net resource distribution is to combine individual activity resource reservations parametrically.
Each activity in the plan is considered to make uncertain resource reservations that follow a known distribution. Further, each activity can also have a duration that is similarly uncertain. (For simplicity, all activities are considered to have certain start times - an assumption that holds for directly commanded actions, but may not apply for exogenous events.) In this paper, we only consider reservations and durations that are normally distributed random variables, though in practice other parametric distributions can also be used. The parametric representation for a normal distribution is very compact, requiring only the distribution mean (µ) and standard deviation (σ). In comparison, a particle filter [Gordon, Salmond, & Smith, 1993] requires a value and weight for each sample taken from a distribution. Conveniently, specified values can be also represented as normal random variables with a given µ but σ = 0.
In the case of activities that make persistent reservations on a resource (that is, they consume or produce a resource), the net resource distribution for a timeline segment is the sum of all current and preceding normally distributed reservations. Fortunately, the sum Σ of i independent normal reservations n is itself a normal, with parameters µΣ = ∑i µni and σΣ = √∑i σni 2 . Notice that the uncertainty of the sum is greater than any single component, indicating that resultant uncertainty grows with the number of interacting reservations.
For actions that only have a transient reservation (lasting for their duration only), the same method can be applied to those reservations that are concurrent. In the simple case that each concurrent activity has a certain duration, the net resource distribution is computed by adding each local reservation. In the more complex case of concurrent activities with uncertain duration, the net resource distribution itself becomes a function of time.
For an activity A with start time ts and duration d = dµ ± dσ, consider P[A](t) to be the probability that action A is executing at time t (see figure 1). As d is normally distributed, the end time te is also a normal, and we can express P[A](t)



as:
where Φµ,σ(x) is the cumulative distribution function for a normal with mean µ and standard deviation σ. Strictly, normal distributions may yield negative samples, so we must truncate only the duration distributions to [0,∞), or in practice [0, µ + 3σ].
Each of A's resource reservations must reflect the gradual diminishment of the activity's probability. If A makes a reservation R when active, its effective reservation becomes a function of time, R(t), as in figure 2). This distribution is bimodal: one peak at zero resource usage represents that the activity is not in effect (weighted w0 = 1 - P[A](t)), and the R peak represents A's transient reservation (weighted wRA = P[A](t)). The peak at zero is a scaled Dirac delta function: it integrates to w0, but has infinitesimal width.
The time-sensitive reservations seen in figure 2 are no longer simple normals, so the net resource distribution must also be more complex. In fact, the sum of |Ai| different bimodal reservations results in a multi-modal distribution with O(2|Ai| ) distinct peaks: one for each combination of activities that could be in effect (see figure 3).
With the net resource distribution PDFR(x, t) in hand, Computing the probability of violating a system resource constraint during a timeline unit becomes a simple integral. For a timeline unit T with a random variable resource level R and constraints that R ∈ [lmin, lmax], then the probability of violation is given by:
Fortunately, this integral for normal distributions is fast to compute and multi-normal distributions require simple linear combinations of this integral.
In the end, P[VT ](t) may still be a function of time. In this event, we report P[VT ] as the maximum instantaneous probability of violation during the timeline unit. (Such an assumption works for systems where each random value is chosen once and not resampled.) To avoid checking all t ∈ T , we currently only check a constant number of critical times from T, including the endpoints.
The probability of constraint violation for each timeline unit is compared to the user-specified acceptable risk level, and any violations that are more likely than the risk tolerance are flagged as plan conflicts. A planning algorithm can use the tolerance to help decide whether and where to add, order, move, or remove an activity.
In our application, we use an iterative repair planner that chooses one over-risk-tolerance timeline unit at a time and attempts to reconcile the risk by moving, adding, or deleting resource contributors. For our purposes, the plan is scored according to how many remaining "too risky" timeline units remain, and the planner gradually hill-climbs toward plans with only tolerable risk levels.
2.1 Comparison Approximations
Approximation methods were implemented for comparison against the fully probabilistic system described above. Each fits within the same planning and heuristic framework, but maintains the net resource distributions differently.
Means Only: One very natural approximation method is to disregard all uncertainty and consider only the one value of maximum likelihood as representative of a distribution. For normal distributions, this is the mean. Because durations are also estimated by the mean, there are no multi-modal distributions, and resource values are tracked as a single value on each unit. The Means Only approximation is equivalent to an assumption that everything behaves as expected.

Pessimistic: Similar to the Means Only approximation, the Pessimistic approximation only tracks one value from each distribution. Instead of choosing the value of maximum likelihood, however, it chooses the "worst case" value. For a normal distribution, our pessimistic system tracks only the value µ + 2σ (or µ - 2σ), and considers that to be the actual resource reservation. The choice of which direction constitutes the worst case is inherently domain dependent and must be specified.
Single Peak: A possible limiting factor of the Fully Probabilistic system are the O(2|A| ) peaks required when combining reservations of uncertain-duration activities A. The Single Peak approximation uses a single normal distribution in place of this set, as in figure 4 (compare with figure 2). This forfeits accurate representation in favor of much improved time complexity. The Single Peak approximation is optimistic in that it underestimates reservations.
Chebyshev Bound: The Chebyshev Bound approximation is similar to the Single Peak approximation in that both eliminate the multi-modal distributions that arise from uncertain duration. However, the Chebyshev Bound uses a more rigorous mathematical foundation for its approximation: for any random variable R, no matter the distribution, the probability of receiving a sample further than l from the distribution mean µ is given by the single-tailed version of Chebyshev's inequality:
Because the Chebyshev Bound assumes so little about a distribution, it is necessarily pessimistic. Like the Single Peak, Chebyshev tracks only a single mean and standard deviation, and the sum of two approximated values is taken to have the worst case standard deviation of σΣ = ∑i σni 2 . We apply the one-sided Chebyshev inequality to the net mean and standard deviation, and report the resulting upper bound on violation probability as the violation probability.

3 Results
The Full Probabilistic system was evaluated against each of the comparison algorithms in two disparate planning domains. The first domain is an abstract testbed, and the second is a much more complex orbiting spacecraft domain.
For each domain, a random problem generator provided the initial schedule for the planner to repair. An iterative optimization planner was then run for a fixed number of iterations on the seed plan. The planner was augmented to use each of the full probabilistic and approximation algorithms, and an output plan was saved for each. The saved plans were then executed on a stochastic simulator that reported the number of resource constraint violations that occurred. Notably, no replanning was allowed as information became available during simulation. It would be possible to augment our experiments with more elaborate execution models (flexible time points, replanning, etc), but such was not investigated in the present work.
3.1 Abstract Domain
The abstract testbed domain has a single resource and a series of activities that may consume or replenish that resource. The model was run with both permanent and transient resource reservations, and with different levels of reservation uncertainty. A valid solution existed for every generated problem.
A comparison of the simulation error means for each approximation method is show in figure 5. As expected, the Means Only approximation stacked activities until the resource value was very close to its limit. This resulted in simulation errors when the simulated values exceeded the mean. The Pessimistic approximation only fared slightly better, likely due to its representation deficiency: a simulation error occurs when a resource exceeds its limit or falls below zero. After a sequence of several overestimated consumers, the Pessimistic approximation replenished those reservations with twice as many underestimated replenishers. This causes the resource to fall well below zero, and an error is reported. In real systems, resources may have one-sided constraints.
The Full Probabilistic system fared the best, consistently achieving nearly zero errors in each domain. It added an appropriate amount of both resource and schedule slack to accommodate the specified risk tolerance of 5%. The Single Bump approximation also performed well, only having difficulty when the resource uncertainty was doubled in (B). Notably, the Chebyshev approximation did not meet expectations: it turned out to be so very pessimistic in its distribution estimation that it failed to find good solutions, floundering with imagined conflicts.
The price of using the Fully Probabilistic system is of course computation time. For problems in which duration was not uncertain, the Fully Probabilistic system was about 10 times slower (unoptimized) than non probabilistic approaches. When duration was made uncertain, however, a vast difference appeared. Notably, the Single Peak approximation was almost 100 times faster than Full Probabilistic, on par with the non-probabilistic approaches. Systems where computational time is at a premium would likely fare well to adopt a simple Single Peak approximation and instead leave the Full Probabilistic approach for systems where execution errors are extremely high cost.
3.2 Orbiter Domain
The second domain is a more realistic mock up of an orbiting spacecraft model. The model is based on a synthesis of ideas from actual models for the EO-1 spacecraft [Chien et al., 2003] and the proposed ASE spacecraft [Chien et al., 2002]. In addition, we strove to model many of the issues presented in similar planning competition models [Long & Fox, 2002]. There are other planning systems that have treated similar spacecraft domains, e.g. [Globus et al., 2002; Frank et al., 2001].
The modeled hypothetical spacecraft is an earth-orbiting satellite equipped with a camera for imaging the planet. The craft must take actions only when sufficient power is available to its solar panels or by drawing on its battery. The craft must avoid overrunning its battery, memory, and disk space capacities. In addition, the processing power and antenna bandwidth are modeled as system resources. Finally, the external environment is modeled as providing limited availability windows for downlinks, imaging, and solar power.
The probe is tasked with acquiring images during target visibility windows, processing those images in RAM, recording them to disk, and later downlinking them to a ground station. The probe has to reason about 10 resources and has 10 different activities to complete its goals. Each activity makes reservations on multiple resource timelines. In this domain, the random problem generator does not guarantee that its problems will always have a completely valid solution (that is, the problems could be over-constrained since the planner is forbidden to shed goals).
As before, the Fully Probabilistic system achieves statistically significantly fewer simulation errors than either of the non-probabilistic systems, and generates plans on par with the Single Peak approximation's. The box plot in figure 6 conveniently shows a comparison of the error counts for each system. On a per-problem basis, the Full Probabilistic system had a mean 3.05 fewer simulation errors, with a


99.9% confidence interval of [ 1.35, 4.90 ]. The Pessimistic approximation still suffers from the double resource bound problem noted for the abstract model, but still achieves performance comparable to the Means Only approach. The overly pessimistic Chebyshev system still fares worse than the Fully Probabilistic system, but is not statistically significantly worse than the either of the non-probabilistic systems. Notably, the Single Peak approximation achieves an error rate that is comparable to - perhaps even better than (confidence of 85%) - the Fully Probabilistic system. This is likely an artifact of our domain, in which activities seldom have tails that stack up into large multi-modal distributions.
Various parameters of the system were changed to evaluate the relative sensitivity of each approach. One such parameter is the user-specified risk tolerance. As expected, the payoff (in terms of reduced simulation errors) for using the Fully Probabilistic over a Means Only approach diminishes as the risk tolerance is increased. At a risk tolerance of 5%, they are distinct with 100% confidence, but even at 10% risk tolerance the statistical significance has dropped to 80%. At a risk tolerance of 50%, the Full Probabilistic system becomes mathematically equivalent to the Means Only system.


The difficulty of the problem also plays an important role in determining the Full Probabilistic system's dominance. As problem difficulty (measured as number of goals required) decreases, the Means Only approach gains on and eventually overtakes the Full Probabilistic approach in terms of simulation errors. Figure 7 shows the relevant confidence intervals.
Perhaps the most important change is that due to overall problem size. Figure 8 shows that both the probabilistic and non-probabilistic systems suffer a roughly exponential growth in simulation errors as a function of problem size. However, the slope of the Full Probabilistic system's function is significantly lower than that for Means Only. This indicates that the difference in simulation error counts will probably grow roughly exponentially was well. Figure 9 demonstrates this fact more clearly by showing the per-problem improvement distribution. At large problem sizes, the Fully Probabilistic system vastly dominates the Means Only approach, while at small problem sizes, there is hardly any difference.
4 Conclusions
We have described an approach for directly dealing with plan uncertainty by collecting and merging the probability distributions from action duration and resource usage. The essential idea is that by maintaining such merged distributions, a planning system can ask specific questions about the risk of violating constraints at any time. Being able to ask such questions allows the planner to better balance its risk posture against its desire to achieve goals.
We have shown that augmenting a planner with such a probabilistic reasoning system allows for plans with execution-time quality superior to that which can be obtained without directly considering uncertainty. Though the underlying structure of the planner's decisions are not changed, the more robust risk assessment afforded by a probabilistic system allow the planner to focus its decisions on the most probable errors. As problem size increases or as resources become more saturated with subscriptions, such focus becomes more important to finding plans that perform well on execution.
The fully probabilistic system makes its gains using a O(2n ) algorithm, but we have also shown that a simple approximation technique that still tracks distributions can achieve comparable (and sometimes superior) results with only a O(n) algorithm.
The techniques we have demonstrated are applicable to most planning problems that satisfy a few constraints. First the resource and duration distributions of actions must be known. Second, the system must have a relatively high risk averseness for the probabilistic system to make a difference. In the current implementation, we have not handled many desirable planner capabilities such as direct temporal constraints or discrete state resources. We believe the techniques are still applicable for problems with such characteristics, albeit with some modification. Probabilistic reasoning is especially suited to problems of large size and high cost of failure.
@inproceedings{ijcai2005p97,
title = {Probabilistic Reasoning for Plan Robustness},
author = {Schaffer, Steve R. and Clement, Bradley J. and Chien, Steve A.},
booktitle = {Proceedings of the Nineteenth International Joint Conference on
Artificial Intelligence, {IJCAI-05}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Leslie Pack Kaelbling and Alessandro Saffiotti},
pages = {1266--1270},
year = {2005},
url = {https://ijcai.org/proceedings/2005/97},
}
TY - CPAPER TI - Probabilistic Reasoning for Plan Robustness AU - Schaffer, Steve R. AU - Clement, Bradley J. AU - Chien, Steve A. T2 - Proceedings of the Nineteenth International Joint Conference on Artificial Intelligence, IJCAI-05 PB - International Joint Conferences on Artificial Intelligence PY - 2005 SP - 1266 EP - 1270 UR - https://ijcai.org/proceedings/2005/97 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: