NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Anytime Algorithms for Real-Time Deliberation

This direction is split into other directions: contract algorithm constraints, interruptible computation. Its last version stays readable and citable here.

Version 1 of 179 papers88 conceptsfrozen 2026-10-04

In traditional computer science, algorithms are often viewed as black boxes: you provide an input, the machine churns, and eventually, it produces an answer. This "batch" model assumes that time is a resource to be minimized, but not a constraint that might suddenly vanish. However, for an autonomous agent—like a robot navigating a busy intersection or a satellite managing its power grid—waiting for an exhaustive search to finish is often a luxury it cannot afford. If the algorithm is interrupted a second before completion, a traditional system might return nothing at all, leading to catastrophic failure.

The research direction of Anytime Algorithms addresses this by reimagining computation as a continuous process of refinement rather than an all-or-nothing event.

The Trade-off Between Thinking and Doing

The foundational tension in autonomous systems is the trade-off between "thinking" (deliberation) and "doing" (execution). In their seminal work, Thomas L. Dean and Mark S. Boddy identified that in dynamic environments, the utility of a decision depends not just on its mathematical optimality, but on when it is made An Analysis of Time-Dependent Planning.

An anytime algorithm is defined by two core properties:

  1. Interruptibility: It can be stopped at any moment to return a valid solution.
  2. Monotonicity: The quality of the output improves as more computation time is allocated.

This allows a system to balance the need for immediate reaction with the desire for high-quality planning. For instance, in Anytime Lane-Level Intersection Estimation, Annika Meyer demonstrates how a vehicle can provide a "good enough" estimate of road geometry in milliseconds, refining that estimate into centimeter-level precision if the traffic light stays red longer than expected.

From Contracts to Interruptibility

Many of our most powerful optimization tools—such as Dynamic Programming or Integer Linear Programming—are naturally contract algorithms. As Spyros Angelopoulos explains, these require a pre-specified execution time to produce any meaningful result Contract Scheduling with Predictions. If you ask a contract algorithm for a 10-second plan and interrupt it at 9 seconds, you typically get zero utility.

To bridge this gap, researchers use contract scheduling. By executing a sequence of contracts with increasing lengths (e.g., 1s, 2s, 4s...), a system can simulate anytime behavior. Stuart Russell 0001 and Shlomo Zilberstein formalized this composition, showing how complex real-time systems can be built from these interruptible building blocks Composing Real-Time Systems.

Modern advancements in this area, such as those by Spyros Angelopoulos 0001, focus on "learning-augmented" schedules. By using a probability distribution of when an interruption might occur, these systems can minimize the "performance loss factor"—the gap between the anytime result and what could have been achieved with perfect foresight of the deadline Contract Scheduling with Distributional and Multiple Advice.

Metareasoning: Thinking About Thinking

If an algorithm can provide better results over time, the next logical question is: When should we stop? This is the metareasoning problem. Eric Horvitz and John S. Breese framed this as an optimization of "expected value of computation" Ideal Partition of Resources for Metareasoning.

A metareasoner monitors the "performance profile" of an anytime algorithm—a curve showing how quality typically increases over time. It stops the computation at the exact moment when the cost of delaying action (e.g., the risk of a collision) outweighs the expected improvement in the plan's quality.

Applications Across Domains

The anytime philosophy has moved beyond simple path planning into diverse fields:

  • Data Mining: Algorithms like AnyCORE by Anna Beer allow for outlier detection and clustering on massive datasets where waiting for full convergence is impractical.
  • Knowledge Graphs: AnyBURL by Christian Meilicke uses anytime rule induction to provide human-readable explanations for predictions, reaching high accuracy very early in the search process.
  • Causal Discovery: Gal Novik introduced iterative methods that provide valid, albeit partial, causal insights even when interrupted A Single Iterative Step for Anytime Causal Discovery.
  • Ethical Reasoning: The Jiminy Advisor framework by Beishui Liao uses anytime argumentation to ensure autonomous systems can provide a safe, morally-aligned recommendation immediately, while continuing to deliberate on complex ethical nuances if time permits.

By treating computation as a flexible resource rather than a fixed requirement, anytime algorithms enable AI to operate robustly in a world that doesn't wait for the perfect answer.

Papers in this version

Showing 60 of 79 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_anytime_algorithms_for_real_time_deliber_9714dabb,
  title = {Anytime Algorithms for Real-Time Deliberation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anytime-algorithms-for-real-time-deliberation/rdr_9714dabb46e1421cbf9706e468e2441b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_anytime_algorithms_for_real_time_deliber_9714dabb_v1,
  title = {Anytime Algorithms for Real-Time Deliberation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anytime-algorithms-for-real-time-deliberation/rdr_9714dabb46e1421cbf9706e468e2441b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}