TL;DR
This paper introduces IFRAgent, a novel framework that enhances mobile-use agents by learning from both explicit (step-by-step instructions) and implicit (user preferences and habits) human demonstrations. By analyzing these intention flows, IFRAgent personalizes agent behavior, significantly improving task completion and alignment with user intent, as validated on a new benchmark dataset, MobileIAR.
What Problem Does This Paper Address?
The increasing sophistication of multimodal large language models (MLLMs) has paved the way for mobile-use agents that can automate tasks by mimicking human interactions on smartphones. While "demonstration learning" has been used to train these agents from human examples, existing methods primarily focus on explicit instructions (e.g., sequences of actions). This overlooks crucial implicit user intentions, such as personal preferences and habits, which are vital for creating truly personalized agents. Without understanding these implicit cues, agents struggle to align with individual user needs, leading to a suboptimal user experience. Furthermore, there's a lack of standardized benchmarks to effectively measure this "intention alignment rate" between agents and users.
Methods
IFRAgent tackles these challenges with a two-phase framework:
- Intention Flow Extraction Phase:
- Explicit Intention Flow: The framework analyzes human demonstrations (queries and corresponding screenshots) to extract explicit instruction sequences and builds a "query-level vector library of standard operating procedures (SOPs)."
- Implicit Intention Flow: It simultaneously analyzes user behavior patterns and "unconscious habits" from these demonstrations to construct a "user-level habit repository."
- Deployment Phase:
- Personalized Query and SOP Generation: When a user issues a query, IFRAgent uses a SOP extractor and a knowledge distillation-trained query rewriter. This rewriter leverages the user's explicit SOP library and implicit habit repository to transform the ambiguous user query into a personalized query and a corresponding personalized SOP.
- Action Generation: The personalized query and SOP are then fed, along with the current screenshot, to the mobile-use agent to generate the final action.
This approach allows IFRAgent to act as a "plug-and-play" module, enhancing existing mobile-use agents without requiring fundamental architectural changes.
Datasets
- MobileIAR: The authors introduce a new dataset called MobileIAR, specifically designed to assess the "Intention Alignment Rate" (IAR) between mobile-use agents and humans. It includes 16 apps and 945 instructions across seven daily scenarios, providing both human-intent-aligned actions and ground-truth action lists. This dataset aims to fill the gap in benchmarks for user-specific intent alignment.
- OS-Kairos: A portion of the OS-Kairos dataset was adapted for generalizability experiments, simulating extraction of trajectories and manually annotating user-intent-aligned actions and ground-truth action lists for specific scenarios.
Key Insights and Ideas
- Implicit Intent is Key for Personalization: The core idea is that simply mimicking explicit steps isn't enough. True personalization in mobile agents hinges on understanding and acting upon a user's implicit preferences and habits.
- Dual-Flow Analysis: IFRAgent's strength lies in its ability to process both explicit (SOPs) and implicit (habits) intention flows simultaneously, creating a richer understanding of user intent.
- "Plug-and-Play" Enhancement: The framework is designed to be modular, meaning it can be integrated with various existing mobile-use agents to boost their performance without needing to retrain them from scratch.
- General-Domain Models Benefit Most: Larger, general-domain MLLMs (like GPT-40) show more significant improvements with IFRAgent compared to specialized mobile-use agents. This suggests that broad world knowledge aids in better understanding implicit user intent.
- Benchmark Necessity: The creation of MobileIAR highlights the critical need for better evaluation metrics and datasets that go beyond simple task completion to assess user-agent alignment.
Key Results
IFRAgent demonstrated significant improvements across various mobile-use agents:
- Intention Alignment Rate (IAR): An average relative improvement of 28.80% (absolute 6.56%) over baseline methods.
- Task Completion Rate (Step-wise Success Rate - SR): An average relative improvement of 24.20% (absolute 5.50%).
- Performance on General-Domain Models: Models like Qwen2.5-VL-7B and GPT-40 showed substantial gains, indicating IFRAgent's effectiveness in leveraging their inherent capabilities.
- Generalizability: IFRAgent proved effective on the adapted OS-Kairos dataset, showing consistent improvements.
- Efficiency: The additional time cost for IFRAgent during inference was minimal, highlighting its efficiency.
Limitations and Future Work
- Localization Dependency: The paper notes that IFRAgent's improvement is limited for agents that struggle with localization (e.g., those not well-integrated with OCR models), as IFRAgent itself doesn't provide localization information.
- Model Scale Impact: While IFRAgent improves agents across scales, the most significant gains were observed in medium-scale models (7B-32B). Very small models might lack sufficient instruction-following ability, and very large models might already possess strong inherent capabilities, leading to less pronounced relative improvements.
- Demonstration Count: The study found that while 1-shot demonstrations significantly boost performance, increasing the count beyond that yielded diminishing returns and potentially introduced irrelevant information. This suggests an optimal balance is needed.
- Future Work: The authors suggest that further research could explore how to integrate localization capabilities more directly or investigate optimal demonstration strategies for different agent scales. The creation of MobileIAR opens doors for more research into user-specific intent alignment.
Summary updated