Scientific AI Hamprecht Lab, IWR, Heidelberg University

Machine Learning and Physics

Machine learning has become a transformational force in our society, and is profoundly impacting society in ways both good and bad. On the good side, machine learning fuels scientific breakthroughs such as solving the protein folding problem, or creating large language models that by now show sparks of artificial general intelligence. On the bad side, convincing deep fakes are used for manipulation, and machine learning supports surveillance in totalitarian states.

figure image

Contents

This course takes a two-pronged approach:

Physics of Machine Learning: Highlight physical ideas and concepts that drive ML

Machine Learning for Physics: Equip you with tools to help conduct, and interpret, future experiments

Curriculum (preliminary)

  1. Introduction & linear dimension reduction
  2. Nonlinear dimension reduction: connection to stat. mechanics
  3. Nonparametric density estimation
  4. Basic clustering techniques, review of information theory
  5. Comparing partitions
  6. Linear regression
  7. Regularized regression: ridge, lasso
  8. Classification, take 1: discriminative
  9. Statistical decision theory
  10. Bayesian inference
  11. Classification, take 2: parametric & generative methods
  12. Classification, take 3: logistic regression, generalized linear models
  13. Multi-layer perceptrons
  14. Training of neural networks
  15. Backpropagation
  16. Convolutional neural networks
  17. Self-supervision and foundation models
  18. Graph neural networks
  19. Attention, transformers, large language models
  20. Generative AI: diffusion models
  21. Probabilistic graphical models
  22. Reinforcement learning
  23. Geometric machine learning: symmetries, groups, representations
  24. Geometric machine learning: SO(3) equivariance and applications
  25. Ethics of ML
  26. Q&A

Where and when

The main lectures are on Tuesdays and Thursdays from 9h00 (NOT 9h15!) until 10h45 in Großer Hörsaal, Philosophenweg 12.

FAQ

Q: Do I need prior knowledge in machine learning?
A: No.

Q: I just want to learn the basics. Is this the right course?
A: Students liked my 2022 rendition, but noted a steep learning curve; if you only want to cover the basics, please check for slower-paced alternatives such as the “Machine Learning Essentials”.

Q: Is this course about deep learning?
A: Neural networks will play an important role; but this course is more about principles. We will not discuss the latest architectures in any detail.

Q: Will this course be repeated next year?
A: Yes, like every MSc core course, though likely by a different professor.

Q: Is there a text book?
A: There is unfortunately not a single compact book covering the entire contents of the course. Most material is covered in the 2000 pages of Murphy’s volumes 1 and 2. I will try and make a script available for at least the bulk of the contents.

Q: Exam modalities?
A: To be admitted to the written exam at the end of the semester, you need to gain 50% of the points in the exercise sheets.

Q: 9AM is really early. Is it okay if I come a bit later?
A: No. I try and introduce the material of the day in a didactic manner at the beginning, and you disturb others by coming late. We start early so that we can finish by 10h45, allowing you to smoothly transit to your next lectures. (And yes, I think 9AM is early, too.)