Web智能体的共生合作:发挥大小LLM的互补优势
Symbiotic Cooperation for Web Agents: Harnessing Complementary Strengths of Large and Small LLMs
AI总结:
提出AgentSymbiotic框架,通过耦合数据合成与任务性能,利用大型和小型LLM在轨迹生成与探索上的互补优势实现共生改进,并引入蒸馏创新和隐私保护机制,在WEBARENA基准上达到SOTA。
摘要:
由大型语言模型(LLM)驱动的Web浏览智能体在自动化复杂的基于Web的任务中展现出了巨大潜力。现有方法通常依赖大型LLM(如GPT-4o)探索Web环境并生成轨迹数据,随后将其用于演示检索(供大型LLM使用),或在探索过程保持解耦的情况下蒸馏小型LLM(如Llama3)。本文提出AgentSymbiotic,这是一个将数据合成与任务性能相耦合的迭代框架,为大型和小型LLM实现“共生改进”。研究揭示了LLM类型间的互补动态:大型LLM擅长生成高质量轨迹用于蒸馏,而蒸馏后的小型LLM凭借其独特的推理能力,常选择偏离大型LLM的动作。这种分歧驱动了对新轨迹的探索,从而丰富了合成数据。然而,我们也观察到小型LLM的性能成为此迭代增强过程的瓶颈。为此,我们提出LLM蒸馏的两项创新:缓解off-policy偏差的推测性数据合成策略,以及旨在提升学生LLM推理能力的多任务学习方法。此外,我们引入隐私保护混合模式以解决用户隐私问题。在WEBARENA基准上评估,AgentSymbiotic在两种LLM类型上均达到SOTA性能。我们最佳的大型LLM智能体达到52%,超越此前最佳的45%;而8B蒸馏模型展现出具竞争力的49%,超过此前最佳的28%。代码将在论文被接收后发布。
英文摘要:
Web browsing agents powered by large language models (LLMs) have shown tremendous potential in automating complex web-based tasks. Existing approaches typically rely on large LLMs (e.g., GPT-4o) to explore web environments and generate trajectory data, which is then used either for demonstration retrieval (for large LLMs) or to distill small LLMs (e.g., Llama3) in a process that remains decoupled from the exploration. In this paper, we propose AgentSymbiotic, an iterative framework that couples data synthesis with task-performance, yielding a "symbiotic improvement" for both large and small LLMs. Our study uncovers a complementary dynamic between LLM types: while large LLMs excel at generating high-quality trajectories for distillation, the distilled small LLMs-owing to their distinct reasoning capabilities-often choose actions that diverge from those of their larger counterparts. This divergence drives the exploration of novel trajectories, thereby enriching the synthesized data. However, we also observe that the performance of small LLMs becomes a bottleneck in this iterative enhancement process. To address this, we propose two innovations in LLM distillation: a speculative data synthesis strategy that mitigates off-policy bias, and a multi-task learning approach designed to boost the reasoning capabilities of the student LLM. Furthermore, we introduce a Hybrid Mode for Privacy Preservation to address user privacy concerns. Evaluated on the WEBARENA benchmark, AgentSymbiotic achieves SOTA performance with both LLM types. Our best Large LLM agent reaches 52%, surpassing the previous best of 45%, while our 8B distilled model demonstrates a competitive 49%, exceeding the prior best of 28%. Code will be released upon acceptance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。