Machine Learning Systems (Fall 2019)
- When: Mondays and Fridays from 2:00 to 3:30
- Where: Soda 310
- Instructor: Joseph E. Gonzalez
- Office Hours: Wednesdays from 4:00 to 5:00 in 773 Soda Hall.
- Announcements: Piazza
- Sign-up to Present: Google Spreadsheet Every student should sign-up to present in at least three rows and as different roles each time. Note that the Backup/Scribe presenter may be asked to fill in for one of the other roles with little notice.
- If you have reading suggestions please send a pull request to this course website on Github by modifying the index.md file.
Course Description
The recent success of AI has been in large part due in part to advances in hardware and software systems. These systems have enabled training increasingly complex models on ever larger datasets. In the process, these systems have also simplified model development, enabling the rapid growth in the machine learning community. These new hardware and software systems include a new generation of GPUs and hardware accelerators (e.g., TPU and Nervana), open source frameworks such as Theano, TensorFlow, PyTorch, MXNet, Apache Spark, Clipper, Horovod, and Ray, and a myriad of systems deployed internally at companies just to name a few. At the same time, we are witnessing a flurry of ML/RL applications to improve hardware and system designs, job scheduling, program synthesis, and circuit layouts.
In this course, we will describe the latest trends in systems designs to better support the next generation of AI applications, and applications of AI to optimize the architecture and the performance of systems. The format of this course will be a mix of lectures, seminar-style discussions, and student presentations. Students will be responsible for paper readings, and completing a hands-on project. For projects, we will strongly encourage teams that contains both AI and systems students.
New Course Format
A previous version of this course was offered in Spring 2019. The format of this second offering is slightly different. Each week will cover a different research area in AI-Systems. The Monday lecture will be presented by Professor Gonzalez and will cover the context of the topic as well as a high-level overview of the reading for the week. The Friday lecture will be organized around a mini program committee meeting for the weeks readings. Students will be required to submit detailed reviews for a subset of the papers and lead the paper review discussions. The goal of this new format is to both build a mastery of the material and also to develop a deeper understanding of how to evaluate and review research and hopefully provide insight into how to write better papers.
Course Syllabus
This is a tentative schedule. Specific readings are subject to change as new material is published.
Week | Date (Lec.) | Topic |
---|---|---|
|
8/30/19 ( 1 ) |
Introduction and Course OverviewThis lecture will be an overview of the class, requirements, and an introduction to the history of machine learning and systems research.
|
|
9/2/19 ( 2 ) |
Holiday (Labor Day)There will be no class but please sign-up for the weekly discussion slots. |
9/6/19 ( 3 ) |
Big Ideas and How to Evaluate ML Systems Research
Additional Machine Learning Reading
Additional Systems ReadingOpen Debate about the Field
|
|
|
9/9/19 ( 4 ) |
Machine Learning Life-cycleThis lecture will discuss the machine learning life-cycle, spanning model development, training, and serving. It will outline some of the technical machine learning and systems challenges at each stage and how these challenges interact.
|
9/13/19 ( 5 ) |
Discussion of Papers on Machine Learning Life-cycle
Software: |
|
|
9/16/19 ( 6 ) |
Database Systems and Machine LearningIn the previous lecture we saw that data and feature engineering is often the dominant hurtle in model development. Database systems are often the source of data and the platform in which feature engineering takes place. This lecture will cover some of the big ideas is database systems and how they relate to work on machine learning in databases.
|
9/20/19 ( 7 ) |
Discussion of Database Systems and Machine Learning
|
|
|
9/23/19 ( 8 ) |
Machine Learning Frameworks and Automatic DifferentiationThis week we will discuss recent development in model development and training frameworks. While there is a long history of machine learning frameworks we will focus on frameworks for deep learning and automatic differentiation. In class we will review some of the big trends in machine learning framework design and basic ideas in forward and backward automatic differentiation. Project proposals are due next Monday |
9/27/19 ( 9 ) |
Machine Learning Frameworks and Automatic DifferentiationUpdate: Two of the readings were changed to reflect a focus on deep learning frameworks. The previous readings on SystemML and KeystoneML have been moved to optional reading.
Pipeline Training Frameworks (Classical)
Automatic Differentiation and Differentiable Programming
Deep Learning Frameworks with Automatic Differentiation
Deep Learning Primitives |
|
|
9/30/19 ( 10 ) |
Distributed Model TrainingThis week we will discuss developments in distributed training. We will quickly review the statistical query model pushed by early map-reduce machine learning frameworks and then discuss advances in parameter servers and distributed neural network training. Project Proposals Due!
|
10/4/19 ( 11 ) |
Discussion on Distributed Model Training
ImageNet in X Minutes
All-Reduce |
|
|
10/7/19 ( 12 ) |
Prediction ServingUntil recently, much of the focus on systems research was aimed at model training. However, recently there has been a growing interest in addressing the challenges of prediction serving. This lecture will frame the challenges of prediction serving and cover some of the recent advances. |
10/11/19 ( 13 ) |
Power Outage Related HolidayUnfortunately, class was canceled and so the PC Meeting has been moved to Monday. Note that early project presentations are also due next Friday. |
|
|
10/14/19 ( 14 ) |
Discussion on Prediction Serving
The Prediction-Serving Systems: What happens when we wish to actually deploy a machine learning model to production? ACM Queue article provides a nice overview. Systems Reading:
More Efficient Models:
Performance Breakdown of various models |
10/18/19 ( 15 ) |
Project Presentations |
|
|
10/21/19 ( 16 ) |
Finish Project Presentations and Start Model CompilationThis week we will explore the process of compiling/optimizing deep neural network computation graphs. This reading will span both graph level optimization as well as the compilation and optimization of individual tensor operations. |
10/25/19 ( 17 ) |
Discussion of Model Compilation
|
|
|
10/28/19 ( 18 ) |
PG&E and Fire Related CancellationUnfortunately, due to the power outage, lecture is canceled today. To make up for lost lecture(s) and accommodate our guest speakers, we will skip the overview lecture this week and start with the PC meeting on Machine Learning Applied to Systems. However, this will put a little extra pressure on the neutral presenters to provide additional context. We will then cover the discussion on machine learning hardware the following Monday. |
11/1/19 ( 19 ) |
Discussion of Machine Learning Applied to Systems Day 1
|
|
|
11/4/19 ( 20 ) |
Hardware Acceleration for Machine LearningThis lecture will be presented by Kurt Keutzer and Suresh Krishna who are experts in processor design as well as network and architecture co-design. |
11/8/19 ( 21 ) |
Discussion Hardware Acceleration for Machine Learning
|
|
|
11/11/19 ( 22 ) |
(11/11) Administrative Holiday |
11/15/19 ( 23 ) |
Discussion of Machine Learning Applied to Systems Day 2
|
|
|
11/18/19 ( 24 ) |
Learning with AdversariesThis week we will discuss machine learning in adversarial settings. This includes secure federated learning, differential privacy, and adversarial examples. |
11/22/19 ( 25 ) |
Discussion on Learning with Adversaries
|
|
|
11/25/19 ( 26 ) |
Autonomous DrivingAutonomous vehicles will likely transform society in the next decade and are fundamentally AI enabled systems. In this lecture we will discuss the AI-Systems challenges around autonomous driving. |
11/29/19 ( 27 ) |
(11/29) Holiday (Thanksgiving) |
|
|
12/2/19 ( 28 ) |
Discussion on Autonomous DrivingEveryone must do one of the readings (you pick).
|
12/6/19 ( 29 ) |
Conclusion! |
|
|
12/9/19 ( 30 ) |
(12/6) RRR Week |
12/13/19 ( 31 ) |
(12/9) RRR Week |
|
|
12/16/19 ( 32 ) |
(12/16) Poster Presentations |
12/20/19 ( 33 ) |
(12/20) No ClassDon’t forget to submit your final reports. As noted on Piazza, the final report should be 6-pages plus references (2-column, 10pt font, unlimited appendix). Please submit your report using this form: Submit Your Report HereYou only need to submit the project once per team. The write-up should discuss the problem formulation, related work, your approach, and your results. |
Projects
Detailed candidate project descriptions will be posted shortly. However, students are encourage to find projects that relate to their ongoing research.
Grading
Grades will be largely based on class participation and projects. In addition, we will require weekly paper summaries submitted before class.
- Projects: 60%
- Weekly Summaries: 20%
- Class Participation: 20%