K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

DART-SD: Diamond-topology Aware Retrieval and Tuning for Self-Distillation of Multi-Turn Tool-Calling Agents

arXiv:2608.185242026-08-20

训练会调用工具的AI智能体时,只精准修正它出错的那一步,效果比让它整段照抄答案还好

当一个任务包含多个可以按任意顺序完成的子目标时,正确的解法会形成一个分叉又汇合的菱形结构,但传统训练方法强迫模型死记硬背单一路径,连学生模型自己摸索出的有效替代路径也一并被惩罚。DART-SD的做法是把老师模型成功和失败的尝试都整理成一张图,找出学生失败的尝试究竟是从哪一步开始偏离了还能成功的区域(称为CTB),然后只针对这一步之后的恢复过程进行训练。在Qwen3-4B和Qwen3-8B两种规模上测试,该方法在五个工具使用基准上全面超过了现有的监督学习和强化学习方法,部分指标上甚至超过了教师模型本身。

METAL MEDIA 解读图

训练会调用工具的AI智能体时,只精准修正它出错的那一步,效果比让它整段照抄答案还好

  1. 01问题所在:包含多个可任意顺序完成的子目标的任务,其正确解法会构成分叉再汇合的菱形结构,但传统的监督微调和GRPO式强化学习都把它压平成单一线性路径,错误地惩罚了学生模型自己找到的有效替代路径
  2. 02方法:将教师模型的成功和失败尝试构建成一张交互状态转移图(ISTG),把学生失败的尝试映射到这张图上,找出它最早偏离仍可能成功区域的那个点(称为CTB),只对这个点之后生成的恢复内容计算训练损失,并反复多轮迭代进行
  3. 03验证:在FTRL数据集上训练,在FTRL、BFCL、ToolHop、τ-bench、RoTBench五个基准上评测,在Qwen3-4B和Qwen3-8B两种规模的模型上,该方法整体优于现有蒸馏方法(SCoRe-SFT、OPSD)和强化学习方法(FTRL-GRPO、ToolRL、MatchTIR)
  4. 04效率提升:随着训练轮次增加,成功轨迹的平均工具调用次数从4.23次降到3.55次,同时任务成功率持续提升,最终比人工构建的参考答案(平均4.02次)还要简洁;学生模型首次出错的位置(CTB)也随训练逐渐后移,说明其能可靠完成的步骤越来越长
  5. 05在指令遵循、数学推理、常识问答等通用能力测试中,平均得分从43.92提升到49.89,说明训练工具使用能力并未损害模型原有的其他能力
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 问题所在:包含多个可任意顺序完成的子目标的任务,其正确解法会构成分叉再汇合的菱形结构,但传统的监督微调和GRPO式强化学习都把它压平成单一线性路径,错误地惩罚了学生模型自己找到的有效替代路径
  2. 方法:将教师模型的成功和失败尝试构建成一张交互状态转移图(ISTG),把学生失败的尝试映射到这张图上,找出它最早偏离仍可能成功区域的那个点(称为CTB),只对这个点之后生成的恢复内容计算训练损失,并反复多轮迭代进行
  3. 验证:在FTRL数据集上训练,在FTRL、BFCL、ToolHop、τ-bench、RoTBench五个基准上评测,在Qwen3-4B和Qwen3-8B两种规模的模型上,该方法整体优于现有蒸馏方法(SCoRe-SFT、OPSD)和强化学习方法(FTRL-GRPO、ToolRL、MatchTIR)
  4. 效率提升:随着训练轮次增加,成功轨迹的平均工具调用次数从4.23次降到3.55次,同时任务成功率持续提升,最终比人工构建的参考答案(平均4.02次)还要简洁;学生模型首次出错的位置(CTB)也随训练逐渐后移,说明其能可靠完成的步骤越来越长
  5. 在指令遵循、数学推理、常识问答等通用能力测试中,平均得分从43.92提升到49.89,说明训练工具使用能力并未损害模型原有的其他能力
