TopoCurate:基于交互拓扑的工具使用代理训练建模
TopoCurate:Modeling Interaction Topology for Tool-Use Agent Training
AI总结:
TopoCurate通过交互拓扑建模提升工具使用代理训练效果,采用双选择机制优化SFT和RL性能。
摘要:
工具使用代理的训练通常依赖于结果导向的过滤:通过监督微调(SFT)对成功轨迹进行微调,通过强化学习(RL)对通过率筛选的任务进行训练。然而,这种范式忽略了交互动态:成功轨迹可能缺乏错误恢复或表现出冗余,而通过率无法区分结构上有信息的任务与简单任务。我们提出TopoCurate,一种交互感知的框架,将相同任务的多轮轨迹投影到统一的语义商拓扑中。通过合并等价的动作-观察状态,这种投影将分散的线性轨迹转化为一个结构化的流形,明确捕捉工具调用和环境响应如何驱动有效策略与失败模式之间的分歧。利用这种表示,我们引入了双选择机制:对于SFT,我们优先选择表现出反思恢复、语义效率和战略多样性的轨迹,以缓解协变量偏移和模式崩溃;对于RL,我们选择具有高错误分支比率和战略异质性的任务,最大化梯度信号与噪声比,以解决稀疏奖励设置中的信号消失问题。在BFCLv3和Tau2基准上的评估表明,TopoCurate在SFT和RL上分别比最先进的基线高出4.2%和6.9%。我们将在不久后发布代码和数据以供进一步研究。
英文摘要:
Training tool-use agents typically relies on outcome-based filtering: Supervised Fine-Tuning (SFT) on successful trajectories and Reinforcement Learning (RL) on pass-rate-selected tasks. However, this paradigm ignores interaction dynamics: successful trajectories may lack error recovery or exhibit redundancy, while pass rates fail to distinguish structurally informative tasks from trivial ones. We propose \textbf{TopoCurate}, an interaction-aware framework that projects multi-trial rollouts from the same task into a unified semantic quotient topology. By merging equivalent action-observation states, this projection transforms scattered linear trajectories into a structured manifold that explicitly captures how tool invocations and environmental responses drive the divergence between effective strategies and failure modes. Leveraging this representation, we introduce a dual-selection mechanism: for SFT, we prioritize trajectories demonstrating reflective recovery, semantic efficiency, and strategic diversity to mitigate covariate shift and mode collapse; for RL, we select tasks with high error branch ratios and strategic heterogeneity, maximizing gradient Signal-to-Noise Ratio to address vanishing signals in sparse-reward settings. Evaluations on BFCLv3 and Tau2 Bench show that TopoCurate achieves consistent gains of 4.2\% (SFT) and 6.9\% (RL) over state-of-the-art baselines. We will release the code and data soon for further investigations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。