Speculative Actions: A Lossless Framework for Faster AI Agents

Naimeng Ye (PhD Student · Columbia), Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, Tianyi Peng

International Conference on Learning Representations 2026 · Oral

Overview

The presented work, "Speculative Actions: A Lossless Framework for Faster AI Agents," introduces a novel approach to significantly accelerate the execution of complex, long-horizon tasks performed by AI agents. Led by Naimeng Ye, a fourth-year PhD student at Columbia, and his collaborators, this research addresses a critical bottleneck in modern AI: the "time to action." As AI systems evolve from simple one-shot prediction models to sophisticated agents interacting sequentially with rich environments, the computational cost and latency associated with their decision-making processes have escalated dramatically, often extending to days for intricate tasks like auto-research.

Watch on SlidesLive

Visual summary for Speculative Actions: A Lossless Framework for Faster AI Agents by Naimeng Ye, Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, Tianyi Peng
Visual summary for Speculative Actions: A Lossless Framework for Faster AI Agents by Naimeng Ye, Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, Tianyi Peng

Key moments

  1. 0:00 Problem: Long execution time for AI agents
  2. 1:59 Introducing the speculative actions framework
  3. 2:20 Illustrating speculative actions with a chess example
  4. 4:00 Framework's versatility across diverse environments
  5. 5:59 Formal quantification of latency reduction
  6. 7:59 Analyzing the cost-latency tradeoff and token costs
  7. 9:59 Improving tradeoff with confidence-based branch selection
  8. 12:00 Q&A: Encouraging diversity in speculator output

Speculative Actions: A Lossless Framework for Faster AI Agents

Speakers: Naimeng Ye, PhD Student, Columbia; Arnav Ahuja; Georgios Liargkovas; Yunan Lu; Kostis Kaffes; Tianyi Peng

Conference: ICLR 2026

YouTube: https://slideslive.com/39062061

Overview

The presented work, "Speculative Actions: A Lossless Framework for Faster AI Agents," introduces a novel approach to significantly accelerate the execution of complex, long-horizon tasks performed by AI agents. Led by Naimeng Ye, a fourth-year PhD student at Columbia, and his collaborators, this research addresses a critical bottleneck in modern AI: the "time to action." As AI systems evolve from simple one-shot prediction models to sophisticated agents interacting sequentially with rich environments, the computational cost and latency associated with their decision-making processes have escalated dramatically, often extending to days for intricate tasks like auto-research.

This talk posits that the inherent sequential nature of agentic workflows—where an agent must await environmental updates before making its next move—is the primary cause of these prolonged execution times. Drawing inspiration from established systems concepts like speculation in computer architecture and speculative decoding in large language model (LLM) inference, the authors propose a unified framework designed to break this sequential dependency. Their Speculative Actions framework enables agents to reason about future steps in parallel, thereby reducing overall latency without compromising the correctness or "losslessness" of the final outcome.

The significance of this work lies in its broad applicability and formal rigor. Unlike prior attempts at speculative planning for agents, this framework is designed to accommodate a diverse array of environments and types of actions, ranging from LLM calls and tool invocations to even human responses. By offering a quantifiable model for latency reduction and an adaptive strategy for managing the inherent cost-latency tradeoff, "Speculative Actions" provides a crucial advancement for developing more responsive and efficient AI agents across various practical domains, from gaming and e-commerce to scientific discovery and operating system optimization.

Background

▶ Watch: Problem: Long execution time for AI agents (0:00)

The landscape of AI is rapidly shifting from isolated, single-query prediction tasks to dynamic, agentic workflows where AI systems interact iteratively with complex, evolving environments. This paradigm shift empowers AI to tackle more ambitious and open-ended problems, from multi-hop web searches and scientific experimentation to autonomous code generation and complex strategic games. However, this increased capability comes at a significant cost: the time required to complete these tasks. As tasks become more intricate and require deeper interaction with the environment, the "horizon" or the number of sequential decision-making rounds an agent must undertake expands dramatically. For instance, while some well-studied tasks might take 10-20 minutes, cutting-edge applications like auto-research can easily span several days to reach completion.

