[来源关键摘录] Official Microsoft Azure blog tracing Phi-4 and introducing the open-weight Phi-4-reasoning model family.
[正文前段节选] Skip to content
Skip to main content
Get to know Azure
Microsoft as Customer Zero
View all products (200+)
Microsoft Foundry
Azure Copilot
GitHub Copilot
Azure Kubernetes Service (AKS)
Azure Cosmos DB
Azure Database for PostgreSQL
Microsoft Fabric
Linux virtual machines in Azure
Foundry Models
Foundry Agent Service
Foundry Tools
Foundry Control Plane
Observability in Foundry Control Plane
Azure OpenAI in Foundry Models
Azure Speech in Foundry Tools
Azure Machine Learning
View all databases
Azure DocumentDB
Azure Managed Redis
Azure Databricks
Windows Server on Azure
Azure Functions
Azure Virtual Machine Scale Sets
Azure API Management
Azure Container Apps
Azure Kubernetes Fleet Manager
Azure Container Registry
Azure Red Hat OpenShift
Azure Container Instances
Azure Container Storage
Microsoft Defender for Cloud
Azure Monitor
Microsoft Sentinel
Azure Catalyst
View all solutions (40+)
Cloud solutions for small and medium businesses
Cloud migration and modernization center
Data analytics for AI
Azure Databases
AI apps and agents
Microsoft Marketplace
Microsoft Sovereign Cloud
Responsible AI with Azure
AI Infrastructure
Machine learning operations (MLOps)
Low-code application development on Azure
Integration Services
Serverless computing
Migration and modernization center
.NET apps migration
Databases on Azure
Linux on Azure
Oracle on Azure
SAP on the Microsoft Cloud
Adaptive cloud
High-performance computing (HPC)
Infrastructure as a service (IaaS)
Azure Essentials
Frontier Accelerate for Azure
FinOps on Azure
Azure pricing overview
Create an Azure account
Free Azure services
Flexible purchase options
Pricing calculator
Maximize ROI from AI
Azure savings plans
Azure reservations
Azure Hybrid Benefit
Virtual Machines
Software Development Companies
Find a partner
Resources for Azure partners
Get started with Azure
Customer stories
Analyst reports, white papers, and e-books
Learn more about cloud computing
Documentation
Explore Azure portal
Developer resources
Quickstart templates
Resources for startups
Developer community
Azure for partners
Events and Webinars
Contact Sales
April 30, 2025
One year of Phi: Small language models making big leaps in AI
By Weizhu Chen, view all posts by this author and Ece Kamar, view all posts by this author
A new era of AI
One year ago, Microsoft introduced small language models (SLMs) to customers with the release of Phi-3 on Azure AI Foundry, leveraging research on SLMs to expand the range of efficient AI models and tools available to customers.
Today, we are excited to introduce Phi-4-reasoning, Phi-4-reasoning-plus, and Phi-4-mini-reasoning—marking a new era for small language models and once again redefining what is possible with small and efficient AI.
Azure AI Foundry
Find the ideal model for your business needs, then tinker, tweak, and customize within a project to achieve all your AI goals.
Discover more
Reasoning models, the next step forward
Reasoning models are trained to leverage inference-time scaling to perform complex tasks that demand multi-step decomposition and internal reflection. They excel in mathematical reasoning and are emerging as the backbone of agentic applications with complex, multi-faceted tasks. Such capabilities are typically found only in large frontier models. Phi-reasoning models introduce a new category of small language models. Using distillation, reinforcement learning, and high-quality data, these models balance size and performance. They are small enough for low-latency environments yet maintain strong reasoning capabilities that rival much bigger models. This blend allows even resource-limited devices to perform complex reasoning tasks efficiently.
Phi-4-reasoning and Phi-4-reasoning-plus
Phi-4-reasoning is a 14-billion parameter open-weight reasoning model that rivals much larger models on complex reasoning tasks. Trained via supervised fine-tuning of Phi-4 on carefully curated reasoning demonstrations from OpenAI o3-mini, Phi-4-reasoning generates detailed reasoning chains that effectively leverage additional inference-time compute. The model demonstrates that meticulous data curation and high-quality synthetic datasets allow smaller models to compete with larger counterparts.
Phi-4-reasoning-plus builds upon Phi-4-reasoning capabilities, further trained with reinforcement learning to utilize more inference-time compute, using 1.5x more tokens than Phi-4-reasoning, to deliver higher accuracy.
Despite their significantly smaller size, both models achieve better performance than OpenAI o1-mini and DeepSeek-R1-Distill-Llama-70B at most benchmarks, including mathematical reasoning and Ph.D. level science questions. They achieve performance better than the full DeepSeek-R1 model (with 671-billion parameters) on the AIME 2025 test, the 2025 qualifier for the USA Math Olympiad. Both models are available on Azure AI Foundry and HuggingFace, here and here.
Figure 1. Phi-4-reasoning performance across representative reasoning benchmarks spanning mathematical and scientific reasoning. We illustrate the performance gains from reasoning-focused post-training of Phi-4 via Phi-4-reasoning (SFT) and Phi-4-reasoning-plus (SFT+RL), alongside a representative set of baselines from two model families: open-weight models from DeepSeek including DeepSeek R1 (671B Mixture-of-Experts) and its distilled dense variant DeepSeek-R1 Distill Llama 70B, and OpenAI’s proprietary frontier models o1-mini and o3-mini. Phi-4-reasoning and Phi-4-reasoning-plus consistently outperform the base model Phi-4 by significant margins, exceed DeepSeek-R1 Distill Llama 70B (5x larger) and demonstrate competitive performance against significantly larger models such as Deepseek-R1.
Figure 2. Accuracy of models across general-purpose benchmarks for: long input context QA (FlenQA), instruction following (IFEval), Coding (HumanEvalPlus), knowledge & language understanding (MMLUPro), safety detection (ToxiGen), and other general skills (ArenaHard and PhiBench).
Phi-4-reasoning models introduce a major improvement over Phi-4, surpass larger models like DeepSeek-R1-Distill-70B and approach Deep-Seek-R1 across various reasoning and general capabilities, including math, coding, algorithmic problem solving, and planning. The technical report provides extensive quantitative evidence of these improvements through diverse reasoning tasks.
Phi-4-mini-reasoning
Phi-4-mini-reasoning is designed to meet the demand for a compact reasoning model. This transformer-based language model is optimized for mathematical reasoning, providing high-quality, step-by-step problem solving in environments with constrained computing or latency. Fine-tuned with synthetic data generated by Deepseek-R1 model, Phi-4-mini-reasoning balances efficiency with advanced reasoning ability. It’s ideal for educational applications, embedded tutoring, and lightweight deployment on edge or mobile systems, and is trained on over one million diverse math problems spanning multiple levels of difficulty from middle school to Ph.D. level. Try out the model on Azure AI Foundry or HuggingFace today.
Figure 3. The graph compares the performance of various models on popular math benchmarks for long sentence generation. Phi-4-mini-reasoning outperforms its base model on long sentence generation across each evaluation, as well as larger models like OpenThinker-7B, Llama-3.2-3B-instruct, DeepSeek-R1-Distill-Qwen-7B, DeepSeek-R1-Distill-Llama-8B, and Bespoke-Stratos-7B. Phi-4-mini-reasoning is comparable to OpenAI o1-mini across math benchmarks, surpassing the model’s performance during Math-500 and GPQA Diamond evaluations. As seen above, Phi-4-mini-reasoning with 3.8B parameters outperforms models of over twice its size.
For more information about the model, read the technical report that provides additional quantitative insights.
Phi reasoning models in action
[...内容已截断,完整版请查看原文或 Wayback 快照]