---
title: "Phi (Microsoft) — ファイ"
source: "https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4"
wiki: "systems-analysis.info/int"
article: "Phi_(Microsoft)_—_ファイ"
language: "ja"
categories:
  - "Category:Japanese"
  - "Category:Large language models"
  - "Category:LLM families"
  - "Category:Machine learning"
revision_id: 5621
wiki_created_at: 2026-09-06T23:51:51Z
wiki_modified_at: 2026-09-06T23:51:51Z
downloaded_at: 2026-09-07T23:09:30Z
---

# Phi (Microsoft) — ファイ

**Phi**は、Microsoft Researchによって開発された小型言語モデル（Small Language Models, SLM）のファミリーです。これらのモデルは、AI開発におけるパラダイムシフトを象徴しており、コンパクトで計算効率の高いモデルが、はるかに大規模なシステムに匹敵するパフォーマンスを達成できることを示しています。パラメータ数のスケーリングに基づく従来のアプローチとは異なり、Phiの哲学は、訓練データの質と革新的なトレーニング手法に焦点を当てています<sup>[\[1\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-1)</sup>。

Phiモデルは、プログラミング、数学、テキスト分析など、深い論理的推論を必要とするタスクに最適化されています。その小さなサイズにより、スマートフォンやノートPCを含むローカルデバイス上での展開（オンデバイスAI）に理想的であり、AIの民主化に新たな可能性を開きます<sup>[\[2\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-2)</sup>。

## 哲学：「教科書こそが全て」

Phiプロジェクトの根底にある中心的な仮説は、高性能モデルの訓練にはデータの量よりも質が重要であるというものです。この考えは、研究論文**「Textbooks Are All You Need」**で初めて提唱されました<sup>[\[3\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-3)</sup>。フィルタリングされていないウェブからの数兆トークンで学習する代わりに、Phiモデルは、教科書のような質を持つ、厳選され合成的に生成されたデータセットで訓練されます。

このアプローチの主要な原則は以下の通りです：

- **「教科書品質」のデータ：** 訓練コーパスは、児童書から着想を得た、クリーンで論理的に一貫性のある説明的な教材で構成されています。
- **合成データ：** データの大部分は、大規模モデル（例：GPT-4）を用いて生成されます。例えば、**Phi-4**の訓練のためには、50以上のカスタムパイプラインを通じて4000億トークンの高品質な合成コンテンツが作成されました<sup>[\[4\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-4)[\[5\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-5)</sup>。
- **反復的な訓練：** データ作成とモデル訓練のプロセスは反復的に行われ、データとモデル自体の両方の質を継続的に向上させることができます。

このアプローチにより、Phiモデルは単に統計的なパターンを記憶するのではなく、深い推論能力を発達させることができます。

## Phiモデルの進化

- **Phi-1（13億パラメータ）：** 2023年6月に発表された最初のモデルで、Pythonでのプログラミングに焦点を当てていました。HumanEvalおよびMBPPベンチマークで優れたパフォーマンスを発揮し、高品質なデータに基づくアプローチの有効性を証明しました<sup>[\[6\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-6)</sup>。

<!-- -->

- **Phi-2（27億パラメータ）：** 2023年12月にリリースされたPhi-2は、コンパクトなアーキテクチャを維持しつつ、その能力を一般的な言語理解にまで拡張しました。このモデルは、SLMが数十倍も大きなモデルに匹敵するパフォーマンスを達成できることを示しました<sup>[\[7\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-7)</sup>。

<!-- -->

- **Phi-3（38億～140億パラメータ）：** 2024年4月に発表されたこのファミリーは、モバイルAIの分野でブレークスルーとなりました。**Phi-3-mini**（38億）はスマートフォン上で動作可能で、Mixtral 8x7BやGPT-3.5に匹敵するパフォーマンスを達成します<sup>[\[8\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-8)</sup>。このファミリーには、**Phi-3-small**（70億）および**Phi-3-medium**（140億）バージョンも含まれます。

<!-- -->

- **Phi-3.5（38億～66億アクティブパラメータ）：** 2024年に発表されたこのファミリーには、3つの主要モデルが含まれます：
  - **Phi-3.5-mini-instruct：** 多言語サポートが強化された最適化バージョン。
  - **Phi-3.5-MoE-instruct：** 16のエキスパートと66億のアクティブパラメータを持つMixture-of-Expertsアーキテクチャに基づくモデル。
  - **Phi-3.5-Vision-instruct：** テキストと画像を処理するためのマルチモーダルモデル<sup>[\[9\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-9)</sup>。

<!-- -->

- **Phi-4（140億パラメータ）：** 複雑な数学的推論に特化したモデル。大幅に小さいサイズでありながら、Gemini-1.5-FlashやGPT-4o-miniに匹敵するパフォーマンスを示します。**Phi-4-reasoning**はDeepSeek-R1-Distill-Llama-70Bを上回ります<sup>[\[10\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-10)</sup>。
- **Phi-4-Multimodal（56億パラメータ）：** テキスト、画像、音声を同時に処理できる、ファミリー初の完全なマルチモーダルモデル。革新的な**Mixture-of-LoRAs**アプローチを用いて、相互干渉なしに様々なモダリティを効率的に処理します<sup>[\[11\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-11)</sup>。

## アーキテクチャと技術的特徴

- **アーキテクチャ：** Phiモデルは、標準的な「デコーダのみ」（decoder-only）のトランスフォーマーアーキテクチャを使用し、効率を高めるために**Grouped Query Attention**や**Flash Attention**などの主要な最適化が施されています<sup>[\[12\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-12)</sup>。
- **ローカル展開：** モデルはリソースが限られたデバイスで動作するように最適化されています。例えば、**Phi-3-mini**は4ビット量子化でわずか1.8GBのメモリしか必要とせず、iPhone 14で動作可能です<sup>[\[13\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-13)</sup>。
- **フレームワークのサポート：** Phiモデルは**Microsoft Azure AI Model Catalog**、**Hugging Face**、**Ollama**、**NVIDIA NIM microservices**を通じて利用可能であり、開発者にとって幅広い統合とアクセシビリティが確保されています<sup>[\[14\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-14)</sup>。

## パフォーマンスとベンチマーク

| モデル           | パラメータ | MMLU | MT-Bench | HumanEval     |
|------------------|------------|------|----------|---------------|
| **Phi-3-mini**   | 3.8B       | 69%  | 8.38     | \-            |
| **Phi-3-small**  | 7B         | 75%  | 8.7      | \-            |
| **Phi-3-medium** | 14B        | 78%  | 8.9      | \-            |
| **Phi-4**        | 14B        | \-   | \-       | GPT-4を上回る |

主要なベンチマークにおけるPhiモデルの性能比較

**Phi-4**は、American Mathematics Competitions (AMC)を含む数学的な課題で卓越した結果を示し、Gemini-1.5-Flashに匹敵するパフォーマンスを発揮します<sup>[\[15\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-15)</sup>。マルチモーダルな**Phi-3.5-Vision**は、同等サイズの競合モデルを上回り、BLINKベンチマークで57.0%を達成しています<sup>[\[16\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-16)</sup>。

## 専門分野での応用

Phiモデルは、ニッチな分野で高い効果を発揮します：

- **医療：** 研究によると、Phi-3の回答は、医療およびスポーツ関連のテキストにおいて専門家の評価と中程度の相関関係があることが示されています<sup>[\[17\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-17)</sup>。
- **ヘイトスピーチの検出：** Phi-2をベースにしたHateTinyLLMモデルは、LoRAファインチューニングを用いることで、このタスクにおいて80%以上の精度を達成しています<sup>[\[18\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-18)</sup>。
- **ゲーム戦略：** SC-Phi2モデルは、ゲーム「StarCraft II」における戦略予測の能力を示しました<sup>[\[19\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-19)</sup>。

## 責任あるAIと安全性

Phiファミリーは、説明責任、透明性、公平性、安全性といった原則を含む**Microsoft Responsible AI**の基準に従って開発されています。モデルは、**教師ありファインチューニング（SFT）**や**直接選好最適化（DPO）**を含む多角的な安全性評価、さらに様々な言語やリスクカテゴリでのテストを受けています<sup>[\[20\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-20)</sup>。

## 制限事項

印象的な結果にもかかわらず、Phiモデルは一部の複雑なタスクにおいて、特化した大規模モデルに劣ることがあります。例えば、**Phi-4**は連鎖的思考（chain-of-thought）の推論で良好な結果を示しますが、関数呼び出し（function calling）の機能がないという制限があります<sup>[\[21\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-21)</sup>。また、**Phi-3.5**は20以上の言語をサポートしていますが、そのパフォーマンスは言語によって異なる可能性があり、研究では英語以外の言語での回答に不正確さが示されています<sup>[\[22\]](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_note-22)</sup>。

## 参考文献

- Gunasekar, S.; et al. (2023). *Textbooks Are All You Need*. <a href="https://arxiv.org/abs/2306.11644" class="external text" rel="nofollow">arXiv:2306.11644</a>.
- Gunasekar, S.; et al. (2023). *Textbooks Are All You Need II: phi‑1.5 Technical Report*. <a href="https://arxiv.org/abs/2309.05463" class="external text" rel="nofollow">arXiv:2309.05463</a>.
- Dao, T.; et al. (2022). *FlashAttention: Fast and Memory‑Efficient Exact Attention with IO‑Awareness*. <a href="https://arxiv.org/abs/2205.14135" class="external text" rel="nofollow">arXiv:2205.14135</a>.
- Zheng, S.; et al. (2023). *GQA: Training Generalized Multi‑Query Transformer Models for Faster Decoding*. <a href="https://arxiv.org/abs/2305.13245" class="external text" rel="nofollow">arXiv:2305.13245</a>.
- Feng, W.; et al. (2024). *Mixture‑of‑LoRAs: An Efficient Multitask Tuning for Large Language Models*. <a href="https://arxiv.org/abs/2403.03432" class="external text" rel="nofollow">arXiv:2403.03432</a>.
- Wu, X.; et al. (2024). *Mixture of LoRA Experts*. <a href="https://arxiv.org/abs/2404.13628" class="external text" rel="nofollow">arXiv:2404.13628</a>.
- Microsoft Research (2024). *Phi‑3 Technical Report*. <a href="https://arxiv.org/abs/2404.14219" class="external text" rel="nofollow">arXiv:2404.14219</a>.
- Abdin, M.; et al. (2024). *Phi‑4 Technical Report*. <a href="https://arxiv.org/abs/2412.08905" class="external text" rel="nofollow">arXiv:2412.08905</a>.
- Microsoft Research (2025). *Phi‑4‑reasoning Technical Report*. <a href="https://www.microsoft.com/en-us/research/wp-content/uploads/2025/04/phi_4_reasoning.pdf" class="external text" rel="nofollow">PDF</a>.
- Microsoft Research (2025). *Phi‑4‑Multimodal: Mixture‑of‑Modality‑LoRAs*. <a href="https://arxiv.org/abs/2503.01743" class="external text" rel="nofollow">arXiv:2503.01743</a>.

## 脚注

1.  <span id="cite_note-1">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-1) 「The Phi-3 small language models with big potential」。 *Microsoft Source Features*。<a href="https://news.microsoft.com/source/features/ai/the-phi-3-small-language-models-with-big-potential/" class="external autonumber" rel="nofollow">[1]</a></span>
2.  <span id="cite_note-2">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-2) 「Microsoft's Phi-3: Revolutionising AI with efficient and accessible small language models」。 *Landing.Jobs Blog*。<a href="https://landing.jobs/blog/microsofts-phi-3-revolutionising-ai-with-efficient-and-accessible-small-language-models/" class="external autonumber" rel="nofollow">[2]</a></span>
3.  <span id="cite_note-3">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-3) 「Textbooks Are All You Need」。 *Microsoft Research*。<a href="https://www.microsoft.com/en-us/research/publication/textbooks-are-all-you-need/" class="external autonumber" rel="nofollow">[3]</a></span>
4.  <span id="cite_note-4">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-4) 「Introducing Phi-4: Microsoft’s newest Small Language Model, specializing in complex reasoning」。 *Microsoft Tech Community*。<a href="https://techcommunity.microsoft.com/t5/ai-at-microsoft/introducing-phi-4-microsoft-s-newest-small-language-model/ba-p/4357090" class="external autonumber" rel="nofollow">[4]</a></span>
5.  <span id="cite_note-5">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-5) 「Exploring Phi-4: A Deep Dive into Microsoft's Latest Language Model」。 *OpenCV Blog*。<a href="https://opencv.org/blog/phi-4/" class="external autonumber" rel="nofollow">[5]</a></span>
6.  <span id="cite_note-6">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-6) 「Unlocking the Power of Small Language Models (SLMs): The Evolution of Phi」。 *LinkedIn*。<a href="https://www.linkedin.com/pulse/unlocking-power-small-language-models-slms-evolution-vijay-ru4xc" class="external autonumber" rel="nofollow">[6]</a></span>
7.  <span id="cite_note-7">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-7) 「Новая ИИ-модель Phi-2 от Microsoft училась по учебникам」。 *TechInsider*。<a href="https://www.techinsider.ru/news/news-1625165-novaya-ii-model-phi-2-ot-microsoft-uchilas-po-uchebnikam/" class="external autonumber" rel="nofollow">[7]</a></span>
8.  <span id="cite_note-8">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-8) 「Phi-3 Technical Report」。 *arXiv*。<a href="https://arxiv.org/abs/2404.14219" class="external autonumber" rel="nofollow">[8]</a></span>
9.  <span id="cite_note-9">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-9) 「Discover the new multi-lingual, high-quality Phi-3.5 SLMs」。 *Microsoft Tech Community*。<a href="https://techcommunity.microsoft.com/blog/azure-ai-services-blog/discover-the-new-multi-lingual-high-quality-phi-3-5-slms/4225280" class="external autonumber" rel="nofollow">[9]</a></span>
10. <span id="cite_note-10">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-10) 「Phi-4 Technical Report」。 *arXiv*。<a href="https://arxiv.org/abs/2412.08905" class="external autonumber" rel="nofollow">[10]</a></span>
11. <span id="cite_note-11">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-11) 「Mixture-of-Modality-LoRAs: A Low-Rank Approach to Natively Multimodal Foundation Models」。 *arXiv*。<a href="https://arxiv.org/abs/2503.01743" class="external autonumber" rel="nofollow">[11]</a></span>
12. <span id="cite_note-12">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-12) 「Phi-3: A Tutorial on Microsoft's Small Language Models (SLMs)」。 *DataCamp*。<a href="https://www.datacamp.com/tutorial/phi-3-tutorial" class="external autonumber" rel="nofollow">[12]</a></span>
13. <span id="cite_note-13">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-13) 「Unlocking the Power of Small Language Models (SLMs): The Evolution of Phi」。 *LinkedIn*。<a href="https://www.linkedin.com/pulse/unlocking-power-small-language-models-slms-evolution-vijay-ru4xc" class="external autonumber" rel="nofollow">[13]</a></span>
14. <span id="cite_note-14">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-14) 「Microsoft Phi」。 *Microsoft Azure*。<a href="https://azure.microsoft.com/en-us/products/phi" class="external autonumber" rel="nofollow">[14]</a></span>
15. <span id="cite_note-15">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-15) 「Exploring Phi-4: A Deep Dive into Microsoft's Latest Language Model」。 *OpenCV Blog*。<a href="https://opencv.org/blog/phi-4/" class="external autonumber" rel="nofollow">[15]</a></span>
16. <span id="cite_note-16">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-16) 「Phi-3.5-vision-instruct」。 *Hugging Face*。<a href="https://huggingface.co/microsoft/Phi-3.5-vision-instruct" class="external autonumber" rel="nofollow">[16]</a></span>
17. <span id="cite_note-17">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-17) 「Small But Mighty: Exploring the Capabilities of Small Language Models in Medical and Sport-Specific Applications」。 *arXiv*。<a href="https://arxiv.org/abs/2504.08764" class="external autonumber" rel="nofollow">[17]</a></span>
18. <span id="cite_note-18">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-18) 「HateTinyLLMs: A Small Language Model for Hate Speech Detection」。 *arXiv*。<a href="https://arxiv.org/abs/2405.01577" class="external autonumber" rel="nofollow">[18]</a></span>
19. <span id="cite_note-19">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-19) 「SC-Phi2: A Specialized Small Language Model for StarCraft II」。 *MDPI*。<a href="https://www.mdpi.com/2673-2688/5/4/115" class="external autonumber" rel="nofollow">[19]</a></span>
20. <span id="cite_note-20">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-20) 「Microsoft’s Phi-3.5: a responsible, small language model」。 *Skymod*。<a href="https://skymod.tech/microsofts-phi-3-5-small-language-models/" class="external autonumber" rel="nofollow">[20]</a></span>
21. <span id="cite_note-21">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-21) 「Phi-4: A New Era of Small Language Models」。 *Meta-quantum.today*。<a href="https://meta-quantum.today/?p=3386" class="external autonumber" rel="nofollow">[21]</a></span>
22. <span id="cite_note-22">[↑](https://systems-analysis.info/int/Phi_(Microsoft)_%E2%80%94_%E3%83%95%E3%82%A1%E3%82%A4#cite_ref-22) 「A Multi-faceted Analysis of Language-specific Bias in Large Language Models」。 *U.S. Securities and Exchange Commission*。<a href="https://www.sec.gov/Archives/edgar/data/789019/000119312524242883/d858775ddef14a.htm" class="external autonumber" rel="nofollow">[22]</a></span>