The core bottleneck responsible for this escalating execution time is the "time to action," which is fundamentally rooted in the sequential nature of most agentic decision-making. In a standard agent-environment interaction loop, the agent first observes the current state of the environment, then reasons about the optimal next action, and finally executes that action. Critically, it must then wait for the environment to update based on its action before it can observe the new state and begin reasoning about the subsequent step. This enforced waiting period, inherent in sequential processing, prevents parallelization and leads to cumulative delays over long interaction horizons.

To address this challenge, the authors draw upon the established concept of speculation, a technique widely used in computer systems to mitigate the costs of waiting. In computer architecture, speculative execution allows processors to proactively compute instructions that might be needed in the future, rolling back if the speculation proves incorrect. More recently, this principle has found success in the field of large language models through speculative decoding, where a smaller, faster model generates candidate tokens in parallel with a larger, slower model, validating them to accelerate inference. While acknowledging that prior work has explored speculation in agentic planning, this research distinguishes itself by aiming to develop a more unified and generally applicable framework. The key innovation is its flexibility to speculate on any type of action or decision point—not just LLM outputs, but also tool calls, Monte Carlo Policy (MCP) calls, or even anticipated human responses—making it a versatile solution for a broad spectrum of agentic applications and environments.

Key Findings

▶ Watch: Illustrating speculative actions with a chess example (2:20)

The "Speculative Actions" framework introduces several pivotal contributions and demonstrates significant advancements in accelerating AI agent performance:

  1. Lossless Latency Reduction through Parallel Speculation: The core finding is the development of a framework that fundamentally breaks the sequential decision-making bottleneck in AI agents. By employing a Speculator (a faster, less capable model) to generate multiple prospective actions in parallel with a Main Actor (a slower, more capable model), the system can pre-compute subsequent steps. This parallel reasoning, followed by a rigorous validation process against the Main Actor's eventual committed action, ensures that the framework is "lossless"—meaning the final outcome is identical to a non-speculative execution, but achieved in significantly less time.
  1. Unified and Environment-Agnostic Applicability: The research demonstrates that the concept of speculative actions is not confined to a specific domain or action type. It was successfully applied and analyzed across diverse environments including chess, e-commerce, multi-hop web search, and OS hyperparameter tuning. Crucially, the "object to speculate" varied significantly in each case (e.g., chess moves, API calls, search queries), proving the framework's versatility and its ability to unify speculative interaction across disparate setups.
  1. Formal Quantification of Latency Reduction: The authors provide a mathematical expression that formally quantifies the latency reduction achieved by the framework. This expression highlights that speedup is primarily influenced by three key factors: speculative breadth (K), which is the number of parallel speculations launched; P, the probability that any single speculation is correct; and the speed gap between the faster speculator and the slower actor. This formal characterization enables a principled understanding and optimization of the system's performance.
  1. Identification and Analysis of the Cost-Latency Tradeoff: A crucial finding is the explicit analysis of the inherent tradeoff between latency reduction and increased computational cost (e.g., token usage in LLM-driven agents). The framework achieves speedup by performing extra work in parallel, meaning the cost, particularly token cost, can grow almost linearly with speculative breadth (K). This formal analysis provides practitioners with the tools to balance performance gains against resource consumption.
  1. Introduction of Confidence-Based Branch Selection: To mitigate the cost-latency tradeoff, the framework introduces an adaptive policy called confidence-based branch selection. This mechanism allows the system to selectively continue with speculative branches only when the confidence in a particular speculation exceeds a predefined threshold. Empirical results in chess demonstrated that this approach can achieve comparable latency reductions while significantly reducing the expenditure of extra tokens, offering a more resource-efficient way to leverage speculation.
  1. Formal MDP Formulation for Execution Time: Beyond the practical findings, the paper introduces a formal Markov Decision Process (MDP) formulation that explicitly accounts for execution time as a critical dimension. This theoretical contribution aims to integrate execution time into the classical MDP framework, providing a more comprehensive model for analyzing and optimizing agent behavior in time-sensitive environments.

Technical Deep Dive

▶ Watch: Formal quantification of latency reduction (5:59)

