The AI knowledge tree

Every branch of AI except computer vision, as structured courses only: no articles, no blog posts, no "read this repo". Ten tiers ordered by dependency, each one stating what it builds on. Within a tier the domains are siblings and can be taken in any order.

MathematicsClassical MLDeep learningNLP & LLMsRLModalitiesSystemsMLOpsSafetyResearch

Every entry names the course, the institution and its course code, so it resolves to exactly one thing. Nothing here is pruned to a shortest path: the tree covers each branch as it exists. Computer vision is deliberately out of scope, though the multimodal material in tier 5 necessarily touches it.

Tier 0. Mathematical foundations

Everything downstream assumes this material. Probability and statistics carry the most weight later.

No prerequisites

Linear algebra

  • Linear Algebra (18.06) MIT OCW18.06 freeuniv
  • Mathematics for Machine Learning: Linear Algebra Imperial College London courserapaid
  • Matrix Methods in Data Analysis, Signal Processing & ML (18.065) MIT OCW18.065 freeuniv builds on Linear Algebra (18.06)

Calculus & matrix calculus

  • Multivariable Calculus (18.02) MIT OCW18.02 freeuniv
  • Mathematics for Machine Learning: Multivariate Calculus Imperial College London courserapaid
  • Matrix Calculus for Machine Learning and Beyond (18.S096) MIT OCW18.S096 freeuniv builds on Multivariable Calculus (18.02)

Probability & statistics

  • Pick one

    • Statistics 110: Probability HarvardStat 110 freeuniv
    • Probability - The Science of Uncertainty and Data (6.431x) MITx (MIT Open Learning, via MITx Online)6.431x freepaiduniv
  • MicroMasters in Statistics and Data Science MITx / edX paidcert builds on Statistics 110: Probability or Probability - The Science of Uncertainty and Data (6.431x)
  • Bayesian Statistics: From Concept to Data Analysis UC Santa Cruz courserapaid

Information theory

  • Information Theory, Pattern Recognition and Neural Networks Cambridge (MacKay) freeseries
  • Information Theory (EE276) StanfordEE276 freeuniv

Optimization

  • Convex Optimization I (EE364A) Stanford OnlineEE364A freeuniv
  • Convex Optimization II (EE364B) Stanford OnlineEE364B freeuniv builds on Convex Optimization I (EE364A)
  • Introduction to Numerical Methods (18.335) MIT OCW18.335 freeuniv

Tier 1. Classical machine learning

The pre-deep-learning core: estimators, generalisation, and the theory the rest leans on.

Builds on Mathematical foundations

Applied / intro ML

  • Machine Learning Specialization (3 courses) DeepLearning.AI + Stanford (Ng) courserapaid
  • Learning From Data Caltech (Abu-Mostafa) freeuniv
  • Pick one

    • Machine Learning (CS229) StanfordCS229 freeuniv
    • Introduction to Machine Learning (10-601 / 10-701) CMU10-601 freeuniv

Statistical learning

  • Statistical Learning with Python Stanford Online / edX (Hastie & Tibshirani) freeuniv
  • Statistical Learning Theory and Applications (9.520) MIT9.520 freeuniv
  • Machine Learning Theory (CS229M / STATS214) StanfordCS229M / STATS214 freeuniv

Bayesian & probabilistic methods

  • Statistical Rethinking Max Planck (McElreath) freeseries
  • Bayesian Methods for Machine Learning HSE University courserapaid
  • Probabilistic Machine Learning University of Tübingen (Hennig) freeseries
  • Numerics of Machine Learning University of Tübingen (Hennig) freeseries

Probabilistic graphical models

  • Pick one

    • Probabilistic Graphical Models (CS228) StanfordCS228 freeuniv
    • Probabilistic Graphical Models Specialization (3 courses) Stanford (Koller) courserapaid
  • Probabilistic Graphical Models (10-708) CMU10-708 freeuniv

Causal inference

  • Introduction to Causal Inference Brady Neal freeseries
  • Causal Inference & Causal Inference 2 Columbia University (via Coursera) courserapaid

