Mobile AI Factory: Building Specialized Language Models for Your Mobile Device
Not on the map. Why?
Abstract (arXiv)
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× 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/SLMFactory.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 43 of its 65 references that are in the map. Submitted 10 Nov 2026.
Builds on
43 of 65 references.
References · 43
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,828
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 2,115
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,450
- 2023Large Language Models as Optimizerscited by 985
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 978
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 953
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
- 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 809
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 808
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 684
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 572
31 more
- 2018FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Searchcited by 493
- 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 489
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 459
- 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 404
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 382
- 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 290
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 281
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 172
- 2024A Note on Shumailov et al. (2024): `AI Models Collapse When Trained on Recursively Generated Data'cited by 123
- 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 111
- 2024AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoMLcited by 99
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?cited by 97
- 2020MNN: A Universal and Efficient Inference Enginecited by 71
- 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 70
- 2024Fast On-device LLM Inference with NPUscited by 70
- 2024Smaller, Weaker, Yet Better: Training LLM Reasoners via Compute-Optimal Samplingcited by 64
- 2024LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4, A Technical Reportcited by 51
- 2025LoopTool: Closing the Data-Training Loop for Robust LLM Tool Callscited by 23
- 2021LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Visioncited by 22
- 2023AdaptiveNet: Post-deployment Neural Architecture Adaptation for Diverse Edge Environmentscited by 20
- 2024MobileAIBench: Benchmarking LLMs and LMMs for On-Device Use Casescited by 17
- 2026FT-Dojo: Towards Autonomous LLM Fine-Tuning with Language Agentscited by 14
- 2025MNN-LLM: A Generic Inference Engine for Fast Large Language Model Deployment on Mobile Devicescited by 13
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 11
- 2025Towards Active Synthetic Data Generation for Finetuning Language Modelscited by 8
- 2026VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?cited by 7
- 2026Skilled AI Agents for Embedded and IoT Systems Developmentcited by 6
- 2026Exploring Autonomous Agentic Data Engineering for Model Specializationcited by 5
- 2025MobileFineTuner: A Mobile-Native Framework for On-Device LLM Fine-Tuning in Real-World Embedded AI Applicationscited by 4
- 2026Pioneer Agent: Continual Improvement of Small Language Models in Productioncited by 4
- 2026Is Your NPU Ready for LLMs? Dissecting the Hidden Efficiency Bottlenecks in Mobile LLM Inferencecited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025MobileLLM-Pro Technical Report
- 2026SchemaWeaver: Accelerating On-Device Mobile Agentic AI via Schema-Guided Parallel LLM Decoding
- 2025AndroidGen: Building an Android Language Agent under Data Scarcity
- 2023LinguaLinked: A Distributed Large Language Model Inference System for Mobile Devices
- 2023A Performance Evaluation of a Quantized Large Language Model on Various Smartphones
- 2026The Battery Price of edge AI: A study of the Environmental Impact of LLM Inference on Mobile Devices
- 2026EdgeFlow: Fast Cold Starts for LLMs on Mobile Devices ↗
- 2023Revolutionizing Mobile Interaction: Enabling a 3 Billion Parameter GPT LLM on Mobile