2025-02-11 · 专家 · 自然语言处理 · 机器学习

Towards Internet-Scale Training For Agents

该论文提出了一种名为InSTA的自动化数据管道,通过语言模型生成、尝试和评估网络导航任务,以实现互联网规模训练智能体,从而提高训练效率和安全性。

更新于 2025-02-13。作者:Brandon Trabucco、Gunnar Sigurdsson、Robinson Piramuthu、Ruslan Salakhutdinov。

中文摘要

主要的网页导航代理训练方法是通过收集一系列热门网站的人类演示和手写任务,但越来越明显的是,人类数据是一种低效的资源。我们开发了一个流程,以简化代理的互联网规模训练,而无需繁琐的人类标注。在第一阶段,一个大型语言模型(LLM)为15万个多样化的网站生成任务。在第二阶段,LLM代理完成任务并产生轨迹。在最后阶段,一个LLM审查轨迹并判断其成功性。语言模型在人类标注者中具有竞争力,以97%的准确率检测和过滤有害内容,以89%的比率生成可行的任务,以82.6%的准确率判断成功的轨迹。通过扩展该流程,基于Llama 3.1 70B的代理解决了150k个网站中的16.7%的任务。在由我们的流程生成的数据上训练,其竞争力与在人类演示上训练相当。在由Mind2Web和WebLINX衍生出的数据有限的环境中,我们提高了训练了来自我们流程和人类数据混合的代理的步骤准确性,Mind2Web提高了+89.5%,WebLINX提高了+122.1%。当使用这些基准中所有可用的人类数据训练代理时,代理无法推广到多样化的真实网站,而添加我们的数据使它们的推广能力分别提高了WebLINX的+149.0%和Mind2Web的+156.3%。代码将在:data-for-agents.github.io上可用。

英文摘要

The predominant approach for training web navigation agents gathers human demonstrations for a set of popular websites and hand-written tasks, but it is becoming clear that human data are an inefficient resource. We develop a pipeline to facilitate Internet-scale training for agents without laborious human annotations. In the first stage, an LLM generates tasks for 150k diverse websites. In the next stage, LLM agents complete tasks and produce trajectories. In the final stage, an LLM reviews the trajectories and judges their success. Language models are competitive with human annotators, detecting and filtering out harmful content with an accuracy of 97%, generating feasible tasks with an 89% rate, and judging successful trajectories with an 82.6% accuracy. Scaling the pipeline, agents based on Llama 3.1 70B solve 16.7% of tasks for 150k sites. Training on the data generated by our pipeline is competitive with training on human demonstrations. In data-limited settings derived from Mind2Web and WebLINX, we improve Step Accuracy by up to +89.5% and +122.1% respectively for agents trained on mixtures of data from our pipeline, and human data. When training agents with all available human data from these benchmarks, agents fail to generalize to diverse real sites, and adding our data improves their generalization by +149.0% for WebLINX and +156.3% for Mind2Web. Code will be available at: data-for-agents.github.io.

解读

一句话总结

该论文提出了一种名为InSTA的自动化数据管道,通过语言模型生成、尝试和评估网络导航任务,以实现互联网规模训练智能体,从而提高训练效率和安全性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源