Lune

ICML2026Top-tier venue

AgentVocab: Structure-Aware Vocabulary Adaptation for Efficient LLM Agents

Kai Bian, Haosi Mo, Xuebo Liu, Shuangyong Song, Jing Li, Yongxiang Li, Min zhang, Xuelong Li

Abstract

Recent large language models (LLMs) have demonstrated strong capabilities across challenging tasks, enabling their widespread adoption in agentic systems that interact with external tools. In such deployments, however, LLMs are typically trained with general-purpose tokenizers designed for broad language coverage, while their usage is dominated by narrow, structured tool-calling interactions. This training–deployment mismatch leads to inefficient tokenization, where repetitive structural patterns and frequent semantic units in function calls are fragmented into long sequences of low-level tokens, increasing decoding overhead. To address this gap, we introduce AgentVocab\textbf{AgentVocab}, a structure-aware vocabulary adaptation framework for efficient LLM agents. AgentVocab derives specialized vocabulary entries from real tool-calling traces and adapts the model vocabulary to better reflect structural and semantic regularities, without task-specific schema engineering. Experiments on τ\tau-bench and τ2\tau^2-bench show that AgentVocab preserves tool-calling performance while reducing latency relative to the vanilla baseline by 17.7% and 19.5%, respectively. Our approach is orthogonal to existing fine-tuning and agent-training methods and integrates seamlessly into standard agent pipelines. Source code and models will be available at https://github.com/Starry-159/AgentVocab.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translation cites Toolformer: Language Models Can Teach Themselves to Use Tools
  • Executable Code Actions Elicit Better LLM Agents cites Toolformer: Language Models Can Teach Themselves to Use Tools
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on13

  1. Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu et al.NeurIPS 2023 · 5,989 citations
  2. Learning to Compress Prompts with Gist TokensJesse Mu, Xiang Li, Noah D. GoodmanNeurIPS 2023 · 488 citations
  3. Executable Code Actions Elicit Better LLM AgentsXingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang et al.ICML 2024 · 436 citations
  4. Getting the most out of your tokenizer for pre-training and domain adaptationGautier Dagan, Gabriel Synnaeve, Baptiste RozièreICML 2024 · 68 citations
  5. Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph TranslationFan Yin, Zifeng Wang, I-Hung Hsu, Jun Yan et al.ACL 2025 · 23 citations

Related papers

  1. Generalizable End-to-End Tool-Use RL with Synthetic CodeGymWeihua Du, Hailei Gong, Zhan Ling, Kang Liu et al.ICLR 2026 · 13 citations
  2. Towards General Agentic Intelligence via Environment ScalingRunnan Fang, Shihao Cai, Baixuan Li, Jialong Wu et al.ACL Findings 2026 · 1 citation
  3. Offline Training of Language Model Agents with Functions as Learnable WeightsShaokun Zhang, Jieyu Zhang, Jiale Liu, Linxin Song et al.ICML 2024 · 41 citations
  4. NaviAgent: Graph‑Driven Bilevel Planning for Scalable Tool OrchestrationYan Jiang, HAO ZHOU, Lizhong Gu, Tianlong Li et al.ICML 2026 · 1 citation
  5. Toolscaler: Scalable Generative Tool Calling via Structure-Aware Semantic TokenizationYunyue Su, Zhang Jinshuai, Bowen Fang, Wen Ye et al.EMNLP Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines