paper-with-me

Papers

ToolCaching: Towards Efficient Caching for LLM Tool-calling

2026-01-20 · Yi Zhai, Dian Shen, Junzhou Luo, Bin Yang arxiv

Recent advances in Large Language Models (LLMs) have revolutionized web applications, enabling intelligent search, recommendation, and assistant services with natural language interfaces. Tool-calling extends LLMs with the ability to interact with external APIs, greatly enhancing their practical utility. While prior research has improved tool-calling performance by adopting traditional computer systems techniques, such as parallel and asynchronous execution, the challenge of redundant or repeated tool-calling requests remains largely unaddressed. Caching is a classic solution to this problem, but applying it to LLM tool-calling introduces new difficulties due to heterogeneous request semantics, dynamic workloads, and varying freshness requirements, which render conventional cache policies ineffective. To address these issues, we propose ToolCaching, an efficient feature-driven and adaptive caching framework for LLM tool-calling systems. ToolCaching systematically integrates semantic and system-level features to evaluate request cacheability and estimate caching value. At its core, the VAAC algorithm integrates bandit-based admission with value-driven, multi-factor eviction, jointly accounting for request frequency, recency, and caching value. Extensive experiments on synthetic and public tool-calling workloads demonstrate that ToolCaching with VAAC achieves up to 11% higher cache hit ratios and 34% lower latency compared to standard policies, effectively accelerating LLM tool-calling in practical applications.

📄 PDF Abstract BibTeX arXiv:2601.15335

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks

2026-01-09 · Elias Lumer, Faheem Nizar, Akshaya Jangiti, Kevin Frank 외 arxiv

Recent advancements in Large Language Model (LLM) agents have enabled complex multi-turn agentic tasks requiring extensive tool calling, where conversations can span dozens of API calls with increasingly large context wi…

Stateful Inference for Low-Latency Multi-Agent Tool Calling

2026-05-25 · Victor Norgren arxiv

Multi-agent tool calling is becoming the dominant interaction pattern for LLM-based systems, yet existing inference frameworks treat each tool call as an independent request, re-processing the entire conversation from sc…

LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching

2024-06-10 · Simranjit Singh, Michael Fore, Andreas Karatzas, Chaehong Lee 외

As Large Language Models (LLMs) broaden their capabilities to manage thousands of API calls, they are confronted with complex data operations across vast datasets with significant overhead to the underlying system. In th…

Efficient Prompt Caching via Embedding Similarity

2024-02-02 · Hanlin Zhu, Banghua Zhu, Jiantao Jiao

Large language models (LLMs) have achieved huge success in numerous natural language process (NLP) tasks. However, it faces the challenge of significant resource consumption during inference. In this paper, we aim to imp…

Question Answering

The Bitter Lesson of Tool Calling

2026-08-06 · Ishan Patel, Sahil Sen, Elias Lumer, Vamse Kumar Subbiah arxiv

Tool use transforms LLMs into agents that act beyond their training data, and for code-capable models, programmatic tool calling extends this further by replacing rigid JSON calls with scripts that chain and parallelize …