AgenticQwen:通过双数据飞轮训练小型代理语言模型以实现工业级工具使用
AgenticQwen: Training Small Agentic Language Models with Dual Data Flywheels for Industrial-Scale Tool Use
AI总结:
本文提出AgenticQwen模型,通过多轮强化学习在合成数据和有限开源数据上训练,结合推理强化学习和代理强化学习的双数据飞轮,提升工业场景下的多步骤推理和工具使用能力。
摘要:
现代工业应用日益要求语言模型具备代理能力,能够进行多步骤推理和现实世界中的工具使用。这些任务通常在严格成本和延迟约束下完成,因此小型代理模型具有高度吸引力。本文介绍AgenticQwen系列模型,通过多轮强化学习在合成数据和有限开源数据上训练。我们的训练框架结合推理强化学习和代理强化学习,利用双数据飞轮自动生成越来越具有挑战性的任务。推理飞轮通过学习错误来增加任务难度,而代理飞轮将线性工作流扩展为多分支行为树,更准确地反映现实世界应用的决策复杂性。我们验证了AgenticQwen在公开基准和工业代理系统中的表现。模型在多个代理基准上表现出色,并在我们的工业代理系统中,在搜索和数据分析任务上接近更大模型。模型检查点和部分合成数据:https://huggingface.co/collections/alibaba-pai/agenticqwen。数据合成和强化学习训练代码:https://github.com/haruhi-sudo/data_synth_and_rl。数据合成管道也整合到EasyDistill:https://github.com/modelscope/easydistill。
英文摘要:
Modern industrial applications increasingly demand language models that act as agents, capable of multi-step reasoning and tool use in real-world settings. These tasks are typically performed under strict cost and latency constraints, making small agentic models highly desirable. In this paper, we introduce the AgenticQwen family of models, trained via multi-round reinforcement learning (RL) on synthetic data and a limited amount of open-source data. Our training framework combines reasoning RL and agentic RL with dual data flywheels that automatically generate increasingly challenging tasks. The reasoning flywheel increases task difficulty by learning from errors, while the agentic flywheel expands linear workflows into multi-branch behavior trees that better reflect the decision complexity of real-world applications. We validate AgenticQwen on public benchmarks and in an industrial agent system. The models achieve strong performance on multiple agentic benchmarks, and in our industrial agent system, close the gap with much larger models on search and data analysis tasks. Model checkpoints and part of the synthetic data: https://huggingface.co/collections/alibaba-pai/agenticqwen. Data synthesis and RL training code: https://github.com/haruhi-sudo/data_synth_and_rl. The data synthesis pipeline is also integrated into EasyDistill: https://github.com/modelscope/easydistill.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。