Skip to content
Advanced28 lessons

AI Research Scientist

Turn open questions into controlled experiments across model architectures, scaling laws, reinforcement learning, interpretability, and evaluation.

Aspiring research scientists and research engineers who need deep mathematical intuition, clean ablations, and experimental rigor.

You can design falsifiable experiments, implement architectures from scratch, run controlled ablations, and interpret model behavior.

  1. 1Linear Algebra for MLA matrix hides strong shared directions and weak contrasts. Use SVD, eigendecomposition, and least squares to measure what rank truncation and conditioning preserve or discard.Math & Tensor FoundationsEasy13 min
  2. 2Probability for Machine LearningA detector that catches 95 percent of abusive signups can still fill the review queue with clean accounts, and the flagged-pile counts show why.Math & Tensor FoundationsEasy12 min
  3. 3Statistics, Bayesian Estimation & pass@kBound pass rates with Wilson and Beta-Binomial intervals, compare checkpoints with paired tests and bootstrap lifts, and compute unbiased pass@k.Math & Tensor FoundationsEasy12 min
  4. 4Validation and LeakageAn evaluation score can look nearly perfect because a post-inference field, a repeat user, or a contaminated benchmark already leaked the answer.Classical ML & EvaluationEasy18 min
  5. 5Experiment Design and A/B TestingDesign rigorous A/B tests for ML and LLM systems: multi-turn thread pinning, power planning, SRM, sequential tests, CUPED, judge calibration, and joint quality, latency, and cost guardrails.Classical ML & EvaluationEasy13 min
  6. 6PyTorch Training LoopsA falling loss can hide a broken sequence-classifier loop, so follow one batch through logits, gradients, validation, and a checkpoint that still matches after reload.Deep Learning FoundationsEasy14 min
  7. 7Adam, Momentum, SchedulersTwo parameters sit one unit from their target, but one gradient is 100 times steeper. Each optimizer buffer stores a different response to that mismatch.Deep Learning FoundationsEasy12 min
  8. 8The Transformer Architecture End-to-EndFollow `function returns the` through a causal decoder until the last row becomes a score for the next token.Core LLM FoundationsMedium14 min
  9. 9Language Modeling & Next TokensThe prompt ends with 'the'. Follow that prefix from a counted bigram through teacher-forced training to the autoregressive loop that writes the next token.Core LLM FoundationsMedium9 min
  10. 10LLM Benchmarks & LimitationsA fluent answer from your serving assistant can still drop calibration constraints or invent safe shortcuts. Public leaderboards will not catch application-specific regressions.Core LLM FoundationsMedium12 min
  11. 11Function Calling & Tool UseTrace a tool request from model to runtime, then build the checks that keep its actions, retries, and results under control.Applied LLM Engineering & RAGMedium18 min
  12. 12LLM-as-a-Judge EvaluationTwo inference configuration replies satisfy the same memory rule, yet string matching cannot show which engineers can execute cleanly.Applied LLM Engineering & RAGMedium12 min
  13. 13Scaled Dot-Product AttentionEach token mixes content from positions it may read. The score scale, the mask, and the memory traffic decide whether that mix stays usable.Transformer & Multimodal ArchitecturesHard17 min
  14. 14Layer Normalization: Pre-LN vs Post-LNEach residual write can change a token's scale, and where LayerNorm sits decides what the next branch reads and how its gradient gets back.Transformer & Multimodal ArchitecturesHard13 min
  15. 15Mechanistic InterpretabilityOne neuron can fire for credentials and for urgency at once. Sparse autoencoders look for narrower directions you can trace and test.Transformer & Multimodal ArchitecturesHard12 min
  16. 16Scaling Laws & Compute-Optimal TrainingKaplan, Chinchilla, and later inference-aware fits split a training budget between parameters and tokens, including when a smaller model wins on lifetime cost.Training, Fine-Tuning & AlignmentHard14 min
  17. 17Pre-training Data at ScaleA 1.4T token target estimates training scale. Measure filtering, deduplication, and packing before data reaches a training step.Training, Fine-Tuning & AlignmentHard16 min
  18. 18Build GPT from Scratch LabA tiny Shakespeare model can move from `And the I the` to `I'll do` and still be wrong. Train the pipeline, then separate learning from a shifted target or a leaked future token.Training, Fine-Tuning & AlignmentHard19 min
  19. 19CUDA for ML TrainingFour token sequences can have the right shape and still fail: wrong device, a batch that doesn't fit, or a timer that stops before the GPU finishes.Training, Fine-Tuning & AlignmentHard13 min
  20. 20Mixed Precision TrainingA 16-bit store can erase a tiny update near one or overflow a large activation, which is why the optimizer step still keeps an FP32 path.Training, Fine-Tuning & AlignmentHard12 min
  21. 21Distributed Training: FSDP & ZeROOne replicated 70B AdamW state exceeds an 80 GB GPU. Shard optimizer, gradients, and parameters with FSDP2 or DeepSpeed ZeRO, manage offload and checkpoints, and compose 4D parallelism when layers or sequences overflow.Training, Fine-Tuning & AlignmentHard16 min
  22. 22Synthetic Data PipelinesA judge score of 9/10 and a passing generated test can still admit a duplicate or a flawed answer. Filter synthetic candidates before adding them to training datasets.Training, Fine-Tuning & AlignmentHard18 min
  23. 23Supervised Fine-Tuning PipelineA fine-tuned assistant can sound fluent while breaking its instructions. Supervised fine-tuning raises the probability of the desired reply only when the loss mask, data split, and checkpoint evaluation measure that behavior.Training, Fine-Tuning & AlignmentHard15 min
  24. 24Reinforcement Learning BasicsFormulate a 3x4 cliff gridworld as a Markov decision process, solve Bellman backups, compare Q-learning against SARSA, and derive REINFORCE policy gradients for RLHF and RLVR.Training, Fine-Tuning & AlignmentHard13 min
  25. 25Reward Modeling from Preference DataA longer answer can still be the wrong one. Fit a scalar reward on chosen and rejected pairs, then test whether the score learned technical accuracy or a shortcut such as length.Training, Fine-Tuning & AlignmentHard12 min
  26. 26RLHF & DPO AlignmentAn internal reward score can climb while blinded human comparisons stay flat. Turn preference pairs into a PPO update or a DPO loss, and verify the real behavior change.Training, Fine-Tuning & AlignmentHard13 min
  27. 27RLVR & Verifiable RewardsTrain reasoning and agent models with executable verifiers, GRPO group advantages, reward-hacking defenses, and production rollout systems (token-in-token-out, observation loss masks, async staleness, and weight sync).Training, Fine-Tuning & AlignmentHard14 min
  28. 28Reasoning & Test-Time ComputeHow reasoning models trade inference tokens for accuracy via chain-of-thought, Best-of-N, sequential revision, and PRM tree search alongside KV cache and latency limits.Training, Fine-Tuning & AlignmentHard12 min