arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04607cs.OScs.AIcs.LG
收藏

从命令式到声明式:面向提升计算机使用代理的LLM友好操作系统接口

From Imperative to Declarative: Towards LLM-friendly OS Interfaces for Boosted Computer-Use Agents

Key Laboratory of System Software (Chinese Academy of Sciences)(中国科学院系统软件重点实验室);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Shanghai Jiao Tong University(上海交通大学);University of Chinese Academy of Sciences(中国科学院大学)

Yuan Wang, Mingyu Li, Haibo Chen

AI总结:

本文提出Declarative Model Interface (DMI),通过将传统GUI转化为三种声明式原语,提升LLM驱动的计算机使用代理的任务成功率和效率。

摘要:

计算机使用代理(CUAs)通过大型语言模型(LLMs)驱动,已成为自动化计算机任务的有前景方法,但现有面向人类的GUI接口迫使LLMs将高层目标分解为长且易出错的细粒度操作序列,导致低成功率和过多LLM调用。我们提出Declarative Model Interface(DMI),一种抽象,将现有GUI转换为三种声明式原语:访问、状态和观察,从而提供针对LLM代理的新型操作系统接口。我们的核心思想是策略-机制分离:LLMs专注于高层语义规划(策略),而DMI处理低层导航和交互(机制)。DMI不需要修改应用程序源代码或依赖应用程序编程接口(APIs)。我们评估了DMI在Windows上的Microsoft Office套件(Word、PowerPoint、Excel)上的表现。将DMI集成到领先的基于GUI的代理基线中,任务成功率提高了67%,交互步骤减少了43.5%。值得注意的是,DMI用单次LLM调用完成超过61%的成功任务。

英文摘要:

Computer-use agents (CUAs) powered by large language models (LLMs) have emerged as a promising approach to automating computer tasks, yet they struggle with the existing human-oriented OS interfaces - graphical user interfaces (GUIs). GUIs force LLMs to decompose high-level goals into lengthy, error-prone sequences of fine-grained actions, resulting in low success rates and an excessive number of LLM calls. We propose Declarative Model Interface (DMI), an abstraction that transforms existing GUIs into three declarative primitives: access, state, and observation, thereby providing novel OS interfaces tailored for LLM agents. Our key idea is policy-mechanism separation: LLMs focus on high-level semantic planning (policy) while DMI handles low-level navigation and interaction (mechanism). DMI does not require modifying the application source code or relying on application programming interfaces (APIs). We evaluate DMI with Microsoft Office Suite (Word, PowerPoint, Excel) on Windows. Integrating DMI into a leading GUI-based agent baseline improves task success rates by 67% and reduces interaction steps by 43.5%. Notably, DMI completes over 61% of successful tasks with a single LLM call.

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

↑