Cost-Efficient Serving of LLM Agents via Test-Time Plan Caching
원문 초록
LLM-based agentic applications have shown increasingly remarkable capabilities in complex workflows but incur substantial costs due to extensive planning and reasoning requirements. Existing LLM caching techniques (like context caching and semantic caching), primarily designed for serving chatbots, are insufficient for agentic applications where outputs depend on external data or environmental contexts. We propose agentic plan caching, a novel approach that extracts, stores, adapts, and reuses structured plan templates from planning stages of agentic applications across semantically similar tasks to reduce the cost of serving. Unlike traditional semantic caching, our system extracts plan templates from completed agent executions at test-time, employs keyword extraction to match new requests against cached plans, and utilizes lightweight models to adapt these templates to task-specific plans with contexts. Evaluation across multiple real-world agentic applications shows that our system can reduce costs by 46.62% on average while maintaining performance, offering a more efficient solution for serving LLM-based agents that complements existing LLM serving infrastructures.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
PSCon: Product Search Through Conversations
SEKE: Specialised Experts for Keyword Extraction
LLMs are Biased Evaluators But Not Biased for Retrieval Augmented Generation
Robust Privacy Amidst Innovation with Large Language Models Through a Critical Assessment of the Risks
An Improved Method for Class-specific Keyword Extraction: A Case Study in the German Business Registry
AnyTaskTune: Advanced Domain-Specific Solutions through Task-Fine-Tuning
토론
이 논문과 연결된 포럼 글이 아직 없습니다.