See How Things Work

Artificial Intelligence

Artificial intelligence from the ground up: search, logic, probability, machine learning, neural networks, language models, and how to make AI safe.

16 branches · 44 subjects · 129 units · 2188 lessons planned · 51 lessons ready

Ready = can be read now ·Soon = planned

0History of Artificial Intelligence

2 subjects

The story of thinking machines, from ancient automata and Turing to deep learning and large language models.

  1. 0.1Thinking Machines Before AIAutomata, reasoning as calculation, the first computers, and Turing's question. (2 units, 47 lessons)Ready
    1. Dreams of Thinking Machines24 lessons9/24 ready

      Automata, the idea of reasoning as calculation, the first programmable machines, and thinking machines in fiction.

      1. 1. Automata

        1. 1.1Talos and the artificial beings of Greek myth
        2. 1.2Hero of Alexandria's automata
        3. 1.3The Banū Mūsā's programmable flute player
        4. 1.4Al-Jazari's Book of Knowledge of Ingenious Mechanical Devices
        5. 1.5Vaucanson's duck and the Jaquet-Droz automata
        6. 1.6The Mechanical Turk: a chess-playing hoax
      2. 2. Reasoning as Calculation

        1. 2.1Aristotle's syllogisms
        2. 2.2Ramon Llull's Ars Magna
        3. 2.3Hobbes: reasoning is reckoning
        4. 2.4Leibniz's dream of a calculus of reasoningSoon
        5. 2.5Boole's Laws of ThoughtSoon
        6. 2.6Jevons's logic pianoSoon
        7. 2.7Frege's BegriffsschriftSoon
      3. 3. Programmable Machines

        1. 3.1The Jacquard loom and punched cardsSoon
        2. 3.2Babbage's Difference Engine and Analytical EngineSoon
        3. 3.3Ada Lovelace's notes and the first published programSoon
        4. 3.4Lovelace's objection: can a machine originate anything?Soon
        5. 3.5Hollerith's tabulating machines and the 1890 censusSoon
        6. 3.6Torres Quevedo's chess-playing automatonSoon
      4. 4. Machine Minds in Fiction

        1. 4.1Mary Shelley's FrankensteinSoon
        2. 4.2Čapek's R.U.R. and the word “robot”Soon
        3. 4.3The robot Maria in MetropolisSoon
        4. 4.4Asimov's three laws of roboticsSoon
        5. 4.5HAL 9000 and 2001: A Space OdysseySoon
    2. The Birth of Computing23 lessons9/23 ready

      How logic became computation, the first electronic computers, cybernetics, and Turing's question “Can machines think?”.

      1. 1. Logic Becomes Computation

        1. 1.1Hilbert's decision problem
        2. 1.2Turing's 1936 paper on computable numbers
        3. 1.3Church's lambda calculus
        4. 1.4Shannon: switching circuits as Boolean algebra
      2. 2. The First Computers

        1. 2.1Konrad Zuse's Z3
        2. 2.2Code-breaking at Bletchley Park: the bombe and Colossus
        3. 2.3ENIAC
        4. 2.4Von Neumann's EDVAC report and the stored-program idea
        5. 2.5The Manchester Baby runs the first stored program
        6. 2.6The transistor and the integrated circuitSoon
        7. 2.7Moore's lawSoon
      3. 3. Cybernetics and the Brain

        1. 3.1McCulloch and Pitts's logical neuronSoon
        2. 3.2Norbert Wiener and cyberneticsSoon
        3. 3.3Ashby's homeostatSoon
        4. 3.4Grey Walter's robot tortoisesSoon
        5. 3.5Hebb's The Organization of BehaviorSoon
        6. 3.6Shannon's maze-solving mouse TheseusSoon
      4. 4. Turing's Question

        1. 4.1Computing Machinery and IntelligenceSoon
        2. 4.2The imitation gameSoon
        3. 4.3Turing's replies to the objectionsSoon
        4. 4.4Turing's learning machinesSoon
        5. 4.5Turochamp: Turing and Champernowne's paper chess programSoon
        6. 4.6Shannon's paper on programming a computer to play chessSoon
  2. 0.2History of Artificial IntelligenceFrom the Dartmouth workshop through the AI winters to the deep learning era. (4 units, 101 lessons)2/4 units ready
    1. The Founding of AI23 lessons6/23 ready

      The Dartmouth workshop, the first AI programs, the first neural networks, and the microworlds of the 1960s.

      1. 1. Dartmouth and the Name

        1. 1.1The Dartmouth proposal of 1955
        2. 1.2The Dartmouth summer workshop of 1956
        3. 1.3John McCarthy
        4. 1.4Marvin Minsky
        5. 1.5Allen Newell and Herbert Simon
      2. 2. The First AI Programs

        1. 2.1The Logic Theorist
        2. 2.2The General Problem SolverSoon
        3. 2.3Arthur Samuel's checkers playerSoon
        4. 2.4Gelernter's geometry theorem proverSoon
        5. 2.5McCarthy's LISPSoon
        6. 2.6Slagle's SAINT and symbolic integrationSoon
      3. 3. Early Neural Networks

        1. 3.1Rosenblatt's perceptron and the Mark ISoon
        2. 3.2Widrow and Hoff's ADALINESoon
        3. 3.3Selfridge's PandemoniumSoon
        4. 3.4Ivakhnenko's group method of data handlingSoon
        5. 3.5Minsky and Papert's PerceptronsSoon
      4. 4. Microworlds and Language

        1. 4.1Early machine translation: the Georgetown–IBM experimentSoon
        2. 4.2The ALPAC reportSoon
        3. 4.3Bobrow's STUDENTSoon
        4. 4.4Weizenbaum's ELIZASoon
        5. 4.5Shakey the robotSoon
        6. 4.6The A* algorithm from the Shakey projectSoon
        7. 4.7Winograd's SHRDLU and the blocks worldSoon
    2. Expert Systems & AI Winters26 lessons6/26 ready

      Broken promises and the first AI winter, the expert-system boom and bust, and the return of neural networks and probability.

      1. 1. The First AI Winter

        1. 1.1Early predictions about AI
        2. 1.2The frame problem
        3. 1.3DARPA's Speech Understanding Research program
        4. 1.4The Lighthill report
      2. 2. Knowledge Is Power

        1. 2.1DENDRAL
        2. 2.2MYCIN
        3. 2.3Prolog and logic programmingSoon
        4. 2.4Minsky's framesSoon
        5. 2.5XCON at Digital Equipment CorporationSoon
        6. 2.6Japan's Fifth Generation Computer projectSoon
        7. 2.7Lenat's Cyc: encoding common senseSoon
      3. 3. The Second AI Winter

        1. 3.1The collapse of the Lisp machine marketSoon
        2. 3.2The brittleness of expert systemsSoon
        3. 3.3Brooks and behavior-based roboticsSoon
        4. 3.4Moravec's paradoxSoon
      4. 4. The Return of Neural Networks

        1. 4.1Fukushima's neocognitronSoon
        2. 4.2Hopfield networksSoon
        3. 4.3Boltzmann machinesSoon
        4. 4.4Early inventors of backpropagation: Linnainmaa and WerbosSoon
        5. 4.5Rumelhart, Hinton and Williams popularize backpropagationSoon
        6. 4.6Parallel Distributed ProcessingSoon
        7. 4.7NETtalkSoon
      5. 5. Probability Enters AI

        1. 5.1Hidden Markov models in speech recognition at IBMSoon
        2. 5.2Pearl's Probabilistic Reasoning in Intelligent SystemsSoon
        3. 5.3Sutton's temporal-difference learningSoon
        4. 5.4Watkins's Q-learningSoon
    3. The Rise of Machine Learning23 lessonsSoon

      From the 1980s to the 2000s: learning theory, statistical methods, game-playing triumphs, and AI at work in the world.

      Loading the lessons…

    4. The Deep Learning Era29 lessonsSoon

      From AlexNet to large language models: the breakthroughs since 2012 and how AI became a public question.

      Loading the lessons…

