Kun Yuan

PKU Class 2025 Fall: Optimizaiton for Deep Learning

Instructor: Kun Yuan (kunyuan@pku.edu.cn)

Teaching assistants:

Classroom: 3pm - 6pm Tuesday, 理教206

Office hour: 4pm - 5pm Thursday, 静园六院220

References

Martin Jaggi and Nicolas Flammarion, Optimization for Machine Learning, EPFL Class CS-439
Chris De Sa, Advanced Machine Learning Systems, Cornell CS6787
Zaiwen Wen, Optimization Methods, PKU 2024 Fall
Kun Yuan, Introduction to LLM, PKU 2025 Spring

Announcement

  1. The lecture scheduled for November 25 has been canceled. It will be rescheduled for November 28, from 3:10 p.m. to 6:00 p.m., in Room 403 of the Third Teaching Building (三教403).

  2. The Midterm Exam is scheduled on November 4.

  3. The lecture scheduled for October 28 has been canceled. It will be rescheduled for October 31, from 3:10 p.m. to 6:00 p.m., in Room 理教306.

  4. The lecture scheduled for September 9 has been canceled. It will be rescheduled for September 18, from 6:40 p.m. to 9:30 p.m., in Room 407 of the Third Teaching Building (三教407).

Materials

Lecture 1: Introduction

Lecture 2: Basics in Machine Learning and Langugae Models

Lecture 3: Transformer

Lecture 4: Some LLM Models

Lecture 5: Gradient Descent

Lecture 6: Accelerated Gradient Descent

Lecture 7: Stochastic Gradient Descent

Lecture 8: Momentum and Adaptive SGD

Lecture 9: Midterm

Lecture 10: FlashAttention

Lecture 11: Block Coordinate Descent

Lecture 12: Zeroth-Order Optimization

Lecture 13: Distributed Optimization