GRAFT: Graph-Tokenized LLMs for Tool Planning
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used to complete complex tasks by selecting and coordinating external tools across multiple steps. This requires aligning tool choices with subtask intent while satisfying directional execution dependencies among tools. To do this, existing methods model these dependencies as tool graphs and incorporate the graphs with LLMs through retrieval, serialization, or prompt-level injection. However, these external graph-use strategies all follow a matching paradigm, which often fails to align tool choices with the underlying subtask structure, producing semantically plausible plans that violate graph constraints. This issue is further exacerbated by error accumulation, where an early incorrect tool selection shifts the plan into an invalid graph state and causes subsequent predictions to drift away from the valid execution path. To address these challenges, we propose GRAFT, a graph-tokenized language model framework for dependency-aware tool planning. GRAFT internalizes the tool graph by mapping each tool node to a dedicated special token and learning directed tool dependencies within the representation space. It further introduces on-policy tool context distillation, training the model on its own sampled trajectories while distilling stepwise planning signals. Experiments show that GRAFT achieves state-of-the-art performance in exact sequence matching and dependency legality, supporting more reliable LLM tool planning in complex workflows.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 37 references that are in the map. First posted on arXiv 12 May 2026.
Builds on
32 of 37 references.
References · 32
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2023Mistral 7Bcited by 3,065
- 2015Trust Region Policy Optimizationcited by 2,503
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
- 2015Sequence Level Training with Recurrent Neural Networkscited by 568
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 386
- 2023GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructioncited by 245
20 more
- 2016Professor Forcing: A New Algorithm for Training Recurrent Networkscited by 214
- 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
- 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 164
- 2026On-Policy Context Distillation for Language Modelscited by 161
- 2026A Survey of On-Policy Distillation for Large Language Modelscited by 148
- 2023TaskBench: Benchmarking Large Language Models for Task Automationcited by 138
- 2024Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarioscited by 85
- 2023A Survey of Graph Meets Large Language Model: Progress and Future Directionscited by 84
- 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 72
- 2025AgentGym-RL: Training LLM Agents for Long-Horizon Decision Making through Multi-Turn Reinforcement Learningcited by 68
- 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 67
- 2024LLM With Tools: A Surveycited by 60
- 2023ControlLLM: Augment Language Models with Tools by Searching on Graphscited by 59
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 59
- 2024Can Graph Learning Improve Planning in LLM-based Agents?cited by 42
- 2024Graph-enhanced Large Language Models in Asynchronous Plan Reasoningcited by 37
- 2023Toolink: Linking Toolkit Creation and Using through Chain-of-Solving on Open-Source Modelcited by 29
- 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Errorcited by 19
- 2025GTool: Graph Enhanced Tool Planning with Large Language Modelcited by 7
- 2026Toward Graph-Tokenizing Large Language Models with Reconstructive Graph Instruction Tuningcited by 7
Built on by
Not cited yet.