Robots Atlas>ROBOTS ATLAS
Training

Foundation Model

2021ActiveUpdated: 14 May 2026Published
Key innovation
A single model trained at scale on broad data and subsequently adapted to many downstream tasks, replacing per-task models trained from scratch.
Category
Training
Abstraction level
Paradigm
Operation level
ModelTrainingPost-trainingInference
Use cases
Large language models (LLM)Image generationMultimodal understandingRobotics (foundation models for manipulation and control)Search and retrievalEmbeddings

How it works

1) Pretraining: the model learns general representations on a very large, diverse corpus, typically via self-supervised objectives (e.g., next-token prediction, masked language modeling, contrastive learning). 2) Adaptation: the same model is adapted to specific tasks via fine-tuning, instruction tuning, RLHF, prompting, or parameter-efficient adapters (LoRA). Scaling parameters, data, and compute is associated with "emergent capabilities" โ€” abilities not observed in smaller models.

Problem solved

Removes the need to train a separate model from scratch for each task โ€” one large, general model adapts to many applications at low marginal cost.

Implementation

Implementation pitfalls
Pretraining corpus poisoning and contaminationHigh

Web-scale corpora contain test data from known benchmarks, toxic content, and factual errors. Without deduplication and filtering, metrics are overstated and the model memorizes specific examples.

Fix:N-gram deduplication against benchmarks (BIG-bench, MMLU), quality filters (Common Crawl โ†’ C4 โ†’ RefinedWeb), toxicity audits (Perspective API, toxicity classifiers).
Evaluation leakageHigh

Foundation models trained on internet data often include evaluation sets within the pretraining corpus, inflating scores on MMLU, HumanEval, GSM8K, etc.

Fix:Holding out fresh benchmarks, using private evaluations (Scale, GPQA), contamination-aware decontamination pipelines.
Cost and irreproducibility of pretrainingCritical

Pretraining a foundation model costs USD 10Mโ€“100M+ and requires clusters of 1000+ accelerators. Hardware failures, loss spikes, and checkpoint restarts are the rule, not the exception.

Fix:Frequent checkpointing, hot-spare nodes, loss-anomaly detection, conservative learning-rate schedules (warmup + cosine decay), gradient clipping.
Misalignment between pretraining and downstream objectiveHigh

A foundation model trained on next-token prediction is not automatically helpful/harmless/honest. It requires post-training (SFT + RLHF/DPO) to behave according to user intent.

Fix:Pipeline: pretraining โ†’ SFT โ†’ preference tuning (RLHF, DPO, GRPO) โ†’ red-teaming โ†’ constitutional AI / safety fine-tuning.

Evolution

Original paper ยท 2021 ยท Rishi Bommasani
On the Opportunities and Risks of Foundation Models
Rishi Bommasani, Percy Liang, Stanford CRFM (et al.)
2018
BERT and GPT โ€” pretraining + fine-tuning as the dominant NLP paradigm
Inflection point

BERT (Google) and GPT (OpenAI) established the 'pretrain-then-adapt' paradigm as the NLP standard.

2020
GPT-3 and emergent capabilities
Inflection point

GPT-3 demonstrated that scale gives rise to few-shot capabilities without task-specific fine-tuning.

2021
Stanford CRFM coins the term 'foundation model'
Inflection point

Bommasani et al. formalize the paradigm and introduce the name.

2022
Multimodal foundation models (CLIP, DALL-E, Flamingo)

Extension of the paradigm beyond text โ€” image, video, audio.

2023
Robotics foundation models (RT-2, RT-X)

Google DeepMind brings the paradigm to robotics by combining VLM with manipulation.

2024
Open-weight foundation models (Llama 3, Mistral)

Open-weight models become competitive with closed counterparts.

2023
RT-2 โ€” Vision-Language-Action as a foundation model for robotics
Inflection point

Google DeepMind introduces RT-2, combining VLM (PaLI-X) with robotic manipulation โ€” the first widely adopted robotics foundation model.

2022
Chinchilla and compute-optimal scaling
Inflection point

DeepMind shows that most contemporary foundation models were undertrained โ€” for a fixed compute budget, scaling data beats scaling parameters.

Hyperparameters (configurable axes)

Number of parametersCritical

Number of trainable parameters. Parameter scale is one of three scaling-law dimensions (alongside data and compute) and correlates with the emergence of new capabilities.

110M (BERT-base)
175B (GPT-3)
405B (Llama 3.1)
Pretraining tokensCritical

Number of tokens (or samples) seen during pretraining. Chinchilla scaling laws (Hoffmann et al., 2022) suggest ~20 tokens per parameter as compute-optimal.

300B (GPT-3)
1.4T (Chinchilla)
15T (Llama 3)
Pretraining compute budgetCritical

Total compute (in FLOPs) spent on pretraining. The third scaling-law dimension โ€” together with parameters and data, determines the compute-optimal model.

3.14e23 FLOPs (GPT-3)
5.76e23 FLOPs (Chinchilla)
Pretraining data mixtureHigh

Composition and proportions of data sources in the pretraining corpus (e.g. web, code, books, multimodal). Determines the model's capability profile.

Context lengthHigh

Maximum sequence length supported by the model. Has grown over generations โ€” from 512 (BERT) to 1M+ tokens (Gemini 1.5, Llama 4).

ModalitiesHigh

Input/output modalities supported by the model (text, image, audio, video, robotic actions). A foundation model may be unimodal or multimodal.

Computational complexity

Execution paradigm

Primary mode
Dense

Foundation model is a paradigm, not a specific architecture โ€” execution paradigm reflects the most common realization (dense Transformer). Specific foundation models may use sparse/MoE.

Activation pattern
All paths active

Parallelism

Parallelism level
Fully parallel

Pretraining foundation models requires massive parallelism (data + model + pipeline parallelism) across clusters of thousands of accelerators.

Scope
TrainingInferenceAcross devices

Hardware requirements

Primary

Pretraining foundation models requires massive mixed-precision matrix operations (BF16/FP16/FP8) โ€” the native domain of tensor-core GPUs (NVIDIA H100/B200, AMD MI300).

Primary

Google TPUs (v4/v5p/Trillium) were designed from the start for pretraining large models; PaLM, Gemini, and many Google foundation models were trained on TPUs.