CS6362 Advanced Machine Learning

🧭 Description

This is a course on machine learning that studies different types of learning scenarios. A scenario is characterized by four choices:

  1. The specification of our model. Is the model linear? A neural network? For most of the course we assume only that a model has parameters that can be learned, accepts something as input, and produces something as output. Model design returns in Module V, where systems constraints begin to shape it.
  2. The input provided for learning. How many data items, and how many of them are labeled? The answer ranges from a modest labeled dataset in Modules I and II, to no labels at all in Module IV, to internet-scale corpora in Module V.
  3. The output of the model. Are we making predictions about a given data item, or generating novel data? If predicting, regression or classification?
  4. What we expect from the learning method. Are we seeking the best model, or a set of good models? Module I pursues the first, Module II the second.

The course is about algorithms for learning across these axes.

We begin with optimization: gradient descent and its stochastic variants, and how they converge. Then we take up the harder question of which solution they converge to, and why a model with enough capacity to fit random labels nonetheless generalizes.

From there we ask what we are entitled to believe about a fitted model, and how uncertain we should be. This is inference: the Bayesian view, together with the approximations that make it tractable.

With those foundations in place, we turn to models that produce samples rather than predictions, then to learning without labels at all, then to what changes when scale and post-training dominate, and finally to understanding and evaluating the systems that result.

The ELBO you derive in Module II is the VAE objective in Module III. The self-supervised objectives in Module IV are what the scaling laws in Module V scale. By the end, the pieces of a modern foundation model should look like consequences of ideas you have derived yourself, rather than a list of architectures.



πŸ’‘ The emphasis is on deriving these methods from first principles, so you can adapt and extend them, not only apply them.

🧱 Module Structure

The course is divided into six modules. Readings for each lecture are listed in the schedule.

Module Core question Topics
I. Fundamentals of optimization
Weeks 1–3
What solution does learning actually find? Empirical risk minimization and VC dimension; gradient descent and stochastic gradient descent; convergence; lazy training and the neural tangent kernel; interpolation, double descent, implicit bias
II. Fundamentals of inference
Weeks 3–6
What do we believe about a model, and how uncertain are we? Bayesian statistics; Gaussian processes; model selection; Laplace approximation and the ELBO; variational inference; Monte Carlo and MCMC; Bayesian neural networks; out-of-distribution detection
III. Generative modeling
Weeks 7–10
How can we represent and fit complex distributions? EM and latent-variable models; variational autoencoders; posterior collapse; discrete latents; adversarial objectives and their instability; normalizing flows; energy-based models; score matching; diffusion; flow matching
IV. Self-supervised learning
Weeks 10–11
What can we learn without labels? Contrastive and non-contrastive objectives; representation collapse; attention and the Transformer as self-supervised pretraining
V. Scale and post-training
Weeks 12–13
What changes when scale and post-training dominate? Scaling laws; compute-optimal training; systems constraints on model design; RLHF; direct preference optimization; reasoning models and verifiable rewards
VI. Interpretability and evaluation
Week 15
How do we understand and evaluate what we have built? Superposition; sparse autoencoders and feature recovery; tool use and long-horizon agents; benchmark design and validity

Modules I and II treat the supervised setting: regression, Gaussian processes and Bayesian neural networks all predict a label from an input. Module III turns to models that produce samples rather than predictions, Module IV to learning without labels, Module V to training at scale, and Module VI to inspecting and evaluating the resulting systems.

Logistics

  • Course Code: CS6362
  • Term: Fall 2026
  • Class Times: Mondays & Wednesdays 03:35 PM - 04:50 PM
  • Location: Featheringill Hall 129
  • Instructor: Hirak Sarkar β€” hirak.sarkar@vanderbilt.edu
  • Teaching Assistant: Huy Tran β€” huy.tran@vanderbilt.edu
  • Instructor Office Hours: Tuesdays 02:00 PM - 03:00 PM, Sony Building, Room A3015 β€” or by appointment

🎯 Learning Goals