1Computing Foundations

4 subjects

What computers are and how they work, and how to program them.

  1. 1.1How Computers WorkBits and data, logic circuits and processors, operating systems and networks. (3 units, 58 lessons)1/3 units ready
    1. Representing Information23 lessons12/23 ready

      How a computer stores numbers, text, images and sound as bits, and how data is compressed.

      1. 1. Bits

        1. 1.1Information as choices between alternatives
        2. 1.2Bits and bytes
        3. 1.3Binary numbers in a computer
        4. 1.4Hexadecimal notation
        5. 1.5How many values n bits can hold
        6. 1.6Units of storage: kilobytes to terabytes
      2. 2. Numbers in a Computer

        1. 2.1Unsigned integers
        2. 2.2Negative integers and two's complement
        3. 2.3Overflow
        4. 2.4Fixed-point numbers
        5. 2.5Floating-point numbers
        6. 2.6Rounding error in floating point
        7. 2.7Low-precision formats: half precision and bfloat16Soon
      3. 3. Text, Images and Sound

        1. 3.1Characters and ASCIISoon
        2. 3.2Unicode and UTF-8Soon
        3. 3.3Images as grids of pixelsSoon
        4. 3.4Color as red, green and blueSoon
        5. 3.5Sound as a sequence of samplesSoon
        6. 3.6Video as a sequence of framesSoon
      4. 4. Compression

        1. 4.1Why data can be compressedSoon
        2. 4.2Run-length encodingSoon
        3. 4.3Lossless and lossy compressionSoon
        4. 4.4Lossy compression of images and soundSoon
    2. Digital Logic & Computer Hardware19 lessonsSoon

      How transistors make logic gates, gates make adders and memory, and these make a processor that runs programs.

      Loading the lessons…

    3. Software, Operating Systems & Networks16 lessonsSoon

      How programs become running processes, what an operating system does, and how computers talk over networks.

      Loading the lessons…

  2. 1.2Introduction to ProgrammingWriting programs, then building larger ones with objects, functions and tests. (2 units, 56 lessons)Soon
    1. Programming Fundamentals33 lessonsSoon

      Writing programs in Python, from zero: values, variables, control flow, functions, collections, files, and finding and preventing errors.

      Loading the lessons…

    2. Programming Paradigms & Software Design23 lessonsSoon

      Objects, functional style, and the habits that make larger programs work: modules, environments, tests, version control, and programs that use the operating system.

      Loading the lessons…

  3. 1.3Data Structures & AlgorithmsOrganizing data and designing efficient algorithms. (2 units, 49 lessons)Soon
    1. Data Structures21 lessonsSoon

      Ways to organize data in a program, from arrays and hash tables to trees, heaps and graphs, and what each costs.

      Loading the lessons…

    2. Algorithm Design28 lessonsSoon

      Techniques for designing algorithms, classic graph algorithms, random numbers and elementary functions computed from scratch, and what to do when a problem has no fast algorithm.

      Loading the lessons…

  4. 1.4Computing with DataArrays of numbers, random numbers and plots, and tables of data. (2 units, 62 lessons)Soon
    1. Numerical Computing30 lessonsSoon

      Computing with arrays of numbers: an array type of your own, then NumPy; linear algebra in code; floating-point pitfalls; sampling and simulation; and plots drawn by hand, then with matplotlib.

      Loading the lessons…

    2. Working with Data32 lessonsSoon

      Loading, cleaning, combining, storing and exploring data: text, binary, compressed and web formats, a data frame and a query engine of your own, then the standard modules, pandas and SQL.

      Loading the lessons…

