Foundation Lab

Synthetic Data & Self-Improvement

Key to modern training: Phi, LLaMA 3, many models use synthetic data

Concept 77 of 100Scaling & AlignmentPhase 11
#77Synth DataScaling & Alignment
key equation
θt+1=Train(θt,Generate(θt,Filter))\theta_{t+1} = \text{Train}(\theta_t, \text{Generate}(\theta_t, \text{Filter}))
Reading map and next steps

Selected Foundation Object

Keep the equation fixed; move through the evidence.

Concept 77 of 100Synth DataScaling & Alignment / Phase 11: Frontier research & scaling
Current question

Models can teach themselves if we filter for correct answers

θt+1=Train(θt,Generate(θt,Filter))\theta_{t+1} = \text{Train}(\theta_t, \text{Generate}(\theta_t, \text{Filter}))
PredictionCommit before tracing the equation.

Ask what should change under a concrete input, then trace that expectation through the equation.

EvidenceCompare the equation and source.

Use the key equation and canonical papers as the available witnesses, without implying that a runnable panel exists.

InvariantName what survives notation changes.

The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.

Next moveContinue through the atlas.

Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.

Why It Matters for Modern Models

  • Key to modern training: Phi, LLaMA 3, many models use synthetic data
  • Enables training without human annotation at scale
  • Data quality > quantity: careful curation beats raw scale

What Tutorials Skip

What is still poorly explained in textbooks and papers:

  • Models can teach themselves if we filter for correct answers
  • Synthetic data amplifies capabilities the model already has (via distillation)
  • The "data wall" problem: we're running out of internet text, synthetics are the solution

Visualization Status

Core Math (Optional Deep Dive)

If you want intuition first, start with the key equation and cited sources. Come back here for the full walkthrough.

Key Equation
θt+1=Train(θt,Generate(θt,Filter))\theta_{t+1} = \text{Train}(\theta_t, \text{Generate}(\theta_t, \text{Filter}))

Synthetic data generation:

  1. Generate candidates: y∼pθ(y∣x)y \sim p_\theta(y | x)
  2. Filter for quality: {(xi,yi):V(yi)>τ}\{(x_i, y_i) : V(y_i) > \tau\}
  3. Train on filtered data: θ′=arg⁡min⁡L(θ;Dsynth)\theta' = \arg\min \mathcal{L}(\theta; \mathcal{D}_{synth})

Self-improvement loop:

θt+1=Train(θt,Generate(θt,Filter))\theta_{t+1} = \text{Train}(\theta_t, \text{Generate}(\theta_t, \text{Filter}))

Phi-1 insight: Small model + high-quality synthetic data > Large model + web data

Quality filtering: use reward models, verifiers, or consistency checks.

Canonical Papers

Textbooks Are All You Need

Gunasekar et al.2023arXiv
Read paper →

Self-Instruct: Aligning Language Models with Self-Generated Instructions

Wang et al.2023ACL
Read paper →

Connections

Next Moves

Choose the next question to carry this object forward.