Master’s Degree Projects

Below is a list of currently available Master’s degree projects in my group. All projects are #research projects, i.e., they aim at a genuine contribution to fundamental research in machine learning, and they are open to KTH students only.

The listed projects are starting points rather than fixed specifications; the exact scope is shaped together with you. You are also welcome to propose your own topic if it fits the research of the group.

Available Topics

I supervise one to two degree projects at a time, so not all the topics below will be running in a given year.

Does Quantisation Introduce Epistemic Uncertainty?

Project ID: MTP-2026-01 Posted 2026-08

Quantising the weights of a neural network discards information that could, in principle, have been kept. Such information loss should therefore surface as epistemic uncertainty, i.e., uncertainty that is reducible by spending more bits. Whether it actually does, and how it can be measured, is an open question.

In this project, you will investigate this question using local posterior approximations projected onto the quantisation lattice using our recent work on Bayesian inference over bitstring representations (BitVI).

You should have: a solid background in deep learning, familiarity with Bayesian inference, and coding experience with PyTorch/JAX.

Variational Families with Dependencies for Bitstring Posteriors

Project ID: MTP-2026-02 Posted 2026-08

Performing variational inference in a quantised parameter space requires a variational family over bitstrings. Our current approach uses probabilistic circuits for this purpose but requires a mean-field (independence) assumption between weights.

In this project, you will investigate whether recent discrete generative models — discrete diffusion, discrete flow matching, autoregressive models over bits, or latent-variable constructions — can serve this role instead while keeping dependencies between weights.

You should have: strong mathematical skills, a good grasp of variational inference, and experience with deep generative models.

Estimating the Local Learning Coefficient with Tractable Posteriors

Project ID: MTP-2026-03 Posted 2026-08

Singular learning theory characterises the effective complexity of a model through its learning coefficient. The local learning coefficient (LLC) makes this measurable in practice, but current estimators rely on stochastic gradient Langevin dynamics and are notoriously sensitive to their hyperparameters.

In this project, you will investigate whether a tractable variational posterior over a quantised parameter space yields more reliable LLC estimates, validated against models with analytically known learning coefficients.

You should have: a strong mathematical background, an interest in the theory of machine learning, and good coding skills.

Uncertainty in KV Cache Eviction for Vision-Language Models

Project ID: MTP-2026-04 Posted 2026-08

The KV cache of a large language model grows with context length and becomes a memory bottleneck in agentic settings. Eviction methods discard ‘unnecessary’ tokens, but deciding what is unnecessary requires knowing the future, so eviction introduces uncertainty into later decisions. In ongoing work, we find that this induced uncertainty correlates with task degradation in language models.

In this project, you will transfer this analysis to vision-language models, where a single image occupies a large contiguous part of the cache and its position in the context determines whether it is protected or discarded first.

You should have: experience with large language or vision-language models, familiarity with transformers, and good coding skills.

How to Apply

Who can apply. A strong mathematical background, solid coding skills, and a genuine interest in machine learning research are expected. Prior coursework in machine learning, probability, and statistics is highly recommended.

What to send. Please email me at mtrapp@kth.se with the subject line Degree project: <project ID> and include:

  • your CV,
  • a transcript of records (courses and grades),
  • a short paragraph (a few sentences) on why this particular project interests you and what you would like to focus on.

What happens next. If your profile matches the project, I will invite you to a short meeting to discuss the topic, the scope, and the expected timeline. Projects are typically assigned to a single student.

When to apply. Please get in touch well in advance of your intended starting date as projects are filled on a rolling basis.

Industrial Degree Projects

I supervise industrial Master’s degree projects when there is a strong topical fit with the research of my group, i.e., the thesis addresses a research question on probabilistic machine learning, uncertainty quantification, or probabilistic reasoning. The thesis must remain an academic research project and the topic cannot be primarily an engineering or product-development task. If you or your company have a project that meets these criteria, please contact me with a description of the intended topic.