Tier 2. Deep learning core

Backprop, optimisation, architectures, generative models.

Builds on Classical machine learning

Deep learning fundamentals

  • Introduction to Deep Learning (6.S191) MIT6.S191 freeuniv
  • Pick one

    • Deep Learning Specialization (5 courses) DeepLearning.AI (Ng) courserapaid
    • Practical Deep Learning for Coders fast.ai freeseries
  • Deep Learning (CS230) StanfordCS230 freeuniv builds on Deep Learning Specialization (5 courses) or Practical Deep Learning for Coders
  • Pick one

    • Introduction to Deep Learning (11-785) CMU11-785 freeuniv
    • Designing, Visualizing and Understanding Deep Neural Networks (CS182) UC BerkeleyCS182/282A freeuniv
  • Deep Learning NYU (LeCun & Canziani) freeuniv

Generative models

  • Deep Generative Models (CS236) StanfordCS236 freeuniv
  • Deep Unsupervised Learning (CS294-158) UC BerkeleyCS294-158 freeuniv
  • Diffusion Course Hugging Face freecert

Graph & geometric learning

  • Machine Learning with Graphs (CS224W) StanfordCS224W freeuniv
  • Geometric Deep Learning AMMI (Bronstein et al.) freeseries

Tier 3. NLP, transformers & LLMs

From word vectors to building a language model end to end. CS336 is the densest item in the tree.

Builds on Deep learning core

NLP foundations

  • Pick one

    • NLP with Deep Learning (CS224N) StanfordCS224N freeuniv
    • Advanced NLP (11-711) CMU11-711 freeuniv
  • Natural Language Processing Specialization (4 courses) DeepLearning.AI courserapaid
  • LLM Course (formerly NLP Course) Hugging Face freecert

Transformers & building LLMs

  • Neural Networks: Zero to Hero Karpathy freeseries
  • Language Modeling from Scratch (CS336) StanfordCS336 freeuniv
  • Transformers United (CS25) StanfordCS25 freeseries
  • Pick one

    • Generative AI with Large Language Models DeepLearning.AI + AWS courserapaid
    • Generative AI Engineering with LLMs Specialization IBM courserapaid

Fine-tuning & post-training

  • Finetuning Large Language Models DeepLearning.AI freeseries
  • Reinforcement Learning from Human Feedback DeepLearning.AI freeseries
  • Post-training & alignment (within CS336) StanfordCS336 freeuniv builds on Language Modeling from Scratch (CS336)

Prompting, RAG & context

  • ChatGPT Prompt Engineering for Developers DeepLearning.AI freeseries
  • Prompt Engineering Specialization Vanderbilt University courserapaid
  • Building and Evaluating Advanced RAG DeepLearning.AI freeseries
  • Text Retrieval and Search Engines UIUC courserapaid

Agents & tool use

  • AI Agents Course Hugging Face freecert
  • MCP Course Hugging Face freecert
  • Large Language Model Agents (MOOC) UC Berkeley (Dawn Song, with Xinyun Chen)CS194/294-196 freeuniv

Evaluation & interpretability

  • Evaluating and Debugging Generative AI DeepLearning.AI freeseries
  • Automated Testing for LLMOps DeepLearning.AI freeseries

Tier 4. Reinforcement learning

A standalone branch. Feeds post-training (RLHF, GRPO) back into tier 3.

Builds on Deep learning core

Classical RL

  • Pick one

    • Reinforcement Learning Specialization (4 courses) University of Alberta courserapaid
    • Reinforcement Learning Course DeepMind × UCL (Silver) freeseries

Deep RL

  • Deep RL Course Hugging Face freecert
  • Spinning Up in Deep RL OpenAI freeseries
  • Reinforcement Learning (CS234) StanfordCS234 freeuniv
  • Deep Reinforcement Learning (CS285) UC BerkeleyCS285 freeuniv

Tier 5. Other modalities & applications

Speech, tabular data, time series, and multimodal systems. Multimodal work necessarily touches vision.