2Foundations of AI

2 subjects

What AI is, intelligent agents, and solving problems by search.

  1. 2.1Introduction to Artificial IntelligenceAgents, search, games, constraints, logic and probability: the classic first course. (8 units, 153 lessons)1/8 units ready
    1. What Artificial Intelligence Is20 lessons9/20 ready

      What people mean by artificial intelligence, where it is used, the main ways AI systems are built, and a map of the field.

      1. 1. Defining AI

        1. 1.1What people mean by artificial intelligence
        2. 1.2Intelligence in people, animals and machines
        3. 1.3Four definitions: thinking or acting, humanly or rationally
        4. 1.4The Turing test as a definition
        5. 1.5Narrow AI and general AI
      2. 2. AI Around Us

        1. 2.1Recognizing speech and faces
        2. 2.2Recommending what to watch and buy
        3. 2.3Translating between languages
        4. 2.4Finding routes and driving
        5. 2.5Chatbots and assistantsSoon
        6. 2.6AI in science and medicineSoon
      3. 3. How AI Systems Are Built

        1. 3.1Rules written by peopleSoon
        2. 3.2Searching through possibilitiesSoon
        3. 3.3Learning from examplesSoon
        4. 3.4Learning from rewardsSoon
        5. 3.5Symbolic and statistical AISoon
      4. 4. The Map of the Field

        1. 4.1The subfields of AISoon
        2. 4.2AI, machine learning and deep learningSoon
        3. 4.3AI and its neighbors: computer science, statistics, neuroscience and philosophySoon
        4. 4.4Judging claims about AISoon
    2. Intelligent Agents19 lessonsSoon

      Agents that perceive and act, what makes an agent rational, the kinds of environments, and the basic agent designs.

      Loading the lessons…

    3. Local Search & Optimization17 lessonsSoon

      Searching for good states rather than paths: hill climbing, simulated annealing, continuous spaces, and search with uncertain actions and observations.

      Loading the lessons…

    4. Adversarial Search & Games20 lessonsSoon

      Game trees, minimax and alpha–beta pruning, evaluation functions, games of chance, and Monte Carlo tree search.

      Loading the lessons…

    5. Constraint Satisfaction21 lessonsSoon

      Problems defined by variables and constraints, constraint propagation, backtracking search, and exploiting problem structure.

      Loading the lessons…

    6. Logical Agents19 lessonsSoon

      Agents that reason with propositional logic: entailment, inference by model checking and by proof, resolution, and SAT solving.

      Loading the lessons…

    7. Reasoning Under Uncertainty15 lessonsSoon

      Why agents need probability, inference with joint distributions, independence, Bayes' rule in diagnosis, and other approaches to uncertainty.

      Loading the lessons…

  2. 2.2Search & OptimizationSearch, constraint satisfaction, local search and evolutionary computation. (4 units, 76 lessons)Soon
    1. Problem Solving by Search22 lessonsSoon

      Formulating problems as search, the uninformed search strategies, A* and other informed search, and designing heuristics.

      Loading the lessons…

    2. Local Search & Optimization17 lessonsSoon

      Searching for good states rather than paths: hill climbing, simulated annealing, continuous spaces, and search with uncertain actions and observations.

      Loading the lessons…

    3. Constraint Satisfaction21 lessonsSoon

      Problems defined by variables and constraints, constraint propagation, backtracking search, and exploiting problem structure.

      Loading the lessons…

    4. Evolutionary Computation16 lessonsSoon

      Optimization inspired by evolution and swarms: genetic algorithms, evolution strategies, multi-objective and quality-diversity search, and neuroevolution.

      Loading the lessons…

3Knowledge, Reasoning & Planning

2 subjects

