Let it Cook: Learning to Wait in Sequential Decision Making

Christopher Watson, Arjun Krishna, Dinesh Jayaraman, Rajeev AlurarXiv 2026

TL;DR

Traditional reinforcement learning agents are hyper-active, constantly sensing and acting at every single timestep. This paper introduces "Learning to Wait," a framework that allows agents to strategically pause and cede control to an environment's passive dynamics (like waiting for soup to cook) to conserve sensory, computational, and motor resources without sacrificing task performance.

What Problem Does This Paper Address?

The prevailing paradigm in sequential decision-making treats agents as active, closed-loop systems that continually monitor and react to their environment. However, many real-world tasks contain passive dynamics where constant intervention is unnecessary—such as waiting for a kettle to boil or a coffee machine to brew.

Forcing an agent to make decisions at every timestep wastes cognitive and physical resources. If an agent can identify where and how long to wait, it can switch to a timed "standby mode" or redirect its resources to an auxiliary task. The challenge lies in formalizing this waiting objective and developing reinforcement learning (RL) approaches that train an agent to optimize it without degrading its primary task performance.

Methods

The authors formalize this challenge by introducing the Waiting Markov Decision Process (WMDP). A WMDP includes a distinguished primitive wait action and a finite set of waiting durations $W$. Choosing a duration $w \in W$ triggers a "waiting macro-action" (a type of semi-Markov option), committing the agent to execute the primitive wait action for $w$ consecutive timesteps without sensing the environment or making new decisions.

Figure 1: In our Cook environment, the agent commits to a duration-5 waiting macro-action near the end of the soup cooking process. No sensing, computation, or active motion occurs while waiting.

To train these policies, the authors leverage Lexicographic Multi-Objective Reinforcement Learning (MORL). Instead of combining task rewards and waiting incentives into a single scalar value using a hand-tuned weight ($\lambda$), they strictly prioritize the objectives:

  1. Primary Objective ($J^0$): Maximize expected task performance (e.g., success or speed).
  2. Secondary Objective ($J^1$): Minimize the number of times the policy is queried (maximizing waiting).

They introduce LQ-Learning (and its deep counterpart, LDQN), which maintains separate Q-estimates for both objectives. A crucial feature is a lexicographic tolerance parameter ($\sigma$), which prevents minor empirical inaccuracies in the task reward estimate from erroneously ruling out a highly efficient waiting action.

Additionally, the authors present a method to learn a Waiting Wrapper around a pre-trained, non-waiting base policy. This restricts the wrapper's action space to just two choices: let the base policy run, or wait.

Datasets

The approach was evaluated across a suite of simulated environments:

  • Discrete-State Household Tasks: Three variations of a cooking task (Cook, CookLonger, CookTwice) built using the overcooked-ai framework, and a Coffee brewing task implemented in a 2D MiniGrid gridworld.
  • Continuous-State Environments: Modified versions of Gymnasium's Pong (playing against a scripted opponent), MountainCar (where waiting inherently hinders performance, serving as a negative control), and CartPole.

Key Insights and Ideas

  • Bypassing Hyperparameter Sweeps: Standard multi-objective RL requires extensive hyperparameter tuning to find the right scalarization weight ($\lambda$) that balances task reward and penalty costs. The lexicographic approach completely eliminates this need by treating task performance as a strict priority.
  • Strategic vs. Naive Waiting: The agents don't just wait blindly. In the Cook environment, the optimal policy learns to fetch a dish while the soup is cooking, and then utilizes the remaining idle timesteps to wait. It dynamically balances active task progression with passive waiting.
  • The Power of the Wrapper: Training a waiting policy from scratch can be sample-inefficient. However, wrapping a pre-trained policy drastically reduces the required environmental interactions, making it highly practical for complex, real-world robotic deployments where a stable base policy already exists.

Key Results

  • Significant Resource Savings: Across multiple environments, the LQ-Learning/LDQN policies successfully learned to wait for extended periods without sacrificing task performance. In Pong and CartPole wrappers, the agents spent over 50% of the episode duration in a waiting state.
Figure 2: Empirical performance averaged over 1000 trajectories from the best trained policy of 10 random training seeds using LQ-Learning or LDQN. The bar segments show the proportion of timesteps spent waiting vs. actively engaging with the environment. Bar heights are normalized; the numbers within each segment denote the absolute number of timesteps and the number at the top denotes absolute episode length.
  • Sample Efficiency: In Pong, training a waiting wrapper converged in ~250k steps, compared to the >600k steps required to train a waiting policy from scratch.
  • Downstream Multitasking: As a proof of concept, the authors demonstrated policy interleaving. In the Coffee environment, the wrapper policy identified a 15-timestep waiting gap while the coffee brewed and successfully "filled it in" by executing an auxiliary policy to fetch sugar, reducing the total time required to complete both tasks.

Limitations and Future Work

  • Fully Observed Environments: The current framework assumes the agent can fully observe the environment state (e.g., explicitly reading the countdown timer on the stove). In partially observed settings, an agent would need internal memory or a belief model to know when to "wake up."
  • Sample Complexity from Scratch: While the wrapper method is highly efficient, learning a waiting policy from scratch remains sample-heavy. The authors suggest that integrating a model-based single-step dynamics predictor could accelerate training.
  • Simplified Multitasking: The policy interleaving case study relied on handwritten auxiliary policies with known execution durations. Developing an autonomous framework that learns to schedule and interleave arbitrary learned policies during waiting windows remains an open challenge.

Summary updated

BibTeX
@misc{watson2026let,
  author = {Christopher Watson and Arjun Krishna and Dinesh Jayaraman and Rajeev Alur},
  title = {{Let it Cook: Learning to Wait in Sequential Decision Making}},
  year = {2026},
  eprint = {2608.11511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.11511},
}
Figure