Demystifying and Enhancing the Efficiency of Large Language Model Based Search Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Tiannuo, Yao, Zebin, Jin, Bowen, Cui, Lixiao, Li, Yusen, Wang, Gang, Liu, Xiaoguang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916742118244352
author Yang, Tiannuo
Yao, Zebin
Jin, Bowen
Cui, Lixiao
Li, Yusen
Wang, Gang
Liu, Xiaoguang
author_facet Yang, Tiannuo
Yao, Zebin
Jin, Bowen
Cui, Lixiao
Li, Yusen
Wang, Gang
Liu, Xiaoguang
contents Large Language Model (LLM)-based search agents have shown remarkable capabilities in solving complex tasks by dynamically decomposing problems and addressing them through interleaved reasoning and retrieval. However, this interleaved paradigm introduces substantial efficiency bottlenecks. First, we observe that both highly accurate and overly approximate retrieval methods degrade system efficiency: exact search incurs significant retrieval overhead, while coarse retrieval requires additional reasoning steps during generation. Second, we identify inefficiencies in system design, including improper scheduling and frequent retrieval stalls, which lead to cascading latency -- where even minor delays in retrieval amplify end-to-end inference time. To address these challenges, we introduce SearchAgent-X, a high-efficiency inference framework for LLM-based search agents. SearchAgent-X leverages high-recall approximate retrieval and incorporates two key techniques: priority-aware scheduling and non-stall retrieval. Extensive experiments demonstrate that SearchAgent-X consistently outperforms state-of-the-art systems such as vLLM and HNSW-based retrieval across diverse tasks, achieving up to 3.4$\times$ higher throughput and 5$\times$ lower latency, without compromising generation quality. SearchAgent-X is available at https://github.com/tiannuo-yang/SearchAgent-X.
format Preprint
id arxiv_https___arxiv_org_abs_2505_12065
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Demystifying and Enhancing the Efficiency of Large Language Model Based Search Agents
Yang, Tiannuo
Yao, Zebin
Jin, Bowen
Cui, Lixiao
Li, Yusen
Wang, Gang
Liu, Xiaoguang
Artificial Intelligence
Computation and Language
Information Retrieval
Machine Learning
Large Language Model (LLM)-based search agents have shown remarkable capabilities in solving complex tasks by dynamically decomposing problems and addressing them through interleaved reasoning and retrieval. However, this interleaved paradigm introduces substantial efficiency bottlenecks. First, we observe that both highly accurate and overly approximate retrieval methods degrade system efficiency: exact search incurs significant retrieval overhead, while coarse retrieval requires additional reasoning steps during generation. Second, we identify inefficiencies in system design, including improper scheduling and frequent retrieval stalls, which lead to cascading latency -- where even minor delays in retrieval amplify end-to-end inference time. To address these challenges, we introduce SearchAgent-X, a high-efficiency inference framework for LLM-based search agents. SearchAgent-X leverages high-recall approximate retrieval and incorporates two key techniques: priority-aware scheduling and non-stall retrieval. Extensive experiments demonstrate that SearchAgent-X consistently outperforms state-of-the-art systems such as vLLM and HNSW-based retrieval across diverse tasks, achieving up to 3.4$\times$ higher throughput and 5$\times$ lower latency, without compromising generation quality. SearchAgent-X is available at https://github.com/tiannuo-yang/SearchAgent-X.
title Demystifying and Enhancing the Efficiency of Large Language Model Based Search Agents
topic Artificial Intelligence
Computation and Language
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2505.12065