paper-with-me

Papers

Tool-Schema Compression Enables Agentic RAG Under Constrained Context Budgets

2026-05-24 · Furkan Sakizli arxiv

Agentic RAG systems that equip language models with dozens to hundreds of tool definitions face a critical resource conflict: tool schemas consume the same context window needed for retrieval-augmented generation. We present the first systematic study of this tool-context trade-off, evaluating 14 models spanning 1.5B-32B local models plus one frontier API model across 6,566 controlled API calls at three context budgets (8K, 16K, 32K) with 28 tool definitions. Applying TSCG conservative-profile compression (44-50% schema token savings), we observe a binary enablement effect: at 8K tokens, JSON-schema tool definitions overflow the context window entirely, yielding near-zero EM (2.6% average), while compressed schemas restore RAG functionality with +20.5 pp average exact-match lift across all eight models (+24.7 pp among the six exhibiting full enablement). At 32K -- where both formats fit -- four of five tested models show delta <= 1 pp, confirming the effect is purely budget-driven. External validation on HotpotQA (50 multi-hop questions) shows +48 pp EM under the same overflow scenario. Frontier scaling tests demonstrate that JSON schemas overflow at ~494 tools while compressed schemas remain operational beyond 800 tools. Our results establish tool-schema compression as a necessary infrastructure layer for agentic RAG in constrained-context deployments. All code, data, and checkpoints are publicly available.

📄 PDF Abstract BibTeX arXiv:2605.26165

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TSCG: Deterministic Tool-Schema Compilation for Agentic LLM Deployments

2026-05-04 · Furkan Sakizli arxiv

Production agent frameworks (OpenAI Function Calling, Anthropic Tool Use, MCP) transmit tool schemas as JSON, a format designed for machine parsing, not for interpretation by language models. For small models (4B-14B), t…

Notation Matters: A Benchmark Study of Token-Optimized Formats in Agentic AI Systems

2026-05-28 · Lorenz Kutschka, Bernhard Geiger arxiv

Large language models in Agentic AI systems consume tool schemas and execution results and emit tool invocations as structured data. The default language for that exchange, JSON, was designed for application-to-applicati…

ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agents

2026-08-20 · Yichu Fang, Sitong Wei, Haozhe Hu, Xiaoyu Shen arxiv

Agentic language models repeatedly encode tool and skill schemas that recur across requests in different combinations and orders, preventing standard prefix caching from reusing their key--value (KV) states. We introduce…

From Queries to Insights: Agentic LLM Pipelines for Spatio-Temporal Text-to-SQL

2025-10-29 · Manu Redd, Tao Zhe, Dongjie Wang arxiv

Natural-language-to-SQL (NL-to-SQL) systems hold promise for democratizing access to structured data, allowing users to query databases without learning SQL. Yet existing systems struggle with realistic spatio-temporal q…

NTILC: Neural Tool Invocation via Learned Compression

2026-06-04 · Andrew Krikorian, Yayuan Li, Jason J. Corso arxiv

Agentic tool-calling language models depend on large registries of callable APIs, functions, and local actions. Placing full tool specifications directly in the prompt incurs a cost that scales linearly with the size of …

Semantic Similarity