mlsanityData to 14 Oct 2026

Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translation

arXiv 2503.07826 ↗First posted 10 Mar 2025cs.CLcited by 37

On the map: LLM agents and tool use → Tool learning and function calling

also in 1 more
Abstract (arXiv)

Large language models (LLMs) have exhibited the ability to effectively utilize external tools to address user queries. However, their performance may be limited in complex, multi-turn interactions involving users and multiple tools. To address this, we propose Magnet, a principled framework for synthesizing high-quality training trajectories to enhance the function calling capability of large language model agents in multi-turn conversations with humans. The framework is based on automatic and iterative translations from a function signature path to a sequence of queries and executable function calls. We model the complicated function interactions in multi-turn cases with graph and design novel node operations to build reliable signature paths. Motivated by context distillation, when guiding the generation of positive and negative trajectories using a teacher model, we provide reference function call sequences as positive hints in context and contrastive, incorrect function calls as negative hints. Experiments show that training with the positive trajectories with supervised fine-tuning and preference optimization against negative trajectories, our 14B model, Magnet-14B-mDPO, obtains 68.01 on BFCL-v3 and 73.30 on ToolQuery, surpassing the performance of the teacher model Gemini-1.5-pro-002 by a large margin in function calling.

Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 28 of its 32 references that are in the map. First posted on arXiv 10 Mar 2025.

Builds on

28 of 32 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024Facilitating Multi-turn Function Calling for LLMs via Compositional Instruction Tuning16 Oct
  2. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Masking6 Oct
  3. 2024NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls4 Sep
  4. 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
  5. 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks27 Jun
  6. 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun
  7. 2024StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large Language Models12 Mar
  8. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  9. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  10. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 18

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  6. 2024Qwen2.5 Technical Reportcited by 4,942
  7. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  8. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
  9. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  10. 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 339
  11. 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 295
  12. 2023Self-Alignment with Instruction Backtranslationcited by 151
6 more
  1. 2022Learning by Distilling Contextcited by 138
  2. 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 111
  3. 2023Agent Lumos: Unified and Modular Training for Open-Source Language Agentscited by 72
  4. 2024Building Math Agents with Multi-Turn Iterative Preference Learningcited by 66
  5. 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 52
  6. 2024Better Alignment with Instruction Back-and-Forth Translationcited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 14; 2026: 23.

37 papers.

Sort:

By area:

  1. 2025APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplaycited by 167
  2. 2025A Survey of Context Engineering for Large Language Modelscited by 126
  3. 2025Nemotron-Research-Tool-N1: Exploring Tool-Using Language Models with Reinforced Reasoningcited by 68
  4. 2025Towards General Agentic Intelligence via Environment Scalingcited by 54
  5. 2026Unsafer in Many Turns: Benchmarking and Defending Multi-Turn Safety Risks in Tool-Using Agentscited by 30
  6. 2025Don't Just Fine-tune the Agent, Tune the Environmentcited by 19
  7. 2025LongFuncEval: Measuring the effectiveness of long context models for function callingcited by 18
  8. 2025LoopTool: Closing the Data-Training Loop for Robust LLM Tool Callscited by 17
  9. 2026EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RLcited by 14
  10. 2026Unlocking Implicit Experience: Synthesizing Tool-Use Trajectories from Textcited by 13
  11. 2025GTool: Graph Enhanced Tool Planning with Large Language Modelcited by 10
  12. 2025TURA: Tool-Augmented Unified Retrieval Agent for AI Searchcited by 6
25 more
  1. 2025Experience-Evolving Multi-Turn Tool-Use Agent with Hybrid Episodic-Procedural Memorycited by 6
  2. 2026AgentSkiller: Scaling Generalist Agent Intelligence through Semantically Integrated Cross-Domain Data Synthesiscited by 6
  3. 2025DRAGON: Domain-specific Robust Automatic Data Generation for RAG Optimizationcited by 5
  4. 2025PARL-MT: Learning to Call Functions in Multi-Turn Conversation with Progress Awarenesscited by 4
  5. 2025How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ-benchcited by 3
  6. 2026Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environmentscited by 3
  7. 2026UniToolCall: Unifying Tool-Use Representation, Data, and Evaluation for LLM Agentscited by 3
  8. 2026What Makes Good Agentic Data? An ACE Lens on Data Generation for LLM Agentscited by 3
  9. 2026MagicAgent: Towards Generalized Agent Planningcited by 2
  10. 2026RODS: Reward-Driven Online Data Synthesis for Multi-Turn Tool-Use Agentscited by 2
  11. 2025GOAT: A Training Framework for Goal-Oriented Agent with Toolscited by 1
  12. 2026Linguistic and Argument Diversity in Synthetic Data for Function-Calling Agentscited by 1
  13. 2026Beyond Accuracy: A Cognitive Load Framework for Mapping the Capability Boundaries of Tool-use Agentscited by 1
  14. 2026ToolWeave: Structured Synthesis of Complex Multi-Turn Tool-Calling Dialoguescited by 1
  15. 2026Scaling Agentic Capabilities via Grounded Interaction Synthesiscited by 1
  16. 2026Synthesize and Reward -- Reinforcement Learning for Multi-Step Tool Use in Live Environmentscited by 1
  17. 2026WeClawArena: An Auditable Sandbox and Benchmark for Cross-User Agents Collaboration and Security in Human-Centered Agent Networkscited by 1
  18. 2026Towards Better Agents for Multi-Turn User Interaction: The Next User Turn Is More Than Contextcited by 1
  19. 2026SAP: State-Guided Data Synthesis with Argument Provenance for Multi-Turn Tool Usecited by 1
  20. 2026D-CORE: Incentivizing Task Decomposition in Large Reasoning Models for Complex Tool Usecited by 0
  21. 2026PAUSE: A User-Centric Benchmark for Personal AI Assistants in Unified Service Environmentscited by 0
  22. 2026Data Turnstile: A Scalable Open Framework for Function-Calling Data Generationcited by 0
  23. 2026PROOF-Gen: From Optimized Data to Better Distillationcited by 0
  24. 2026Persistent Teacher Anchoring for Tool-Using Agentscited by 0
  25. 2026WEFT: Scaling Tool-Use Post-Training for General-Purpose Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025FunReason-MT Technical Report: Advanced Data Synthesis Solution for Real-world Multi-Turn Tool-use
  2. 2025DICE-BENCH: Evaluating the Tool-Use Capabilities of Large Language Models in Multi-Round, Multi-Party Dialogues
  3. 2024Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agents
  4. 2025A Survey on Multi-Turn Interaction Capabilities of Large Language Models
  5. 2024ToolFlow: Boosting LLM Tool-Calling Through Natural and Coherent Dialogue Synthesis
  6. 2025ToolMind Technical Report: A Large-Scale, Reasoning-Enhanced Tool-Use Dataset
  7. 2024Enhancing Function-Calling Capabilities in LLMs: Strategies for Prompt Formats, Data Integration, and Multilingual Translation
  8. 2025T1: A Tool-Oriented Conversational Dataset for Multi-Turn Agentic Planning