← Teaching

Geometry and Topology in Machine Learning

Master's course  /  Swiss Joint Master of Science in Computer Science  /  2026

Tuesdays 9:15–12:00  /  PER 21, UniFR, Room F207

This page is dedicated to the course Geometry and Topology in Machine Learning, which will be taught during the fall term of 2026 at the University of Fribourg. I will be uploading and updating the lecture materials as the course progresses in this webpage, so please check regularly!

Overview

The course will provide an overview of geometric and topological methods in machine learning, with a particular focus on deep learning, that is, learning methods based on neural networks. The goal of the course is to introduce some of the most well-known geometric and topological perspectives on data, such as graph theory, spectral methods, persistent homology, magnitude or discrete curvatures; and to explore their use within deep learning systems.

The introduction of geometry and topology in deep learning has typically taken one of two complementary approaches: either observational or interventional. The former seeks to leverage geometry and topology to better understand how deep learning systems behave, whereas the latter aims to incorporate geometry and topology within neural networks, either to allow them to learn from geometric and topological domains (graphs, simplicial complexes, cell complexes, hypergraphs, etc.) or to guide their learning injecting geometric or topological inductive biases. We will cover plenty of examples of both cases throughout the course.

Information about the sessions

This course will be taught in English, with a theoretical and a practical component. In the theory sessions, different geometric and topological tools for data analysis will be introduced, and their use in deep learning will be explored through examples drawn from current research. In the practical sessions, we will explore, through concrete examples again, how to implement these geometric and topological tools using Python and will cover problem sheets about the theory session. Please bring your laptops to the lectures if you want to run the notebooks on your own.

Assessment

Assessment will take the form of a collaborative project developed during the second half of the course, and an individual oral exam at the end of it.

Running the jupyter notebooks

In the code-based practice sessions, I will upload a jupyter notebook with sections for you to complete, and we will run through the notebook together in the session. I recommend running the notebooks in Google Colab, for minimal setup and because we have access to GPUs there. However, at the beginning of each notebook I will point out the dependencies of said notebook, in case you prefer to run them locally, so that you know what libraries you need. To run the notebooks in Google Colab press File ▸ Upload notebook, then Runtime ▸ Change runtime type ▸ GPU if you need access to GPUs.

Tentative calendar and syllabus

Date Theory Practice
15.09.2026 Introduction to deep learning Notebook 1 released
22.09.2026 Geometric and topological data domains Problem sheet 2 released
29.09.2026 Geometric deep learning 1: GNNs, expressivity, HOMP Notebook 3 released
06.10.2026 Geometric deep learning 2: Oversquashing and oversmoothing Problem sheet 4 released
13.10.2026 Intrinsic dimension Notebook 5 released
20.10.2026 Persistent Homology Problem sheet 6 released
27.10.2026 Topological loss terms Project list presentation + Notebook 7
03.11.2026 PH and ID for interpretability Project groups due + Group work session
10.11.2026 PH and ID for generalization Group work session
17.11.2026 Directional transforms Group work session
24.11.2026 Metric space magnitude Group work session
01.12.2026 Discrete curvature Group work session
15.12.2026 Final presentations  

Lecture materials

Lecture 1 Introduction to deep learning
Lecture 2 Geometric and topological data domains
Lecture 3 Graph neural networks, expressivity and higher-order message-passing
Lecture 4 Over-squashing and over-smoothing
Lecture 5 Intrinsic dimension
Lecture 6 Persistent Homology: induced maps, filtrations, persistence modules and barcodes

Further references

Here I will be posting different references that you can use to complement the contents from the slides. Many are already mentioned there.

Lecture 1

There are many good references out there on deep learning these days. For instance, I can recommend the resources from the MIT 6.S191 course Introduction to Deep Learning and the series of videos by the YouTube channel 3Blue1Brown on Neural Networks.

Lecture 2

Again, graph theory is a wide subject that has been extensively studied, so there are plenty of references on the topic. For instance, you can take a look at:

For a bit more of context on complexes and homology, check:

Lecture 3

Lecture 4

Lecture 5

For this lecture, I recommend this survey paper that reviews several dimension estimation methods, including the ones we studied in the lecture. Of course, you can also refer to the original research papers that we discussed in the lecture for the applications of these estimators to deep learning.

Contact the lecturers

Inés García-Redondo Main lecturer ines.garciaredondo@unifr.ch
Martín Carrasco-Castañeda Teaching Assistant martin.carrascocastaneda@unifr.ch