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:
- 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.
- 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.
- The output of the model. Are we making predictions about a given data item, or generating novel data? If predicting, regression or classification?
- 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 4β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 8β10 | How can we represent and fit complex distributions? | EM and latent-variable models; variational autoencoders; posterior collapse; 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: Thursdays 02:00 PM - 03:00 PM, Sony Building, Room A3015 β or by appointment
- TA Office Hours: Wednesdays 01:00 PM - 02:00 PM (virtual) and 02:00 PM - 03:00 PM (in person, Room A4009)
π Errata
Corrections and clarifications to lecture slides, updated as issues are found.
π― 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 are posted only on Brightspace, not on 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.
Update (Sep 15, 2026): You can miss up to 20% of classes without losing attendance points. If you attend at least 80% of the classes, you will receive full attendance credit. No documentation is needed for these missed classes. Absences beyond that 20% threshold will count against your attendance/class-participation 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) β Convergence and generalization | |||
| Mon, Sep 07 | Convergence of SGD (Labor Day β class meets) | ||
| Tue, Sep 08 | Assignment 1 posted | ||
| Wed, Sep 09 | SGD convergence analysis: convexity and smoothness recap, GD stability and eigenvalue analysis, convergence rate of SGD, moment assumptions | MML Ch. 12.4; LSML Sec. 2β7; HCT Ch. 5 | Quiz |
| Week 4 (Sep 14) β Continuing optimization/generalization (ran long) | |||
| Mon, Sep 14 | Continued: SGD convergence analysis β strong convexity, stability, convergence rate, moment assumptions, minibatching and variance reduction (SAG/SAGA) (TBD β displaced "Bayesian statistics, linear regression; Gaussian processes", needs a new slot) | 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 | |
| Tue, Sep 15 | Assignment 1 due | ||
| Wed, Sep 16 | Momentum (heavy ball) and Nesterov acceleration; the ADAM optimizer; neural tangent kernel and lazy training (TBD β displaced "Model selection, Laplace approximation, information theory basics, ELBO", needs a new slot; interpolation, double descent, and implicit bias still not covered) | Neural tangent kernel; PML-1 Ch. 6.1β6.2; PML-2 Ch. 5.1, Ch. 7.4, Ch. 10.1 | |
| Module II β Fundamentals of inference (TBD β start date pending, was Sep 14) What do we believe about a model, and how uncertain are we? | |||
| Week 5 (Sep 21) β Variational inference; Monte Carlo begins | |||
| Mon, Sep 21 | Variational inference and gradient-based estimators | PML-2 Ch. 6.3.5, Ch. 10.2; MCGE | |
| Wed, Sep 23 | Monte Carlo, Markov chains | PML-2 Ch. 11.1β11.4, Ch. 12.1 | |
| Week 6 (Sep 28) β MCMC methods; project proposals | |||
| Mon, Sep 28 | MCMC: MetropolisβHastings, Gibbs sampling, mixture models, HMC | PML-2 Ch. 12.2β12.3, 12.5 | |
| Wed, Sep 30 | Project introductions | Proposal presentations | |
| Week 7 (Oct 5) β Uncertainty | |||
| Mon, Oct 05 | TBD β date freed up by the midterm moving to Oct 12 | ||
| Wed, Oct 07 | Bayesian neural networks; out-of-distribution detection | PML-2 Ch. 17.1β17.4, Ch. 19.1β19.7 | |
| Week 8 (Oct 12) β Midterm; generative modeling begins | |||
| Mon, Oct 12 | Midterm (Modules IβII: optimization and inference) | Will be graded | |
| Module III β Generative modeling How can we represent and fit complex distributions? | |||
| TBD | TBD β EM and latent-variable models, needs a new slot (was Oct 12) | Dempster, Laird & Rubin, EM | |
| Wed, Oct 14 | Variational autoencoders: amortized inference and the reparameterization trick; posterior collapse | PML-2 Ch. 21.1β21.2, 21.4; Kingma & Welling, 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 | |
| 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 | |
| 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
- Robbins & Monro (1951), A Stochastic Approximation Method β the origin of SGD
- Bottou et al., Optimization Methods for Large-Scale Machine Learning (LSML)
- Garrigos et al., Handbook of Convergence Theorems for (Stochastic) Gradient Methods (HCT) β Ch. 5 only
- Jacot et al., Neural Tangent Kernel
- Tancik et al., Fourier Features
- Zhang et al., Understanding Deep Learning Requires Rethinking Generalization
- Belkin et al., Reconciling Modern Machine Learning Practice and the BiasβVariance Trade-off β double descent
- Soudry et al., The Implicit Bias of Gradient Descent on Separable Data
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:
- Mohamed et al., Monte Carlo Gradient Estimation in Machine Learning (MCGE)
Module III β Generative modeling
- Dempster et al. (1977), Maximum Likelihood from Incomplete Data via the EM Algorithm
- Kingma et al., Auto-Encoding Variational Bayes β the VAE
- van den Oord et al., Neural Discrete Representation Learning β VQ-VAE
- Goodfellow et al., Generative Adversarial Networks
- Arjovsky et al., Wasserstein GAN
- Rezende et al., Variational Inference with Normalizing Flows
- HyvΓ€rinen et al., Estimation of Non-Normalized Statistical Models by Score Matching
- Song et al., Generative Modeling by Estimating Gradients of the Data Distribution
- Ho et al., Denoising Diffusion Probabilistic Models
- Lipman et al., Flow Matching for Generative Modeling
Module IV β Self-supervised learning
- Mikolov et al., Efficient Estimation of Word Representations in Vector Space β Word2Vec
- Chen et al., A Simple Framework for Contrastive Learning of Visual Representations β SimCLR
- Grill et al., Bootstrap Your Own Latent β BYOL
- Bardes et al., VICReg: Variance-Invariance-Covariance Regularization
- Vaswani et al., Attention Is All You Need
Module V β Scale and post-training
- How to Scale Your Model β online book on scaling model training and inference
- Kaplan et al., Scaling Laws for Neural Language Models
- Hoffmann et al., Training Compute-Optimal Large Language Models β Chinchilla
- Dao et al., FlashAttention
- Ouyang et al., Training Language Models to Follow Instructions with Human Feedback β InstructGPT
- Rafailov et al., Direct Preference Optimization
- DeepSeek-AI et al., DeepSeek-R1
Module VI β Interpretability and evaluation
- Elhage et al., Toy Models of Superposition
- Bricken et al., Towards Monosemanticity β sparse autoencoders
- Templeton et al., Scaling Monosemanticity
- Yao et al., ReAct: Synergizing Reasoning and Acting in Language Models
- Yang et al., SWE-agent
- Liang et al., Holistic Evaluation of Language Models β HELM
- Yao et al., Ο-bench
βοΈ 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:
- Acknowledge which specific LLM was used.
- Distinguish your own work from what the LLM produced.
- 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.