COMP 646: Deep Learning for Vision and Language | Spring 2022
Course Description: Visual recognition and language understanding are two challenging tasks in AI. In this course we will study and acquire the skills to build machine learning and deep learning models that can reason about images and text for generating image descriptions, visual question answering, image retrieval, and other tasks involving both text and images. On the technical side we will leverage models such as recurrent neural networks (RNNs), convolutional neural networks (CNNs), and transformer networks (e.g. BERT), among others.
Learning Objectives: (a) Develop intuitions about the connections between language and vision, (b) Understanding foundational concepts in representation learning for both images and text, (c) Become familiar with state-of-the-art models for tasks in vision and language, (d) Obtain practical experience in the implementation of these models.
Prerrequisites: There are no formal pre-requisities for this class. However a basic command of machine learning, deep learning or computer vision will be useful when taking this class. Students should have knowledge of linear algebra, differential calculus, and basic statistics and probability. Moreover students are expected to have attained some level of proficiency in Python programming or be willing to learn Python programming. Students are encouraged to complete the following activity before the first lecture: [Primer on Image Processing].
Grading: Assignments: 30% (3 assignments), Class Project: 50%, Quiz: 10%, Class Participation: 10%.
|Mon, Jan 10||Introduction to Vision and Language [pptx] [pdf]|
|Wed, Jan 12||Machine Learning I: Supervised vs Unsupervised Learning, Linear Classifiers [pptx] [pdf]|
|Fri, Jan 14||Machine Learning II: Stochastic Gradient Descent / Regularization [pptx] [pdf]|
|Mon, Jan 17||Martin Luther King, Jr. Day (Holiday - No Scheduled Classes)|
Assignment on Image Classification and Convolutional Neural Networks [colab]
Due Wednesday February 2nd, 11:59pm (CT).
|Wed, Jan 19||Neural Networks I: Multi-layer Perceptrons and Backpropagation [pptx] [pdf]|
|Fri, Jan 21||Neural Networks I: Multi-layer Perceptrons and Backpropagation: Continuation|
|Mon, Jan 24||Computer Vision I: The Convolutional Operator and Image Filtering [pptx] [pdf]|
|Wed, Jan 26||Computer Vision I: Continuation: Convolutional Neural Networks|
|Fri, Jan 28||Computer Vision II: Convolutional Neural Network Architectures: LeNet, AlexNet [pptx] [pdf]|
|Mon, Jan 31||Computer Vision II: Continuation: GoogleNet and Inception Layers|
|Wed, Feb 2||Computer Vision II: Continuation: ResNet and Skip Connections: DenseNets|
|Fri, Feb 4||Computer Vision II: Continuation: Convnet architectures / Regularization (Weight Decay) and Momentum|
|Mon, Feb 7||Computer Vision III: Convolutional Neural Networks for Object Detection and Segmentation [pptx] [pdf]|
Assignment on Multimodal Image-Text Analysis of Movies [colab]
Due Wednesday February 23rd, 11:59pm (CT).
|Wed, Feb 9||Natural Language Processsing I: Introduction: Bag of Words, N-gram Language Models [pptx] [pdf]|
|Fri, Feb 11||Spring Recess (No Scheduled Classes)|
|Mon, Feb 14||Natural Language Processsing II: Syntax and Morphology / Parsing / Co-reference Resolution / Word Embeddings [pptx] [pdf]|
|Wed, Feb 16||Natural Language Processing III: Recurrent Neural Networks [pptx] [pdf]|
|Fri, Feb 18||Natural Language Processing III: Recurrent Neural Networks: Continuation|
|Mon, Feb 21||Transformer Models I: Introduction [pptx] [pdf]|
|Wed, Feb 23||Transformer Models II: Multi-head vs Single-Head Self Attention Layers|
|Fri, Feb 25||Transformer Models II: Continuation and the BERT Encoder Model|
Assignment on Vision-Language RNNs and CLIP [colab]
Due Friday March 11th, 11:59pm (CT).
|Mon, Feb 28||Overview of Assignment 3 and Practical considerations in CNNs (not recorded)|
|Wed, Mar 2||CNNs for Semantic Segmentation: Dilated Convolutions, Transposed Convolutions, U-Nets [Slides from Feb 7]|
|Fri, Mar 4||Vision Transformers (ViT) and CLIP [pdf]|
|Mon, Mar 7||ECCV Deadline (No Class this Day)|
|Wed, Mar 9||Generative Adversarial Networks -- Text-to-Image Networks [pptx] [pdf]|
|Fri, Mar 11||Conditional Generative Adversarial Networks and Text2Scene [pdf]|
|Mon, Mar 14||Spring Break (No Scheduled Classes)|
|Wed, Mar 16||Spring Break (No Scheduled Classes)|
|Fri, Mar 18||Spring Break (No Scheduled Classes)|
|Mon, Mar 21||Video Representations and Video and Language Tasks [pptx] [pdf]|
|Wed, Mar 23||Practical Session on AutoEncoders|
|Fri, Mar 25||Guest Lecture: Ziyan Yang (PhD Student at Rice) -- Recent Advances and Trends in Vision and Language Transformers [pptx] [pdf]|
|Mon, Mar 28||Quiz|
|Wed, Mar 30||Quiz Discussion and Recap|
|Fri, Apr 1||Referring Expressions and Visual Grounding and Visual Question Answering (VQA) [pptx] [pdf]|
|Mon, Apr 4||Referring Expressions: Continuation and [project advice]|
|Wed, Apr 6||Multimodal Machine Translation [pptx] [pdf]|
|Fri, Apr 8||In Class Activity: Adversarial Example Generation|
|Mon, Apr 11||In Class Activity Follow-up: Adversarial Example Generation|
|Wed, Apr 13||Guest Lecture: Boris Dayma (creator of DALL·E mini and HuggingTweets)|
|Fri, Apr 15||Building a front-end for deploying ML-based vision&language models (Flask, JQuery, Pytorch)|
|Mon, Apr 18||Working with training large scale jobs in practice (Wandb, Containers, SLURM): Part I|
|Wed, Apr 20||Working with training large scale jobs in practice (Wandb, Containers, SLURM): Part II|
|Fri, Apr 22||Course Recap|
Disclaimer: The professor reserves to right to make changes to the syllabus, including assignment due dates. These changes will be announced as early as possible.
COVID-19 Notice: As we continue another year under the ongoing COVID-19 pandemic and new variants of the virus causing this disease, there might be changes that affect the delivery or requirements of this class. As of the writing of this, the university has declared that classes with more than 50 students such as this one should be virtual during the first two weeks of class. Please pay close attention to university officials and the instructor regarding modifications to course delivery or content due to the pandemic. If a student is personally affected by the pandemic course staff will also make special considerations on a case-by-case basis as allowed -- students however should first follow any guidance put forward by official university channels of communication.
Late Submission Policy: No late assignments will be accepted in this class. Unless the student has procured special accommodations for warranted circumstances -- or due to exceptional personal situations. If you consider this might be your case please contact the instructor directly.
Honor Code and Academic Integrity: "In this course, all students will be held to the standards of the Rice Honor Code, a code that you pledged to honor when you matriculated at this institution. If you are unfamiliar with the details of this code and how it is administered, you should consult the Honor System Handbook at http://honor.rice.edu/honor-system-handbook/. This handbook outlines the University's expectations for the integrity of your academic work, the procedures for resolving alleged violations of those expectations, and the rights and responsibilities of students and faculty members throughout the process." For this class: If assignments are individual then no collaboration is expected, no two students should submit the same source code. Regardless of circumstances I will assume that any source code, text, or images submitted alongside reports or projects are of the authorship of the students unless otherwise explicitly stated through appropriate means. Any missing information regarding sources will be regarded potentially as a failure to abide by the academic integrity statement even if that was not the intent. Please be careful about citing sources and clearly stating what is your original work and what is not in all assignments and projects. Especially avoid vague statements such as "we built our model based on X", instead be explicit e.g. "we downloaded X and modified the encoder so that it can work with videos instead of images by adding three more layers". Avoid vague statements that make it difficult to understand what you did from what was done by others.
Title IX Support: Rice University cares about your wellbeing and safety. Rice encourages any student who has experienced an incident of harassment, pregnancy discrimination or gender discrimination or relationship, sexual, or other forms interpersonal violence to seek support through The SAFE Office. Students should be aware when seeking support on campus that most employees, including myself, as the instructor/TA, are required by Title IX to disclose all incidents of non-consensual interpersonal behaviors to Title IX professionals on campus who can act to support that student and meet their needs. For more information, please visit safe.rice.edu or email email@example.com.
Disability Resource Center: "If you have a documented disability or other condition that may affect academic performance you should: 1) make sure this documentation is on file with the Disability Resource Center (Allen Center, Room 111 / firstname.lastname@example.org / x5841) to determine the accommodations you need; and 2) talk with me to discuss your accommodation needs."