AIJun 21, 2025

Beyond Syntax: Action Semantics Learning for App Agents

arXiv:2506.17697v11 citationsh-index: 12Has Code
Originality Highly original
AI Analysis

This addresses the robustness issue for App agents that operate smartphone apps, offering a more reliable solution compared to incremental syntax-based methods.

The paper tackles the problem of out-of-distribution vulnerability in fine-tuned App agents by proposing Action Semantics Learning (ASL), which focuses on capturing action semantics rather than exact syntax, resulting in significant improvements in accuracy and generalization on smartphone App operation benchmarks.

The advent 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 closed 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 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. With this insight, ASL employs a novel SEmantic Estimator (SEE) to compute a semantic reward to train the App agents in generating actions aligned with the semantics of ground truth actions, even when the syntactic forms differ. 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 on offline and online smartphone App operation benchmarks show that ASL significantly improves the accuracy and generalisation of App agents over existing methods.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes