Advanced Natural Language Processing
Spring 2027
Instructor: Sewon Min
Class hours: TuThu 11:00-12:30 (11:10-12:30 considering Berkeley time)
Class location: Gateway 1220
Instructor OH: TBA
GSI OH: TBA
Contact: Please read before emailing
To help us respond quickly and make sure your question reaches the right people, please use the routes below. None of these situations requires emailing instructor Sewon Min at her Berkeley address. Course related emails sent directly to her will be automatically filtered and deleted, so please follow the guidance below.
I have questions about enrollment.
Please submit the Spring 2027 enrollment form by January 19 to be considered for enrollment. All the information you need is included in the form. Enrollment decisions will be finalized no later than January 29, so please do not email before then to ask for an early decision. If you still have an enrollment question that the form does not answer, email sewonm.admin+cs288@gmail.com.
I have questions about class materials.
Please ask during instructor office hours, which are held immediately after class, or post on Ed.
I have questions about assignments or projects.
Please use Ed for technical questions, requests for clarification, and other assignment- or project-related questions. You may post privately on Ed for confidential questions.
I have a DSP request.
You do not need to email the course staff. Please submit your request directly through DSP, and the course staff will follow up with you. If you have not heard from us within two weeks of submitting the request, email sewonm.admin+cs288@gmail.com.
DSP requests related to assignments, projects, or the midterm should be submitted at least two weeks before the relevant deadline. For example, a midterm-related DSP request should be submitted by March 23.
I want to audit the class.
You are always welcome to audit—there is no need to ask the course staff for permission.
I have a course conflict.
Lectures will be recorded and livestreamed, so you are welcome to participate remotely by watching the class recording. The sessions you must attend in person are the midterm on April 6 and the poster sessions on April 20 and April 22. The midterm review on April 8 will not be recorded or livestreamed, so you will also need to attend that session if you would like to participate in it.
My question is not answered above.
Please use Ed whenever possible; private posts are welcome. If you cannot post on Ed, or if you have not received a response within four days of posting on Ed, email sewonm.admin+cs288@gmail.com. If you have already posted on Ed, please include a link to the corresponding Ed post.
[Ed link: TBA] [Gradescope link: TBA] [Lecture recordings: TBA] [Final project logistics and reference topics: TBA]
This course provides a graduate-level introduction to Natural Language Processing (NLP), covering techniques from foundational methods to modern approaches. We begin with core concepts such as word representations and neural network–based NLP models, including recurrent networks and attention mechanisms. We then study modern Transformer-based models, focusing on pre-training, fine-tuning, prompting, scaling laws, and post-training. The course concludes with recent advances in NLP, including retrieval-augmented models, reasoning models, and multimodal systems involving vision and speech.
Prerequisites: CS 288 assumes prior experience in machine learning and proficiency in PyTorch. Students should be familiar with neural networks, PyTorch, and NumPy; no introductory tutorials will be provided.
Schedule (Tentative)
All deadlines are at 5:59 PM Pacific Time.
- 01/19 Tue
- Introduction & n-gram LM
- Assignment 1 released
- 01/21 Thu
- Word representation
- 01/26 Tue
- Text classification
- 01/28 Thu
- Sequence models (Key concepts: Recurrent neural networks)
- 02/02 Tue
- Sequence-to-sequence models
- Assignment 1 due Team matching request due
- 02/04 Thu
- Sequence-to-sequence models (cont’d)
- 02/09 Tue
- Transformers
- Assignment 2 released
- 02/11 Thu
- Transformers (cont’d)
- 02/16 Tue
- Pre-training, Fine-tuning, & Prompting
- 02/18 Thu
- Pre-training, Fine-tuning, & Prompting (cont’d)
- 02/23 Tue
- Post-training
- Assignment 2 due
- 02/25 Thu
- Inference methods
- 03/02 Tue
- Evaluation
- Project Checkpoint 1 (abstract) due Assignment 3 released
- 03/04 Thu
- Retrieval and RAG
- 03/09 Tue
- Guest lecture (TBA)
- 03/11 Thu
- Advanced topic: Scaling laws & data
- 03/16 Tue
- Advanced topic: Advanced architectures
- Assignment 3 early milestone due
- 03/18 Thu
- No class: EECS faculty retreat (expected)
Assignment 3 due - 03/23 Tue
- No class: Spring break
- 03/25 Thu
- No class: Spring break
- 03/30 Tue
- Advanced topic: Test-time compute & Reasoning models
- 04/01 Thu
- Advanced topic: Agents
- 04/06 Tue
- MIDTERM (Scope: all material covered through the March 18 class)
- 04/08 Thu
- MIDTERM REVIEW (will not be recorded)
- 04/13 Tue
- Advanced topic: Vision-language models
- 04/15 Thu
- Guest lecture (TBA)
- 04/20 Tue
- Poster session
- Project Checkpoint 2
- 04/22 Thu
- Poster session
- Project Checkpoint 2
- 04/27 Tue
- No class: Office hours for project reports
- 04/29 Thu
- No class: Office hours for project reports
- Project Checkpoint 3 (final report) due by 05/06 (Thu)
Acknowledgement
The class materials, including lectures and assignments, are largely based on the following courses, whose instructors have generously made their materials publicly available. We are deeply grateful to them for sharing their work with the broader community:
- Princeton COS 484 Natural Language Processing by Danqi Chen, Tri Dao, Vikram Ramaswamy
- CMU Advanced Natural Language Processing by Graham Neubig & Sean Welleck
- Stanford CS336 Language Modeling from Scratch by Tatsumori Hashimoto & Percy Liang
- Cornell LM-class by Yoav Artzi
- An earlier offering of UC Berkeley EECS 288 Natural Language Processing by Dan Klein and Alane Suhr