arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.17697cs.AI
收藏

超越语法:面向应用代理的动作语义学习

Beyond Syntax: Action Semantics Learning for App Agents

University of Oxford(牛津大学);Queen Mary University of London(伦敦玛丽女王大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University College London(伦敦大学学院)

Bohan Tang, Dezhao Luo, Jianheng Liu, Jingxuan Chen, Shaogang Gong, Jianye Hao, Jun Wang, Kun Shao

AI总结:

本文提出动作语义学习框架ASL,通过捕捉地面真实动作的语义来提升应用代理的准确性和泛化能力,克服了传统语法学习在分布外鲁棒性上的不足。

摘要:

近年来,大型语言模型(LLMs)的发展推动了应用代理的兴起,这些代理通过点击和滚动等操作解释用户意图并操作智能手机应用。尽管基于提示的解决方案在专有LLM API上表现出色,但它们带来了高昂的计算成本和外部API依赖。微调较小的开源LLMs可以解决这些限制。然而,当前的监督微调方法使用语法学习范式,迫使代理精确复制地面真实动作字符串,导致分布外(OOD)脆弱性。为填补这一空白,我们提出了动作语义学习(ASL),一种新的学习框架,其学习目标是捕捉地面真实动作的语义。具体而言,受编程语言理论的启发,我们将应用代理的动作语义定义为通过动作在用户界面中引起的态转换。基于这一见解,ASL采用了一种新颖的语义估计器(SEE)来计算语义相似性,以训练应用代理生成与地面真实动作语义一致的动作,即使其语法形式不同。SEE是一个灵活的模块,可以应用于监督和强化微调范式中。为了支持ASL的有效性,我们理论上证明了ASL在分布外问题上的鲁棒性优于现有语法学习范式。在多个离线和在线基准测试中,广泛实验表明,ASL在准确性和泛化能力方面显著优于现有方法。

英文摘要:

The recent development of Large Language Models (LLMs) enables the rise of App agents that interpret user intent and operate smartphone Apps through actions such as clicking and scrolling. While prompt-based solutions with proprietary LLM APIs show promising ability, they incur heavy compute costs and external API dependency. Fine-tuning smaller open-source LLMs solves these limitations. However, current supervised fine-tuning methods use a syntax learning paradigm that forces agents to reproduce exactly the ground truth action strings, leading to out-of-distribution (OOD) vulnerability. To fill this gap, we propose Action Semantics Learning (ASL), a novel learning framework, where the learning objective is capturing the semantics of the ground truth actions. Specifically, inspired by the programming language theory, we define the action semantics for App agents as the state transition induced by the action in the user interface. Building on this insight, ASL employs a novel SEmantic Estimator~(SEE) to compute a semantic similarity to train the App agents in generating actions aligned with the semantics of ground truth actions, even when their syntactic forms differ. SEE is a flexible module that can be applied in both supervised and reinforcement fine-tuning paradigms. To support the effectiveness of ASL, we theoretically demonstrate the superior robustness of ASL for the OOD problem compared with the existing syntax learning paradigm. Extensive experiments across multiple offline and online benchmarks demonstrate that ASL significantly improves the accuracy and generalisation of App agents compared to existing methods.

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

↑