Software Project: Implementing Mechanistic Interpretability in NLP

Software Project, Saarland University, Winter Semester 2026/27, 2026

Course in LSF

Wednesday 16:15 to 17:45

Kick-off: 21.10.2026

End: 31.03.2027

ECTS: 8 for M.Sc. students, 12 for B.Sc. students

B.Sc. students will only be admitted to the course with sufficient prior expertise and English skills.

Course Content

This course will consist of two parts:

In the first part, we will focus on understanding and using the most important methods of mechanistic interpretability. Every week will be dedicated to a method, with a mini-lecture, a hands-on part, and a small homework.

In the second part, students will work on a project in small groups to get hands-on experience in conducting independent research in mechanistic interpretability. There will be weekly office hours and a final presentation. At the end of the semester, students submit a short report and a GitHub repo.

Preliminary Schedule

DateContent
21.10.2026Kick-off and Introductory Lecture on Mechanistic Interpretability
28.10.2026No Meeting
03.11.2026Topic 1 - Transformer Deep Dive: Information Flow, Residual Stream, Representations, Attention, MLP, What we know from MI about how things work
11.11.2026Topic 2 - Logit Lens, Intermediate Representations
18.11.2026Topic 3 - Activation Steering
25.11.2026Topic 4 - Causal Tracing, Activation Patching
02.12.2026Topic 5 - Language Forcing, Language neurons
+ Choose Project Type
09.12.2026Topic 6 - Probing
+ Time to discuss project ideas
16.12.2026Topic 7 - Circuits
+ Time to discuss project ideas
23.12.2026No Meeting
30.12.2026No Meeting
06.01.2027Project Pitches
13.01.2027Office Hour
20.01.2027Office Hour
27.01.2027Office Hour
03.02.2027Office Hour
10.02.2027Office Hour
17.02.2027Office Hour
24.02.2027Final Presentations
31.03.2027Deadline: Report and Code

A well-meaning tip: Please expect this course to be about as much work as a B.Sc. Thesis (compare to ECTS). Speaking from experience of the last few iterations of this course, doing a software project half-heartedly is not a fun experience. If this sounds like too much work because of other responsibilities, it probably is. However, also speaking from experience, motivated students can learn a LOT in this course, and some even came out with publications. I personally do not care about the level of experience you come in with - as long as you are willing to put in the work and are eager to learn, you are very welcome to participate in the course.