Builds on Deep learning core

Speech & audio

  • Audio Course Hugging Face freecert
  • Spoken Language Processing (CS224S) StanfordCS224S freeuniv

Time series & forecasting

  • Practical Time Series Analysis SUNY courserapaid
  • Sequences, Time Series and Prediction DeepLearning.AI courserapaid

Recommenders & information retrieval

  • Recommender Systems Specialization (5 courses) University of Minnesota courserapaid
  • Mining Massive Datasets (CS246) StanfordCS246 freeuniv

Embodied & robotics

  • Robotics Course (LeRobot) Hugging Face freecert
  • ML for Games Course Hugging Face freecert

Tier 6. ML systems & efficiency

Kernels, quantisation, distributed training, and serving. Where systems engineering meets models.

Builds on Deep learning core

Parallel & GPU programming

  • Pick one

    • Parallel Computer Architecture and Programming (15-418/618) CMU15-418 freeuniv
    • Parallel Computing (CS149) StanfordCS149 freeuniv
  • Fundamentals of Accelerated Computing with CUDA C/C++ NVIDIA DLI paidcert

Deep learning systems & compilers

  • Deep Learning Systems: Algorithms and Implementation (10-414/714) CMU (Chen & Dettmers)10-414 freeuniv
  • Machine Learning Compilation MLC.ai (Tianqi Chen) freeseries

Efficient inference & TinyML

  • TinyML and Efficient Deep Learning Computing (6.5940) MIT (Song Han)6.5940 freeuniv
  • Hardware Architecture for Deep Learning (6.5930) MIT6.5930 freeuniv

ML systems design

  • Machine Learning Systems (CS249r) Harvard (Reddi)CS249r freeuniv
  • Stanford MLSys Seminar Series Stanford freeseries

Distributed systems substrate

  • Distributed Systems (6.824/6.5840) MIT6.824 freeuniv
  • Intro to Database Systems (15-445/645) CMU15-445 freeuniv

Tier 7. MLOps & production engineering

Shipping, serving, and monitoring models once they leave the notebook.

Builds on Deep learning core

MLOps

  • Machine Learning Engineering for Production (MLOps) Specialization (4 courses) DeepLearning.AI courserapaid
  • MLOps Zoomcamp DataTalks.Club freecert
  • Full Stack Deep Learning FSDL freeseries
  • Made With ML Anyscale (Made With ML) freeseries

LLMOps

  • LLMOps DeepLearning.AI freeseries
  • Full Stack LLM Bootcamp FSDL freeseries

Data engineering

  • IBM Data Engineering Professional Certificate IBM courserapaidcert
  • Data Engineering Zoomcamp DataTalks.Club freecert

Cloud ML certifications

  • AWS Certified Machine Learning Engineer - Associate (MLA-C01) AWS paidcert
  • Preparing for Google Cloud Certification: Machine Learning Engineer Google Cloud courserapaidcert

Tier 8. Safety, security, privacy & governance

Alignment, adversarial robustness, privacy, and policy. Thin on formal courses, which is itself informative.

Builds on NLP, transformers & LLMs

AI safety & alignment

  • AI Alignment BlueDot Impact freecert
  • Frontier AI Governance BlueDot Impact freecert
  • ARENA - Alignment Research Engineer Accelerator ARENA freeseries

Adversarial ML & LLM security

  • Red Teaming LLM Applications DeepLearning.AI freeseries

Privacy-preserving ML

  • Privacy-Preserving AI series OpenMined freeseries

Fairness, ethics & policy

  • AI Ethics / Responsible AI various (Coursera catalogue) courserapaid
  • EU AI Act compliance training various providers paid

Tier 9. Research practice

Craft rather than knowledge: reading a field, reproducing results, and writing them up.

Builds on NLP, transformers & LLMs and ML systems & efficiency

Doing and writing research

  • Writing in the Sciences Stanford Online freeuniv
  • How to Write and Publish a Scientific Paper École Polytechnique courserapaid