Breaking the Data Barrier -- Building GUI Agents Through Task Generalization
该论文通过在数据丰富的推理密集型任务中进行中期训练,提高了视觉语言模型(VLMs)在GUI任务中的泛化能力,有效解决了GUI代理数据稀缺的问题。
更新于 2025-04-15。作者:Junlei Zhang、Zichen Ding、Chang Ma、Zijie Chen、Qiushi Sun、Zhenzhong Lan、Junxian He。
中文摘要
图形用户界面(GUI)代理提供跨平台的解决方案,用于自动化复杂的数字任务,具有显著改变生产力工作流程的潜力。然而,它们的性能往往受到高质量轨迹数据稀缺的限制。为了解决这一限制,我们提出在专门的训练中期阶段,在数据丰富、推理密集型任务上训练视觉语言模型(VLMs),然后检验这些任务如何促进对GUI规划场景的泛化。具体来说,我们探索了一系列具有 readily available instruction-tuning data的任务,包括GUI感知、多模态推理和文本推理。通过在11个训练中期任务上的广泛实验,我们证明了:(1)任务泛化证明非常有效,在大多数设置中取得了显著的改进。例如,多模态数学推理使AndroidWorld的性能提高了绝对值6.3%。值得注意的是,仅文本的数学数据显著提升了GUI网络代理的性能,在WebArena上提高了5.6%,在AndroidWorld上提高了5.4%,这突显了从基于文本到视觉领域的显著跨模态泛化;(2)与之前的假设相反,GUI感知数据——之前被认为与GUI代理任务紧密相关且广泛用于训练——对最终性能的影响相对有限;(3)基于这些见解,我们确定了最有效的训练中期任务,并精心制作了优化的混合数据集,在WebArena上实现了绝对值8.0%的性能提升,在AndroidWorld上实现了12.2%的性能提升。我们的工作为GUI代理的跨域知识迁移提供了宝贵的见解,并为解决这一新兴领域的数据稀缺挑战提供了实用的方法。代码、数据和模型将在https://github.com/hkust-nlp/GUIMid上提供。
英文摘要
Graphical User Interface (GUI) agents offer cross-platform solutions for automating complex digital tasks, with significant potential to transform productivity workflows. However, their performance is often constrained by the scarcity of high-quality trajectory data. To address this limitation, we propose training Vision Language Models (VLMs) on data-rich, reasoning-intensive tasks during a dedicated mid-training stage, and then examine how incorporating these tasks facilitates generalization to GUI planning scenarios. Specifically, we explore a range of tasks with readily available instruction-tuning data, including GUI perception, multimodal reasoning, and textual reasoning. Through extensive experiments across 11 mid-training tasks, we demonstrate that: (1) Task generalization proves highly effective, yielding substantial improvements across most settings. For instance, multimodal mathematical reasoning enhances performance on AndroidWorld by an absolute 6.3%. Remarkably, text-only mathematical data significantly boosts GUI web agent performance, achieving a 5.6% improvement on WebArena and 5.4% improvement on AndroidWorld, underscoring notable cross-modal generalization from text-based to visual domains; (2) Contrary to prior assumptions, GUI perception data - previously considered closely aligned with GUI agent tasks and widely utilized for training - has a comparatively limited impact on final performance; (3) Building on these insights, we identify the most effective mid-training tasks and curate optimized mixture datasets, resulting in absolute performance gains of 8.0% on WebArena and 12.2% on AndroidWorld. Our work provides valuable insights into cross-domain knowledge transfer for GUI agents and offers a practical approach to addressing data scarcity challenges in this emerging field. The code, data and models will be available at https://github.com/hkust-nlp/GUIMid.
解读
一句话总结
该论文通过在数据丰富的推理密集型任务中进行中期训练,提高了视觉语言模型(VLMs)在GUI任务中的泛化能力,有效解决了GUI代理数据稀缺的问题。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:GUI代理在自动化复杂数字任务方面具有巨大潜力,但其性能往往受到高质量轨迹数据的稀缺性限制。
- 现有方案不足:现有的视觉语言模型(VLMs)缺乏可靠性和稳定性,在GUI任务上的性能不佳,且缺乏高质量GUI轨迹数据。
- 研究目标:通过中期训练增强VLMs的GUI任务能力,以解决数据稀缺问题。
问题2:论文的核心创新点是什么?
- 技术创新:提出在中期训练阶段使用数据丰富的推理密集型任务来训练VLMs,以增强其泛化能力。
- 方法改进:通过中期训练,探索了包括GUI感知、多模态推理和文本推理在内的多种任务。
- 优势:显著提高了GUI代理的性能,实现了跨模态泛化。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在11个中期训练任务上进行广泛实验,包括AndroidWorld和WebArena。
- 性能提升:多模态数学推理在AndroidWorld上提高了6.3%,纯文本数学数据在WebArena和AndroidWorld上分别提高了5.6%和5.4%。
- 对比结果:与仅进行GUI轨迹数据微调的模型相比,中期训练显著提高了性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:GUI代理在自动化复杂数字任务方面具有广泛的应用,如个人助理、自动化办公等。
- 实施建议:建议在GUI代理训练过程中引入中期训练阶段,以提高其性能和泛化能力。
- 局限与展望:尽管中期训练显著提高了GUI代理的性能,但仍存在一些局限性,如中期训练数据的选取和模型复杂度等。未来研究方向包括探索更有效的中期训练数据和改进模型结构。