The Speculative Actions framework is engineered to fundamentally address the sequential nature of AI agent decision-making by introducing parallel execution and anticipatory reasoning. At its core, the system operates with two primary components: a Main Actor and a Speculator.

The Main Actor represents the primary, highly capable decision-making entity of the agent. It is typically a slower, more resource-intensive model or a complex reasoning process that is responsible for making the final, correct decisions. In a non-speculative setting, the Main Actor observes the current environment state, reasons about the next action, commits to it, and then waits for the environment to update before repeating the cycle.

The Speculator, in contrast, is a faster, less resource-intensive, and typically less capable model or heuristic. Its role is to generate plausible future actions ahead of time. The efficiency of the Speculator is paramount, as its speed directly contributes to the overall latency reduction. However, a balance must be struck, as a significantly less capable Speculator might produce too many incorrect speculations, diminishing the benefits.

The operational flow of Speculative Actions unfolds as follows:

  1. Initial State and Main Actor Reasoning: The process begins with the Main Actor observing the current environment state and initiating its reasoning process to determine the optimal next action. This is the same process as in the non-speculative pipeline.
  1. Parallel Speculation: Concurrently with the Main Actor's reasoning, the Speculator is launched. It generates K potential speculative actions in parallel. This speculative breadth (K) is a configurable design choice, representing the number of parallel future paths the system explores. The object of these speculations is highly flexible; it can be an LLM call, a tool invocation, an API call, or even an anticipated human response, adapting to the specific agentic task.
  1. Pre-computation on Speculated States: For each of the K speculated actions, the environment is conceptually (or actually, if reversible) advanced to a candidate new state. Critically, the Main Actor then immediately begins reasoning about the next decision from each of these K candidate states. This means the actor is performing work that, in a non-speculative setting, would only commence after its first action was committed and the environment updated.
  1. Validation and Commitment: When the Main Actor finally completes its initial reasoning and commits to a specific, non-speculative action for the current step, a validation phase occurs. Each of the K speculative branches is checked against this committed action.
  • If a speculative action is correct (i.e., it matches or is sufficiently aligned with the Main Actor's committed action), the pre-computed reasoning for the subsequent step on that branch is kept. This is where the time savings are realized, as the agent effectively "jumps ahead" to a state where the next decision's reasoning has already begun.
  • If a speculative action is incorrect, the corresponding branch and all the pre-computed work on it are discarded. The framework is designed to be lossless, meaning that any discarded work has no impact on the final correctness of the agent's actions; the agent's behavior remains identical to a purely sequential execution. This requires that speculative actions either be reversible or have no irreversible side effects until validated.

The theoretical underpinning for latency reduction is captured by an expression that relates the speedup to K, P (the probability of a single speculation being correct), and the relative speed of the speculator to the actor. In an ideal scenario where the speculator takes virtually no time compared to the actor, the latency approaches 1 / (1 + PK), where PK is the probability that at least one of the K branches is correct. This formal characterization highlights key levers for optimization:

  • Speculative Breadth (K): Directly tunable. Increasing K generally improves the probability of a correct speculation (PK), leading to better latency reduction, but also linearly increases computational cost.
  • Speculation Accuracy (P): While not directly tunable, P can be indirectly influenced by the definition of "validity." In simple cases like chess, validity is binary. In complex scenarios like multi-hop web search, a programmatic verifier or even a smaller LLM-based verifier might be needed to determine if a speculative query is "useful" even if it doesn't perfectly match the actor's eventual choice.
  • Speculator Model Choice: Selecting a Speculator model involves a critical balance between its speed (often represented by an alpha term in formal models) and its alignment (accuracy P) with the Main Actor. A faster Speculator with reasonable accuracy maximizes throughput.

However, this speedup does not come without cost. The framework inherently involves performing extra work in parallel. For instance, if the non-speculative pipeline requires two actor calls, the speculative pipeline with K branches might require K+1 actor calls (one for each speculation plus the main actor's final decision). This leads to a cost-latency tradeoff, particularly in terms of token costs for LLM-based agents, which grows almost linearly with K.

To optimize this tradeoff, the authors propose confidence-based branch selection. Instead of always launching K branches, this adaptive policy only continues a speculative branch if the Speculator's confidence in that particular action exceeds a predefined threshold. This allows for achieving similar latency reductions with a more efficient use of resources, as fewer incorrect or low-confidence branches are pursued, thereby reducing wasted computation.

Finally, the paper delves into a formal MDP formulation that incorporates execution time as a fundamental dimension, aiming to provide a more rigorous theoretical foundation for analyzing and optimizing agent behavior in time-constrained environments. It also hints at a "depth-focused" version of speculation, moving beyond the breadth-focused approach primarily discussed, suggesting avenues for future exploration in multi-step speculative planning.

Experimental Setup & Results

▶ Watch: Analyzing the cost-latency tradeoff and token costs (7:59)

The effectiveness and generality of the Speculative Actions framework were demonstrated across a diverse set of environments, each presenting unique challenges and opportunities for speculation. While specific model architectures and detailed hardware configurations were not extensively elaborated in the talk, the principles and headline results highlight the framework's potential.

The primary environments used for evaluation included:

  1. Chess: This classic game served as a clear, interpretable environment where the validity of a "move" (the object of speculation) is unambiguous. The implementation in chess showed "noticeable time savings" with a "pretty reasonable hit accuracy" for the speculator. The experiments confirmed that increasing the speculative breadth (K) generally improved both latency reduction and hit accuracy, as expected. The speaker noted that the exact numerical improvements are highly specific to the chess setting and the particular model setup used, but the underlying principle is broadly applicable. This environment was also used to demonstrate the efficacy of confidence-based branch selection, where a 50% confidence threshold allowed the system to achieve "about the same latency reduction while spending fewer extra tokens," illustrating an improved cost-latency tradeoff.
  1. E-commerce: This environment was used to showcase the framework's adaptability to different types of speculative objects beyond simple game moves, implying actions like product recommendations, query refinements, or navigation steps.
  1. Multi-hop Web Search: A more complex scenario where the definition of a "correct" speculation becomes nuanced. Here, the framework demonstrated its flexibility by acknowledging that a speculator's query might not perfectly match the actor's eventual choice, but could still be "useful" if the subsequent speculative query is valid. This necessitated the use of more sophisticated validation mechanisms, such as a programmatic verifier or even a smaller LLM-based verifier, to assess the utility of a speculative branch.
  1. OS Hyperparameter Tuning: This environment introduced a unique aspect by relaxing the strict "losslessness" requirement. In this specific case, the speculator did not necessarily wait for validation from the actor, suggesting scenarios where immediate, irreversible actions might be acceptable if the potential for rollback or repair is limited, or if the cost of waiting is exceptionally high. This highlights the framework's ability to be adapted to different operational constraints.

Across these environments, the primary metrics for evaluation were latency reduction and token cost (representing computational expenditure). The formal expressions for these metrics, based on speculative breadth (K), individual speculation accuracy (P), and the speculator-actor speed gap, allowed for a principled analysis of the system's performance and tradeoffs. The ablations primarily involved varying the speculative breadth K and experimenting with different confidence thresholds for branch selection. While specific throughput numbers, GPU types, or detailed dataset characteristics were not explicitly provided in the talk, the qualitative results and the generalizability across domains underscore the framework's practical utility. The demonstration of improved cost-efficiency with confidence-based branch selection in chess serves as a concrete example of how the theoretical insights translate into tangible performance gains.

Practical Implications

▶ Watch: Q&A: Encouraging diversity in speculator output (12:00)

The Speculative Actions framework carries significant practical implications for various roles within the AI/ML ecosystem, offering a powerful paradigm for enhancing the efficiency and responsiveness of modern AI agents.

For practitioners and infrastructure teams, this framework provides a concrete strategy to combat the pervasive "time to action" bottleneck in complex agentic systems. By enabling parallel reasoning, it can drastically reduce the end-to-end execution time for tasks that currently take hours or even days, such as autonomous research, complex planning, or multi-step human-computer interaction workflows. This translates directly into faster iteration cycles, improved user experience, and more efficient utilization of computational resources, especially critical in real-time or near real-time applications. Infrastructure teams can leverage the formal cost-latency tradeoff analysis to make informed decisions about resource provisioning and scaling, balancing the desire for speed with the reality of computational budgets.

Model builders and researchers gain a flexible methodology for integrating different AI models to achieve optimal performance. The framework encourages a modular design where a highly capable, potentially large and slow, Main Actor is complemented by a faster, lighter-weight Speculator. This allows for the strategic deployment of specialized models: a robust, accurate model for core decision-making and a nimble, efficient model for anticipatory reasoning. The process highlights the importance of designing speculators that strike a balance between speed and alignment with the actor's decision-making logic. Furthermore, the need for intelligent verifiers in complex environments (e.g., programmatic or LLM-based for web search) opens new avenues for research into robust and efficient validation mechanisms.

For deployers and MLOps teams, the framework offers tunable parameters—specifically speculative breadth (K) and the confidence threshold for branch selection—that allow for adaptive optimization in production environments. Teams can dynamically adjust K based on current load, latency requirements, and cost constraints. The confidence-based selection mechanism is particularly valuable for deploying agents in cost-sensitive scenarios, enabling them to achieve desired latency reductions with fewer wasted computations. This flexibility is crucial for managing operational costs associated with API calls or GPU inference time for LLMs.

However, the framework also presents important tradeoffs and limitations that practitioners must carefully consider:

  1. Increased Computational Cost: The primary tradeoff is the inherent increase in computational resources (e.g., token usage, GPU cycles) due to parallel execution. While this is exchanged for latency reduction, it means higher operational costs if not managed effectively, especially for very large K.
  2. Irreversible Actions: A critical limitation is the assumption of reversibility or roll-forward repair for speculative actions. If a speculative action leads to an irreversible change in the environment (e.g., deleting a critical database entry, launching a physical drone), the lossless guarantee cannot be upheld without severe consequences. The framework is best suited for environments where actions can be easily undone, conceptually simulated, or where the "cost" of an incorrect speculation is low until validated.
  3. Complexity of Validation: In environments with ambiguous or subjective outcomes (e.g., "useful" web search results vs. "correct" chess moves), defining and implementing robust validation mechanisms (programmatic or LLM-based verifiers) can be non-trivial and may introduce its own overheads or potential for error.
  4. Speculator Design and Diversity: The performance hinges on the quality of the Speculator. A Speculator that consistently mispredicts or generates highly similar speculations will yield diminishing returns. Encouraging diversity in speculative outputs, perhaps by using multiple speculator models or advanced prompting techniques, is crucial for maximizing benefits, as highlighted in the Q&A.
  5. Overhead of Parallelism: While reducing overall latency, managing parallel execution, branch validation, and potential rollbacks introduces its own system-level complexity and overheads that must be accounted for in implementation.

Despite these considerations, Speculative Actions provides a powerful and principled methodology for accelerating AI agents, offering a valuable tool for building more responsive and efficient intelligent systems across a wide array of real-world applications.

Key Takeaways

  • The sequential nature of AI agent decision-making is a major bottleneck for complex, long-horizon tasks, leading to prohibitively long execution times.
  • Speculative Actions is a novel, lossless framework that breaks this sequential dependency by allowing agents to pre-compute and reason about future steps in parallel.
  • The framework is highly generalizable, applicable across diverse environments and types of actions, including LLM calls, tool invocations, and API calls.
  • Latency reduction is formally quantifiable, depending on factors like speculative breadth (K), speculation accuracy (P), and the speed differential between the speculator and actor.
  • There is an inherent cost-latency tradeoff, where increased parallel computation leads to higher resource expenditure, which can be mitigated by confidence-based branch selection.
  • A critical prerequisite for the lossless guarantee is that speculative actions must be reversible or have no irreversible side effects until validated.

About the Speaker(s)

Naimeng Ye is a fourth-year PhD student at Columbia University. His research focuses on developing innovative solutions to fundamental challenges in AI/ML systems, particularly those related to enhancing the efficiency and performance of AI agents in complex, interactive environments. He presented this joint work with Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, and Tianyi Peng.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026