By the end of this course, students will be able to:

  • Analyze gradient descent and its stochastic variants β€” why they work, and their limitations
  • Explain what solution SGD converges to: interpolation, double descent, implicit bias
  • Formulate learning problems as Bayesian inference and reason about closed-form posteriors
  • Derive and implement approximate inference β€” Laplace, variational inference, MCMC
  • Build and critique generative models: VAEs, GANs, flows, score matching, diffusion
  • Compare self-supervised objectives and explain what representations they encode
  • Reason about scale: scaling laws, compute-optimal training, and post-training methods
  • Interpret and evaluate deployed models β€” features, agent behavior, and benchmark validity
  • Read and reconstruct results from current machine learning research literature

πŸ—οΈ Syllabus

This course is lecture-based, delivered primarily through slides with occasional whiteboard work. Slides will be posted to this page.

Assignments

Programming assignments run throughout the semester, in Python. We use NumPy for matrix computations β€” experience with multidimensional arrays, slicing, and broadcasting is expected β€” and where relevant JAX for automatic differentiation.

If specifically asked for implementing an assignment, you must build on provided boilerplate code. Where that is the case, you may not import additional Python libraries beyond those included with the assignment; doing so forfeits credit for the assignment. Include instructions for running your code, and submit as an archive.

There are three assignments. The first two cover optimization and inference respectively. The third is an open-ended scaling-laws assignment: you will train a family of small models across a range of sizes and compute budgets, fit a power law to the results, and use it to predict the loss of a larger model you then train to check. Everything runs on a laptop or a free Colab tier, and the Thanksgiving break falls inside the window to give you time for the sweeps.

Quizzes

Quizzes are either take-home or in-class, and are announced in advance β€” there are no pop quizzes. Each covers 1–2 questions on the current or previous lectures.

In-class quizzes are brief (15–20 minutes) and completed at the end of class: closed book, closed phone, closed any device β€” bring a pen or pencil. Take-home quizzes are completed outside class and submitted by the stated deadline.

Missing an in-class quiz, or arriving more than 25 minutes late on that day, means zero credit for that quiz; exceptions are case-by-case (e.g. medical absence). Your lowest quiz score is dropped.

Attendance

Attendance is taken in class and is the basis for the class-participation portion of your grade.

Project

The latter half of the semester is devoted to a research project in teams of 1–2. You will go in depth on a topic covered in class, situated in recent research β€” papers from roughly the last five years at ICML, NeurIPS, ICLR, and relevant venues in vision (CVPR, ICCV, ECCV) and NLP (ACL, EMNLP, NAACL-HLT).

  • Proposal (~3 pages): basic information, brief description, hypotheses (the most important part), a literature survey of 4–5 papers, data (make sure it exists and is accessible), an evaluation plan, and a project plan. Also presented to the class.
  • Midway report (~5 pages): refined aims and hypotheses, a fuller survey of 10–15 papers, methods, experimental design, and any refinement of the plan.
  • Presentation to the class at the end of the semester.
  • Final submission (8 pages excluding references), in the form of a research paper β€” introduction, related work, methods, experiments, discussion β€” plus all code and documentation.

Written portions use the NeurIPS LaTeX style, preprint mode. Standard ML libraries such as PyTorch or Flax are permitted, but projects that use publicly-available code for a paper are not allowed β€” the point is to gain experience implementing algorithms and evaluating them experimentally.

πŸ—“οΈ Schedule