Representing knowledge in logic, reasoning with it, and planning actions.

  1. 3.1Knowledge Representation & ReasoningPropositional and first-order logic, ontologies, knowledge graphs and automated reasoning. (5 units, 84 lessons)Soon
    1. Logical Agents19 lessonsSoon

      Agents that reason with propositional logic: entailment, inference by model checking and by proof, resolution, and SAT solving.

      Loading the lessons…

    2. First-Order Logic for AI20 lessonsSoon

      Representing the world with objects and relations, inference by unification, chaining and resolution, and logic programming.

      Loading the lessons…

    3. Knowledge Representation17 lessonsSoon

      Ontologies, events and time, beliefs, semantic networks and description logics, and reasoning with defaults.

      Loading the lessons…

    4. Knowledge Graphs12 lessonsSoon

      Knowledge stored as graphs of entities and relations: RDF, SPARQL, OWL, large public graphs, and how graphs are built and reasoned over.

      Loading the lessons…

    5. Automated Reasoning16 lessonsSoon

      Machines that prove theorems and check systems: saturation provers, SMT solvers, model checking and proof assistants.

      Loading the lessons…

  2. 3.2Automated PlanningClassical, hierarchical and real-world planning. (1 unit, 18 lessons)Soon
    1. Automated Planning18 lessonsSoon

      Classical planning with PDDL, planning heuristics and planning graphs, hierarchical planning, and planning in the real world.

      Loading the lessons…

4Uncertainty & Decisions

2 subjects

Reasoning with probabilities, causes and utilities, alone and among other agents.

  1. 4.1Probabilistic ReasoningUncertainty, Bayesian networks, reasoning over time, and causality. (4 units, 67 lessons)Soon
    1. Reasoning Under Uncertainty15 lessonsSoon

      Why agents need probability, inference with joint distributions, independence, Bayes' rule in diagnosis, and other approaches to uncertainty.

      Loading the lessons…

    2. Bayesian Networks16 lessonsSoon

      Representing uncertain knowledge as a graph, exact inference by variable elimination, and approximate inference by sampling.

      Loading the lessons…

    3. Probabilistic Reasoning over Time18 lessonsSoon

      Tracking a changing world: filtering, smoothing and the Viterbi algorithm, hidden Markov models, Kalman filters and particle filters.

      Loading the lessons…

    4. Causal Reasoning18 lessonsSoon

      Telling cause from correlation: structural causal models, interventions and the do-calculus, counterfactuals, and causal discovery.

      Loading the lessons…

  2. 4.2Decision MakingUtility theory, Markov decision processes and multiagent decisions. (3 units, 47 lessons)Soon
    1. Making Decisions14 lessonsSoon

      Utility theory, risk, decision networks, the value of information, and decisions when preferences are uncertain.

      Loading the lessons…

    2. Sequential Decision Making15 lessonsSoon

      Markov decision processes, the Bellman equation, value and policy iteration, and partially observable problems.

      Loading the lessons…

    3. Multiagent Decision Making18 lessonsSoon

      AI's view of many agents: computing equilibria, regret minimization, mechanism design, auctions, voting and cooperation.

      Loading the lessons…

5Machine Learning

5 subjects

Learning from data: supervised and unsupervised learning, probabilistic models, practice and theory.

  1. 5.1Introduction to Machine LearningLearning from examples, evaluation, linear models, trees, ensembles and kernels. (8 units, 140 lessons)Soon
    1. Machine Learning Foundations22 lessonsSoon

      What it means for a machine to learn from examples, the kinds of learning, overfitting and generalization, and the workflow of a project.

      Loading the lessons…

    2. Model Evaluation21 lessonsSoon

      Measuring how good a model is: classification and regression metrics, cross-validation, leakage, thresholds and calibration.

      Loading the lessons…

    3. Decision Trees14 lessonsSoon

      Learning trees of questions from data: choosing splits, growing and pruning trees, regression trees and rule learning.

      Loading the lessons…

    4. Linear Models26 lessonsSoon

      Linear regression and classification as learning algorithms: gradient descent, logistic regression, softmax, regularization and stochastic gradient descent.

      Loading the lessons…

    5. Feature Engineering14 lessonsSoon

      Turning raw data into features a model can use, and choosing which features to keep.

      Loading the lessons…

    6. Instance-Based & Probabilistic Classifiers12 lessonsSoon

      Nearest-neighbor methods and the curse of dimensionality; generative classifiers such as naive Bayes and discriminant analysis.

      Loading the lessons…

    7. Ensemble Methods15 lessonsSoon

      Combining many models: bagging, random forests, AdaBoost, gradient boosting and stacking.

      Loading the lessons…

    8. Support Vector Machines & Kernels16 lessonsSoon

      Maximum-margin classifiers, the kernel trick in practice, and how support vector machines are trained, tuned and scaled.

      Loading the lessons…

  2. 5.2Unsupervised LearningClustering, dimensionality reduction and latent variable models. (3 units, 42 lessons)Soon
    1. Clustering13 lessonsSoon

      Finding groups in unlabeled data: k-means, hierarchical and density-based clustering, and judging the clusters found.

      Loading the lessons…

    2. Dimensionality Reduction15 lessonsSoon

      Compressing high-dimensional data: PCA from the learning point of view, manifold learning, t-SNE and UMAP, and matrix factorizations.

      Loading the lessons…

    3. Latent Variable Models14 lessonsSoon

      Models with hidden variables: Gaussian mixtures and the EM algorithm, factor models, topic models, density estimation and anomaly detection.

      Loading the lessons…

  3. 5.3Probabilistic Machine LearningGraphical models, approximate inference, Gaussian processes and Bayesian methods. (3 units, 50 lessons)Soon
    1. Bayesian Networks16 lessonsSoon

      Representing uncertain knowledge as a graph, exact inference by variable elimination, and approximate inference by sampling.

      Loading the lessons…

    2. Probabilistic Graphical Models13 lessonsSoon

      Undirected models and factor graphs, belief propagation and variational inference, and learning graphical models from data.

      Loading the lessons…

    3. Bayesian Machine Learning21 lessonsSoon

      Learning by Bayesian updating: Bayesian linear models, Gaussian processes, Bayesian optimization, nonparametric priors and probabilistic programming.

      Loading the lessons…

  4. 5.4Applied Machine LearningExperiments and reproducibility, recommender systems and forecasting. (3 units, 36 lessons)Soon
    1. Machine Learning Experiments14 lessonsSoon

      The laboratory side of machine learning: designing experiments, comparing models with statistics, and making results reproducible.

      Loading the lessons…

    2. Recommender Systems11 lessonsSoon

      Systems that suggest items to people: collaborative and content-based filtering, latent factor models, deep recommenders, and their effects.

      Loading the lessons…

    3. Forecasting with Machine Learning11 lessonsSoon

      Predicting the future of time series with machine learning: lag features, backtesting, probabilistic forecasts, deep forecasters and anomalies.

      Loading the lessons…

  5. 5.5Learning TheoryPAC learning, generalization bounds, online learning and the theory of deep learning. (1 unit, 19 lessons)Soon
    1. Learning Theory19 lessonsSoon

      When and why learning works: PAC learning, capacity measures and generalization bounds, online learning, and the theory of deep learning.

      Loading the lessons…

