Projects

1st Semester 2026/27: The Geometry of Truth in Large Language Models

Instructors
Martha Lewis
ECTS
6
Description

Large language models are very successful at a number of tasks, but to a certain extent are still black boxes. The field of mechanistic interpretability aims to uncover the mechanisms inside LLMs that underlie their behaviour. In this project you will investigate how certain concepts are represented inside LLMs, using activation patching. We will start by recreating some of the results from The Geometry of Truth, Marks and Tegmark, COLM 2024, and go on to challenge or extend these results in various ways. Ideas for extension could include applications to entailment, analogical reasoning, fuzzy truth values and more.

Organisation

Week 1: Reading and discussion of The Geometry of Truth, Marks and Tegmark, COLM 2024. Recreation of key results using provided notebooks, getting started on Snellius.

Week 2: Formulation and group presentation of project ideas. Start to work on project.

Weeks 3/4: Work on project, meetings with lecturer.

Week 4: Project presentations

Prerequisites

Good knowledge of Python and some knowledge of LLMs, for example as gained in Machine Learning and Language Modelling, is ideal. However, starter code will be provided, so as long as you are fairly comfortable with Python and motivated to get to understand LLMs, this should be ok.

Assessment

Assessment will be based on the final presentation and a short writeup (4 pages)

References

The main paper we will look at is The Geometry of Truth, Marks and Tegmark, COLM 2024. For extensions, also see Truth is Universal, Bürger, Hamprecht, Nadler, NeurIPS 2024, for a logical challenge see Truth is not a Direction, Jansma 2026