Assignment | Deadline | Description | Links | |
---|---|---|---|---|
HW1P1 Bonus |
Final Submission: December 8th, 11:59 PM ET |
Adam, AdamW Optimizers and Dropout | ||
HW1P1 Autograd |
Final Submission: December 8th, 11:59 PM ET |
Automatic Differentiation Engine | ||
HW2P1 Bonus |
Final Submission: December 8th, 11:59 PM ET |
Dropout2d, BatchNorm2d and ResNet | Autolab | |
HW2P1 Autograd |
Final Submission: December 8th, 11:59 PM ET |
Applying Autograd to Convolutional Networks | Autolab | |
HW4P1 |
Early Submission: 22nd November, 11:59 PM Final Submission: 6th December, 11:59 PM |
Language Modeling |
Autolab, Piazza |
|
HW4P2 |
Early Submission: 22nd November, 11:59 PM Final Submission: 6th December, 11:59 PM |
Automatic Speech Recognition using Attention-based Encoder-Decoder Architecture |
Autolab, Piazza |
|
Project Gallery |
“Deep Learning” systems, typified by deep neural networks, are increasingly taking over all the AI tasks, ranging from language understanding, speech and image recognition, to machine translation, planning, and even game playing and autonomous driving. As a result, expertise in deep learning is fast changing from an esoteric desirable to a mandatory prerequisite in many advanced academic settings, and a large advantage in the industrial job market.
In this course we will learn about the basics of deep neural networks, and their applications to various AI tasks. By the end of the course, it is expected that students will have significant familiarity with the subject, and be able to apply Deep Learning to a variety of tasks. They will also be positioned to understand much of the current literature on the topic and extend their knowledge through further study.
If you are only interested in the lectures, you can watch them on the YouTube channel.
The course is well rounded in terms of concepts. It helps us understand the fundamentals of Deep Learning. The course starts off gradually with MLPs and it progresses into the more complicated concepts such as attention and sequence-to-sequence models. We get a complete hands on with PyTorch which is very important to implement Deep Learning models. As a student, you will learn the tools required for building Deep Learning models. The homeworks usually have 2 components which is Autolab and Kaggle. The Kaggle components allow us to explore multiple architectures and understand how to fine-tune and continuously improve models. The task for all the homeworks were similar and it was interesting to learn how the same task can be solved using multiple Deep Learning approaches. Overall, at the end of this course you will be confident enough to build and tune Deep Learning models.
Courses 11-785 and 11-685 are equivalent 12-unit graduate courses, and have a final project and HW5
respectively.
Course 11-485 is the undergraduate version worth 9 units, the only difference being that there is no
final project or HW5.
Instructors:
TAs:
Wall of fame
Lecture: Monday and Wednesday, 8:00 a.m. - 9:20 a.m. - Good times :)
Recitation Labs: Friday, 8:00 a.m. - 9:20 a.m.
Office Hours: We will be using OHQueue (11-785) for both zoom and in-person office hours. Please refer the below OH Calendar / Piazza for up-to-date information.
Homework Hackathon: During 'Homework Hackathons', students will be
assisted with homework by the course staff. It is recommended to come as study groups.
Aug 31
Event Calendar: The Google Calendar below contains all course events and deadlines for student's convenience. Please feel free to add this calendar to your Google Calendar by clicking on the plus (+) button on the bottom right corner of the calendar below. Any adhoc changes to the schedule will be reflected in this calendar first.
OH Calendar: The Google Calendar below contains the schedule for Office Hours. Please feel free to add this calendar to your Google Calendar by clicking on the plus (+) button on the bottom right corner of the calendar below. Any adhoc changes to the schedule will be reflected in this calendar first.
Policy | ||
Breakdown | ||
Score Assignment | Grading will be based on weekly quizzes (24%), homeworks (50%) and a course project (25%). Note that 1% of your grade is assigned to Attendance. | |
Quizzes | ||
Quizzes |
There will be weekly quizzes.
|
|
Assignments | ||
Assignments | There will be five assignments in all, plus the Peer Review assignment during the last week of the semester.
Assignments will include Autolab components, where you implement low-level operations,
and a Kaggle component, where you compete with your colleagues over relevant DL tasks.
|
|
Project | ||
Project |
|
|
Attendance | ||
Attendance |
|
|
Final grade | ||
Final grade | The end-of-term grade is curved. Your overall grade will depend on your performance relative to your classmates. | |
Pass/Fail | ||
Pass/Fail | Students registered for pass/fail must complete all quizzes, HWs and if they are in the graduate course, the project. A grade equivalent to B- is required to pass the course. | |
Auditing | ||
Auditing | Auditors are not required to complete the course project, but must complete all quizzes and homeworks. We encourage doing a course project regardless. | |
End Policy |
We believe that effective collaboration can greatly enhance student learning. Thus, this course employs study groups for both quizzes and homework ablations. It is highly recommended that you join a study group; Check piazza for further updates.
Piazza is what we use for discussions. You should be automatically signed up if you're enrolled at
the start of the semester. If not, please sign up here.
Also, please follow the
AutoLab is what we use to test your understand of low-level concepts, such as engineering your own libraries, implementing important algorithms, and developing optimization methods from scratch.
Kaggle is where we test your understanding and ability to extend neural network architectures discussed in lecture. Similar to how AutoLab shows scores, Kaggle also shows scores, so don't feel intimidated -- we're here to help. We work on hot AI topics, like speech recognition, face recognition, and neural machine translation.
CMU students who are not in the live lectures should watch the uploaded lectures at MediaServices in order to get attendance credit. Links to individual videos will be posted as they are uploaded.
Our YouTube Channel is where non-CMU folks can view all lecture and recitation recordings. Videos marked “Old“ are not current, so please be aware of the video title.
The course will not follow a specific book, but will draw from a number of sources. We list relevant books at the end of this page. We will also put up links to relevant reading material for each class. Students are expected to familiarize themselves with the material before the class. The readings will sometimes be arcane and difficult to understand; if so, do not worry, we will present simpler explanations in class.
You can also find a nice catalog of models that are current in the literature here. We expect that you will be in a position to interpret, if not fully understand many of the architectures on the wiki and the catalog by the end of the course.
Lecture | Date | Topics | Slides, Videos | Additional Materials | Quiz |
---|---|---|---|---|---|
0 | Monday, Aug 05 |
|
Youtube |
Slides (PDF) |
No Quiz |
1 | Monday, Aug 26 |
|
Slides (PDF) MediaServices Youtube |
The New Connectionism (1988)
On Alan Turing's Anticipation of Connectionism McCullogh and Pitts paper Rosenblatt: The perceptron Bain: Mind and body Hebb: The Organization Of Behaviour |
Quiz 1 |
2 | Wednesday, Aug 28 |
|
Slides (PDF) MediaServices Youtube |
Shannon (1949) Boolean Circuits On the Bias-Variance Tradeoff |
|
3 | Wednesday, Sep 04 |
|
Slides (PDF) MediaServices Youtube |
Widrow and Lehr (1992) Adaline and Madaline |
Quiz 2 |
4 | Friday, Sep 06 |
|
Slides (PDF) MediaServices Youtube |
Widrow and Lehr (1992) Adaline and Madaline Convergence of perceptron algorithm Threshold Logic TC (Complexity) AC (Complexity) |
|
5 | Monday, Sep 09 |
|
Slides (PDF) MediaServices Youtube |
Werbos (1990) Rumelhart, Hinton and Williams (1986) |
Quiz 3 |
6 | Wednesday, Sep 11 |
|
Slides (PDF) MediaServices Youtube |
Backprop fails
to separate, where perceptrons succeed, Brady et al. (1989) Why Momentum Really Works |
|
7 | Monday, Sep 16 |
|
Slides (PDF) MediaServices Youtube |
Momentum, Polyak (1964) Nestorov (1983) Derivatives and Influences |
Quiz 4 |
8 | Wednesday, Sep 18 |
|
Slides (PDF) MediaServices Youtube |
Derivatives and Influence Diagrams ADAGRAD, Duchi, Hazan and Singer (2011) Adam: A method for stochastic optimization, Kingma and Ba (2014) |
|
9 | Monday, Sep 23 |
|
Slides (PDF) MediaServices Youtube |
Quiz 5 | |
10 | Wednesday, Sep 25 |
|
Slides (PDF) MediaServices Youtube |
||
11 | Monday, Sep 30 |
|
Slides (PDF) MediaServices Youtube |
CNN Explainer | Quiz 6 |
12 | Wednesday, Oct 02 |
|
Slides (PDF) Youtube |
||
13 | Monday, Oct 07 |
|
Slides (PDF) MediaServices Youtube |
Fahlman and Lebiere (1990) How to compute a derivative, extra help for HW3P1 (*.pptx) |
Quiz 7, Part 1 |
14 | Wednesday, Oct 09 |
|
Slides (PDF) Youtube |
Quiz 7, Part 2 | |
- | Monday, Oct 14 |
|
Quiz 8 | ||
- | Wednesday, Oct 16 |
|
|||
15 | Monday, Oct 21 |
|
Slides (PDF) MediaServices Youtube |
Quiz 9 | |
16 | Wednesday, Oct 23 |
|
Slides (PDF) MediaServices Youtube |
||
17 | Monday, Oct 28 |
|
Slides (PDF) MediaServices Youtube |
Quiz 10 | |
18 | Wednesday, Oct 30 |
|
Slides (PDF) MediaServices Youtube |
||
19 | Monday, Nov 04 |
|
Slides (PDF) MediaServices Youtube |
Quiz 11 | |
20 | Wednesday, Nov 06 |
|
Slides (PDF) MediaServices Youtube |
||
21 | Wednesday, Nov 13 |
|
Slides (PDF) MediaServices Youtube |
Quiz 12 | |
22 | Monday, Nov 18 |
|
Slides (PDF) MediaServices Youtube |
Quiz 13 | |
23 | Wednesday, Nov 20 |
|
Slides (PDF) MediaServices Youtube |
||
24 | Monday, Nov 25 |
|
Slides (PDF) MediaServices Youtube |
Quiz 14 | |
25 | Monday, Dec 02 |
|
Slides (PDF) MediaServices Youtube |
Quiz 15 | |
26 | Wednesday, Dec 04 |
|
Slides (PDF) MediaServices Youtube |
Recitation | Date | Group | Topics | Materials | Youtube Videos | Instructor |
---|---|---|---|---|---|---|
0A | Monday, Aug 05 |
Python Programming | Python Fundamentals | Colab Notebook | Eman Ansar, Yichen Xin |
|
0B | OOP Fundamentals | Colab Notebook | Carmel Prosper SAGBO, Eman Ansar |
|||
0C | Numpy Fundamentals |
Colab Notebook (Part I, II, III) Broadcasting Pitfalls (Part IV) |
Carmel Prosper SAGBO | |||
0D | Notebooks and Conda Environments | Yuzhou Wang, Yichen Xin |
||||
0E | PyTorch | PyTorch Part 1 |
Colab Notebook PyTorch Cheatsheet |
Purusottam Samal, Khushali Daga |
||
0F | PyTorch Part 2 |
Colab Notebook |
NIYIBIGIRA Geredi, Angela Chen, Shravanth Srinivas |
|||
0G | Computational Resources | Available Compute and Google Colab | Colab Notebook | Angela Chen, Zhiheng(Andy) Ye |
||
0H | Google Cloud | Syed Abdul Hannan, Angela Chen |
||||
0I | AWS | Colab Notebook | Leo Xu, Ketan Chaudhary |
|||
0J | Kaggle | Zhiheng Ye, NIYIBIGIRA Geredi |
||||
0K | Data Handling and Processing | Datasets |
Colab Notebook (Part I) Colab Notebook (Part II) |
Purusottam Samal, ChooWon Sir |
||
0L | Dataloaders | Colab Notebook | Ketan Chaudhary, Hao Chen |
|||
0M | Data Preprocessing | Colab Notebook | Yichen Xin, Alex Gichamba |
|||
0N | Debugging and Problem Solving | Debugging |
Colab Notebook (Part I) Colab Notebook (Part III) |
Khushali Daga, Romerik Lokossou |
||
0O | What to Do When Struggling | Romerik Lokossou |
||||
0P | Cheating | Zhiheng(Andy) Ye, Eman Ansar |
||||
0Q | HWs and Project Workflow Management | Workflow of HWs | Alexander Moker, Syed Abdul Hannan |
|||
0R | Weights and Biases (WandB) | Colab Notebook | Nebiyou Hailemariam, Purusottam Samal |
|||
0S | Git |
|
Syed Abdul Hannan, Nebiyou Hailemariam |
|||
0T | Flow of the Project | ChooWon Sir, Yuzhou Wang |
||||
0U | Writing a Report | NIYIBIGIRA Geredi, Ketan Chaudhary |
||||
0V | Algorithmic Techniques | Losses | Colab Notebook | Leo Xu, ChooWon Sir |
||
0W | Block Processing | Colab Notebook | Alex Gichamba | |||
0X | Model Logistics | Paper To Code | Hao Chen | |||
0Y | Pipeline | Alexander Moker, Nebiyou Hailemariam |
||||
0Z | Distributed Training | Leo Xu, Hao Chen |
||||
Lab 01 | Friday, Aug 30 |
Your First MLP | Colab Notebook | Ketan Chaudhary, Syed Abdul Hannan |
||
Bootcamp HW1 | Saturday, Aug 31 |
HW1P1, HW1P2 |
Slides (PDF) |
Ketan Chaudhary, Leo Xu, Eman Ansar, Khushali Daga, Romerik Lokossou, Alexander Moker |
||
Lab 02 | Saturday, Sep 07 |
Network Optimizations |
Slides (PDF) |
Romerik Lokossou, Alex Gichamba, Purusottam Samal |
||
Lab 03 | Friday, Sep 13 |
Debugging in Deep Learning Networks |
Slides (PDF) |
Ketan Chaudhary, Alexander Moker, Khushali Daga |
||
Lab 04 | Friday, Sep 20 |
Computing Derivatives and Autograd |
Colab Notebook Slides (PDF) |
|
Alex Gichamba, Leo Xu, Andy Ye |
|
Bootcamp HW2 | Saturday, Sep 21 |
HW2P1, HW2P2 |
Slides HW2P1 Slides HW2P2 |
Khushali Daga, Yichen Xin, Choowon Sir, Khushali Daga, Syed Abdul Hannan, Hao Chen |
||
Lab 05 | Friday, Sep 27 |
CNN Basics |
Slides (PDF) |
Ketan Chaudhary , Choowon Sir, Aarya Makwana |
||
Lab 06 | Friday, Oct 04 |
CNN Classification and Verification |
Slides (PDF) |
Carmel Sagbo, Hao Chen, Khushali Daga |
||
Lab 07 | Friday, Oct 11 |
RNN Basics |
Slides (PDF) Colab Notebook Notebook Walkthrough |
Carmel Sagbo, Eman Ansar, Shravanth Srinivas |
||
Lab 08 | Friday, Oct 18 |
Kaggle Competition | Alexander Moker, Zhiheng (Andy) Ye |
|||
Lab 09 | Friday, Oct 25 |
CTC, Beam Search |
Slides (PDF) |
Alex Gichamba, Purusottam Samal, Zhiheng (Andy) Ye |
||
Bootcamp HW3 | Saturday, Oct 26 |
HW3P1, HW3P2 |
Slides HW3P1 Slides HW3P2 |
Angela Chen, Eman Ansar, Niyibigira Geredi, Khushali Daga, Alexander Moker, Nebiyou Hailemariam, Ketan Chaudhary, Carmel Sagbo |
||
Lab 10 | Friday, Nov 01 |
Attention, MT, LAS |
Slides (PDF) |
Yuzhou Wang, Yichen Xin, Angela Chen |
||
Lab 11 | Friday, Nov 08 |
Transformers |
Notebook Language Notebook Vision |
Hao Chen, Leo, Yuzhou Wang, Yichen Xin |
||
Bootcamp HW4 | Saturday, Nov 09 |
HW4P1, HW4P2 | Zhiheng Ye, Yuzhou Wang, Leo Xu, Dareen Safar B Alharthi, Syed Abdul Hannan, Gabrial Zencha, Carmel Prosper, Romerik Lokossou |
|||
Lab 12 | Friday, Nov 15 |
VAE |
Slides (PDF) Notebook |
Romerik Lokossou, Gabrial Zencha, Purusottam Samal |
||
Lab 13 | Friday, Nov 22 |
NF and Stable Diffusion |
Slides (PDF) Notebook |
Niyibigira Geredi , Syed Abdul Hannan, Angela Chen |
||
Lab 14 | Friday, Nov 29 |
GAN |
Slides (PDF) Notebook |
Niyibigira Geredi , Syed Abdul Hannan, Eman Ansar |
||
Lab 15 | Friday, Dec 06 |
Graph Neural Networks |
|
Nebiyou Hailemariam, Romerik Lokossou |
Assignment | Release Date (EST) | Due Date (EST) | Related Materials / Links |
---|---|---|---|
HW1P1 | Wednesday, Aug 28 11:59 PM |
Early Deadline: Friday, Sep 06 11:59 PM On-Time Deadline: Friday, Sep 20 11:59 PM |
|
HW1P2 | |||
HW1P1 Bonus | Sunday, Dec 08 11:59 PM | ||
HW1P1 Autograd | Sunday, Dec 08 11:59 PM | ||
HW2P1 | Friday, Sep 20 11:59 PM |
Early Deadline: Friday, Oct 04 11:59 PM On-Time Deadline: Saturday, Oct 12 11:59 PM |
|
HW2P2 | |||
HW2P1 Bonus | Sunday, Dec 08 11:59 PM | ||
HW2P1 Autograd | Sunday, Dec 08 11:59 PM | ||
HW3P1 | Monday, Oct 21 11:59 PM |
Early Deadline: Friday, Nov 01 11:59 PM On-Time Deadline: Friday, Nov 08 11:59 PM |
|
HW3P2 | |||
HW4P1 | Friday, Nov 08 11:59 PM |
Early Deadline: Friday, Nov 22nd 11:59 PM On-Time Deadline: Friday, Dec 06 11:59 PM |
Autolab, Piazza |
HW4P2 |
Autolab, Piazza |
This is a selection of optional textbooks you may find useful