6Deep Learning

3 subjects

Neural networks and how to train them, the main architectures, and deep generative models.

  1. 6.1Neural Networks & Deep LearningNeural networks, training, convolutional and recurrent networks, and transformers. (5 units, 112 lessons)Soon
    1. Neural Networks25 lessonsSoon

      Artificial neurons, multilayer networks, backpropagation and automatic differentiation, training a first network with your own engine, then the same in PyTorch.

      Loading the lessons…

    2. Training Deep Networks27 lessonsSoon

      Optimizers, initialization and normalization, residual connections, regularization, and the practical craft of making deep networks train, built by hand and then with PyTorch's own.

      Loading the lessons…

    3. Convolutional Neural Networks21 lessonsSoon

      Convolution, pooling and receptive fields, the classic CNN architectures, and transfer learning.

      Loading the lessons…

    4. Recurrent Neural Networks17 lessonsSoon

      Networks with memory for sequences: backpropagation through time, LSTMs and GRUs, and sequence-to-sequence models.

      Loading the lessons…

    5. Attention & Transformers22 lessonsSoon

      Attention as soft lookup, the transformer architecture piece by piece and built from scratch, and its main variants.

      Loading the lessons…

  2. 6.2Deep Generative ModelsAutoregressive models, VAEs, GANs, flows, energy-based and diffusion models. (6 units, 82 lessons)Soon
    1. Generative Modeling14 lessonsSoon

      What it means to learn a distribution and generate new data, the families of generative models, and how they are evaluated.

      Loading the lessons…

    2. Autoregressive Models12 lessonsSoon

      Generating one piece at a time: autoregressive factorization, PixelCNN, WaveNet and transformers, and how to decode from them.

      Loading the lessons…

    3. Variational Autoencoders13 lessonsSoon

      Autoencoders, the variational autoencoder and its training objective, and its conditional, hierarchical and discrete variants.

      Loading the lessons…

    4. Generative Adversarial Networks13 lessonsSoon

      Training a generator against a discriminator: the GAN objective, its difficulties, the main improvements and applications.

      Loading the lessons…

    5. Normalizing Flows & Energy-Based Models10 lessonsSoon

      Exact likelihoods with invertible networks, and models defined by an energy function, trained with contrastive divergence or score matching.

      Loading the lessons…

    6. Diffusion Models20 lessonsSoon

      Generating by learning to remove noise: denoising diffusion, the score-based and SDE view, flow matching, guidance and latent diffusion.

      Loading the lessons…

  3. 6.3Advanced Deep LearningRepresentation and self-supervised learning, graph neural networks, meta-learning and continual learning. (3 units, 43 lessons)Soon
    1. Representation Learning15 lessonsSoon

      Learning useful representations: embeddings, self-supervised and contrastive learning, and transferring what is learned.

      Loading the lessons…

    2. Graph Neural Networks16 lessonsSoon

      Deep learning on graphs: node embeddings, message passing, graph convolution and attention, expressive power, and symmetry.

      Loading the lessons…

    3. Meta-Learning & Continual Learning12 lessonsSoon

      Systems that learn how to learn, search for their own architectures, and keep learning without forgetting.

      Loading the lessons…

7Reinforcement Learning

2 subjects

