Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAs

Abdelrahman Abouelenin, Atabak Ashfaq, Adam Atkinson, Hany Awadalla, Nguyen Bach, Jianmin Bao, Alon Benhaim, Martin Cai, Vishrav Chaudhary, Congcong Chen, Dong Chen, Junkun Chen, Weizhu Chen, Yen-Chun Chen, Yi-ling Chen, Qi Dai, Xiyang Dai, Ruchao Fan, Mei Gao, Min Gao, Amit Garg, Abhishek Goswami, Junheng Hao, Amr Hendy, Yuxuan Hu, Xin Jin, Mahmoud Khademi, Dongwoo Kim, Young Jin Kim, Gina Lee, Jinyu Li, Yunsheng Li, Chen Liang, Xihui Lin, Zeqi Lin, Mengchen Liu, Yang Liu, Gilsinia Lopez, Chong Luo, Piyush Madan, Vadim Mazalov, Arindam Mitra, Ali Mousavi, Anh Nguyen, Jing Pan, Daniel Perez-Becker, Jacob Platin, Thomas Portet, Kai Qiu, Bo Ren, Liliang Ren, Sambuddha Roy, Ning Shang, Yelong Shen, Saksham Singhal, Subhojit Som, Xia Song, Tetyana Sych, Praneetha Vaddamanu, Shuohang Wang, Yiming Wang, Zhenghao Wang, Haibin Wu, Haoran Xu, Weijian Xu, Yifan Yang, Ziyi Yang, Donghan Yu, Ishmam Zabir, Jianwen Zhang, Li Lyna Zhang, Yunan Zhang, Xiren ZhouarXiv 2025 · DOI

Abstract

Microsoft introduces Phi-4-Mini (3.8B) and Phi-4-Multimodal (5.6B), demonstrating that small language models (SLMs) can achieve state-of-the-art performance through high-quality data and a novel Mixture-of-LoRAs (MoL) architecture. By integrating vision and speech capabilities into a frozen language backbone, these models match or exceed the performance of significantly larger counterparts, including a #1 ranking on the OpenASR leaderboard.

Introduction

The "bigger is better" mantra has dominated AI development, but large models remain expensive to run and difficult to deploy on-device. While Small Language Models (SLMs) like the Phi family have shown significant promise, they typically face two major hurdles: a reasoning gap compared to 7B+ parameter models and the difficulty of multimodal integration without degrading original language performance—a phenomenon known as "catastrophic forgetting."

Phi-4-Mini addresses these challenges by creating a compact, unified model that handles text, images, and speech simultaneously without sacrificing core reasoning capabilities. By keeping the base language model frozen and using specialized adapters, the researchers have developed a model that punches well above its weight class.

Methodology

The Phi-4-Mini architecture builds upon the success of Phi-3.5, introducing several key innovations to enable efficient multimodality and enhanced reasoning.

The Backbone and Mixture-of-LoRAs

Phi-4-Mini is a 3.8B parameter transformer utilizing Group Query Attention (GQA) for efficient long-sequence generation and an expanded 200K token vocabulary for better multilingual support.

The core innovation is the Mixture-of-LoRAs (MoL) framework. Instead of fine-tuning the entire model for new modalities, the base language model remains entirely frozen. Modality-specific LoRA (Low-Rank Adaptation) adapters and routers are integrated, allowing the model to "plug in" vision or audio capabilities as needed while the core "brain" remains unchanged. This ensures that the model's primary reasoning and language skills are preserved while adding new senses.

Architecture of Phi-4-Multimodal featuring the Mixture-of-LoRAs (MoL) framework.

Multimodal Encoders

  • Vision: The model employs a SigLIP-400M encoder with a Dynamic Multi-Crop strategy. This approach computes the optimal aspect ratio and uses up to 36 crops during fine-tuning, allowing the model to process high-resolution images without losing critical detail.
  • Audio: For speech, a custom encoder with 24 Conformer blocks provides a high-resolution 80ms token rate for the language decoder.

Reasoning Enhancement

