Frontier Lab Notes

Math and ML Foundations for Frontier LLMs

This note lists the background you need to read frontier LLM papers without feeling like every paragraph is a trapdoor.

You do not need to master all of math before touching models. Learn in loops: read, implement, get confused, study the missing math, return.

Linear Algebra

You need to be comfortable with:

Why it matters:

Practice:

Connected notes:

Probability

You need:

Why it matters:

Important intuition:

The model is not directly choosing words. It is producing a distribution over possible next tokens.

Practice:

Connected notes:

Calculus And Backpropagation

You need:

Why it matters:

Practice:

Connected notes:

Optimization

You need:

Why it matters:

Practice:

Connected notes:

Information Theory

You need:

Why it matters:

Practice:

Connected notes:

Deep Learning Concepts

You need:

Why it matters:

Practice:

Connected notes:

Systems Basics

You need:

Why it matters:

Practice:

Connected notes:

Scientific Thinking

You need:

Why it matters:

Practice:

Connected notes:

Minimum Viable Foundation

If you want the shortest useful path:

  1. Matrix multiplication and tensor shapes.
  2. Softmax and cross-entropy.
  3. Gradient descent and AdamW.
  4. Transformer forward pass.
  5. Validation loss and contamination.
  6. GPU memory versus compute.
  7. Controlled experiments and baselines.

That is enough to start reading papers seriously while filling gaps.