Spring 2025 - CMPT 839 G100
Advanced Natural Language Processing and Understanding (3)
Class Number: 5502
Delivery Method: In Person
Overview
-
Course Times + Location:
Jan 6 – Apr 9, 2025: Mon, 12:30–2:20 p.m.
BurnabyJan 6 – Apr 9, 2025: Wed, 12:30–1:20 p.m.
Burnaby
-
Instructor:
Angel Chang
angelx@sfu.ca
-
Prerequisites:
CMPT 413 or CMPT 713, CMPT 726 or CMPT 728.
Description
CALENDAR DESCRIPTION:
NLP plays an essential role in many applications, allowing people to communicate with computers through dialog systems, communicate with each other through machine translation systems, and find and process information. The course covers advanced topics in NLP, introducing the state-of-the-art methods for computational understanding, analysis, and generation of natural language text.
COURSE DETAILS:
In recent years, advances in deep learning models for NLP has transformed the ability of computers to converse with human using language, giving us multi-lingual, multi-models that are capable of answering questions, composing message, translating and summarizing documents. The development of large language models (LLMs) are built on top of neural models such as transformers, that allows for the scaling up of models and training with large amounts of data. In this course, we will focus on current state-of-the-art methods in NLP including how to do parameter efficient fine-tuning, techniques for scaling models to long sequences, etc. We will also go beyond transformers to learn alternative architectures such as state-space models.
Topics
- Transformer models in NLP
- Model design choices
- Pre-training and fine-tuning LMs
- Advanced inference techniques
- LLM agents
- Multimodal models
We will be reading papers on these topics and students will be presenting the papers and leading the discussion in class in collaboration with the instructor. The overall goal of the course will be for each student to produce a project building on state-of-the-art models in NLP.
COURSE-LEVEL EDUCATIONAL GOALS:
At the end of this course, the student should:
- Understand advanced NLP models such as Transformers.
- Be able to write code to implement such models.
- Fine-tune an existing pre-trained language model for a particular NLP task or tasks.
- Fine-tune an existing pre-trained language model with frozen parameters.
- Write the inference code necessary to solve an NLP task.
- Understand hyperparameter search.
- Be able to modify the basic model architecture to improve the state-of-the-art in at least one of the topics covered in this course.
Grading
NOTES:
Grading will be based on assignments, exams, final project and class participation. Details will be announced during the first week of classes.
Students must attain an overall passing grade on the weighted average of exams in the course in order to obtain a clear pass (C- or better).
REQUIREMENTS:
Students are expected to have already taken an NLP class (e.g. CMPT 713) or be very knowledgable about deep learning architectures commonly used in NLP (e.g. RNN, transformers).
Materials
MATERIALS + SUPPLIES:
Reference Books
- Speech and Language Processing (3rd ed), Dan Jurafsky and James H. Martin, 2019, https://web.stanford.edu/~jurafsky/slp3/
- Neural Network Methods for Natural Language Processing, Yoav Goldberg, Morgan and Claypool, 2017, http://www.morganclaypool.com/doi/10.2200/S00762ED1V01Y201703HLT037
- Natural Language Processing, Jacob Eisenstein, The MIT Press, 2018, https://github.com/jacobeisenstein/gt-nlp-class/blob/master/notes/eisenstein-nlp-notes.pdf
RECOMMENDED READING:
Deep Learning
Ian Goodfellow and Yoshua Bengio and Aaron Courville
MIT Press
2016
https://www.deeplearningbook.org/
ISBN: 9780262035613
REQUIRED READING NOTES:
Your personalized Course Material list, including digital and physical textbooks, are available through the SFU Bookstore website by simply entering your Computing ID at: shop.sfu.ca/course-materials/my-personalized-course-materials.
Graduate Studies Notes:
Important dates and deadlines for graduate students are found here: http://www.sfu.ca/dean-gradstudies/current/important_dates/guidelines.html. The deadline to drop a course with a 100% refund is the end of week 2. The deadline to drop with no notation on your transcript is the end of week 3.
Registrar Notes:
ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS
SFU’s Academic Integrity website http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating. Check out the site for more information and videos that help explain the issues in plain English.
Each student is responsible for his or her conduct as it affects the university community. Academic dishonesty, in whatever form, is ultimately destructive of the values of the university. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the university. http://www.sfu.ca/policies/gazette/student/s10-01.html
RELIGIOUS ACCOMMODATION
Students with a faith background who may need accommodations during the term are encouraged to assess their needs as soon as possible and review the Multifaith religious accommodations website. The page outlines ways they begin working toward an accommodation and ensure solutions can be reached in a timely fashion.