pith. sign in

arxiv: 2503.07826 · v1 · pith:PIP4IVW4new · submitted 2025-03-10 · 💻 cs.CL

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

classification 💻 cs.CL
keywords functionmodelmulti-turntrajectorieslargenegativepositiveaddress
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Synthesize and Reward -- Reinforcement Learning for Multi-Step Tool Use in Live Environments

    cs.CL 2026-06 unverdicted novelty 6.0

    PROVE trains LLMs on multi-step tool calls using 20 live MCP servers with 343 tools, state-grounded synthesis, and adaptive efficiency rewards, delivering gains of up to 10.2 points on BFCL Multi-Turn and similar on o...

  2. EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL

    cs.CL 2026-05 unverdicted novelty 6.0

    EnvFactory automates synthesis of executable tool environments and natural multi-turn trajectories from authentic sources to enable efficient Agentic RL, delivering up to +15% gains on BFCLv3 with only 85 environments.

  3. A Comprehensive Survey of Self-Evolving AI Agents: A New Paradigm Bridging Foundation Models and Lifelong Agentic Systems

    cs.AI 2025-08 unverdicted novelty 5.0

    A comprehensive review of self-evolving AI agents that improve themselves over time, organized via a framework of inputs, agent system, environment, and optimizers, with domain-specific and safety discussions.