arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.12089cs.LG
收藏

元素排序对语言模型智能体性能的影响

The Impact of Element Ordering on LM Agent Performance

School of Computer Science(计算机学院);Carnegie Mellon University(卡内基梅隆大学)

Wayne Chi, Ameet Talwalkar, Chris Donahue

AI总结:

本研究发现元素排序对语言模型智能体性能影响显著,提出降维排序方法,结合UI元素检测模型应用于仅像素输入的OmniACT基准,任务完成量达此前最优水平两倍以上。

摘要:

能够在网页或桌面等虚拟环境中导航的语言模型智能体引发了研究热潮。为在这类环境中导航,智能体能从所呈现的各类元素(如按钮、文本或图像)的信息中获益。目前尚不清楚哪些元素属性对智能体性能影响最大,尤其是在仅提供图形表示(即像素)的环境中。本研究发现,元素呈现给语言模型的排序具有出人意料的显著影响——将网页中的元素顺序随机化,对智能体性能的削弱程度与从智能体状态表示中移除所有可见文本相当。网页本身具备元素的层级排序,但直接从像素解析元素时不存在这类排序。此外,实验表明,随着任务难度提升、模型更复杂,排序的影响会进一步增大。找到有效的排序方式并非易事。我们研究了多种元素排序方法在网页和桌面环境中的影响,发现降维方法能为仅基于像素的环境提供可行的排序方案。我们训练了一个UI元素检测模型从像素中提取元素,并将研究发现应用于仅能获取像素信息的智能体基准OmniACT。我们的方法平均完成的任务数量是此前最优方法的两倍以上。

英文摘要:

There has been a surge of interest in language model agents that can navigate virtual environments such as the web or desktop. To navigate such environments, agents benefit from information on the various elements (e.g., buttons, text, or images) present. It remains unclear which element attributes have the greatest impact on agent performance, especially in environments that only provide a graphical representation (i.e., pixels). Here we find that the ordering in which elements are presented to the language model is surprisingly impactful--randomizing element ordering in a webpage degrades agent performance comparably to removing all visible text from an agent's state representation. While a webpage provides a hierarchical ordering of elements, there is no such ordering when parsing elements directly from pixels. Moreover, as tasks become more challenging and models more sophisticated, our experiments suggest that the impact of ordering increases. Finding an effective ordering is non-trivial. We investigate the impact of various element ordering methods in web and desktop environments. We find that dimensionality reduction provides a viable ordering for pixel-only environments. We train a UI element detection model to derive elements from pixels and apply our findings to an agent benchmark--OmniACT--where we only have access to pixels. Our method completes more than two times as many tasks on average relative to the previous state-of-the-art.

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

↑