Skip to main content
QUICK REVIEW

[Paper Review] A Formal Metareasoning Model of Concurrent Planning and Execution

Amihay Elboher, Ava Bensoussan|arXiv (Cornell University)|Mar 5, 2023
Logic, Reasoning, and KnowledgeComputer Science3 citations
TL;DR

This paper proposes a formal metareasoning model, Concurrent Planning and Execution (CoPE), for agents that simultaneously plan and execute actions in real time under time pressure. By modeling the trade-off between planning effort and execution risk—especially with irreversible actions—it introduces a principled framework that enables optimal or near-optimal allocation of computation time across search processes, achieving high success rates even under tight deadlines through greedy algorithms like Max-LET and 2-bounded BGS.

ABSTRACT

Agents that plan and act in the real world must deal with the fact that time passes as they are planning. When timing is tight, there may be insufficient time to complete the search for a plan before it is time to act. By commencing execution before search concludes, one gains time to search by making planning and execution concurrent. However, this incurs the risk of making incorrect action choices, especially if actions are irreversible. This tradeoff between opportunity and risk is the problem addressed in this paper. Our main contribution is to formally define this setting as an abstract metareasoning problem. We find that the abstract problem is intractable. However, we identify special cases that are solvable in polynomial time, develop greedy solution algorithms, and, through tests on instances derived from search problems, find several methods that achieve promising practical performance. This work lays the foundation for a principled time-aware executive that concurrently plans and executes.

Motivation & Objective

  • To formalize the trade-off between planning effort and execution risk when actions are irreversible and time is limited.
  • To extend the (AE)2 metareasoning model to allow concurrent planning and execution, enabling agents to begin acting before planning completes.
  • To develop efficient, suboptimal algorithms that balance computational cost and success probability in time-constrained planning.
  • To evaluate these algorithms empirically using benchmarks like the 15-puzzle under varying time pressures and durations.
  • To lay the foundation for integrating CoPE into online, time-aware planners with manageable metareasoning overhead.

Proposed method

  • Extends the (AE)2 model into a new Markov Decision Process (MDP) framework called CoPE, modeling concurrent planning and execution as a metareasoning problem under uncertainty.
  • Models each search process as having unknown plan duration and deadline, with execution decisions affecting available computation time.
  • Proposes greedy algorithms such as Max-LET, 2-bounded BGS, and demand-execution variants that prioritize actions based on expected success and time constraints.
  • Adapts dynamic programming and Monte Carlo Tree Search (MCTS) for CoPE, with budgeted rollouts to balance accuracy and speed.
  • Empirically evaluates algorithms using 10 CoPE instances per setting, simulating outcomes via sampling from duration and deadline distributions.
  • Uses value iteration as a baseline for optimal performance, though only feasible for small instances (≤2 processes).

Experimental results

Research questions

  • RQ1How can an agent optimally allocate computation time across multiple planning processes when actions may be executed before planning completes?
  • RQ2What is the impact of concurrent execution on the probability of finding a timely, feasible plan under time pressure?
  • RQ3Which greedy heuristics for action selection and computation allocation achieve the best trade-off between runtime and success probability in CoPE?
  • RQ4Can CoPE be solved efficiently in practice despite being NP-hard, especially under unknown deadlines and variable suffix durations?
  • RQ5How do different algorithmic designs (e.g., demand-execution vs. Max-LET) compare in terms of success rate and computational cost?

Key findings

  • Max-LET BGS achieves the best balance of high success probability (over 90% for dur(b)=3) and low runtime (under 1 second), making it suitable for integration into online planners.
  • The 2-bounded BGS algorithm achieves the highest average success rate (over 95%) but requires significantly more computation than Max-LET BGS.
  • Demand-execution variants are orders of magnitude faster than standard S(AE)2 algorithms but have lower success rates, indicating a strong speed-accuracy trade-off.
  • CoPE-specific algorithms (e.g., Max-LET, 2-bounded) outperform standard S(AE)2 methods under high time pressure (dur(b)=3), where the latter fail due to lack of concurrency.
  • Value iteration provides the optimal solution but becomes infeasible beyond 2 processes, highlighting the need for scalable heuristics.
  • The results hold across different numbers of processes, with consistent trends observed in both success probability and runtime across settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.