Learning theory & optimisation
- Explain how gradient-based optimisation trains large models.
- Apply regularisation and generalisation techniques deliberately.
- Select evaluation methods appropriate to the problem and data.
Computing & Information Systems · Advanced course
Move beyond the fundamentals. Design, train, evaluate and deploy modern neural networks — from optimisation and convolutional architectures to transformers, generative models and the engineering practices that make deep learning work in production.
Course overview
COMP329 is the capstone course of the AI sequence. It takes the machine learning foundations from COMP328 and develops them into the architectures, training techniques and engineering practices used in contemporary deep learning systems.
The course begins with the mathematics of learning at scale: gradient-based optimisation, regularisation and principled model evaluation. From there it builds upwards through neural network architectures — fully connected, convolutional, recurrent and transformer — before turning to generative modelling and representation learning.
Throughout, the emphasis is on implementation. You will build networks from first principles before using established frameworks, so that you understand what the libraries are doing on your behalf and can debug them when they fail.
The final third of the course addresses the realities of applied deep learning: data pipelines, transfer learning, compute constraints, interpretability, fairness and safe deployment. You finish with a capstone that takes a deep learning system from problem definition to a working, documented, evaluated artefact.
COMP328 Fundamentals of Machine Learning, or equivalent. You should be comfortable with Python, vectors and matrices, derivatives, and basic probability. COMP326 provides the data-handling background assumed here.
Laboratory sessions run on shared GPU workstations. All assignments are designed to be completable on free cloud notebook tiers, so no personal GPU hardware is required.
| Module | Focus | Units | Tutorials |
|---|---|---|---|
| 1 · Advanced ML Foundations | Optimisation, regularisation, generalisation and rigorous evaluation | 3 | 26 |
| 2 · Neural Networks & Deep Learning | Backpropagation, training at depth and convolutional architectures | 3 | 27 |
| 3 · Sequence Models & Attention | Recurrent networks, attention, transformers and transfer learning | 3 | 25 |
| 4 · Generative & Unsupervised Learning | Representation learning, generative models and modern synthesis | 3 | 25 |
| 5 · Applied Deep Learning Systems | Vision and language applications, deployment and MLOps | 3 | 25 |
| 6 · Responsible AI & Capstone | Interpretability, fairness, safety and the capstone project | 3 | 24 |
| Total | Six modules · eighteen units | 18 | 152 |
Curriculum position
COMP329 is the final course in the four-course sequence, building directly on the machine learning foundations established in COMP328.
Learning outcomes
On successful completion of COMP329 you will be able to design, implement and critically evaluate advanced machine learning and deep learning systems.
Curriculum
Each unit is delivered as a sequence of tutorial pages: theory, worked derivations, PyTorch walkthroughs, GPU lab activities and a knowledge check.
Optimisation, regularisation and the evaluation discipline that advanced models demand.
Building networks from first principles, training them at depth and applying convolutions.
Recurrent networks, the attention mechanism and the transformer revolution.
Learning structure without labels, and the models that synthesise new data.
Turning research architectures into reliable, deployed systems.
Interpretability, fairness and safety — then bringing it all together.
How it works
Each unit follows the same four-part structure, so you always know what is expected and how to prepare for assessment.
Derivations and architecture diagrams explain why a method works, not just how to call it.
Build the model in NumPy first, then reproduce it in PyTorch so the framework holds no mysteries.
Run GPU lab experiments, tune hyperparameters and interpret the results critically.
Finish with self-check questions, a unit quiz and a short reflective summary.
Assessment
Assessment is weighted towards implementation and the capstone. Five assignments build progressively towards the final project.
35%
Optimisation, network implementation, transformers, generative models and deployment.
30%
A complete deep learning system, from problem definition to evaluated deployment.
15%
Cumulative, with an emphasis on architecture reasoning and critical evaluation.
10%
Modules 1–3: optimisation, deep networks and sequence models.
10%
Eighteen short online quizzes, one per unit, with unlimited attempts.
Weightings are indicative and confirmed in the course syllabus.
Capstone
The capstone runs across the second half of the course. You take a real problem from definition through to a trained, evaluated and documented deep learning artefact, supported by twelve structured phases.
A trained model, reproducible training code and an honest evaluation report together make a strong technical portfolio piece for graduate study or industry roles.
Every capstone must compare against at least one simple baseline. A complex model that is not shown to outperform a trivial one is not a successful project.
Tools & technology
All tools are free and open source. Laboratory sessions run on shared GPU workstations, and every assignment is completable on free cloud notebook tiers.
Questions
Comfort with vectors and matrices, partial derivatives and the chain rule, and basic probability. The course reviews the optimisation mathematics it relies on, but it does assume the calculus and linear algebra covered in earlier years.
No. Laboratory sessions run on shared GPU workstations, and every assignment is designed to fit within the free tiers of cloud notebook providers. You will learn to work within realistic compute budgets — which is itself an important professional skill.
The course teaches PyTorch as its primary framework because of its clarity and research adoption. TensorFlow and Keras are introduced for comparison and for deployment scenarios. The concepts transfer directly between them.
COMP328 covers machine learning fundamentals: regression, classification, decision trees, ensembles and the core evaluation framework. COMP329 assumes all of that and moves into deep architectures, representation learning, generative models and production deployment.
Plan for roughly 12–14 hours per week. Model training adds wall-clock time that you cannot compress, so good time management and early experimentation matter more here than in most courses.
You may choose your own dataset or select from a curated list of approved sources. Either way, you must document provenance, licensing and any preprocessing decisions as part of the submission.
Begin with Module 1, Unit 1 — the optimisation and gradient methods that underpin everything that follows in deep learning.