The researchers implemented a three-stage process to boost reasoning: pre-training on 60 billion reasoning tokens, rejection sampling to filter logic, and "Roll-Out DPO" (Direct Preference Optimization).

Data and Training

The training process relied heavily on high-quality synthetic data alongside curated web data to maximize the efficiency of the small parameter count:

  • Language: 5 trillion tokens of web and synthetic math/coding data.
  • Vision: 0.5T pre-training tokens (OCR, synthetic charts, image-text pairs) and 0.3T SFT tokens.
  • Speech: A massive 2 million hours of anonymized speech-text pairs for pre-training, supplemented by tens of millions of examples for ASR, translation, and question answering.

Key Results

Phi-4-Mini and its multimodal variant demonstrate exceptional performance across diverse benchmarks:

  • OpenASR Champion: As of January 2025, Phi-4-Multimodal ranks first on the OpenASR leaderboard, despite its speech LoRA component having only 460 million parameters.
  • Reasoning Powerhouse: An experimental reasoning-enhanced version of Phi-4-Mini achieved performance on par with DeepSeek-R1-Distill-Llama-8B, a model more than twice its size.
  • Vision Benchmarks: On the MMMU (val) benchmark, Phi-4-Multimodal (55.1) outperformed larger models such as Qwen2.5-VL-3B (47.0) and InternVL2.5-4B (48.3).
  • Safety: The model demonstrated lower "defect rates" (harmful content generation) compared to Llama-3.2-3B and Qwen-2.5-3B across various safety evaluations.

Discussion and Limitations

The success of Phi-4-Mini suggests that data quality is more critical than model size, particularly when emphasizing step-by-step reasoning. The Mixture-of-LoRAs approach proves that complex modalities can be added to an LLM without compromising its core capabilities, enabling unified inference for interleaved inputs (e.g., an image followed by a spoken question).

However, limitations remain. Due to its compact size, the model may struggle with niche factual knowledge. Additionally, the heavy emphasis on coding data to boost reasoning led to a slight decline in relative multilingual performance. While the model supports long-form audio (up to 2.8 hours), it has not been fully optimized for such lengths. Finally, the authors explicitly restrict the model's use for biometric categorization tasks.

Summary updated

BibTeX
@misc{abouelenin2025phi,
  author = {Abdelrahman Abouelenin and Atabak Ashfaq and Adam Atkinson and Hany Awadalla and Nguyen Bach and Jianmin Bao and Alon Benhaim and Martin Cai and Vishrav Chaudhary and Congcong Chen and Dong Chen and Dongdong Chen and Junkun Chen and Weizhu Chen and Yen-Chun Chen and Yi-ling Chen and Qi Dai and Xiyang Dai and Ruchao Fan and Mei Gao and Min Gao and Amit Garg and Abhishek Goswami and Junheng Hao and Amr Hendy and Yuxuan Hu and Xin Jin and Mahmoud Khademi and Dongwoo Kim and Young Jin Kim and Gina Lee and Jinyu Li and Yunsheng Li and Chen Liang and Xihui Lin and Zeqi Lin and Mengchen Liu and Yang Liu and Gilsinia Lopez and Chong Luo and Piyush Madan and Vadim Mazalov and Arindam Mitra and Ali Mousavi and Anh Nguyen and Jing Pan and Daniel Perez-Becker and Jacob Platin and Thomas Portet and Kai Qiu and Bo Ren and Liliang Ren and Sambuddha Roy and Ning Shang and Yelong Shen and Saksham Singhal and Subhojit Som and Xia Song and Tetyana Sych and Praneetha Vaddamanu and Shuohang Wang and Yiming Wang and Zhenghao Wang and Haibin Wu and Haoran Xu and Weijian Xu and Yifan Yang and Ziyi Yang and Donghan Yu and Ishmam Zabir and Jianwen Zhang and Li Lyna Zhang and Yunan Zhang and Xiren Zhou},
  title = {{Phi-4-Mini Technical Report: Compact yet Powerful Multimodal Language Models via Mixture-of-LoRAs}},
  year = {2025},
  eprint = {2503.01743},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.01743},
}
Figure