Large Language Models, Spring 2026

ETH Zürich: Course catalog

Course Description

Large language models have become one of the most commonly deployed NLP inventions. In the past half-decade, their integration into core natural language processing tools has dramatically increased the performance of such tools, and they have entered the public discourse surrounding artificial intelligence. In this course, we start with the probabilistic foundations of language models, i.e., covering what constitutes a language model from a formal, theoretical perspective. We then discuss how to construct and curate training corpora, and introduce many of the neural-network architectures often used to instantiate language models at scale. The course discusses privacy and harms, as well as applications of language models in NLP and beyond.

Pre-requisites: While there are no formal pre-requisites for taking the course, we count on you being comfortable with probability theory, linear algebra, computational complexity, and machine learning.

Syllabus and Schedule

On the Use of Class Time

Lectures

There is lecture slot for LLMs each week:

In-person and Zoom

Lectures will be given in person and live broadcast on Zoom; the password is available on the course Moodle page.

Recordings: Lectures will be recorded—links to the Zoom recordings will be posted on the course Moodle page.

Tutorials

Tutorials will take place Thursdays 16-18 in NO C 60 and on Zoom.

Syllabus (Last Year; Subject to Change)

Date Time Module Topic Lecturer Summary Material Reading
17. 2. 2026 1 hour Introduction and Overview
17. 2. 2026 1 hour Probabilistic Foundations Basic Measure Theory
20. 2. 2026 1 hour Defining a Language Model
24. 2. 2026 2 hours Tight Language Models
27. 2. 2026 1 hour Modeling Foundations The Language Modeling Task
3. 3. 2026 2 hours Finite-State Language Models
6. 3. 2026 1 hours Neural Network Modeling Recurrent Neural Language Models
10. 3. 2026 1 hours Representational Capacity of RNN LMs
10. 3. 2026 1 hour Transformer-based Language Models
13. 3. 2026 1 hour Transformer-based Language Models
17. 3. 2026 1 hour Representational Capacity of Transformer-based Language Models
17. 3. 2026 1 hour Modeling Potpourri Tokenization
20. 3. 2026 1 hour Generating Text from a Language Model
24. 3. 2026 2 hours Generating Text from a Language Model
27. 3. 2026 1 hour Training, Fine Tuning and Inference Transfer Learning
31. 3. 2026 2 hours Parameter efficient finetuning
3. 4. 2026 1 hour Applications and the Benefits of Scale In-context learning, Prompting, zero-shot, instruction tuning
7. 4. 2026 2 hours Multimodality
10. 4. 2026 1 hour Retrieval augmented Language Models
14. 4. 2026 2 hours Reinforcement learning for reasoning and inference-time compute
Easter Break
28. 4. 2026 2 hours Applications and the Benefits of Scale Instruction tuning and RLHF
1. 5. 2026 1 hour Security Security, Adversarial examples, and Watermarks
5. 5. 2026 2 hours Security, Adversarial examples, and Watermarks
8. 5. 2026 1 hour Prompt injections
12. 5. 2026 2 hours Data poisoning, backdoors and model stealing
15. 5. 2026 1 hour Model stealing attacks
19. 5. 2026 2 hours Privacy, Memorization, Differential Privacy
22. 5. 2026 1 hour Privacy, Memorization, Differential Privacy
26. 5. 2026 2 hours Membership inference attacks
29. 5. 2026 1 hour Guest Lecture

Tutorial Schedule

Week Date   Topic Teaching Assistant Material
1 19. 2. 2026 Course Logistics (1 hour)
2 26. 2. 2026 Fundamentals of Natural Language Processing and Language Modeling
3 5. 3. 2026 Classical Language Models: $n$-grams
4 12. 3. 2026 RNN Language Models
5 19. 3. 2026 Transformer Language Models
6 26. 3. 2026 Tokenization and Generation
7 2. 4. 2026 Assignment 1 Q&A
8 9. 4. 2026 Common pre-trained language models, Parameter-efficient fine-tuning
9 16. 4. 2026 Retrieval-augmented generation
10 30. 4. 2026 Prompting, Chain-of-Thought Reasoning
11 7. 5. 2026 Decoding and Watermarking
12 14. 5. 2026 Assignment 2 Q&A
13 21. 5. 2026 TBD
14 28. 5. 2026 No tutorials: Ascension Day

Organization

Moodle as a Communications and Questions-answering Platform

We will use the course Moodle page for course communications and as a place where you can ask questions to the teaching staff. There are several forums you can use to ask specific questions and we encourage you to take advantage of that. We aim to response quickly.

Course Notes

We prepared an extensive set of course notes for the course. We will be improving them as we go this semester as well. Please report all errata you find in the course notes to the teaching staff in the Errata Google document linked on the course Moodle page.

Links to the course notes:

Other useful literature:

Grading

Marks for the course will be determined by the following formula:

  • 50% Final Exam
  • 50% Assignments

Exam

The final exam is comprehensive and should be assumed to cover all the material in the slides and class notes. The date is determined by the ETH examinations office centrally and will be announced towards the end of the semester.

Remote exams: ETH offers a centralized system for taking exams remotely if you are an exchange student or under specific circumstances for ETH students as well. To find out more and arrange a remote exam, please follow the instructions on remote examinations here.

Exam review: After the grades have been announced, you will be able to sign up to the exam review session, which we will offer sometime in the first three weeks of the semester. During the session, you will have the opportunity to review your exam and assignments and understand how they were graded. You will also be able to take notes about the exam and solution, but no copies or photos can be taken. To sign up, we will publish a Google form after the grading conference. Note that we offer only one review session, so individual (or remote) sessions are not possible. See also here for more information about exam reviews in general.

Assignments

There will be three larger assignments in the course. Assignments are individual work, and you are expected to submit your own solutions—solutions that you wrote up yourself and did not copy from any of your peers. Each assignment might, however, follow a different policy on collaboration when it comes to discussing the problems with your peers—please refer to the specific assignment instructions for details.

We require the solutions to be properly typeset. We recommend using LaTeX (with Overleaf), but markdown files with something like MathJax for the mathematical expressions are also fine.

The first assignment will be of more theoretical nature and will be released shortly after the start of the semester. Assignments 2 and 3 will be of more practical nature and will be released in the second half of the semester.

Each of the three assignments contribute 1/3 to the final assignment grade (that is, the assignment grade will be the average of the three individual assignment grades; see the individual assignment instructions for the grading scales).

Assignment instructions:

  • Assignment 1 Instructions: TBD
  • Assignment 2 Instructions: TBD
  • Assignment 3 Instructions: TBD
Assignment Deadlines

You will submit your assignments via Moodle.

  • Assignment 1 is due on TBD.
  • Assignment 2 is due on TBD.
  • Assignment 3 is due on TBD.

Please be proactive with your time management and start early. Barring exceptional circumstances that do not only affect the last two weeks before the deadline (e.g., prolonged illness, family emergency, or severe mistakes in the assignment setup), we will not accept requests for deadline extensions—neither individual nor group requests. Late submissions will not be graded.