MIRA: Empowering One-Touch AI Services on Smartphones with MLLM-based Instruction Recommendation

Zhipeng Bian, Jieming Zhu, Xuyang Xie, Quanyu Dai, Zhou Zhao, Zhenhua Dong · DOI · OpenReview

Abstract

The rapid advancement of generative AI technologies is driving the integration of diverse AI-powered services into smartphones, transforming how users interact with their devices. To simplify access to predefined AI services, this paper introduces MIRA, a pioneering framework for task instruction recommendation that enables intuitive one-touch AI tasking on smartphones. With MIRA, users can long-press on images or text objects to receive contextually relevant instruction recommendations for executing AI tasks. Our work introduces three key innovations: 1) A multimodal large language model (MLLM)-based recommendation pipeline with structured reasoning to extract key entities, infer user intent, and generate precise instructions; 2) A template-augmented reasoning mechanism that integrates high-level reasoning templates, enhancing task inference accuracy; 3) A prefix-tree-based constrained decoding strategy that restricts outputs to predefined instruction candidates, ensuring coherent and intent-aligned suggestions. Through evaluation using a real-world annotated datasets and a user study, MIRA has demonstrated substantial improvements in the accuracy of instruction recommendation.

Introduction

While the industry has pivoted toward the concept of "AI smartphones," the actual user experience often remains fragmented and manual. For instance, if a user receives a train ticket via a messaging app and wishes to add it to their calendar, they must typically perform optical character recognition (OCR), copy-paste specific details, and navigate through multiple application layers. Current Multimodal Large Language Models (MLLMs) are proficient at describing visual scenes but often struggle with the complex, multi-step reasoning required to map a visual "trigger"—such as a screenshot—to a precise system instruction. These models frequently hallucinate irrelevant actions or overlook subtle contextual details.

To bridge this gap, we present MIRA, a framework designed to turn a simple long-press into a shortcut for complex digital tasks. MIRA enables "one-touch" AI services by recommending contextually relevant tasks—such as booking travel or scheduling meetings—based on the immediate visual and textual context of the smartphone screen.

Methodology

MIRA incorporates three core innovations to ensure that instruction recommendations are reliable, accurate, and efficient enough for integration into a smartphone operating system.

1. Structured Chain-of-Thought (CoT) Reasoning

Rather than attempting to map a trigger directly to a recommendation, MIRA employs a three-step internal logic process:

  • Entity Recognition: The model first extracts critical data points such as names, dates, and locations from the screen content.
  • Contextual Relevance Analysis: It then links these entities to potential user intents based on the current application context.
  • Instruction Generation: Finally, it synthesizes the inferred intent into a specific, actionable system command.

2. Template-Augmented Reasoning

To ground the model's logic and prevent "wandering" or hallucinated reasoning paths, MIRA utilizes a Reasoning Template Library. When a user triggers an action, the system generates an initial thought and retrieves the most similar high-level reasoning template via vector search. The model then "updates" its reasoning based on this expert-defined blueprint, ensuring the final instruction is grounded in logical precedents.

3. Prefix-Tree-Based Constrained Decoding

To ensure that the model only recommends valid, existing system functions, we implement a trie-based (prefix-tree) decoding strategy. This restricts the model’s output vocabulary at each step to only those tokens that form a valid predefined instruction. This prevents the generation of non-existent or nonsensical commands, ensuring that every recommendation is executable by the OS.

Dataset and Evaluation

We developed the MIRA Dataset to train and evaluate the framework, consisting of data from 1,000 smartphone users across diverse demographics. The dataset includes 4,952 training pairs and 956 testing pairs. Each sample was annotated by at least three users, achieving a high inter-annotator agreement (Cohen’s Kappa $\kappa = 0.85$). Additionally, we distilled a collection of approximately 80 high-level reasoning templates from the training data using Qwen2.5VL-Max to populate the Reasoning Template Library.

Key Results

MIRA was benchmarked against state-of-the-art models, including GPT-4V and Qwen2.5VL-Max. The results demonstrate significant advantages in both performance and efficiency:

  • Superior Accuracy: Utilizing a Qwen2.5VL-7B backbone, MIRA achieved an F1-score of 0.9121, notably outperforming GPT-4V, which scored 0.879.
  • Token Efficiency: MIRA required an average of only 116 tokens to reach a conclusion, compared to 817 tokens for GPT-4V. This reduction in overhead is critical for the latency and power constraints of on-device processing.
  • Ablation Success: The inclusion of template-augmented reasoning provided a 15% to 24% boost in F1-scores across various model sizes, confirming the value of "anchoring" MLLM reasoning.
  • User Validation: In a study involving 100 participants, MIRA’s recommendations achieved a 93-95% validity ratio, indicating that the suggestions consistently aligned with actual user needs.

Discussion and Future Work

MIRA represents a shift from traditional behavior-based recommendation to multimodal, context-driven intent inference. By treating the current screen state as the primary context, MIRA provides a more immediate and intuitive interface for AI services.

However, several challenges remain. Future iterations of MIRA will look to expand beyond text and images to incorporate audio (e.g., voicemails), video, and real-time sensor data like GPS. We also aim to address the "cold start" problem for the template library to better handle rare or novel tasks. Finally, given that MIRA processes sensitive screen content, implementing robust on-device inference and differential privacy remains a priority for real-world deployment.

Conclusion

MIRA demonstrates that a smaller, specialized 7B parameter model, when guided by structured reasoning and template-based anchoring, can outperform much larger general-purpose models in the specific domain of smartphone instruction recommendation. This framework offers a scalable and efficient path toward truly seamless "one-touch" AI interactions on mobile devices.

Summary updated

BibTeX
@misc{bian2025mira,
  author = {Zhipeng Bian and Jieming Zhu and Xuyang Xie and Quanyu Dai and Zhou Zhao and Zhenhua Dong},
  title = {{MIRA: Empowering One-Touch AI Services on Smartphones with MLLM-based Instruction Recommendation}},
  year = {2025},
  eprint = {2509.13773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.13773},
}
Figure