TL;DR
This paper introduces Speculative Interaction Agents, a framework that enables real-time, low-latency interactions for LLM agents executing complex, multi-turn tool workflows. By decoupling the agent's reasoning loop from external inputs (Asynchronous I/O) and executing read-only tools early based on partial information (Speculative Tool Calling), the method achieves up to 2.2× speedups across cloud and edge models with minimal impact on accuracy.
What Problem Does This Paper Address?
For voice-controlled AI assistants to feel natural, they must respond in less than one second. However, standard agentic workflows introduce massive latency: they wait for the user to finish speaking, generate a step-by-step chain of thought, invoke a tool, wait for the environment's response, and only then continue reasoning. This sequential bottleneck results in a high Time-to-First-Token (TTFT) and multi-second delays, making real-time interaction impossible.
While prior works have parallelized tool calls or allowed reasoning during tool execution, no single framework has unified asynchronous processing for both streaming user inputs and environment responses while safely handling the mistakes that naturally arise from acting on incomplete information.
Methods
The authors propose a system architecture consisting of two core components:
- Asynchronous I/O: This mechanism decouples the agent's internal reason-and-act thread from user and environment streams. Instead of blocking, the agent processes streaming text (e.g., from a speech-to-text engine) continuously. If new information arrives mid-generation, the system safely interrupts the LLM, injects the new context, and resumes reasoning.
- Speculative Tool Calling: To minimize latency, the agent generates tool calls based on partial inputs. Borrowing concepts from computer hardware memory systems, tools are classified into two categories:
- Safe (Read-Only): Tools with no side effects (e.g., searching a database) are executed immediately and speculatively.
- Unsafe (Write): Tools that irreversibly modify system state (e.g., sending an SMS) are buffered and held until a "commit point"—when the user finishes speaking and the plan is finalized.
If subsequent user input invalidates a speculative tool call, the agent can dynamically modify it or issue a special REMOVE ID. command to cancel it before execution.
For smaller edge-scale models (3B parameters) that struggle with these behaviors out-of-the-box, the authors developed a clock-based training methodology. This setup simulates streaming delays during Supervised Fine-Tuning (SFT) by translating time into token counts, teaching the model how to handle interruptions and correct its own speculative mistakes.
Datasets
The framework was evaluated using three datasets:
- HotpotQA: A benchmark requiring multi-hop search tool calls to answer complex questions.
- TinyAgent: A suite evaluating multi-step personal assistant workflows (e.g., managing meetings and contacts) in a local environment.
- Human Instructions Dataset (New): A newly introduced naturalistic evaluation dataset consisting of 177 valid real-world voice-assistant interactions. It features realistic speech disfluencies like filler words ("um", "yeah"), hesitations, and mid-utterance changes of mind. The dataset was transcribed via Deepgram, annotated using an LLM-as-a-judge pipeline, and human-verified.
Key Insights and Ideas
- Overlapping is Everything: Latency isn't just reduced by faster hardware, but by restructuring the interaction lifecycle. Overlapping the agent's reasoning with the user's ongoing speech drastically cuts down perceived latency.
- Hardware Concepts Map to AI Agents: Treating tool execution like CPU speculative execution—where reads are speculative but writes must be buffered until commit—provides a robust safety blueprint for real-time agents.
- Edge Models Need Explicit Training for Fluidity: While strong cloud models can handle speculative interaction using in-context learning, smaller 3B edge models completely fail without specialized SFT (SI-SFT) that explicitly exposes them to streaming interruptions and correction trajectories.
Key Results
The framework was tested on both cloud APIs and edge-scale models:
- Cloud APIs (OpenAI Realtime API): Achieved a 1.3× speedup on HotpotQA and a 1.7× speedup on TinyAgent out-of-the-box, with negligible drops in accuracy.
- Edge Models (Qwen2.5-3B & Llama-3.2-3B): When trained with the proposed Speculative Interaction SFT (SI-SFT), the models achieved 1.6× to 2.2× speedups across the benchmarks while maintaining accuracy close to the non-streaming baselines.
Limitations and Future Work
Despite strong performance on standard benchmarks, the authors note a significant performance gap when moving to the Human Instructions Dataset. Naturalistic speech (with hesitations and sudden changes of intent) caused accuracy to drop sharply for all models. Furthermore, edge models occasionally exhibited degenerative behaviors, such as generating repeated actions when faced with complex streaming inputs.
The authors conclude that future work should focus on developing more advanced model adaptation and fine-tuning strategies specifically tailored to handle the messy, unpredictable nature of human speech.
Summary updated