Here are the complete videos for the version of the course from the summer term 2019 (April to July). These are better quality than the videos from 2017 (better resolution for the slides), and also with some new material in the last lecture. Enjoy!
This site allows you to watch the videos and download the lecture note pdfs for the course “Machine Learning for Physicists”. That course was taught in the summer term 2017 by Florian Marquardt.
Please see the original course website for instructions of how to install python, theano, and keras, and for example python files! (Note: In the lectures, we only use keras functionality, so you can also install tensorflow instead of theano as the underlying framework – this is probably better, since theano will no longer be updated)
Description: This is a course introducing modern techniques of machine learning, especially deep neural networks, to an audience of physicists. Neural networks can be trained to perform many challenging tasks, including image recognition and natural language processing, just by showing them many examples. While neural networks have been introduced already in the 50s, they really have taken off in the past decade, with spectacular successes in many areas. Often, their performance now surpasses humans, as proven by the recent achievements in handwriting recognition and in winning the game of ‘Go’ against expert human players. They are now also being considered more and more for applications in physics, ranging from predictions of material properties to analyzing phase transitions.
Contents: We cover the basics of neural networks (backpropagation), convolutional networks, autoencoders, restricted Boltzmann machines, and recurrent neural networks, as well as the recently emerging applications in physics. We also cover reinforcement learning, which permits to discover solutions to challenges based on rewards (instead of seeing examples with known correct answers). In the end, we describe some general thoughts on future artificial scientific discovery. We present examples using the ‘python’ programming language, which is a modern interpreted language with powerful linear algebra and plotting functions. In particular, we use the “keras” python package that allows to very conveniently implement neural networks with only a few lines of code (using the library “theano”, or, alternatively, “TensorFlow”).
Prerequisites: As a prerequisite you will only need matrix multiplication and the chain rule, i.e. the course will be understandable to bachelor students, master students and graduate students. However, knowledge of any computer programming language will make it much more fun.
Watch the videos on Apple iTunes or on the Lecture Videos Site of the University Erlangen-Nuremberg, or jump to the direct links below!
These are lectures about neural networks, for physicists. These lectures were delivered in the summer term 2017 by Florian Marquardt at the university of Erlangen-Nuremberg, Germany. Download the PDF here (split into three parts). See the other posts for further information and for the video recordings!
Here is a link to a folder containing the example code (no guarantees):
A year ago, there was hardly any literature to guide the physicist interested in machine learning. But now, dedicated reviews are appearing. Here are two recent, very useful ones:
Machine learning & artificial intelligence in the quantum domain (arXiv:1709.02779) – by Vedran Dunjko, Hans J. Briegel
A high-bias, low-variance introduction to Machine Learning for physicists (arXiv:1803.08823) – by Pankaj Mehta, Marin Bukov, Ching-Hao Wang, Alexandre G.R. Day, Clint Richardson, Charles K. Fisher, David J. Schwab. This even includes python notebooks!
Here is an example from our own group which combines many of the advanced techniques that are explained in the lectures (in particular, reinforcement learning and recurrent networks). Our setting is simple: you are given a set of a few qubits, with one of them initialized in an arbitrary (unknown) initial quantum state. There is decoherence due to the unavoidable noise of the environment. How do you best preserve the quantum state? Using reinforcement learning, the neural network discovers from scratch quantum error correction strategies. These involve gates (e.g. CNOT) that manipulate and entangle the qubits. The strategies also involve measurements, and the subsequent actions will depend on the measurement outcomes. This challenge demonstrates very nicely the power of reinforcement learning: the same program can be applied to many different physical scenarios.
Read the paper on arXiv: 1802.05267
(“Reinforcement Learning with Neural Networks for Quantum Feedback”, Thomas Fösel, Petru Tighineanu, Talitha Weiss, Florian Marquardt)