Teaching · Spring 2024
Optimization for Data Science
Graduate course · Spring 2024 · ETH Zürich
Overview
This course provides an in-depth theoretical treatment of classical and modern optimization methods that are relevant in data science. After a general discussion about the role that optimization has in the process of learning from data, we give an introduction to the theory of convex optimization. Based on this, we present and analyze algorithms in the following four categories: first-order methods, second-order methods, non-convexity, and min-max optimization.
The emphasis is on the motivations and design principles behind the algorithms, on provable performance bounds, and on the mathematical tools and techniques to prove them. The goal is to equip students with a fundamental understanding about why optimization algorithms work, and what their limits are.
Course information
- Lecturers
- Prof. Dr. Niao He (OAT Y21.1), Prof. Dr. Bernd Gaertner (OAT Z15).
- Useful Links
- Course Catalogue (261-5110-00L). All materials are available at Moodle including announcements and Q&A.
- Prerequisites
- A solid background in analysis and linear algebra; some background in theoretical computer science (computational complexity, analysis of algorithms); the ability to understand and write mathematical proofs.
- Exercises
- Group A, surnames A - L: Tue 14-16, CAB G51; Group B, surnames M - Z: Fri 14-16, ML H44. The exercises are discussed in classes. Students are expected to try to solve the problems beforehand. Your assistant is happy to look at your solutions and correct or comment on them. Students are assigned to classes according to surnames. Attendance according to these assignments is not compulsory but encouraged.
- Assistants
- Xiang Li (OAT Y23), Zebang Shen (OAT Y21.2), Anas Barakat (OAT Y21.2), Ilyas Fatkhullin (OAT X14), Liang Zhang (OAT Y23), Linfei Pan (CNB G100.9), Fangyuan Sun, Weixuan Yuan
- Additional reading
- Stephen Boyd and Lieven Vandenberghe, Convex Optimization; Sebastien Bubeck, Convex Optimization: Algorithms and Complexity; Martin J. Wainwright, High-Dimensional Statistics: A Non-Asymptotic Viewpoint.
Schedule and materials
Week 8Introduction and Optimization
Mon 19.02 (cancelled) · Tue 20.02
Week 9Theory of Convex Functions
Mon 26.02 · Tue 27.02
Week 10Gradient Descent
Mon 04.03 · Tue 05.03
Week 11Projected Gradient Descent and Coordinate Descent
Mon 11.03 · Tue 12.03
Week 12Nonconvex Functions
Mon 18.03 · Tue 19.03
Week 13The Frank-Wolfe Algorithm
Mon 25.03 · Tue 26.03
Week 15Newton's Method and Quasi-Newton methods
Mon 08.04 · Tue 09.04
Week 16Subgradient Method
Mon 15.04 · Tue 16.04
Week 17Mirror Descent, Smoothing, Proximal Algorithms
Mon 22.04 · Tue 23.04
Week 18Stochastic Optimization: SGD
Mon 29.04 · Tue 30.04
Week 19Finite Sum Optimization
Mon 06.05 · Tue 07.05
Week 20Min-Max Optimization, Part I
Mon 13.05 · Tue 14.05
Week 21Min-Max Optimization, Part II
Mon 20.05 · Tue 21.05
Week 22Data Science Applications
Mon 27.05 · Tue 28.05
Grading, graded assignments and exam
There will be a written exam in the examination session. Furthermore, there will be two mandatory written graded assignments during the semester. The final grade of the whole course will be calculated as a weighted average of the grades for the exam (70%) and the graded assignments (30%).
Concretely, let PE be the performance in the final exam, and P1 and P2 be the performances in the two graded assignments, measured as the percentage of points attained (between 0% and 100%). A graded assignment that is not handed in is counted with a performance of 0%. Then the overall course performance is computed as P = 0.15P1 + 0.15P2 + 0.7*PE. A course performance of P >= 50% is guaranteed to lead to a passing grade, but depending on the overall performance of the cohort, the threshold for a passing grade may be lower.
Graded Assignments (30%). At two times during the semester, graded assignments (compulsory continuous performance assessments) will be handed out. Solutions are expected to be typeset in LaTeX or similar. Assignments can be discussed with colleagues, but writeups are expected to be independent. The estimated release dates are 09.04.2024 and 28.05.2024. You will have three weeks to finish each graded assignment.
Exam (70%). Date to be determined. The exam lasts 180 minutes, is written and closed book, and four pages of prepared notes are allowed.