← Latest papers
💻 computer science

Speculative Actions: A Lossless Framework for Faster Agentic Systems

This paper introduces "Speculative Actions," a lossless framework that accelerates agentic systems by using faster models to predict and parallelize likely future actions, achieving up to 20% latency reductions across diverse domains while providing a formal cost-latency analysis to optimize the tradeoff between speculation breadth and efficiency.

Original authors: Naimeng Ye, Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, Tianyi Peng

Published 2026-04-24
📖 5 min read🧠 Deep dive

Original authors: Naimeng Ye, Arnav Ahuja, Georgios Liargkovas, Yunan Lu, Kostis Kaffes, Tianyi Peng

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are playing a game of chess against a grandmaster who thinks incredibly deeply but very slowly. Every time it's your turn, you have to wait 10 minutes for them to make a move. While you wait, you just sit there, staring at the board, doing absolutely nothing.

Now, imagine you have a clairvoyant assistant sitting next to you. This assistant is much faster than the grandmaster, though not quite as perfect. While the grandmaster is still thinking, your assistant whispers, "I bet they will move their Knight here, or maybe their Bishop there."

Instead of just waiting, you immediately start preparing your counter-move for both of those possibilities. If the grandmaster actually moves the Knight, you are already ready to strike instantly. If they move the Bishop, you switch to your other plan. If they do something totally unexpected, you just discard your preparation and start fresh, losing only a tiny bit of time.

This is exactly what the paper "Speculative Actions" is about.

Here is the breakdown of their idea using simple analogies:

1. The Problem: The "Waiting Room" Bottleneck

Currently, AI agents (like chatbots that can book flights or play games) work in a strict line.

  • Step 1: The AI thinks.
  • Step 2: The AI asks a tool (like a search engine) for info.
  • Step 3: The AI waits for the tool to reply.
  • Step 4: The AI thinks again.

The problem is Step 3. The AI is often faster than the tools it uses. It spends a huge amount of time just sitting in a "waiting room" for the internet or a database to reply. This makes the whole process painfully slow.

2. The Solution: The "Guess-and-Go" Strategy

The authors propose a framework called Speculative Actions. They borrow an idea from computer chips (processors) that have been doing this for decades.

They split the AI's job into two roles:

  • The Actor (The Boss): This is the slow, super-smart, expensive AI. It makes the final, perfect decisions.
  • The Speculator (The Intern): This is a fast, cheap, slightly less smart AI. Its job is to guess what the Boss is going to do next.

3. How It Works (The Analogy)

Imagine you are ordering a complex meal at a fancy restaurant.

  • Without Speculation: You tell the waiter your order. The waiter walks to the kitchen, waits for the chef to cook, brings it back, and then you ask for dessert. You are stuck waiting at the table the whole time.
  • With Speculation:
    1. You tell the waiter your main course.
    2. The Speculator (Intern) immediately guesses, "The customer will probably want the chocolate cake for dessert."
    3. The Intern runs to the kitchen and starts prepping the cake while the main course is still cooking.
    4. Scenario A (The Guess was Right): The main course arrives, and you say "Chocolate cake!" The Intern hands it to you instantly. You saved 5 minutes!
    5. Scenario B (The Guess was Wrong): You actually wanted the fruit salad. No problem! The kitchen just throws away the prepped cake (or saves it for later) and starts the fruit salad. You didn't lose any time; you just wasted a tiny bit of prep effort.

4. Where They Tested It

The team tested this "Intern vs. Boss" system in four different worlds:

  • Chess: While the slow AI thinks about its move, the fast AI guesses what the opponent will do and starts planning the counter-move.
  • Shopping: While the AI waits for a database to check if an item is in stock, the fast AI guesses the customer wants to return an item and starts checking the return policy in advance.
  • Web Search: While waiting for a slow Wikipedia search, the fast AI guesses the answer and prepares the next search query.
  • Operating Systems: Here, they took a riskier approach (called "lossy"). The fast AI makes quick, temporary changes to the computer's settings to keep it running smoothly, and the slow AI fixes them later if they were wrong. This made the computer feel much snappier.

5. The Results

  • Speed: They reduced the waiting time by up to 20%. In some cases, the AI was able to guess the next step correctly 55% of the time.
  • Safety: The system is "lossless," meaning if the guess is wrong, the final result is exactly the same as if they had waited. It's like having a safety net.
  • Cost: They figured out the math to ensure they don't guess too much. If you guess 10 things at once, it might cost too much money. They found the "sweet spot" where you guess enough to save time but not so much that it costs a fortune.

The Big Takeaway

This paper teaches us that waiting is optional.

By using a fast, cheap "guessing" AI to do the heavy lifting while we wait for the slow, smart AI to finish its work, we can make AI agents feel instant and responsive, even when they are doing complex tasks that usually take hours. It turns "dead time" into "productive time."

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →