[Paper Review] Estimating the Probability of Meeting a Deadline in Hierarchical Plans
This paper presents a deterministic, polynomial-time approximation algorithm for estimating the probability that a hierarchical plan with uncertain task durations meets a given deadline. By combining error-bounded binning techniques for sequence and parallel nodes, the method provides formal additive error bounds and outperforms sampling in accuracy and runtime, with proven complexity that scales polynomially with plan size and desired accuracy.
Given a hierarchical plan (or schedule) with uncertain task times, we propose a deterministic polynomial (time and memory) algorithm for estimating the probability that its meets a deadline, or, alternately, that its {\em makespan} is less than a given duration. Approximation is needed as it is known that this problem is NP-hard even for sequential plans (just, a sum of random variables). In addition, we show two new complexity results: (1) Counting the number of events that do not cross deadline is \#P-hard; (2)~Computing the expected makespan of a hierarchical plan is NP-hard. For the proposed approximation algorithm, we establish formal approximation bounds and show that the time and memory complexities grow polynomially with the required accuracy, the number of nodes in the plan, and with the size of the support of the random variables that represent the durations of the primitive tasks. We examine these approximation bounds empirically and demonstrate, using task networks taken from the literature, how our scheme outperforms sampling techniques and exact computation in terms of accuracy and run-time. As the empirical data shows much better error bounds than guaranteed, we also suggest a method for tightening the bounds in some cases.
Motivation & Objective
- To develop an efficient method for estimating the probability that a hierarchical plan meets a deadline despite uncertain task durations.
- To address the NP-hard nature of deadline probability estimation in task networks with both sequential and parallel compositions.
- To provide formal approximation bounds with polynomial time and memory complexity relative to plan size and accuracy requirements.
- To demonstrate superior accuracy and runtime performance compared to sampling-based methods and exact computation.
- To establish new complexity results: #P-hardness for counting non-deadline events and NP-hardness for expected makespan computation.
Proposed method
- Uses a deterministic binning technique to approximate the distribution of makespans in hierarchical plans, treating sequence and parallel nodes separately.
- Applies error-bounded aggregation of probability mass functions (PMFs) at each node, ensuring additive error bounds propagate predictably through the tree.
- Employs dynamic programming over discretized supports of primitive task durations to compute approximate cumulative distribution functions (CDFs).
- Combines sequence (sum) and parallel (maximum) operations on approximated distributions using error-aware merging of close values to reduce state space.
- Derives formal additive error bounds that grow polynomially with the number of nodes, support size of random variables, and inverse accuracy.
- Tightens theoretical bounds empirically when observed error is lower than guaranteed, improving practical accuracy.
Experimental results
Research questions
- RQ1Can a deterministic, polynomial-time algorithm approximate the probability of meeting a deadline in hierarchical plans with uncertain task durations?
- RQ2What is the theoretical error bound of such an approximation, and how does it scale with plan size and desired accuracy?
- RQ3How does the proposed method compare in accuracy and efficiency to sampling-based approaches and exact computation?
- RQ4Is the problem of counting non-deadline events in such plans #P-hard?
- RQ5Is computing the expected makespan of a hierarchical plan with mixed sequence and parallel nodes NP-hard?
Key findings
- The problem of estimating the probability of meeting a deadline in hierarchical plans is NP-hard, even for sequential plans.
- Counting the number of events that do not cross a deadline is #P-hard, establishing a strong complexity lower bound.
- Computing the expected makespan of a hierarchical plan with both sequence and parallel nodes is NP-hard, despite efficient exact computation for individual node types.
- The proposed approximation algorithm achieves polynomial time and memory complexity in the number of nodes, support size of random variables, and inverse accuracy.
- Empirical evaluation shows the actual error is significantly lower than the theoretical bounds, enabling tighter practical error estimates.
- The method outperforms sampling in both accuracy and runtime, particularly for large or complex task networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.