The recipe for Microsoft’s newest language model started with bedtime stories. Ronen Eldan, a machine learning researcher at Microsoft Research, was reading to his daughter when he began wondering how much an AI model could learn from nothing but words a 4-year-old understands. That question eventually became Phi-3.
On April 23, 2024, Microsoft released the first member of the family, Phi-3-mini. It has 3.8 billion parameters, a modest figure beside the giants it is meant to rival, and the company said it performs better than models twice its size. The Verge reported that Microsoft also claims responses close to those of a model 10 times bigger.
Where it runs, and what comes next
Phi-3-mini went live that day in the Azure AI Model Catalog, on Hugging Face and on Ollama, a framework for running models on a local machine. An NVIDIA NIM microservice version was also promised. Two siblings were announced: Phi-3-small at 7 billion parameters and Phi-3-medium at 14 billion.
Eric Boyd, a corporate vice president of the Azure AI Platform, told The Verge that Phi-3-mini is as capable as LLMs such as GPT-3.5, “just in a smaller form factor.” Treat that as a vendor’s claim, as ever. Microsoft’s own write-up is more careful, saying the Phi-3 models beat others of the same size and the next size up on benchmarks of language, coding and math.
Under the hood: a children’s curriculum
The technical reality is that Microsoft changed the diet, not just the model. Sebastien Bubeck, who leads the company’s work on small language models, put the idea simply: “Instead of training on just raw web data, why don’t you look for data which is of extremely high quality?”
The team began with a list of 3,000 words, split roughly evenly among nouns, verbs and adjectives. A large language model was asked to write a children’s story using one of each, and that prompt was repeated millions of times over several days. Boyd gave The Verge his own version: “There aren’t enough children’s books out there, so we took a list of more than 3,000 words and asked an LLM to make ‘children’s books’ to teach Phi.” Earlier versions set the path. Phi-1 concentrated on coding, Phi-2 began to reason, and Phi-3 does both better, according to Boyd.
The limits are plain
Nobody at Microsoft is pretending a 3.8 billion parameter model can do everything. The Verge noted that Phi-3 cannot match GPT-4 or other large models in breadth of knowledge, and Microsoft’s own feature says small models are not built for in-depth knowledge retrieval. Kamar, a Microsoft executive quoted in that piece, said: “The claim here is not that SLMs are going to substitute or replace large language models.”
The appeal is elsewhere. Luis Vargas, a vice president of AI at Microsoft, pointed to phones and other devices at the edge, where keeping data on the device can “minimize latency and maximize privacy.” Boyd added that smaller models often suit company applications, since many firms hold fairly small internal data sets, and they use less computing power, so they are far more affordable.
The Verge listed the rivals in the same weight class: Google’s Gemma 2B and 7B, Anthropic’s Claude 3 Haiku and Meta’s recently released Llama 3 8B.
Sources
- Microsoft launches Phi-3, its smallest AI model yet – The Verge
- Tiny but mighty: The Phi-3 small language models with big potential – Microsoft Source





