SpecHop: Continuous Speculation for Accelerating Multi-Hop Retrieval Agents

Mehrdad Saberi, Keivan Rezaei, Soheil Feizi

TL;DR

Multi-hop LLM agents spend a massive chunk of their execution time idling while waiting for external tool responses, such as web searches or database retrievals. SPECHOP addresses this bottleneck by continuously speculating future reasoning hops in parallel using a fast, approximate speculator, then asynchronously verifying them against the ground-truth target tools. This continuous speculative execution reduces wall-clock latency by up to 40% while mathematically guaranteeing zero loss in task accuracy.

What Problem Does This Paper Address?

When large language models (LLMs) act as autonomous agents to solve complex, information-intensive tasks, they rarely generate answers in a single forward pass. Instead, they follow a multi-hop trajectory: generating a sub-query, calling an external tool (like a web search engine), waiting for the observation, and repeating this loop over multiple steps.

While external tools drastically expand an LLM's capabilities, they introduce a severe latency bottleneck. Because these trajectories are strictly sequential, the agent sits idle while waiting for network-bound tool responses. Recent profiling shows that in deep-research agents, web search can account for 73% to 91% of end-to-end latency. Prior attempts at "speculative actions" only guessed one hop ahead and stopped to wait for verification. The authors of this paper tackle a bigger question: How can we continuously speculate multiple hops ahead in a parallel pipeline without altering the agent's final output path?

Methods

The authors introduce SPECHOP, a continuous speculation framework designed for multi-hop tool use. Instead of a "stop-and-wait" approach, SPECHOP maintains a pipeline of up to $k$ active parallel speculative threads.

Here is how the pipeline works:

  1. Continuous Speculation: While the slow target tool ($\mathcal{T}$) is executing a query for the current hop, a fast, approximate speculator ($\mathcal{S}$) predicts the tool's output. The LLM immediately consumes this guess to generate the next sub-query and speculates the subsequent hop.
  2. Asynchronous Verification: As the slower ground-truth target tool responses gradually return, a deterministic, rule-based verifier ($\mathcal{V}$) checks the speculative guesses against the actual results.
  3. Commit or Rollback: If a speculation is verified as correct, the system commits that branch and shifts the speculative window forward. If verification fails, the system discards all downstream speculative work from that point and rolls back to resume execution from the last verified state.
Figure 1: Overview of SPECHOP with continuous speculative execution, maintaining k = 3 active threads on a query requiring 4 external calls. Initially, T1 calls the target tool for (a1, o1). In parallel, T2 speculates the first observation as ˆo1 and continues to the next hop, where it calls the target tool for (a2, o2); T3 is created similarly. When o1 returns, the verifier V compares it with ˆo1. Since verification fails, T2 and its downstream speculative thread T3 are discarded, and the method resumes from the last verified thread. The system then creates new speculative threads T4 and T5 while T1 waits for the target output of (a2, o2). When o2 returns, verification against ˆo2 from T4 succeeds, so the system commits to T4 and continues speculation with T6. Subsequent verifications also succeed: the system commits to T5 after o3 returns, and once o4 returns, T5 produces the final answer f. By keeping the pipeline active instead of waiting sequentially at each hop, SPECHOP reduces wall-clock latency while preserving the original verified trajectory.

The authors also provide a rigorous theoretical framework, proving that as the number of active threads $k \to \infty$, SPECHOP achieves the maximum possible latency reduction of an idealized oracle verifier.

Datasets

The framework was evaluated across three multi-hop question-answering benchmarks:

  • 2WikiMultihopQA: A dataset requiring multi-hop reasoning over Wikipedia articles.
  • MuSiQue: A challenging multi-hop QA dataset built via single-hop question composition.
  • DeepResearch-9K: A benchmark designed to simulate complex, deep-research agent workflows.

Key Insights and Ideas

  • Hiding Latency via Pipelining: Speculation doesn't have to be limited to a single step. By maintaining multiple concurrent branches, the system can completely hide the latency of slow external tools behind the generation time of subsequent hops.
  • The Power of Bounded Parallelism: You don't need infinite compute to reach optimal speedups. The authors mathematically characterize pipeline starvation and prove that under realistic network volatility, a small number of active threads (typically $k = 3$ to $6$) is sufficient to harvest near-oracle latency gains.
  • Speculators Don't Have to Be LLMs: While smaller LLMs (like Llama 3.1 8B or Qwen 3 8B) make great speculators, SPECHOP can also utilize a simple, highly sharded local document cache as a speculator to accelerate web search or full-scale retrievers.

Key Results

SPECHOP demonstrates substantial wall-clock speedups while strictly preserving the agent's original trajectory and accuracy (Exact Match and F1 scores remain virtually identical to standard sequential execution).

  • Up to 40% Latency Reduction: When using GPT-4o as a speculator for Web Search on 2WikiMultihopQA, SPECHOP achieved an empirical relative latency of 0.60 (a 40% time savings), closely matching the theoretical oracle limit of 0.50.
  • Compute-Latency Trade-off: Restricting the active window size ($k$) allows developers to balance speedups against API or compute costs. For instance, on DeepResearch-9K, setting $k=3$ captures a highly competitive relative latency of 0.75 compared to the $k \to \infty$ limit of 0.71.
Figure 2: The effect of active thread limit (k) on relative latency (RelLat) and computational cost (average number of calls to the target tool T , speculator S, and generator model M). The evaluation setting uses GPT-4o as the speculator (S) and Web Search as the target tool (T ). The dashed line is the theoretical optimal relative latency (RelLat∗). The “Standard” setting refers to not using SPECHOP. Additional trade-off results for other configurations are provided in Appendix (Figure 4).

Limitations and Future Work

  • Increased Computational Overhead: Because SPECHOP runs multiple speculative threads in parallel, it naturally increases the total number of model and tool calls. This makes it a trade-off: it optimizes for wall-clock latency at the expense of higher compute consumption.
  • Dependency on Speculator/Verifier Quality: The framework relies on the assumption that the speculator is significantly faster than the target tool, and that the verifier is computationally cheap. In domains where verifying an answer is as expensive as fetching it from the target tool, SPECHOP cannot provide a latency benefit.
  • Future Directions: The authors suggest exploring looser semantic verifiers that can maintain task accuracy while increasing the speculator's effective success rate ($p$).

Summary updated

BibTeX
@inproceedings{saberi2026spechop,
  author = {Mehrdad Saberi and Keivan Rezaei and Soheil Feizi},
  title = {{SpecHop: Continuous Speculation for Accelerating Multi-Hop Retrieval Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=iS6Bu6eqWc},
}
Figure