End of course · Results Your results are out Enter your exam ID to see your full examination report: your mark, topic by topic, and a downloadable PDF record. See my results

Four-day intensive course

AI and Deep Learning

Four teaching days on neural networks: how one unit becomes a layer, how a network is trained, what convolution assumes about an image, what attention computes over text, and which controls belong between a model's output and an action that changes a record. Every worked example is small enough to check by hand, and each day has a laboratory notebook with its own dataset.

InstructorDr Fatih Kansoy
LengthFour teaching days
TeachingMonday to Thursday
FormatLectures with worked examples
MathsArithmetic and a little algebra
PrerequisitesNo programming assumed
Register before the first session. Registration takes a minute and is done once: your exam ID is emailed to you and recorded, and the same email always returns the same ID. You will need that ID to sit the end-of-course assessment and to open your report. Get your exam ID.

Course materials

How the four days fit together

From a grid of pixels to an action that changes a record

Day 1 builds a network and runs one forward pass, ending at the loss. Day 2 turns that loss into a parameter update, then gives the network an image. Day 3 moves to text, where attention estimates which positions relate to which. Day 4 covers what has to happen before an answer is allowed to become an action.

Drawn for this course. No drawing carries a number; anything exact is set on the slide beside it.

The four days · one continuous line

A pixel grid enters a network and becomes a learned representation, then a cat photograph, feature maps, attention arcs over token cards, a handbook passage, a locked gate, and finally a written record.

The practicals

Day 1 · feedforward networks

Day 2 · convolution and transfer

Day 3 · attention and retrieval

Day 4 · APIs and agent workflows

Fashion-MNIST for Day 1, a small ants-and-bees collection for Day 2, a 20-document retrieval corpus for Day 3, and a 16-case agent suite for Day 4. Days 1–3 use one prepared activity; Day 4 contains four notebooks using APIs, evidence, and controlled agent workflows.

The drawings

Each drawing carries one mechanism or contrast and no numbers, so a picture cannot contradict the mathematics beside it. On the illustrations page each one is set out with the equation it belongs to.

All twenty-one drawings, each with its equation and its limits, and the four-day panorama →

Course overview

Day 1 constructs one small network from a single unit, works a complete forward pass, derives the gradient of the loss with respect to the output scores rather than quoting it, and checks the resulting update by recomputing the loss. Day 2 counts what convolution saves against a dense layer on the same image. Day 3 computes attention on a three-token example and separates a fluent answer from a supported one. Day 4 covers the machinery between a proposed action and an executed one.

Each method is taught together with the failure it is known for: a held-out score read as a claim about one population, saliency maps treated as diagnostics rather than explanations, retrieval ranking a stale passage above an irrelevant one, and an agent request that is well formed and still refused.

Fashion-MNISTOxford-IIIT PetBackpropagation by handAttention by handRetrieval and abstentionNo programming assumed

Learning outcomes

By the end of the course you can:

  • reconstruct a small feedforward network from the input tensor to a parameter update, naming every object, its shape, and the operation that produced it;
  • explain why nonlinear hidden layers are necessary, and why a stack of affine layers is never more than one affine layer;
  • read training and held-out curves, and separate a lower training loss from credible evidence of generalisation;
  • explain what convolution assumes about an image, and count the parameters of a small convolutional network from its shapes;
  • describe what attention computes, what next-token training optimises, and why neither has any relation to truth;
  • say what retrieval fixes, what it does not, and when a system should abstain rather than answer;
  • identify the point at which a system changes state rather than belief, and name the controls that belong there.

The four days

DayTopicFocus
MondayInputs, units, depth, and the lossInputs and targets; one unit and one layer; why depth needs a nonlinearity; a full forward pass from pixels to logits, softmax and one scalar loss.
TuesdayTraining, and seeing with convolutionBackpropagation and the update; generalisation and honest evaluation; then why a dense layer is the wrong prior for an image; filters, feature maps and pooling; transfer learning; and auditing what a vision model actually used.
WednesdayTransformers, language models, and retrievalTokens and embeddings; attention worked by hand; next-token training and what it optimises; retrieval-augmented generation; citation, staleness and abstention.
ThursdayAgents, authority, and deploymentTools and structured calls; state and memory; permission, approval binding and least privilege; compounding error; evaluation of trajectories; and staged deployment.

Full syllabus, outcomes and reading list →

Oxford · United Kingdom
University of Oxford