Manuscript Offprint

arXiv:2611.12311

MNN-Pocket-0.3B Technical Report

MNN Team

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This technical report presents MNN-Pocket-0.3B, a compact 300M-parameter dense language model designed for efficient on-device deployment and supporting context lengths of up to 32K tokens. With an INT4 deployment footprint of only 173 MB and decoding throughput of up to 466 tokens/s on iPad Pro M5 (Metal), it can be seamlessly integrated into applications on edge devices such as smartphones and smart glasses.

MNN-Pocket-0.3B is developed through the co-design of its architecture, data, training pipeline, and inference system. Hardware-aware architecture selection and dependency-aware vocabulary pruning balance model capability with on-device memory and compute constraints. A four-stage pre-training pipeline covering approximately 4.1 trillion high-quality Chinese and English tokens equips the model with broad knowledge and reasoning capabilities. This is followed by a three-stage post-training pipeline comprising instruction fine-tuning, multi-teacher on-policy distillation, and quantization-aware training. Finally, hardware-specific optimizations in the MNN inference engine enable fast, memory-efficient inference and long-context processing.

Extensive evaluations demonstrate that MNN-Pocket-0.3B achieves frontier-level performance among models of comparable size, with particularly strong results in Chinese and English knowledge and reasoning, mathematics, coding, and instruction following. It consistently outperforms similarly sized open-source models and even surpasses several 0.5B-parameter models on instruction-following benchmarks.

We release MNN-Pocket-0.3B with open weights and ready-to-use MNN deployment packages. We hope it will provide a practical foundation for capable, responsive, and memory-efficient edge applications while advancing research and development in on-device language models.

Resources:

Figure

GitHub

Figure

Hugging Face

Figure

ModelScope

Figure

Figure 1 MNN-Pocket-0.3B Model Overview.

Contents

1 Introduction ..... 3
2 Architecture ..... 4
2.1 Design Objectives ..... 4
2.2 Scaling On-Device Dense Model ..... 4
2.3 Tokenizer Design ..... 5
3 Pre-Training ..... 6
3.1 Principles for On-device LLM Pre-training ..... 6
3.2 Multi-dimensional Pre-training Data Engineering ..... 6
3.3 Pre-training Recipe ..... 7
4 Post-Training ..... 8
4.1 Supervised Fine-Tuning (SFT) ..... 8
4.1.1 SFT Data Mixture ..... 8
4.1.2 SFT Loop Engine ..... 9
4.2 Multi-Teacher On-Policy Distillation ..... 10
4.2.1 Domain-Specialized Teachers and Routing ..... 10
4.2.2 GKD-Style OPD with Reverse KL ..... 10
4.2.3 Self-OPD with Quantization-Aware Training ..... 10
4.3 Non-Autoregressive Decision Modeling ..... 11
5 On-Device Inference and Deployment ..... 12
5.1 Efficient Inference with MNN ..... 12
5.2 On-Device Efficiency Evaluation ..... 12
5.3 Speculative Decoding ..... 13
6 Evaluation ..... 14
6.1 Experimental Setup ..... 14
6.2 Post-trained Model Results ..... 15
6.3 Pre-trained Model Results ..... 15
6.4 MOPD Training Gains ..... 16
7 Applications ..... 17
7.1 MNN-Pocket-0.3B for E-Commerce Review Opinion Mining ..... 17
7.1.1 Dataset and Training Setup ..... 18
7.1.2 Evaluation ..... 18
7.2 An Efficient On-Device Voice Assistant with MNN-Pocket-0.3B ..... 19
7.2.1 System Pipeline ..... 19
7.2.2 Evaluation ..... 20
8 Conclusion and Limitations ..... 21
9 Contributions and Acknowledgments ..... 21

References (40)