Date Topic Reading Assignments
Module I β€” Fundamentals of optimization
What solution does learning actually find?
Week 1 (Aug 26) β€” Course introduction, ML basics
Wed, Aug 26 Course introduction, review on regression MML Ch. 6.1–6.4, Ch. 8.1–8.2, Ch. 9.1–9.2; FML App. C
Week 2 (Aug 31) β€” Learning theory; gradient descent
Mon, Aug 31 Empirical risk minimization; VC dimension FML Ch. 2, Ch. 3
Wed, Sep 02 Gradient descent and stochastic gradient descent MML Ch. 5, Ch. 7.1; FML App. A, B; LSML Sec. 2–7; HCT Ch. 5
Week 3 (Sep 7) β€” Generalization; inference begins
Mon, Sep 07 What does SGD actually find? Lazy training and the neural tangent kernel; interpolation, double descent, implicit bias (Labor Day β€” class meets) MML Ch. 12.4; Neural tangent kernel; Zhang et al., Rethinking generalization; Belkin et al., Double descent; Soudry et al., Implicit bias Assignment 1 posted
Module II β€” Fundamentals of inference
What do we believe about a model, and how uncertain are we?
Wed, Sep 09 Bayesian statistics, linear regression; Gaussian processes PML-2 Ch. 2.3, Ch. 3.2, Ch. 15.2.1–15.2.4; GP Ch. 2; PML-2 Ch. 3.7–3.8
Week 4 (Sep 14) β€” Approximate inference
Mon, Sep 14 Model selection, Laplace approximation, information theory basics, ELBO PML-1 Ch. 6.1–6.2; PML-2 Ch. 5.1, Ch. 7.4, Ch. 10.1 Assignment 1 due
Wed, Sep 16 Variational inference and gradient-based estimators PML-2 Ch. 6.3.5, Ch. 10.2; MCGE
Week 5 (Sep 21) β€” Monte Carlo and MCMC
Mon, Sep 21 Monte Carlo, Markov chains PML-2 Ch. 11.1–11.4, Ch. 12.1
Wed, Sep 23 MCMC: Metropolis–Hastings, Gibbs sampling, mixture models, HMC PML-2 Ch. 12.2–12.3, 12.5
Week 6 (Sep 28) β€” Uncertainty; project proposals
Mon, Sep 28 Bayesian neural networks; out-of-distribution detection PML-2 Ch. 17.1–17.4, Ch. 19.1–19.7
Wed, Sep 30 Project introductions Proposal presentations
Week 7 (Oct 5) β€” Midterm; generative modeling begins
Mon, Oct 05 Midterm (Modules I–II: optimization and inference) Will be graded
Module III β€” Generative modeling
How can we represent and fit complex distributions?
Wed, Oct 07 EM and latent-variable models Dempster, Laird & Rubin, EM
Week 8 (Oct 12) β€” Variational autoencoders
Mon, Oct 12 Variational autoencoders: the ELBO revisited, posterior collapse PML-2 Ch. 21.1–21.2, 21.4; Kingma & Welling, VAE
Wed, Oct 14 Variational autoencoders: disentanglement, discrete latents PML-2 Ch. 21.3, 21.5–21.6; VQ-VAE
Week 9 (Oct 19) β€” Implicit and invertible models
Mon, Oct 19 Implicit models: GANs β†’ WGAN β€” divergences, instability, mode collapse Goodfellow et al., GAN; Arjovsky et al., WGAN
Wed, Oct 21 Normalizing flows; energy-based models PML-2 Ch. 23–24; Rezende & Mohamed, Normalizing flows
Thu–Fri, Oct 22–23 Fall Break (Thu–Fri)
Week 10 (Oct 26) β€” Diffusion; self-supervision begins
Mon, Oct 26 Score matching β†’ denoising diffusion (DDPM) β†’ flow matching PML-2 Ch. 25; HyvΓ€rinen, Score matching; Song & Ermon, NCSN; Ho et al., DDPM; Lipman et al., Flow matching
Module IV β€” Self-supervised learning
What can we learn without labels?
Wed, Oct 28 Contrastive self-supervision: Word2Vec β†’ SimCLR Mikolov et al., Word2Vec; Chen et al., SimCLR
Week 11 (Nov 2) β€” Non-contrastive learning; attention
Mon, Nov 02 Non-contrastive self-supervision: BYOL, VICReg β€” why representations do not collapse Grill et al., BYOL; Bardes et al., VICReg
Wed, Nov 04 Sequence models and attention: the Transformer as self-supervised pretraining Vaswani et al., Attention is all you need
Module V β€” Scale and post-training
What changes when scale and post-training dominate?
Week 12 (Nov 9) β€” The economics of scale
Mon, Nov 09 Scaling laws and compute-optimal training Kaplan et al., Scaling laws; Hoffmann et al., Chinchilla
Wed, Nov 11 How systems constraints shape model design: FlashAttention Dao et al., FlashAttention Assignment 3 posted
Fri, Nov 13 Project midway report due
Week 13 (Nov 16) β€” Post-training
Mon, Nov 16 Post-training: RLHF β†’ preference optimization Ouyang et al., InstructGPT; Rafailov et al., DPO
Wed, Nov 18 Reasoning models and verifiable rewards DeepSeek-R1
Week 14 (Nov 21–29) β€” Thanksgiving holidays
Nov 21–29 No class β€” Thanksgiving holidays
Module VI β€” Interpretability and evaluation
How do we understand and evaluate what we have built?
Week 15 (Nov 30) β€” Interpretability, agents, evaluation
Mon, Nov 30 Mechanistic interpretability: superposition and sparse autoencoders Elhage et al., Toy models of superposition; Bricken et al., Towards monosemanticity; Templeton et al., Scaling monosemanticity
Wed, Dec 02 Agents and evaluation: tool use, benchmark design and validity Yao et al., ReAct; Yang et al., SWE-agent; Liang et al., HELM; Yao et al., Ο„-bench
Fri, Dec 04 Assignment 3 due
Week 16 (Dec 7) β€” Project presentations
Mon, Dec 07 Project presentations I Will be graded
Wed, Dec 09 Project presentations II Will be graded
Examination and reading period (Dec 11–19)
Dec 11–19 Project final submission due β€” date TBD

