ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2025
Year
A 3.8B parameter language model excelling in math and coding, utilizing high-quality web and synthetic data, and featuring a 200K token vocabulary and group query attention.
This paper presents Phi 4 Mini, a 3.8B parameter language model that achieves impressive results in math and coding. In an era where large language models dominate, this work demonstrates that a compact model can still deliver competitive performance when trained on high-quality data and equipped with thoughtful architectural innovations. The focus on math and coding is particularly relevant for AI practitioners who need efficient models for reasoning-intensive tasks without the overhead of massive parameter counts.
The use of a 200K token vocabulary is a notable departure from typical 32K or 50K vocabularies, potentially reducing the number of tokens needed for code and mathematical expressions. Combined with group query attention, which reduces the key-value cache size, this model is well-suited for deployment on edge devices or in latency-sensitive applications.
The abstract states that Phi 4 Mini "excels in math and coding," though specific benchmark numbers are not provided. The model's performance is attributed to its data quality and architectural choices rather than sheer scale. The 200K vocabulary likely reduces token count for code and math inputs, and GQA enables efficient inference. No direct comparisons to other models are given in the abstract, but the implication is that it competes with much larger models on targeted tasks.
Phi 4 Mini challenges the trend of ever-larger models by showing that a well-designed 3.8B model can achieve strong specialized performance. This has practical implications for AI deployment in mobile, IoT, and real-time applications where model size and speed are critical. The emphasis on data quality over quantity also provides a blueprint for future small-model research. However, the lack of general task evaluations means its broader applicability remains to be seen.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba