arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.04103cs.AIcs.LGstat.ML
收藏

如何训练你的LLM网络代理:一种统计诊断

How to Train Your LLM Web Agent: A Statistical Diagnosis

ServiceNow AI Research(ServiceNow人工智能研究);Mila-Quebec AI Institute(魁北克人工智能研究所);McGill University(麦吉尔大学)
Dheeraj Vattikonda, Santhoshi Ravichandran, Emiliano Penaloza, Hadi Nekoei, Megh Thakkar, Thibault Le Sellier de Chezelles, Nicolas Gontier, Miguel Muñoz-Mármol… 展开作者

Dheeraj Vattikonda, Santhoshi Ravichandran, Emiliano Penaloza, Hadi Nekoei, Megh Thakkar, Thibault Le Sellier de Chezelles, Nicolas Gontier, Miguel Muñoz-Mármol, Sahar Omidi Shayegan, Stefania Raimondo, Xue Liu, Alexandre Drouin, Laurent Charlin, Alexandre Piché, Alexandre Lacoste, Massimo Caccia

AI总结:

本文提出一种基于统计的计算分配方法,通过结合监督微调与基于策略的强化学习,有效提升LLM网络代理性能,减少计算成本,缩小与闭源模型的差距。

摘要:

基于LLM的网络代理最近取得了显著进展,但大部分进展发生在闭源系统中,扩大了与开源替代方案之间的差距。进展受到两个关键挑战的阻碍:首先,对单步任务的狭窄关注忽略了多步网络交互的复杂性;其次,训练基于LLM的网络代理需要高昂的计算成本。为了解决这个问题,我们提出了第一个基于统计的关于计算分配的LLM网络代理后训练研究。我们的方法采用两阶段流程,训练一个Llama 3.1 8B的学生模型通过监督微调(SFT)来模仿一个Llama 3.3 70B的教师模型,随后进行基于策略的强化学习。我们发现这个过程对超参数选择非常敏感,使全面扫描不切实际。为了不让其他人经历昂贵的试错,我们采样了1,370种配置,并使用自助法来估计有效的超参数。我们的结果表明,结合SFT与基于策略的RL在WorkArena和MiniWob++上均优于单独的方法。此外,这种策略只需要55%的计算量即可达到纯SFT在MiniWob++上的峰值性能,有效地推动了计算-性能帕累托前沿,并且是唯一能够缩小与闭源模型差距的策略。

英文摘要:

LLM-based web agents have recently made significant progress, but much of it has occurred in closed-source systems, widening the gap with open-source alternatives. Progress has been held back by two key challenges: first, a narrow focus on single-step tasks that overlooks the complexity of multi-step web interactions; and second, the high compute costs required to post-train LLM-based web agents. To address this, we present the first statistically grounded study on compute allocation for LLM web-agent post-training. Our approach uses a two-stage pipeline, training a Llama 3.1 8B student to imitate a Llama 3.3 70B teacher via supervised fine-tuning (SFT), followed by on-policy reinforcement learning. We find this process highly sensitive to hyperparameter choices, making exhaustive sweeps impractical. To spare others from expensive trial-and-error, we sample 1,370 configurations and use bootstrapping to estimate effective hyperparameters. Our results show that combining SFT with on-policy RL consistently outperforms either approach alone on both WorkArena and MiniWob++. Further, this strategy requires only 55% of the compute to match the peak performance of pure SFT on MiniWob++, effectively pushing the compute-performance Pareto frontier, and is the only strategy that can close the gap with closed-source models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