Mobile AI Factory: Building Specialized Language Models for Your Mobile Device
Evan Li, Krishna Deshpande, Wen Cheng, Shyamnath Gollakota
Key points
From the paper's conclusion- We evaluate Mobile AI Factory on ten tasks and four Android phones.
Abstract
Small language models (SLMs) running on mobile devices can keep user data private and work without connectivity. But they perform well only when fine-tuned for the target task and sized for the target device, a process that today requires repeated expert tuning. We present {\it Mobile AI Factory}, an agentic system that builds a fine-tuned, quantized SLM for a given task and phone. Given a task specification and a target phone, an orchestrator LLM chooses whether to tune hyperparameters, mine real data, or generate synthetic examples, while fixed rules roll back changes that hurt accuracy. The factory searches from small to large models across base models and quantizations, adapts its accuracy goal as it searches, and uses real measurements of the target phone across inference engines and backends. We evaluate Mobile AI Factory on ten tasks and four Android phones. On an unseen testset, its on-device models outperform two five-shot frontier models on five tasks, by up to 0.34, and match them on three more. Its search comes within 0.03 of exhaustively training all 27 model variants on an entity extraction task, while using 19$\times$ less GPU time. Phone measurements also matter: the best configuration changes across phones. Without phone measurements, Claude Opus 5.5, given the full hardware and model specifications, misses the app's requirements in 25\% of easy and moderate cases and in 60\% of hard ones. Code is available at: https://github.com/evanly-gh/SLM_Factory.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- EngineAgent: Agentizing On-Device LLM Inference Engines with Inference Stack Hierarchy Awareness and Hardware AbilitiesarXiv · 2026
- AgentDP: Towards Automated Model Deployment for Heterogeneous Embedded AI ApplicationsarXiv · 2026
- Training Specialist LLMs on Your Phone: Forward-Only Optimization via Block-Spectral CoordinatesarXiv · 2026
- From Billion-Scale to Million-Scale Language Models: Operational Capabilities for Embedded Post-ExploitationarXiv · 2026
- Small Language Models: A Systematic Review of Architectures, Scaling, Applications, and DeploymentBig Data and Cognitive Computing · 2026
- MobiInfer: Accelerating On-Device GUI Agents with Workload-Aware InferencearXiv · 2026