Learning to act from reward.

  1. 7.1Reinforcement LearningBandits, Markov decision processes, temporal-difference learning, and value and policy methods. (5 units, 79 lessons)Soon
    1. Sequential Decision Making15 lessonsSoon

      Markov decision processes, the Bellman equation, value and policy iteration, and partially observable problems.

      Loading the lessons…

    2. Multi-Armed Bandits12 lessonsSoon

      Learning to choose by trial and error: exploration versus exploitation, regret, UCB, Thompson sampling and contextual bandits.

      Loading the lessons…

    3. Reinforcement Learning Foundations23 lessonsSoon

      Learning to act from reward without a model: Monte Carlo methods, temporal-difference learning, SARSA and Q-learning, and planning with learned models.

      Loading the lessons…

    4. Value Function Approximation15 lessonsSoon

      Reinforcement learning in large state spaces: linear and neural value functions, the deadly triad, and deep Q-networks.

      Loading the lessons…

    5. Policy Gradient Methods14 lessonsSoon

      Learning policies directly: the policy gradient theorem, REINFORCE, actor–critic methods, PPO, and continuous control.

      Loading the lessons…

  2. 7.2Deep Reinforcement LearningDeep value and policy methods, model-based RL, imitation, and the frontiers of RL. (5 units, 71 lessons)Soon
    1. Value Function Approximation15 lessonsSoon

      Reinforcement learning in large state spaces: linear and neural value functions, the deadly triad, and deep Q-networks.

      Loading the lessons…

    2. Policy Gradient Methods14 lessonsSoon

      Learning policies directly: the policy gradient theorem, REINFORCE, actor–critic methods, PPO, and continuous control.

      Loading the lessons…

    3. Model-Based Reinforcement Learning12 lessonsSoon

      Learning a model of the world and planning with it: world models, MuZero and Dreamer, and exploration in large spaces.

      Loading the lessons…

    4. Imitation & Inverse Reinforcement Learning12 lessonsSoon

      Learning from demonstrations and from human judgments: behavioral cloning, DAgger, inverse RL, preference learning and RLHF.

      Loading the lessons…

    5. Frontiers of Reinforcement Learning18 lessonsSoon

      Offline, hierarchical, multi-agent, safe and meta reinforcement learning.

      Loading the lessons…

8Natural Language Processing

2 subjects

Computers that read, analyze, translate and converse in human language.

  1. 8.1Natural Language ProcessingText processing, language models, classification and tagging, embeddings, syntax and semantics. (6 units, 80 lessons)Soon
    1. Text Processing19 lessonsSoon

      Text as data: corpora and word frequencies, regular expressions, tokenization and normalization, subword tokenizers built from scratch, and comparing strings.

      Loading the lessons…

    2. Statistical Language Modeling12 lessonsSoon

      Predicting the next word with n-gram models, measuring models by perplexity, and smoothing for unseen words.

      Loading the lessons…

    3. Text Classification & Sequence Labeling11 lessonsSoon

      Classifying documents by topic or sentiment, and tagging each word: part-of-speech tagging and named entity recognition.

      Loading the lessons…

    4. Word Embeddings13 lessonsSoon

      Representing word meaning as vectors: the distributional hypothesis, word2vec and GloVe, and how embeddings are evaluated and where they are biased.

      Loading the lessons…

    5. Syntax & Parsing13 lessonsSoon

      The structure of sentences: grammars and treebanks, constituency parsing with CKY and PCFGs, and dependency parsing.

      Loading the lessons…

    6. Semantics & Discourse12 lessonsSoon

      Representing what sentences mean, resolving references across a text, and extracting facts and events.

      Loading the lessons…

  2. 8.2Advanced Natural Language ProcessingMachine translation, retrieval and question answering, pretrained models and dialogue. (4 units, 48 lessons)Soon
    1. Machine Translation15 lessonsSoon

      Translating between languages: rule-based and statistical translation, neural translation with attention, and evaluating translations.

      Loading the lessons…

    2. Information Retrieval & Question Answering13 lessonsSoon

      Finding relevant documents and answering questions: inverted indexes, BM25 and PageRank, dense retrieval, reranking and reading comprehension.

      Loading the lessons…

    3. Pretrained Language Models12 lessonsSoon

      Contextual word representations learned by pretraining: ELMo, BERT, GPT and T5, fine-tuning for tasks, and benchmarks.

      Loading the lessons…

    4. Dialogue Systems8 lessonsSoon

      Conversation and conversational agents: turns and speech acts, task-oriented dialogue with frames and state tracking, and evaluating dialogue.

      Loading the lessons…

9Vision & Speech

2 subjects

Machines that see and hear.

  1. 9.1Computer VisionImage processing, features, 3D geometry, recognition and video. (5 units, 77 lessons)Soon
    1. Images & Image Processing19 lessonsSoon

      How cameras form images, and the classic operations on them: histograms, filtering, edges, morphology and image pyramids.

      Loading the lessons…

    2. Features & Matching13 lessonsSoon

      Finding distinctive points in images, matching them across images, fitting transformations robustly, and measuring motion.

      Loading the lessons…

    3. 3D Vision16 lessonsSoon

      Recovering three-dimensional structure: camera calibration, epipolar geometry, stereo, structure from motion, and learned 3D representations.

      Loading the lessons…

    4. Visual Recognition20 lessonsSoon

      Recognizing what is in an image: classification, object detection, segmentation, and recognizing faces and human poses.

      Loading the lessons…

    5. Video Understanding9 lessonsSoon

      Understanding moving images: action recognition, spatiotemporal networks, and tracking objects through video.

      Loading the lessons…

  2. 9.2Speech & Audio ProcessingAudio signals, speech recognition, speech synthesis and audio generation. (3 units, 44 lessons)Soon
    1. Audio Signals12 lessonsSoon

      Sound as a digital signal: sampling and quantization, spectrograms and mel features, and filtering.

      Loading the lessons…

    2. Speech Recognition19 lessonsSoon

      Turning speech into text: phonetics, classical HMM-based recognizers, neural recognizers from CTC to Whisper, and recognizing speakers.

      Loading the lessons…

    3. Speech Synthesis & Audio Generation13 lessonsSoon

      Turning text into speech, generating music and sound, and spoken interaction with machines.

      Loading the lessons…

