Introduction to Foundation Models
One model, trained on everything, adapted to anything. Understand what foundation models are, how scale unlocks emergence, and why they reshape every field of AI.
One model, trained on everything, adapted to anything. Understand what foundation models are, how scale unlocks emergence, and why they reshape every field of AI.
The shift from task-specific models to general-purpose systems trained on everything.
A foundation model is a large AI model trained on broad data at scale, designed to be adapted (fine-tuned, prompted, or distilled) to a wide range of downstream tasks. The term was coined by the Stanford HAI group in 2021 to name a new paradigm: instead of training a separate model for every task, train one enormous model on diverse data and adapt it.
GPT-3, BERT, CLIP, and DALL-E were early examples. GPT-4, Claude, Gemini, Llama, Mistral, Stable Diffusion, and Codex are the generation that followed. What they share is scale: billions to hundreds of billions of parameters, trained on trillions of tokens of text, image-text pairs, code, audio, and video.
Training a large model from scratch costs millions of dollars and weeks of compute. The economic argument for foundation models is that this cost is paid once, then the resulting representations are reused across hundreds or thousands of tasks.
The workflow has two stages:
The second stage is orders of magnitude cheaper than the first, which is what makes the paradigm economically viable.
The most surprising property of foundation models is emergence: qualitatively new capabilities that appear when model size crosses a threshold, without being explicitly trained for.
Examples include:
Emergence is controversial: some researchers argue it is a measurement artifact (the capability was always there but the metric only detects it at high accuracy). Whether genuinely discontinuous or not, the practical implication is that scale changes what models can do in ways that are hard to predict in advance.
Foundation models are trained with self-supervised objectives that require no human-labeled data:
The key insight is that natural data contains its own supervisory signal. A trillion-token corpus of text, code, and web pages contains more implicit information about language, reasoning, and the world than any hand-labeled dataset ever assembled.
Kaplan et al. (2020) discovered that transformer loss follows smooth power laws in model size N and training tokens D: loss ∼ N−0.076 + D−0.095. This implied that larger models were always better, which led to a race to maximize parameter counts.
Hoffmann et al. (2022) corrected this with the Chinchilla result: compute-optimal training requires roughly equal scaling of model size and data. A 70B model trained on 1.4T tokens (the Chinchilla-optimal allocation) consistently outperformed a 280B model trained on 300B tokens with the same compute budget.
The practical lesson: earlier large models (GPT-3, Gopher) were undertrained. The Chinchilla result triggered a shift toward “smaller but well-trained” models — Mistral 7B, Phi-3, and the Llama 3 family all demonstrate that a well-trained smaller model beats a larger undertrained one.
The foundation model paradigm extended to vision through two complementary architectures:
These models are the backbone of multimodal systems: a CLIP image encoder feeds into an LLM to produce LLaVA, GPT-4V, and similar vision-language models.
Homogenization is the observation that increasingly diverse AI applications are built on top of a small number of foundation models. When a flaw exists in one foundation model, it propagates downstream to every product built on it.
The risks compound:
These concerns motivate the open-source foundation model movement (Llama, Mistral, Falcon, Qwen) and efforts toward interpretability, alignment research, and governance frameworks.
Foundation models now exist for every modality:
| Domain | Objective | Examples |
|---|---|---|
| Language | Next-token prediction | GPT-4, Claude 3, Gemini, Llama 3 |
| Vision-Language | Image-text contrastive | CLIP, Flamingo, LLaVA, GPT-4V |
| Code | Code completion | Codex, StarCoder, DeepSeek-Coder |
| Audio | Speech reconstruction | Whisper, AudioPaLM, SeamlessM4T |
| Biology | Protein structure prediction | AlphaFold2, ESM-2, OpenFold |
| Generative Image | Diffusion denoising | DALL-E 3, Stable Diffusion, Midjourney |
Each row represents a paradigm shift in its domain: Whisper replaced specialized ASR pipelines, AlphaFold2 solved a 50-year protein folding problem, and GPT-4 replaced entire categories of NLP pipelines with a single API call.
Foundation models raise policy questions that go beyond technical AI safety:
These are not hypothetical risks. They are happening now, which is why understanding what foundation models are and how they work is essential for anyone using or building AI systems.
Say the answer out loud before you reveal it — recalling it is what makes it stick, and rereading it is not.
What distinguishes a foundation model from a traditional ML model?
What are emergent capabilities in large language models?
What are Chinchilla scaling laws and what did they reveal?
What is the main societal risk of homogenization in foundation models?
Train once on massive diverse data, adapt everywhere. Emergence gives scale new capabilities. Chinchilla: balance model size and data equally. Homogenization: one flaw, thousands of downstream effects.