AI lessons & courses
230 lessons · 60 learning paths · free, quiz-checked, no signup required
How modern AI systems actually work, from the transformer architecture and attention up through retrieval, agents, evaluation, and deployment. The lessons are mechanism-first: what the math does, what the engineering trade-offs are, and where the published evidence stands. Written for engineers and technical leaders who want depth beyond the headlines.
Learning paths
Browse all 60 pathsWorld Models: Learned Simulators for Planning and Training
A world model predicts what happens if an agent acts, so it can rehearse in imagination before acting for real. This cursus builds the idea from a working planner in code, through agents that learn inside compact latent dreams (World Models, PlaNet, Dreamer, MuZero), to interactive generative worlds learned from video, like Genie. It ends where the stakes are physical: training and testing robots and cars in learned simulators, and the failure modes, compounding error, exploited model errors, hallucinated physics, that decide when a simulator can be trusted.
Continual Learning: Why Neural Networks Forget and How to Stop It
Train a network on something new and it often loses what it already knew. This cursus explains why, from conflicting gradients on shared weights to the stability-plasticity dilemma, then takes apart the three families of fixes: replay, regularisation such as EWC, and parameter isolation with adapters. You will learn to evaluate claims honestly across task-, domain- and class-incremental settings, and finish with large language models: continued pretraining, fine-tuning drift, LoRA, and when editing or retrieval beats training.
Harness Engineering: Building the World an AI Agent Works In
The same model can score 15 points apart depending on what surrounds it. This course teaches the environment around an AI agent: how interface design and harness choice move results, how to make a repository legible with short instruction files and lint rules that explain their own fixes, how permissions, hooks and OS sandboxes contain an agent, and how to test a harness change with repeated trials, paired comparisons and pass^k instead of one lucky run.
Machine Learning Fundamentals: From Examples to Trustworthy Models
Most machine learning in production is a supervised model on a table of features, and most of its failures are in evaluation rather than in the algorithm. This path teaches how a model is fitted from examples, how to measure what it learned without fooling yourself, how to judge a classifier when the event you care about is rare, and why tree ensembles remain the default on tabular data. Every chart uses numbers you can reproduce in scikit-learn.
Deep Learning on Limit Order Book Data
At a one-event horizon, 92 percent of mid-price labels are exactly no-change, so a model that always predicts flat scores 92 percent accuracy. That single number explains most of the gap between published order book results and what happens on a trading desk. This path covers what the book actually contains, what the architectures assume, why results fail to replicate, and the cost hurdle that decides whether a real edge is worth anything.
Reinforcement Learning for Trade Execution and Market Making
A classical execution schedule is an open-loop policy: it commits to a plan before seeing anything, and reinforcement learning's entire value here is closing that loop. This path measures what closing it is actually worth, shows how a mis-sized penalty makes leaving part of the order unexecuted rationally optimal, and demonstrates that one unverifiable queue assumption moves the simulated fill rate by a factor of two. Every figure is computed.
All AI lessons
Planted Problems and the High-Dimensional Limit
Why statistical physics has anything to say about algorithms: planted models with known ground truth, the large-system limit where randomness stops fluctuating, and the Bayes-optimal benchmark that makes hardness measurable.
Beyond Text: Multimodal, Safety, and Open Problems
Where discrete diffusion goes after language: unified multimodal models, sequence design in biology, the fixed-length problem nobody has cleanly solved, and why alignment and evaluation both need rebuilding.
Making Diffusion LLMs Actually Fast
Why bidirectional attention breaks the KV cache, how block-wise approximate caching brings it back, and the conditional-independence problem that decides how many tokens you can safely unmask at once.
Training Diffusion Language Models at Scale
What it takes to train a diffusion language model to billions of parameters: the from-scratch recipe, adaptation from an autoregressive checkpoint, the supervision economics, and the capability that bidirectional training gets for free.
The Mathematics of Discrete Diffusion
The formal machinery under masked text generation: categorical transition matrices, the kernel choices that were tried and discarded, the variational bound, and the two parameterizations that made the objective trainable at scale.
Causal Interventions, Steering, and What Remains Open
Turning interpretability stories into tested claims: activation patching, model editing, steering vectors, the attribution graphs that trace circuits in production models, and the problems the field has not solved.
Sparse Autoencoders and Dictionary Learning
How an unsupervised model trained on activations pulls features back out of superposition, what it found when scaled to a production language model, and where the method still breaks down.
Circuits: Reverse-Engineering Transformer Algorithms
How attention heads read and write to a shared residual stream, how they compose into circuits, and the two best-understood examples: the induction head behind in-context learning and the indirect object identification circuit in GPT-2.
Features, Directions, and Superposition
Why individual neurons are the wrong unit for understanding a neural network, and what the superposition hypothesis says is really going on inside the activations.
Beyond Greedy: Minimization, Non-Monotone, and Richer Constraints
The monotone, cardinality-constrained case is only the entrance. This lesson maps the rest: why submodular minimization is easy while maximization is hard, how to maximize non-monotone functions, what to do under matroid and knapsack constraints, and where submodularity keeps appearing across machine learning.
Submodularity in the Wild: Sensors, Influence, and Summaries
The theory pays off because so many real problems are submodular in disguise. This lesson works through the landmark applications: near-optimal sensor placement, influence maximization in social networks, and document summarization, each reduced to monotone submodular maximization and solved by the greedy algorithm.
The Greedy Algorithm and Its 63% Guarantee
Maximizing a submodular function is NP-hard, yet the simplest possible algorithm gets provably close to optimal. This lesson presents the greedy algorithm, the celebrated (1 - 1/e) guarantee of Nemhauser, Wolsey, and Fisher, why that bound cannot be beaten, and the lazy trick that makes greedy fast at scale.
Submodularity: The Mathematics of Diminishing Returns
Many selection problems share one property: each new item helps less than the last. Formalized, that property is submodularity, and it is what makes otherwise intractable problems solvable with guarantees. This lesson defines it precisely, shows the everyday examples, and explains why it is called the discrete analog of convexity.
What Neural Language Models Can Actually Compute
The same hierarchy that classifies grammars can classify neural networks. This lesson places recurrent networks and transformers on the Chomsky ladder, explains why a transformer is theoretically weaker than it looks, and shows how formal language theory predicts where today's language models generalize and where they break.
Morphology and Finite-State Methods
Words have internal structure, and modelling it is computational linguistics' cleanest success. This lesson covers morphemes and the ways languages build words, why the finite-state machines at the bottom of the hierarchy are enough, and how finite-state transducers analyze and generate word forms, up to the modern neural shared tasks.
Formal Grammars and the Chomsky Hierarchy
How much computational power does a language need? The Chomsky hierarchy answers it with four nested classes of grammar. This lesson builds the ladder from regular to recursively enumerable, shows the machine that recognizes each rung, and locates human language on it using the classic proof that it is not context-free.
The Science of Language, Computationally
Computational linguistics treats human language as something to be modelled precisely, and language fights back at every level. This lesson maps the levels of linguistic structure, shows why ambiguity, recursion, and Zipf's law make naive approaches fail, and frames the formal and statistical traditions the rest of the path builds on.
Bayesian Optimization in Practice
The theory becomes useful through libraries, and its flagship job is tuning machine-learning models. This lesson covers that application, the Tree-structured Parzen Estimator behind Hyperopt and Optuna, the tools you would actually reach for, batching, and the honest limits of the method.
Acquisition Functions: Deciding Where to Look Next
A Gaussian process gives a mean and an uncertainty everywhere; the acquisition function turns them into one decision about where to spend the next expensive evaluation. This lesson covers Expected Improvement, GP-UCB and its no-regret guarantee, and Thompson sampling, and how each resolves exploration against exploitation.
The Gaussian Process Surrogate
Bayesian optimization needs a model that predicts the objective everywhere and knows how unsure it is. The Gaussian process delivers exactly that. This lesson builds the GP as a distribution over functions, shows how a kernel encodes assumptions, and explains why its posterior variance is the engine of the whole method.
Optimizing an Expensive Black Box
Some functions cost hours or dollars to evaluate once, give no gradient, and must be optimized in as few tries as possible. This lesson sets up that problem, shows why grid and random search waste the budget, and introduces the surrogate-model loop that Bayesian optimization is built on.
The Options Nobody Compares, and Changing Your Mind
The fine-tuning versus retrieval framing hides several options that are often better than either. This lesson covers long context and why it does not replace retrieval, prompt caching as a cost lever, agentic retrieval, continued pretraining, and how to revisit a decision that was right when you made it.
Building Both: LoRA, Data, and the Retrieval Pipeline
The decision is only half the work. This lesson covers what building each actually involves: parameter-efficient fine-tuning with LoRA and why it made the technique accessible, the training data problem that stalls most projects, the retrieval pipeline end to end, and how to combine them into one system.
What Each Technique Actually Changes
Fine-tuning and retrieval are usually presented as alternatives when they change different things. This lesson separates them precisely: fine-tuning adjusts weights and teaches behaviour, retrieval supplies context and teaches nothing, and the question that decides between them is whether your problem is knowledge or form.