Table 1: Performance comparison of different training methods on five tool-use benchmarks using Qwen3-4B and Qwen3-8B backbones. Training-based baselines are organized into distillation-based ♠ and reinforcement learning ♢ paradigms. All trainable methods are trained on FTRL and evaluated on both the in-domain FTRL test set and four out-of-domain benchmarks. The best and second-best results within each backbone are highlighted.
MethodsFTRLBFCLToolHopτ-benchRoTBenchAvg.
Solve-PSolve-RSolve-F1Multi-TurnACPass^1TSPICF
Qwen3-4B
Base21.0026.5421.8110.1420.2015.1569.5226.3116.0725.19
♠ SFT34.2649.0237.9614.5740.5021.8271.6744.4024.4037.62
♠ SCoRe-SFT23.7928.2024.6112.7525.8311.5260.3631.1918.3326.29
♠ OPSD22.3729.2123.5011.0020.2023.0368.9335.2421.6728.35
♢ FTRL-GRPO36.8341.7137.8413.5029.2520.6170.3632.6220.2433.66
♢ ToolRL26.8933.2328.479.8820.6018.1869.6438.2124.0529.91
♢ MatchTIR (OT)23.5529.2724.9510.3826.2316.3672.0232.7420.3628.43
♢ MatchTIR (KM)25.5431.1026.5010.0026.6321.8272.0233.8121.4329.87
♠ DART-SD (Ours)36.7048.1639.7723.8842.1123.0372.0242.3824.5239.17
Qwen3-8B
Base21.1830.7123.4818.3828.5410.1375.5236.2922.1929.60
♠ SFT38.0850.9541.8919.2543.5226.0675.9548.8130.2441.64
♠ SCoRe-SFT31.2834.4831.5819.2530.2518.1870.3640.4824.5233.38
♠ OPSD24.3734.8826.6820.5041.1121.2175.2443.2127.3834.95
♢ FTRL-GRPO37.6645.4940.2235.2534.5723.0377.0242.7427.0240.33
♢ ToolRL32.4941.0735.0020.5044.7225.4575.7151.4333.1039.94
♢ MatchTIR (OT)29.4534.8930.6521.3838.7924.2475.0040.3625.3635.57
♢ MatchTIR (KM)33.0740.4235.3723.2541.7126.0675.7142.2626.9038.31
♠ DART-SD (Ours)42.0054.1345.6627.6345.0327.1275.8357.3835.4845.58
Table 2: Average tool-call length of successful trajectories across progressive SFT iterations on the FTRL test set. DART-SD progressively improves Solve-F1 while shortening its tool traces, eventually producing more efficient traces than the golden solutions given during data construction.
TaskDART-SDGolden
Iter1Iter2Iter3Iter4Iter5
Single1.231.151.101.091.071.00
Multi3.834.634.544.494.414.71
Para-Single3.292.652.272.262.222.11
Para-Multi7.256.485.975.825.626.97
Overall4.233.993.713.653.554.02
Solve-F140.3742.9543.7844.6745.66
Table 3: Average CTB positions of failed training trajectories across progressive SFT. Larger values indicate that the first departure from empirically recoverable behavior occurs later, meaning that the model correctly executes a longer trajectory prefix before localized recovery is required.
TaskCTB Position
Iter1Iter2Iter3Iter4Iter5
Single0.0340.1860.1370.2490.077
Multi0.5001.6241.7291.8761.953
Para-Single0.0950.2190.2990.3280.313
Para-Multi0.3951.5241.6921.7911.816
Overall0.3481.1851.3101.4211.452
Δ vs. Iter1+0.837+0.962+1.073+1.104
Table 4: Performance comparison under the thinking setting. Results are reported using FTRL Solve-F1, the average BFCL Multi-Turn score, and ToolHop AC.
MethodFTRLBFCLToolHop
Qwen3-8B29.7440.0042.21
FTRL-GRPO32.8541.5036.72
ToolRL26.7234.2532.93
MatchTIR (KM)37.3347.1346.16
DART-SD41.0349.7546.43
Table 5: General capability evaluation on representative benchmarks. The best results are highlighted.
MethodIFEvalAIME24AIME25MMLUAvg.
Qwen3-8B34.7546.6723.3370.9443.92
SFT35.3043.3326.6771.4344.18
DART-SD45.2950.0030.0074.2749.89
Table 6: Component ablation of DART-SD on the FTRL test set using Solve-P, Solve-R, and Solve-F1.
MethodSolve-PSolve-RSolve-F1
Qwen3-8B21.1830.7123.48
+SD36.2344.4638.10
+CTB36.6246.3239.51
+Progressive SFT41.3249.6543.93
+ISTG (Ours)42.0054.1345.66

