并非所有用户都会全盘托出:超越理想模拟用户训练使用工具的智能体
Not Every User Says It All: Training Tool-Using Agents Beyond Ideal Simulated Users
AI总结:
该研究针对使用工具的智能体训练中仅采用强模拟用户的问题,提出StaGPO方法,在ToolWOZ和tau2-bench上验证其能提升弱用户场景下的智能体性能,且可泛化到未见过的掩码率。
摘要:
使用工具的智能体几乎仅通过表述清晰所有细节的强模拟用户进行训练与评估,但真实用户往往能力更弱。我们通过掩码模拟用户回复中的句子构建弱用户,同时固定任务与用户知识,并在tau2-bench和ToolWOZ上交叉评估由强、弱用户训练的智能体。弱用户会降低所有策略的成功率,而使用弱用户训练并无帮助:无论通过固定掩码、混合数据还是课程学习,使用弱用户训练的策略在服务弱用户时,表现仅与强用户训练的策略在运行间噪声范围内相当,提示智能体多提问也无济于事。我们提出StaGPO(State-Grouped Policy Optimization,状态分组策略优化):智能体输出任务所需内容、缺失内容及填补方式,GRPO利用该状态比较达到相同情境的不同rollout轮次,分配步骤级信用。在小模型SFT冷启动后接RL的标准流程中,StaGPO让弱用户训练变得有用:在ToolWOZ上,使用弱用户训练的Qwen3.5-2B策略在弱用户场景下达到76.8%的成功率,为我们训练的所有Qwen3.5-2B策略中最高,较GRPO高4.8个百分点,较最强基线高2.8个百分点;其表现也较使用强用户训练的GRPO高5.4个百分点,且能泛化到未见过的掩码率;若改用强用户训练,其服务弱用户的表现至少与使用弱用户训练的GRPO相当。在tau2-bench上,其在弱用户场景下对两种模型均取得最高分数,Qwen3.5-4B的优势幅度较小。
英文摘要:
Tool-using agents are trained and evaluated almost exclusively with strong simulated users who state every detail clearly, yet real users are often weaker. We construct weak users by masking sentences of a simulated user's replies, holding the task and the user's knowledge fixed, and cross-evaluate agents trained with strong and weak users on tau2-bench and ToolWOZ. Weak users lower the success of every policy, and training with them does not help: no policy trained with weak users, through fixed masks, mixtures or a curriculum, serves weak users better than the strong-trained policy beyond run-to-run noise, and prompting the agent to ask more does not help either. We propose StaGPO (State-Grouped Policy Optimization): the agent writes what the task needs, what is missing and how it is being filled, and GRPO uses this state to compare turns of different rollouts that reach the same situation, assigning step-level credit. Within the standard recipe of a small SFT cold start followed by RL, StaGPO makes weak-user training useful: on ToolWOZ, the Qwen3.5-2B policy trained with weak users reaches 76.8% with weak users, the highest of any Qwen3.5-2B policy we trained, 4.8 points above GRPO and 2.8 above the strongest baseline; it is also 5.4 points above GRPO with strong users, and generalises to an unseen mask rate; trained with strong users instead, it serves weak users at least as well as GRPO trained with weak users. On tau2-bench it scores highest with weak users for both models, by a small margin for Qwen3.5-4B.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。