10Large Language Models

4 subjects

How large language models are built, adapted, aligned, used and evaluated, and the agents built on them.

  1. 10.1Large Language ModelsPretraining, fine-tuning, alignment, prompting and evaluation. (5 units, 72 lessons)Soon
    1. Pretraining Large Language Models19 lessonsSoon

      How large language models are built: next-token prediction at scale, pretraining data, scaling laws, and large training runs.

      Loading the lessons…

    2. Adapting Language Models11 lessonsSoon

      Specializing a pretrained model: fine-tuning and instruction tuning, parameter-efficient methods such as LoRA, distillation and merging.

      Loading the lessons…

    3. Aligning Language Models18 lessonsSoon

      Turning a pretrained model into a helpful, honest and harmless assistant: RLHF, DPO, constitutional AI, and reinforcement learning for reasoning.

      Loading the lessons…

    4. Prompting & In-Context Learning13 lessonsSoon

      Getting language models to do tasks from instructions and examples, prompting techniques, and the typical failures.

      Loading the lessons…

    5. Evaluating Language Models11 lessonsSoon

      Benchmarks for knowledge, reasoning and code, human and model-graded evaluation, red teaming, and doing evaluations carefully.

      Loading the lessons…

  2. 10.2Language Model AgentsRetrieval, tools, memory and agents built on language models. (2 units, 27 lessons)Soon
    1. Retrieval & Tool Use14 lessonsSoon

      Connecting language models to documents, tools and memory: retrieval-augmented generation, function calling and context management.

      Loading the lessons…

    2. Language Model Agents13 lessonsSoon

      Language models that plan and act over many steps: the agent loop, coding and computer-use agents, multi-agent systems, and their evaluation and risks.

      Loading the lessons…

  3. 10.3Multimodal ModelsModels that connect text, images, audio and video. (1 unit, 13 lessons)Soon
    1. Multimodal Foundation Models13 lessonsSoon

      Models that connect images, text, audio and video: joint embeddings like CLIP, vision–language models, and generation across modalities.

      Loading the lessons…

  4. 10.4Building a Large Language ModelA hands-on project: build, pretrain, align, evaluate and publish your own language model and coding assistant. (1 unit, 73 lessons)Soon
    1. Building a Large Language Model from Scratch73 lessonsSoon

      A hands-on project from an empty folder to a published model: collect and clean the data, train a tokenizer, write and pretrain a GPT-style transformer, turn it into a chat and coding assistant, evaluate it, and release it on the Hugging Face Hub.

      Loading the lessons…

11Robotics

3 subjects

AI with a body: sensing, moving, planning and learning in the physical world.

  1. 11.1Introduction to RoboticsRobot hardware, kinematics, dynamics and control. (3 units, 50 lessons)Soon
    1. Robots, Sensors & Actuators17 lessonsSoon

      What robots are, how they sense the world and themselves, how they move, and the software that runs them.

      Loading the lessons…

    2. Robot Kinematics18 lessonsSoon

      Describing where a robot and its parts are: rotations and frames, forward and inverse kinematics, Jacobians, and wheeled robots.

      Loading the lessons…

    3. Robot Dynamics & Control15 lessonsSoon

      How forces move a robot, and controlling it: joint control, computed torque, force control, optimal control and locomotion.

      Loading the lessons…

  2. 11.2Mobile RoboticsLocalization and mapping, motion planning, and autonomous vehicles. (3 units, 38 lessons)Soon
    1. Robot Localization & Mapping15 lessonsSoon

      Knowing where you are and what is around you: probabilistic localization, mapping, and simultaneous localization and mapping (SLAM).

      Loading the lessons…

    2. Motion Planning13 lessonsSoon

      Finding collision-free motions: configuration space, roadmaps and cell decomposition, sampling-based planners, and planning for real dynamics.

      Loading the lessons…

    3. Autonomous Vehicles10 lessonsSoon

      Self-driving cars and other autonomous vehicles: the driving stack from sensors to planning, and how such systems are tested and made safe.

      Loading the lessons…

  3. 11.3Robot Manipulation & LearningGrasping and manipulation, and robots that learn. (2 units, 23 lessons)Soon
    1. Robot Manipulation10 lessonsSoon

      Grasping and manipulating objects: grasp analysis and planning, pick-and-place, task and motion planning, and perception for manipulation.

      Loading the lessons…

    2. Robot Learning13 lessonsSoon

      Robots that learn: reinforcement and imitation learning on real hardware, sim-to-real transfer, robot foundation models, and working with people.

      Loading the lessons…

12AI Engineering

3 subjects