为什么重要

这项工作说明,训练需要反复调用工具解决问题的AI智能体时,强迫模型死记硬背一条固定正确路径既低效,又可能破坏模型本身已有的有效解题方式。精准定位并只修正出错的那一步,为打造更小、更聪明、更高效的工具调用智能体提供了一条实用路径。

本文术语

  • 监督微调(SFT) · 让模型直接模仿给定示例答案的额外训练方式
  • GRPO · 一种利用奖励信号调整模型行为的强化学习方法
  • 交互状态转移图(ISTG) · 用节点表示已获取信息、记录工具调用过程的图结构
  • CTB(关键拓扑分歧点) · 学生模型尝试中首次偏离仍可能成功路径的那一个位置
  • 自我蒸馏 · 利用模型自己生成的结果重新训练自身的方法

无法转载的图表

  • Figure 1: Comparison of training paradigms. (a) SFT Teacher Boosting applies an indiscriminate global loss, which overwrites valid exploration. (b) Standard-RL (GRPO) misassigns credit through a uniformly distributed reward spread. (c) DART-SD dynamically identifies the Critical Topological Breakpoints (CTB) and applies localized correction while preserving valid exploration.
  • Figure 2: Overview of DART-SD. (1) DART-SD constructs an ISTG from teacher rollouts, where main and auxiliary nodes model information acquisition and useless exploration. (2–3) Failed student rollouts are collected and replayed in the same interaction-state space, then projected onto the budget-filtered success-reachable region ℛx+, where the first projectable-to-non-projectable transition defines the CTB. (4–5) Conditioned on the retained student prefix and privileged teacher references, DART-SD generates a recovery continuation after the CTB and applies localized supervision only to the generated assistant tokens. (6) This CTB-guided SFT loop is progressively repeated across self-distillation rounds.
  • Figure 3: Performance comparison of Qwen3-8B, DART-SD, and the teacher across five tool-use benchmarks. DART-SD improves upon Qwen3-8B on all benchmarks and surpasses the teacher on FTRL, ToolHop, and τ-bench.
在原文中查看图表 →

论文原文摘要(英文)

Equipping Large Language Models (LLMs) with multi-turn tool-calling capabilities is essential for building autonomous agents. However, progress is fundamentally limited by the reliance on full-length trajectory imitation. For tasks involving multiple order-independent sub-goals, the optimal solution space forms a vast combinatorial diamond lattice. Forcing this rich topology into monolithic trajectories causes a severe topological collapse, indiscriminately penalizing valid alternative explorations and severely degrading policy diversity. To address this, we propose DART-SD (Diamond-topology Aware Retrieval and Tuning for Self-Distillation), a novel framework that shifts the paradigm from global forcing to topology-guided localized correction. DART-SD first models the execution process as a converging Interaction-State Transition Graph (ISTG), faithfully capturing the inherent diamond topology of successful and failed exploratory paths. During autonomous rollouts, the framework identifies the Critical Topological Breakpoint (CTB) and retrieves success-supported recovery references. Finally, we introduce a progressive self-distillation paradigm through CTB-guided localized supervision, ensuring that the training loss is calculated exclusively on the generated recovery steps while strictly protecting the valid reasoning prefix from destructive gradient updates. Experiments on complex multi-turn tool-calling benchmarks demonstrate that DART-SD significantly outperforms traditional full-trajectory baselines.

作者 · Hangrui Xu, Jiarui Wang, Yang Yang, Chuanbo Zhu, Fangda Chen, Ziqi Wu, Jingming Cai, Yan Song

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道