πŸ‘₯ Course Assessment (Tentative)

Component Weight
Assignments 45%
Mid-term 10%
Quizzes 10%
Project 30%
- Proposal 10%
- Midway Report 5%
- Presentation 5%
- Full Submission 10%
Class Participation (attendance) 5%

Late submission policy

One day late: 10% off Β Β·Β  two days late: 20% off Β Β·Β  past two days: no credit. The exception is class presentations β€” no credit is given if you do not present in your allotted time.

πŸ“‹ Prerequisites

An introductory course in machine learning, plus sufficient background in linear algebra and probability and statistics. Relevant mathematical background will be covered over the semester, but what is covered in class should be treated as necessary rather than always sufficient β€” filling remaining gaps is your responsibility.

πŸ“š Textbooks and Reference Material

The schedule draws on the following books and review articles, referenced by abbreviation.

Optimization

  • MML β€” Deisenroth, Faisal & Ong, Mathematics for Machine Learning
  • FML β€” Mohri, Rostamizadeh & Talwalkar, Foundations of Machine Learning
  • LSML β€” Bottou et al., Optimization Methods for Large-Scale Machine Learning (free arXiv version)
  • HCT β€” Garrigos et al., Handbook of Convergence Theorems for (Stochastic) Gradient Methods. Ch. 5 (Stochastic Gradient Descent) is assigned; Ch. 3 covers deterministic gradient descent

Inference

  • PML-1 β€” Murphy, Probabilistic Machine Learning: An Introduction
  • PML-2 β€” Murphy, Probabilistic Machine Learning: Advanced Topics
  • GP β€” Rasmussen & Williams, Gaussian Processes for Machine Learning
  • MCGE β€” Mohamed, Rosca, Figurnov & Mnih, Monte Carlo Gradient Estimation in Machine Learning

The readings listed in the schedule are intended to complement the lecture slides.

Reading list by module

Papers grouped by module, in the order covered. Per-lecture assignments are in the schedule.

Module I β€” Fundamentals of optimization

Module II β€” Fundamentals of inference

Textbook readings: PML-1 Ch. 6, PML-2 Ch. 2–3, 5–7, 10–12, 15, 17, 19, and GP Ch. 2. One article:

Module III β€” Generative modeling

Module IV β€” Self-supervised learning

Module V β€” Scale and post-training

Module VI β€” Interpretability and evaluation

βš–οΈ Policies

Academic honesty

Students should adhere to the Vanderbilt Honor System. Cheating and plagiarism will not be tolerated. Do not copy, in any way, another student’s work on assignments. See also Vanderbilt’s Academic Integrity policies.

Use of LLMs for completing assignments

Using large language models to complete assignments is acceptable provided you:

  1. Acknowledge which specific LLM was used.
  2. Distinguish your own work from what the LLM produced.
  3. Provide the prompt given to the LLM.

Whether to use an LLM depends on what you want out of the course. The process of creation β€” working through a derivation, implementing an algorithm from scratch β€” is one of the best ways to learn. Having an LLM create for you will likely limit what you take away.

Privacy

Student data is protected under FERPA; see the Vanderbilt Student Privacy Statement. Please take care not to disclose private information during lectures or in submissions.

Nondiscrimination and anti-harassment

Vanderbilt is committed to an environment free of discrimination and harassment of any kind. If you feel you are being sexually harassed, please see Project Safe. If you feel unsafe, taken advantage of in any way, or mentally or emotionally unwell, please reach out to the Student Care Network.

Subject to change

Information in the course syllabus, other than the general assessment, may be subject to change with advance notice, at the discretion of the instructor.