Building, training and running AI systems in the real world.

  1. 12.1AI SystemsHardware for AI, programming GPUs, distributed training and efficient inference. (4 units, 69 lessons)Soon
    1. Hardware for AI13 lessonsSoon

      Why neural networks need special hardware: arithmetic and memory traffic, GPUs and other accelerators, and AI data centers.

      Loading the lessons…

    2. GPU Programming22 lessonsSoon

      Writing your own GPU kernels, from adding two vectors to a tiled matrix multiplication, a fused softmax and FlashAttention, before relying on library kernels.

      Loading the lessons…

    3. Distributed Training20 lessonsSoon

      Training one model on many chips: the memory of training, data, tensor, pipeline, sequence and expert parallelism, all-reduce and sharding built from scratch, then PyTorch's DDP and FSDP, and keeping long runs alive.

      Loading the lessons…

    4. Efficient Inference14 lessonsSoon

      Making trained models fast and small: quantization, pruning and distillation, serving transformers, and AI on devices.

      Loading the lessons…

  2. 12.2Machine Learning EngineeringData pipelines, deployment and monitoring of machine learning systems. (1 unit, 18 lessons)Soon
    1. Machine Learning Engineering18 lessonsSoon

      Building and running machine learning systems in production: data pipelines, serving, monitoring, retraining and documentation.

      Loading the lessons…

  3. 12.3Building with Language ModelsEngineering reliable applications on top of language models. (1 unit, 9 lessons)Soon
    1. Building with Language Models9 lessonsSoon

      Engineering applications on top of language models: choosing models, managing prompts, guardrails, cost, evaluation and monitoring.

      Loading the lessons…

13Trustworthy AI

3 subjects

Understanding AI systems and making them robust, fair, private, safe and aligned.

  1. 13.1InterpretabilityExplaining predictions and reverse-engineering neural networks. (2 units, 30 lessons)Soon
    1. Interpretable Machine Learning14 lessonsSoon

      Understanding why a model predicts what it does: interpretable models, model-agnostic explanations such as SHAP, and explaining neural networks.

      Loading the lessons…

    2. Mechanistic Interpretability16 lessonsSoon

      Reverse-engineering what happens inside neural networks: features and circuits, superposition, sparse dictionaries, and circuits in transformers.

      Loading the lessons…

  2. 13.2Robust, Fair & Private Machine LearningAdversarial robustness and security, fairness, and privacy. (3 units, 47 lessons)Soon
    1. Robustness & Security18 lessonsSoon

      How machine learning fails under attack or change: adversarial examples, distribution shift, poisoning and backdoors, and attacks on language models.

      Loading the lessons…

    2. Fairness in Machine Learning15 lessonsSoon

      How machine learning can treat groups of people unfairly, the formal definitions of fairness and their conflicts, and ways to mitigate bias.

      Loading the lessons…

    3. Privacy in Machine Learning14 lessonsSoon

      How models leak data about people, differential privacy, and learning without collecting data in one place.

      Loading the lessons…

  3. 13.3AI Safety & AlignmentMaking advanced AI systems do what we intend, and keeping them under control. (1 unit, 23 lessons)Soon
    1. AI Safety & Alignment23 lessonsSoon

      Making advanced AI systems do what we intend: specification and goal failures, scalable oversight, dangerous-capability evaluations, control, and risks at scale.

      Loading the lessons…

14AI & Society

2 subjects

The ethics, philosophy, law and social effects of artificial intelligence.

  1. 14.1AI Ethics & PhilosophyThe ethical questions AI raises, and whether machines can think. (2 units, 29 lessons)Soon
    1. AI Ethics17 lessonsSoon

      The ethical questions AI raises: frameworks for thinking about them, responsibility and control, sensitive uses, and moral machines.

      Loading the lessons…

    2. Philosophy of AI12 lessonsSoon

      Can machines think? The Turing test and its critics, the Chinese room, minds as computation, consciousness, and what intelligence is.

      Loading the lessons…

  2. 14.2AI, Law & SocietyLaw and governance, economic and social effects, and designing AI for people. (3 units, 35 lessons)Soon
    1. AI Law & Governance12 lessonsSoon

      How law and policy apply to AI: data protection, copyright, liability and discrimination law, national regulation, and governing advanced AI.

      Loading the lessons…

    2. AI, Economy & Society12 lessonsSoon

      AI's effects on work, productivity and inequality, on information and democracy, on the environment, and on the distribution of power.

      Loading the lessons…

    3. Human–AI Interaction11 lessonsSoon

      Designing AI systems for people: trust and overreliance, communicating uncertainty and explanations, and keeping humans in the loop.

      Loading the lessons…

15Research Frontiers

3 subjects

Where AI research is going: links to the mind and brain, AI in science, and open problems.

  1. 15.1Brains, Minds & MachinesCognitive science and AI. (1 unit, 11 lessons)Soon
    1. Cognitive Science & AI11 lessonsSoon

      How the study of minds and brains and the study of AI inform each other: cognitive architectures, brains and networks, and learning like children.

      Loading the lessons…

  2. 15.2AI for ScienceAI as a tool for physics, biology, chemistry and mathematics. (1 unit, 13 lessons)Soon
    1. AI for Science13 lessonsSoon

      AI as a scientific instrument: learned simulators and physics-informed networks, protein structure and design, and automated discovery.

      Loading the lessons…

  3. 15.3Frontiers of AINeurosymbolic AI and the open problems of the field. (2 units, 21 lessons)Soon
    1. Neurosymbolic AI9 lessonsSoon

      Combining learning with symbols and logic: differentiable reasoning, program synthesis, learned theorem proving, and abstraction.

      Loading the lessons…

    2. Open Problems in AI12 lessonsSoon

      The questions research is working on now: reasoning, efficient learning, world models and open-endedness, and measuring progress toward general intelligence.

      Loading the lessons…