Beyond Syntax: Action Semantics Learning for App Agents

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Tang, Bohan, Luo, Dezhao, Liu, Jianheng, Chen, Jingxuan, Gong, Shaogang, Hao, Jianye, Wang, Jun, Shao, Kun
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913008594190336
author Tang, Bohan
Luo, Dezhao
Liu, Jianheng
Chen, Jingxuan
Gong, Shaogang
Hao, Jianye
Wang, Jun
Shao, Kun
author_facet Tang, Bohan
Luo, Dezhao
Liu, Jianheng
Chen, Jingxuan
Gong, Shaogang
Hao, Jianye
Wang, Jun
Shao, Kun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_17697
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Syntax: Action Semantics Learning for App Agents
Tang, Bohan
Luo, Dezhao
Liu, Jianheng
Chen, Jingxuan
Gong, Shaogang
Hao, Jianye
Wang, Jun
Shao, Kun
Artificial Intelligence
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.
title Beyond Syntax: Action Semantics Learning for App Agents
topic Artificial Intelligence
url https://arxiv.org/abs/2506.17697