paper-with-me

홈 › Papers

SpecHop: Continuous Speculation for Accelerating Multi-Hop Retrieval Agents

2026-05-21 · Mehrdad Saberi, Keivan Rezaei, Soheil Feizi arxiv

Large language models increasingly use external tools such as web search and document retrieval to solve information-intensive tasks. However, multi-hop tool use in complex tasks introduces substantial latency, since the model must repeatedly wait for tool observations before continuing. We study how to accelerate such trajectories without changing the final trajectory the model would have taken without acceleration, assuming access to faster but less reliable speculator tools. We develop a theoretical framework for lossless speculation in multi-hop tool-use settings, characterizing the optimal achievable latency gain. We propose SpecHop, a continuous speculation framework that maintains multiple speculative threads, verifies predicted observations asynchronously as target tool outputs arrive, commits correct branches, and rolls back incorrect ones. This preserves accuracy while reducing wall-clock latency. We show that SpecHop can approach oracle latency gains with enough active threads. Empirically, on retrieval-augmented multi-hop tasks, SpecHop closely matches theoretical predictions and reduces latency by up to 40\% in some settings. Code: https://github.com/mehrdadsaberi/spechop

📄 PDF Abstract BibTeX arXiv:2605.21965

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Accelerating Retrieval-Augmented Language Model Serving with Speculation

2024-01-25 · Zhihao Zhang, Alan Zhu, Lijie Yang, Yihua Xu 외

Retrieval-augmented language models (RaLM) have demonstrated the potential to solve knowledge-intensive natural language processing (NLP) tasks by combining a non-parametric knowledge base with a parametric language mode…

Language ModelingLanguage ModellingmodelRetrieval

PipeInfer: Accelerating LLM Inference using Asynchronous Pipelined Speculation

2024-07-16 · Branden Butler, Sixing Yu, Arya Mazaheri, Ali Jannesari

Inference of Large Language Models (LLMs) across computer clusters has become a focal point of research in recent times, with many acceleration techniques taking inspiration from CPU speculative execution. These techniqu…

CPU

DualSpec: Accelerating Deep Research Agents via Dual-Process Action Speculation

2026-03-08 · Shuzhang Zhong, Baotong Lu, Qi Chen, Chuanjie Liu 외 arxiv

Large language model-based deep research agents have been increasingly popular for addressing long-horizon information-seeking tasks, but they often incur high end-to-end latency due to extensive reasoning and frequent t…

EntMTP: Accelerating LLM Inference with Entropy Guided Multi Token Prediction

2026-06-25 · Carrie Chen arxiv

Multi-token prediction has been shown to increase data density during training, improve downstream text-generation quality, and serves as the defacto approach for self-speculative decoding. Existing foundation and open s…

LogitSpec: Accelerating Retrieval-based Speculative Decoding via Next Next Token Speculation

2025-07-02 · Tianyu Liu, Qitan Lv, Hao Li, Xing Gao 외 arxiv

Speculative decoding (SD), where a small draft model is employed to propose draft tokens in advance and then the target model validates them in parallel, has emerged as a promising technique for LLM inference acceleratio…

Text Generation