News
Assignment 3: RobustnessWritten on 05.06.26 by Adam Dziedzic Dear Students, The recording of the tutorial on assignment 3 is uploaded here: https://youtu.be/H4QDDrHBN9E You can also find the slides in the materials here: https://cms.cispa.saarland/tml2026/dl/23/Tutorial_6_-_Assignment_3.pdf With kind regards, The TML Team |
Today & Next WeeksWritten on 03.06.26 by Adam Dziedzic Dear Students, The video from today's Q&A session can be found here: https://youtu.be/k2U2MRKINWE Next week, there will be two tutorials: (1) on data provenance for generative models, and an additional one (1) on Assignment 3: Robustness. We will cover the lectures on Collaborative… Read more Dear Students, The video from today's Q&A session can be found here: https://youtu.be/k2U2MRKINWE Next week, there will be two tutorials: (1) on data provenance for generative models, and an additional one (1) on Assignment 3: Robustness. We will cover the lectures on Collaborative (Federated Learning) on June 17th and you can already post your questions on the Forum. With kind regards, The TML Team |
Assignment 3 - RobustnessWritten on 03.06.26 by Nima Dindarsafa Dear students, The assignment 3 on the Robustness topic is out. You can find the task description as well as tutorial in the materials section on CMS. The task description also contains a link to the video that explains the task. The deadline for this assignment is on 16.06 23:59. Best of… Read more Dear students, The assignment 3 on the Robustness topic is out. You can find the task description as well as tutorial in the materials section on CMS. The task description also contains a link to the video that explains the task. The deadline for this assignment is on 16.06 23:59. Best of luck, TML team |
Mid-Term: Final Room Assignment HS I in Maths in E 2.5.Written on 03.06.26 by Franziska Boenisch Dear everyone, Thanks again for your patience. Eventually, the university has been able to organize us a room that fits everyone! We are extremely grateful that we can use
HS I in Maths, E 2.5.
So, meet all of you there. The exam will start on time at 4PM, so please be sure to… Read more Dear everyone, Thanks again for your patience. Eventually, the university has been able to organize us a room that fits everyone! We are extremely grateful that we can use
HS I in Maths, E 2.5.
So, meet all of you there. The exam will start on time at 4PM, so please be sure to arrive early enough to find your seat. Please be reminded that we only printed exams for those students who registered on CMS. If you have not registered, you will not be able to write the midterm. Kind regards
|
Mid-Term: Final Room Assignment HS I in Maths in E 2.5.Written on 03.06.26 by Franziska Boenisch Dear everyone, Thanks again for your patience. Eventually, the university has been able to organize us a room that fits everyone! We are extremely grateful that we can use
HS I in Maths, E 2.5.
So, meet all of you there. The exam will start on time at 4PM, so please be sure to… Read more Dear everyone, Thanks again for your patience. Eventually, the university has been able to organize us a room that fits everyone! We are extremely grateful that we can use
HS I in Maths, E 2.5.
So, meet all of you there. The exam will start on time at 4PM, so please be sure to arrive early enough to find your seat. Please be reminded that we only printed exams for those students who registered on CMS. If you have not registered, you will not be able to write the midterm. Kind regards
|
Lecture after Midterm on Data Provenance for Generative Artificial IntelligenceWritten on 31.05.26 (last change on 03.06.26) by Adam Dziedzic Dear All, First, a reminder: the midterm After the midterm, we will cover the topic of "Data Provenance for Generative Artificial Intelligence". The new… Read more Dear All, First, a reminder: the midterm After the midterm, we will cover the topic of "Data Provenance for Generative Artificial Intelligence". The new lecture is uploaded here: https://youtu.be/rxJ7S7OCZc0 (we started the premiere and the full video will be available in a few minutes). Please, post your questions on the forum. The corresponding lecture slides can be found in the materials: https://cms.cispa.saarland/tml2026/dl/21/06-DataProvenanceForGenerativeArtificialIntelligence.pdf With kind regards, The TML Team |
Assignment 1 FeedbackWritten on 28.05.26 (last change on 28.05.26) by Maitri Vignesh Shah Dear Students, Regarding the email you received yesterday: the marks mentioned in that email are correct, however the grade of 5 was assigned automatically by… Read more Dear Students, Regarding the email you received yesterday: the marks mentioned in that email are correct, however the grade of 5 was assigned automatically by the system and should be ignored. The final course grade will be determined at the end of the semester based on all components. If you have any questions about your marks, feel free to reach out to us via the forum. |
Tutorial 5: Model Stealing 2 & RobustnessWritten on 27.05.26 by Adam Dziedzic Dear Students, We uploaded Tutorial 5 on Model Stealing 2 & Robustness here: https://youtu.be/VsTT5iSXG90 With kind regards, The TML Team |
Q&A on Adversarial Machine Learning (part 2)Written on 27.05.26 by Adam Dziedzic Dear Students, The Q&A on Adversarial Machine Learning (part 2) is posted here: https://youtu.be/DWNDmloP27o With kind regards, the TML Team
|
Model Stealing: Tutorial 1Written on 26.05.26 by Adam Dziedzic Dear Students, The tutorial 1 on Model Stealing is uploaded here: https://youtu.be/aDYXGFmZbc4 With kind regards, The TML Team |
Compute vs Login/Submission NodesWritten on 26.05.26 by Adam Dziedzic Dear Students, We are forwarding to you the message from the IT: We have a bunch of students from the course that seem to be using the submission nodes as compute nodes.
I do want to stress that this is not the intended use and the submission nodes (conduit and conduit2) are indeed that -… Read more Dear Students, We are forwarding to you the message from the IT: We have a bunch of students from the course that seem to be using the submission nodes as compute nodes.
I do want to stress that this is not the intended use and the submission nodes (conduit and conduit2) are indeed that - submission nodes.
As a great alternative - also to using VS Code to connect to the submission nodes, use Code Server via: ood.hpc.uni-saarland.de (documentation at: https://wiki.cs.uni-saarland.de/en/HPC/interactive)
We will kill processes that obviously violate this and, if you repeatedly use the submission nodes for more intensive work, we might block their access.
Best,
Joachim
-- IT System Technology Computer Science Department
|
Tutorial 5 on Model Stealing II and RobustnessWritten on 26.05.26 by Nima Dindarsafa Dear Students, The question sheet for tomorrow's tutorial on model stealing II and robustness is uploaded to the 'Materials' section on CMS. The answer to this sheet will be discussed at tomorrow's tutorial session (27.5). Please review the questions beforehand. Best regards, TML team |
SSH connection timeoutsWritten on 24.05.26 (last change on 24.05.26) by Maitri Vignesh Shah Hi everyone, We are aware that several students are experiencing SSH connection timeouts to the HPC cluster (both conduit and conduit2). This appears to be a cluster-side issue and unfortunately something we cannot resolve directly. For such issues, please reach out to the HPC support team directly… Read more Hi everyone, We are aware that several students are experiencing SSH connection timeouts to the HPC cluster (both conduit and conduit2). This appears to be a cluster-side issue and unfortunately something we cannot resolve directly. For such issues, please reach out to the HPC support team directly as they are best placed to help. As a workaround, plain terminal SSH seems to be working for most students, while the VS Code Remote SSH connection is more affected. You can connect directly with: In the meantime, Google Colab is also a good temporary alternative if you need GPU access to continue working on the assignment. Apologies for the inconvenience, and good luck with the submission! TML Team |
Q&A on Adversarial Machine Learning (part 1)Written on 21.05.26 by Adam Dziedzic Dear Students, The yesterday's Q&A session is published here: https://youtu.be/Bx1iLXeFCRw We will continue answering the remaining questions next week. With kind regards, The TML team |
Tutorial 4 on Model Stealing IWritten on 19.05.26 by Nima Dindarsafa Dear students, You can find the question sheet for the 4th tutorial on the first part of model stealing in the materials section. Please review them before tomorrow's lecture (20.05). The tutorial will be held after the question answering session. Also, we will have the next tutorial on Model… Read more Dear students, You can find the question sheet for the 4th tutorial on the first part of model stealing in the materials section. Please review them before tomorrow's lecture (20.05). The tutorial will be held after the question answering session. Also, we will have the next tutorial on Model Stealing part II (SSL) and Adversarial & Robustness concepts next week on 27.05. Best regards, TML team |
Registration for the Midterm ExamWritten on 18.05.26 by Adam Dziedzic Dear Students, We opened the registration for the Midterm Exam. The registration for the Midterm Exam here is mandatory for planning purpose. With kind regards, TML Team |
Midterm ExamWritten on 15.05.26 by Adam Dziedzic Dear Students, This is the confirmation that the midterm exam will take place in E1 3 - HS 001 on 3.6. (3rd of June) 4PM-5:00PM. With kind regards, The TML Team |
Video from today's tutorialWritten on 13.05.26 by Adam Dziedzic Dear Students, We uploaded the video from today's tutorial: https://youtu.be/8QuR8bHfM1E With kind regards, The TML Team |
Next week: Robustness + Presentations by Best 3 Teams from Assignment 1Written on 13.05.26 by Adam Dziedzic Dear Students, Please, watch the lecture on Robustness for the next week (May 20th) and post the questions on forum beforehand. Next week, we also would like the 3 best teams from the scoreboard on assignment 1 to give short (up to 5 min) talks on their solutions. You can gain additional bonus… Read more Dear Students, Please, watch the lecture on Robustness for the next week (May 20th) and post the questions on forum beforehand. Next week, we also would like the 3 best teams from the scoreboard on assignment 1 to give short (up to 5 min) talks on their solutions. You can gain additional bonus points (up to 2 points) per assignment for this presentation part. With kind regards, The TML Team |
Assignment 2 : Stolen Model DetectionWritten on 11.05.26 (last change on 11.05.26) by Nima Dindarsafa Dear students, Assignment 2 is released. You can find the task description under the materials section on CMS. The deadline for this assignment is on 26.05.2026 23:59. Please read the task description and the following comments carefully:
Dear students, Assignment 2 is released. You can find the task description under the materials section on CMS. The deadline for this assignment is on 26.05.2026 23:59. Please read the task description and the following comments carefully:
Best of luck in your assignment. TML team |
Room changeWritten on 06.05.26 by Adam Dziedzic Dear Students, Please note the following room changes:
Dear Students, Please note the following room changes:
With kind regards, TML team |
Room for today: May 6thWritten on 06.05.26 by Adam Dziedzic Dear Students, Today's lecture is in building E1.3 in room HS 002 (due to another event in building C0). With kind regards, TML team |
Questions on model stealing and defenses, both SL and SSLWritten on 06.05.26 by Adam Dziedzic Dear Students, Please, post the questions on model stealing and defenses (for both SL and SSL) on our forum. We will have the lecture today (May 6th) as planned and if there are any more questions afterwards then we will also answer them next week on May 13th. With kind regards, TML team
|
API keys and cluster credentialsWritten on 21.04.26 by Nima Dindarsafa Dear students, For the teams that have two members we have placed the API keys (for submission to the evaluation system) and cluster credentials (for computation jobs) on their personal status page. If you do not already have a teammate we suggest forming a team before the deadline 29.04. After… Read more Dear students, For the teams that have two members we have placed the API keys (for submission to the evaluation system) and cluster credentials (for computation jobs) on their personal status page. If you do not already have a teammate we suggest forming a team before the deadline 29.04. After forming the teams you will get the aforementioned credentials to start working on the assignment 1 (due: 06.05). In order to have enough time to work on your solutions and enter your results on the leaderboard we recommend forming the teams as soon as possible. If you form a team after this news, please let the tutors know via email such that you can get access as soon as possible. We will have our first tutorial on Wednesday 22.04 where we discuss how to set up the cluster and submit your solutions to the leaderboard. Best of luck, TML team |
Assignment 1: Membership InferenceWritten on 20.04.26 by Adam Dziedzic Dear Students, The first assignment was released here: https://cms.cispa.saarland/tml2026/dl/9/Assignment1-MembershipInference.pdf Note: the assignments must be completed in pairs. API keys will only be generated for teams of two (if you do not have a partner, you will not receive an API key… Read more Dear Students, The first assignment was released here: https://cms.cispa.saarland/tml2026/dl/9/Assignment1-MembershipInference.pdf Note: the assignments must be completed in pairs. API keys will only be generated for teams of two (if you do not have a partner, you will not receive an API key and will not be able to submit solutions for the assignments). Have a good week!
|
Team Signup has OpenedWritten on 10.04.26 by Franziska Boenisch Dear Everyone, The signup for the team pairing has opened. You have until the submission of the first assignment to sign up there with a partner. As noted during the intro lecture: single-participant submissions cannot be considered for grading. I made a thread in the "Off-Topic" section of a forum… Read more Dear Everyone, The signup for the team pairing has opened. You have until the submission of the first assignment to sign up there with a partner. As noted during the intro lecture: single-participant submissions cannot be considered for grading. I made a thread in the "Off-Topic" section of a forum where you can look for assignment partners if you have not found one, yet. See you next week, Franziska and Adam |
Trustworthy Machine Learning
Organization
Lecturers: Adam Dziedzic and Franziska Boenisch
Tutors: Nima DindarSafa and Maitri Vignesh Shah
Time: Wednesdays from 16:00 to 18:00.
Location: CISPA Building C0 (Stuhlsatzenhaus 5 66123 Saarbrücken) Lecture Hall Ground Floor (Room 0.05)
Credits: This course is enlisted with 9ETCS.
Starting Date: April 7th
Description: The deployment of machine learning applications in real-world systems necessitates methods to ensure their trustworthiness. This course explores the different aspects of trustworthy machine learning, including Privacy, Collaborative Learning, Model Confidentiality, Robustness, Fairness and Bias, Explainability, Security, and Governance.
Learning Objectives: The objective of this tutorial is to provide attendees with a comprehensive understanding of trustworthy machine learning, covering key aspects such as privacy, robustness, fairness, explainability, security, and governance. Participants will benefit by gaining practical skills in identifying and mitigating risks associated with machine learning models, including privacy attacks, model theft, bias, and adversarial threats. By the end of the course, attendees are expected to have enhanced their knowledge of cutting-edge defense strategies, developed practical skills in securing machine learning systems, and deepened their understanding of the ethical and societal implications of deploying these models in real-world scenarios.
What you have to do weekly?
This is a flipped classroom lecture. What does this mean?
You have to watch the lecture videos a week before the lecture. Then you can ask your questions in the respective thread in the Forum on CMS. Questions regarding the course content will not be individually answered by the instructors in the forum. They will be answered in the in-person lecture hours. The in-person lecture hours are not recorded. Hence, if you have questions, you need to post them on time, and attend the Q&A session.
Asking questions is not mandatory, but you can gain up to 1 bonus point for every *good* question that you post in the forum per session. To claim your bonus point, you then need to be in class in person. In total, you can make 10 bonus points over the semester that account for 10% bonus added to your final points of the course.
Additionally, we will post ungraded theoretical questions regarding the individual lectures before the tutorial sections. They give you an impression on how the exam and midterm will look like. We highly suggest solving them. Solutions can also be discussed in the in-person Q&A session.
What are our topics?
Privacy: We will analyze the landscape of privacy attacks against machine learning models and study the means to prevent these attacks.
Model Confidentiality: We will see that machine learning models can be easily stolen through different methods, such as simple copies of the models, or the private training data, or the extraction of the model exposed via a public or private API. We will analyze different attack strategies to steal the models and the state-of-the-art defense methods.
Robustness: We will learn about different facets of robustness, such as robustness to out-of-distribution samples, natural noise present in the input data, or adversarial examples, where attackers incur imperceptible changes to the input to ML models to fool their predictions.
Data Provenance: In the era of generative ML where data is generated and ingested by models, it becomes increasingly important to understand where data comes from, and how it shapes the models. We will address topics of training data identification and watermarking.
Collaborative Learning: We will analyze the risks to trustworthy machine learning that arise in collaborative machine learning setups and look into their mitigations.
Fairness and Bias: We will scrutinize the behavior of ML models on different subgroups of the training data. We will assess the models’ responses to inputs with different attributes and will uncover the potential causes of unfair or biased model responses and current mitigations.
Explainability: We will address the challenges that arise from machine learning models’ black-box behavior and look into techniques to explain predictive behavior.
Throughout the course, we will discuss outstanding challenges and future research directions to make machine learning more robust, private, and trustworthy.
Assignments (with tentative dates):
The course entails 4 practical graded assignments based on implementing the concepts studied during the lecture.
Assignments need to be handed in groups of two. If you do not have a partner, yet, you can use the forum to find one.
-
Privacy: Implement a membership inference attack and achieve the highest attack success. We give a model and a list of data points, your task is to determine for each point yes/no, meaning: member/no-member. --> Due 6.5.
-
Model extraction: We will offer a machine-learning model over an API and you will extract the model behavior. You upload a PyTorch model. We check how close the uploaded model is in terms of the predictions to the victim model. --> Due 27.5.
-
Robustness: Train a model as robust as possible against the highest number of adversarial examples we will generate. You submit a PyTorch model, we load it, and run the attack. The goal is to create a model with the highest adversarial and clean accuracy. --> Due 17.6.
-
Fairness: Train a classifier that has the highest demographic parity. You submit a PyTorch model and we assess how fair it is. --> Due 8.7.
Submission of Assignments:
Please submit the assignments over CMS in a ZIP file. We only need the code and README+Report. Models and other artifacts should not be uploaded. Submissions that are not uploaded by the submission time over CMS will not be considered. If you upload larger folders, you need to start a few minutes before the submission deadline as the upload may take some time. You can also upload an initial submission and then overwrite it. But we will not take "CMS upload took to long/failed" as an excuse for assignments that are not received. They will be graded with 0 points.
Exam and Grading
Exam format: written.
Tentative Lecture Dates
The videos for each lecture are linked at the respective lecture date. To access the full playlist, visit: https://www.youtube.com/playlist?list=PLNfU-a7sxIwvS7dhnOPdFtvhdNcrnufEW
-
Overview on the Course, Administration, Intro, and Questions about Privacy I (8.4., Franziska and Adam)
-
Questions on Privacy II (15.4., Franziska and Adam)
-
Tutorial on Assignment 1, Coding in Python, Submitting your Solutions to our API (22.4., Nima and Maitri)
-
Tutorial on Theoretical Exercises for the Topic Block Privacy (29.4., Nima and Maitri)
-
Questions on Model stealing and defenses, both SL and SSL (6.05., Franziska and Adam)
-
Questions on Model Stealing and Defenses (Continue) and Tutorial on Assignment 2 (13.5., Nima and Maitri)
-
Questions on Robustness (Franziska and Adam) and Tutorial on Theoretical Exercises for the Topic Block Model Stealing (20.5., Nima and Maitri)
-
Questions on Robustness [Continued] (Franziska and Adam), Tutorial on Theoretical Exercises for the Topic Block Model Stealing II and Robusntess (29.5., Nima and Maitri)
-
Midterm-Exam in HS I, Maths in E 2.5. on 3.6. (3rd of June) 4PM-5:00PM. We'll first be writing the exam, and then have a second part.
-
Data Provenance for GenAI and tutorial on the next assignment. (10.6.)
-
Fairness and bias (24.6.)
-
Explainability (1.7. HS I in E 2.5!!!!! ATTENTION, DIFFERENT LOCATION THAN USUAL CHANGE)
-
Security and Governance (8.7.)
-
Summary & Open Questions (8.7.)
-
Final Exam on 29.7. (29th of July) from 16.00 - 18.00. Location: HS I in E 2.5
Do I have the right qualifications for the lecture?
Students are required to have successfully completed a basic lecture on machine learning.
Additionally, you need to have hands-on coding experience with Python for Machine Learning. This means, preferably PyTorch (alternatively TensorFlow). All assignments will require you to do this type of coding. If you are unfamiliar and have never coded in PyTorch, it will be a steep learning curve.
