大型语言模型(LLM)在操作计算机时,应主要依赖截图、结合无障碍树还是通过ID点击来感知屏幕,成为提升任务完成率的关键议题。根据Hacker News报道的一项研究显示,对于较弱的模型,引入无障碍树和ID点击能显著提升性能,但对于GPT-6.1 Sol等最强模型,纯截图方案已足够且表现更优 1。这一发现促使TREX团队采用了一种混合视觉策略:以截图为主要输入手段,当无障碍树可用时辅以ID点击进行元素定位,若不可用则回退至坐标点击 1。
实验数据进一步揭示了不同模型对视觉信息的依赖程度差异。在2024年的OSWorld基准测试中,人类完成率为72%,而当时最佳模型仅为12% 1。具体到OpenAI的模型系列,GPT-4.1在仅使用截图时的成功率低至5.4%,但最强的GPT-6.1 Sol达到了83.8% 1。相比之下,中等强度的GPT-5.2在引入无障碍树后,成功率从15.8%大幅提升至36.2%;若改为通过ID而非坐标进行点击,其成功率进一步提升至52.8% 1。然而,对于GPT-6.1 Sol而言,引入无障碍树反而使其成功率从83.8%微降至82.7% 1。此外,在处理高分辨率小目标的ScreenSpot-Pro基准测试中,即使是最强模型的准确率也仅为18.9%,凸显了当前技术面临的挑战 1。
Recent experiments exploring how large language models (LLMs) perceive computer interfaces indicate that the optimal visual strategy depends on model capability. In the 2024 OSWorld benchmark, humans achieved a completion rate of 72%, while the best models at that time reached only 12% 1. However, performance has improved significantly with newer iterations; GPT-6.1 Sol achieved an 83.8% success rate using screenshots alone, whereas GPT-4.1 managed just 5.4% under the same conditions 1. This suggests that for state-of-the-art models, pure screenshot input is sufficient and may yield better performance than more complex data structures 1.
In contrast, weaker models benefit from additional contextual information such as accessibility trees. When an accessibility tree was introduced, GPT-5.2’s success rate increased from 15.8% to 36.2% 1. Conversely, this addition slightly reduced performance for GPT-6.1 Sol, dropping its success rate from 83.8% to 82.7% 1. Further optimization by clicking via element IDs rather than coordinates boosted GPT-5.2’s success rate to 52.8% 1. These findings highlight a trade-off: structured data aids less capable models in navigating tasks, particularly in high-resolution scenarios where small targets are difficult to identify—the best model accuracy on the ScreenSpot-Pro benchmark remained at 18.9%—but it can hinder top-tier models that excel at pure visual interpretation 1.
To address these divergent needs, the TREX team implemented a hybrid visual strategy for their QA agent. The approach primarily relies on screenshots but utilizes accessibility tree data to enable clicks by ID when available, falling back to coordinate-based clicks if the accessibility tree is inaccessible 1.
评论
还没有评论,欢迎留下第一条。