COMP790: Deep Learning
Instructor: Colin Raffel
TA: Ryan Strauss
Term: Spring 2022
Meeting time: Mondays and Wednesdays, 12:30-1:45pm
Office hours: By appointment
Deep learning is the branch of machine learning focused on training neural networks. Neural networks have proven to be powerful across a wide range of domains and tasks, including computer vision, natural language processing, speech recognition, and beyond. The success of these models is partially thanks to the fact that their performance tends to improve as more and more data is used to train them. Further, there have been many advances over the past few decades that have made it easier to attain good performance when using neural networks. In this course, we will provide a thorough introduction to the field of deep learning. We will cover the basics of building and optimizing neural networks in addition to specifics of different model architectures and training schemes. The course will closely follow the "Dive into Deep Learning" textbook and will have a standard lecture/homework/exam format.
Students need to have taken the following courses:
- Machine learning (one of COMP562, COMP755, STOR565, or equivalent)
- Linear algebra (one of MATH210, MATH347, MATH577, or equivalent)
- Multivariate calculus (one of MATH233, MATH522, or equivalent)
Further, it is recommended that students have some basic familiarity with statistical concepts. Finally, students must be proficient in reading and writing Python code.
The following schedule is a guess; we may deviate from this schedule somewhat if things take significantly longer or shorter to get through. Students should read the associated textbook section/chapters before class. All readings refer to corresponding sections in Dive into Deep Learning.
|Mon, 1/10||Class introduction, background, logistics||§2.1-2.7 (optional)|
|Wed, 1/12||Linear regression||§3.1-3.3||H1 assigned|
|Mon, 1/17||No class||—|
|Wed, 1/19||Logistic regression||§3.4-3.7||H1 due, H2 assigned|
|Mon, 1/24||Multilayer perceptrons||§4.1-4.3|
|Wed, 1/26||Under/overfitting, regularization||§4.4-4.6||H2 due, H3 assigned|
|Mon, 1/31||Backpropagation, numerical stability||§4.7-4.8|
|Wed, 2/2||Convolutional neural networks 1||§6.1-6.3||H3 due, H4 assigned|
|Mon, 2/7||Convolutional neural networks 2||§6.4-6.6|
|Wed, 2/9||Batch normalization & residual connections||§7.5-7.6||H4 due, H5 assigned|
|Mon, 2/14||Sequence models and language||§8.1-8.3|
|Wed, 2/16||Recurrent neural networks 1||§8.4-8.7||H5 due, H6 assigned|
|Mon, 2/21||Recurrent neural networks 2||§9.1-9.4|
|Wed, 2/23||Midterm Review||—||H6 due|
|Wed, 3/2||Sequence-to-sequence learning||§9.5-9.8||H7 assigned|
|Mon, 3/7||Attention 1||§10.1-10.4|
|Wed, 3/9||Attention 2||§10.5-10.7||H7 due, H8 assigned|
|Mon, 3/14||No class||—|
|Wed, 3/16||No class||—|
|Mon, 3/21||Gradient descent||§11.1-11.5|
|Wed, 3/23||Adaptive gradient methods||§11.6-11.11||H8 due, H9 assigned|
|Mon, 3/28||Data augmentation and transfer learning for CV||§13.1-13.2|
|Wed, 3/30||Word vectors||§14.1-14.7||H9 due, H10 assigned|
|Mon, 4/4||Transfer learning for NLP||§14.8-14.10, 15.6-15.7|
|Wed, 4/6||Generative adversarial networks||§13.10, 17.1-2||H10 due, H11 assigned|
|Mon, 4/11||Autoencoders & variational autoencoders||—|
|Wed, 4/13||Deep autoregressive models||—||H11 due, H12 assigned|
|Mon, 4/18||Semi-supervised and self-supervised learning||—|
|Wed, 4/20||Distribution shift; fairness, accountability, and transparency||§4.9||H12 due|
|Mon, 4/25||(bonus slot for catchup or guest lecture)||—|
|Wed, 4/27||Final exam review||—|
|Final exam slot||Final exam||—|
- Homework, 48 points: There will be 12 homework assignments. Each homework assignment will be assigned on Wednesday and due the following Wednesday. Homework will consist of some combination of math and coding. Each homework is worth 4 points.
- Midterm, 22 points: The midterm will take place on 2/28 and will cover all topics discussed before the midterm.
- Final Exam, 30 points: The final exam will take place during our scheduled final exam slot and will cover all topics discussed in the class.
Late work, collaboration rules, and the honor code
You can replace your worst homework grade with a perfect grade (4/4), which effectively excuses you from a single homework. I can grant you an extension on a homework due to a life emergency, but you must request an extension at least 24 hours before the homework is due.
You are welcome to work together with other students on the homework. You are also welcome to use any resources you find (online tutorials, textbooks, papers, etc.) to help you complete the homework. However, you must list any collaboration or resources you used to complete each homework on each assignment. If you hand in homework that involved collaboration and/or makes use of content that you did not create and you do not disclose this, you will get a 0 for that homework.
All students are expected to follow the guidelines of the UNC honor code. In the context of this class, it is particularly important that you cite the source of different ideas, facts, or methods and do not claim someone else's work as your own. If you are unsure about which actions violate that honor code, feel free to ask me.
I ask that we all follow the NeurIPS Code of Conduct and the Recurse Center Social Rules. I value the perspectives of individuals from all backgrounds reflecting the diversity of our students. I broadly define diversity to include race, gender identity, national origin, ethnicity, religion, social class, age, sexual orientation, political background, and physical and learning ability. I will strive to make this classroom an inclusive space for all students. Please let me know if there is anything I can do to improve.
Acts of discrimination, harassment, interpersonal (relationship) violence, sexual violence, sexual exploitation, stalking, and related retaliation are prohibited at UNC-Chapel Hill. If you have experienced these types of conduct, you are encouraged to report the incident and seek resources on campus or in the community. Please contact the Director of Title IX Compliance/Title IX Coordinator (Adrienne Allison, [email protected]), Report and Response Coordinators (Ew Quimbaya-Winship, [email protected]; Rebecca Gibson, [email protected]; Kathryn Winn [email protected]), Counseling and Psychological Services (CAPs) (confidential) in Campus Health Services at (919) 966-3658, or the Gender Violence Services Coordinators (confidential) (Cassidy Johnson, [email protected]; Holly Lovern, [email protected]) to discuss your specific needs. Additional resources are available at http://safe.unc.edu.
The University of North Carolina at Chapel Hill facilitates the implementation of reasonable accommodations, including resources and services, for students with disabilities, chronic medical conditions, a temporary disability or pregnancy complications resulting in difficulties with accessing learning opportunities. All accommodations are coordinated through the Accessibility Resources and Service Office. See the ARS Website for contact information: https://ars.unc.edu or email [email protected]. Relevant policy documents as they relate to registration and accommodations determinations and the student registration form are available on the ARS website under the About ARS tab.
CAPS is strongly committed to addressing the mental health needs of a diverse student body through timely access to consultation and connection to clinically appropriate services, whether for short or long-term needs. Go to their website or visit their facilities on the third floor of the Campus Health Services building for a walk-in evaluation to learn more.
I reserve the right to make changes to the syllabus, including project due dates and test dates. These changes will be announced as early as possible.