Markov chains and algorithmic applications
COM-516
Media
COM-516 Markov Chains and Algorithmic Applications
COM-516 lecture XIII.2
09.12.2020, 00:12
COM-516 lecture XIII.1
09.12.2020, 00:01
COM-516 lecture XII.2
23.11.2020, 16:40
COM-516 lecture XII.1
23.11.2020, 16:34
COM-516 lecture XI.2
22.11.2020, 20:36
COM-516 lecture XI.1
22.11.2020, 20:32
COM-516 lecture X.2
15.11.2020, 21:30
COM-516 lecture X.1
15.11.2020, 21:22
COM-516 Lecture 9.2
07.11.2020, 20:31
COM-516 lecture 9.1
07.11.2020, 20:27
COM-516 lecture 8.2
30.10.2020, 17:30
COM-516 lecture 8.1
30.10.2020, 17:27
COM-516 Lecture 7.3
30.09.2020, 11:49
Cut-off phenomenon: proof ideas
COM-516 Lecture 7.2
30.09.2020, 00:33
Cut-off phenomenon
COM-516 Lecture 7.1
29.09.2020, 22:36
Lower bound on the total variation distance
COM-516 Lecture 6.4
23.09.2020, 12:06
Spectral gap and lazy Markov chains
COM-516 Lecture 6.3
23.09.2020, 09:51
Proof of the convergence rate theorem - part 3
At the very end of the proof of the lemma, a factor sqrt{pi_j} is missing in the video: this has been corrected in the slides.
COM-516 Lecture 6.2
23.09.2020, 08:46
Proof of the convergence rate theorem - part 2
COM-516 Lecture 6.1
22.09.2020, 23:15
Proof of the convergence rate theorem - part 1
COM-516 Lecture 5.3
02.09.2020, 17:43
Spectral gap, mixing time, one example
COM-516 Lecture 5.2
02.09.2020, 16:36
Rate of convergence: main theorem
COM-516 Lecture 5.1
02.09.2020, 11:10
Reversible chains and detailed balance
COM-516 Lecture 4.3
30.07.2020, 22:17
Proof of the ergodic theorem: positive-recurrence of the coupled chain and conclusion
COM-516 Lecture 4.2
30.07.2020, 22:16
Proof of the ergodic theorem: coupling of Markov chains
COM-516 Lecture 4.1
30.07.2020, 22:14
Proof of the ergodic theorem: basic tools
COM-516 Lecture 3.3
29.07.2020, 21:56
Limiting distribution and ergodic theorem
COM-516 Lecture 3.2
29.07.2020, 21:55
Stationary distribution: examples
COM-516 Lecture 3.1
29.07.2020, 21:54
Stationary distribution: definition and existence
COM-516 Lecture 2.3
28.07.2020, 19:03
Positive and null-recurrence
COM-516 Lecture 2.2
28.07.2020, 18:57
Criterion for recurrence in infinite chains
COM-516 Lecture 2.1
28.07.2020, 18:56
Recurrence and transience: definition and examples
COM-516 Lecture 1.3
27.07.2020, 22:15
Classification of states: equivalence classes and periodicity
COM-516 Lecture 1.2
27.07.2020, 22:13
Questions to be studied about Markov chains this semester; Chapman-Kolmogorov equations
COM-516 Lecture 1.1
27.07.2020, 22:12
Markov chains: definition and examples
Official course schedule:
- Lectures on Tuesday, 8:15-10:00 AM, in room BS 260.
- Exercise sessions on Tuesday, 10:15-12:00 AM, in room BS 260.
Course instructors:
Olivier Lévêque // LTHI // INR 132 // 021
693 81 12 // olivier.leveque#epfl.ch
Nicolas Macris // SMILS // INR 134 // 021 693 81 14 // nicolas.macris#epfl.ch
Teaching assistant:
Anastasia Remizova // SMILS // INR 140 // 021 693 61 70 // anastasia.remizova#epfl.ch
References:
- Mediaspace channel of the course (2020-2021 edition)
- Geoffrey R. Grimmett, David R. Stirzaker, Probability and Random Processes, 3rd edition, Oxford University Press, 2001
-
D. Levin, Y. Peres, E. Wilmer, Lecture Notes on Markov Chains and Mixing Times, 2nd edition, AMS, 2017
Final exam date and place:
Saturday, January 24, 9h15-12h15, in room CO 1
Allowed material: two recto-verso handwritten A4 pages (but stylet+ipad is also fine). Apart from that, this is a closed book
exam. No electronic device allowed, except a simple calculator (of the type TI-30 eco RS or similar).
- Course description (File)
- Announcements (Forum)
- Slides of the 2020-2021 edition (first part) (Folder)
- 2021-2022 midterm exam (File)
- 2021-2022 midterm solutions (File)
- 2022-2023 midterm exam (File)
- 2022-2023 midterm solutions (File)
- 2023-2024 midterm exam (File)
- 2023-2024 midterm solutions (File)
- 2025-2026 midterm exam (File)
- 2025-2026 midterm solutions (File)
- 2021-2022 final exam (File)
- 2021-2022 final solutions (File)
- 2022-2023 final exam (File)
- 2022-2023 final solutions (File)
- 2023-2024 final exam (File)
- 2023-2024 final solutions (File)
Week 1 (September 9, OL)
General introduction, Markov chains, classification of states, periodicity
- lecture_notes1.pdf (File)
- Lecture 1 quiz (File)
- Lecture 1 quiz: solutions (File)
- Homework 1 (File)
- Solutions 1 (File)
Week 2 (September 16, OL)
Recurrence, transience, positive/null-recurrence
- lecture_notes2.pdf (File)
- Lecture 2 quiz (File)
- Lecture 2 quiz: solutions (File)
- Homework 2 (File)
- Solutions 2 (File)
Week 3 (September 23, OL)
Stationary and limiting distribution, two theorems
- lecture_notes3.pdf (File)
- Lecture 3 quiz (File)
- Lecture 3 quiz: solutions (File)
- Homework 3 (File)
- Solutions 3 (File)
Week 4 (September 30, OL)
Proof of the ergodic theorem, coupling argument
- lecture_notes4.pdf (File)
- Lecture 4 quiz (File)
- Lecture 4 quiz: solutions (File)
- Homework 4 (File)
- Solutions 4 (File)
Week 5 (October 7, OL)
Detailed balance, rate of convergence, spectral gap, mixing time
- lecture_notes5.pdf (File)
- Lecture 5 quiz (File)
- Lecture 5 quiz: solutions (File)
- Homework 5 (File)
- Solutions 5 (File)
Week 6 (October 14, OL)
Rate of convergence: proofs
- lecture_notes6.pdf (File)
- Lecture 6 quiz (File)
- Lecture 6 quiz: solutions (File)
- Homework 6 (File)
- Solutions 6 (File)
Week 7 (October 28, OL)
Cutoff phenomenon / card shuffling (time permitting)
Week 8 (November 4)
Week 9 (November 11, NM)
Sampling:
- Introduction, importance and rejection sampling
- Metropolis-Hastings algorithm (MCMC sampling)
- lectures_notes9.pdf (File)
- Homework 9 (File)
- Solutions 9 (File)
- week 9 quiz (File)
- discussion of week 9 quiz (File)
Week 10 (November 18, NM)
- Application: function minimization
- Simulated annealing
- lectures_notes10.pdf (File)
- Homework 10 (File)
- Solutions 10 (File)
- week 10 quiz (File)
- discussion of week 10 quiz (File)
Week 11 (November 25, NM)
- Application: coloring problem
- Convergence analysis
- lecture_notes11.pdf (File)
- Homework 11 (File)
- Solutions 11 (File)
- week 11 quiz (File)
- discussion of week 11 quiz (File)
Week 12 (December 2, NM)
Ising model:
- Introduction (Hamiltonian, Gibbs measure, various particular cases)
- MCMC sampling and Gibbs sampling
- Exact simulation
Week 13 (December 9, NM)
- Random mapping representation
- Forward and backward coupling
- Propp-Wilson theorem
- Monotone coupling
Week 14 (December 16)
Mini-project competition on Tuesday, December 19, 8:15-9:30 AM.
Course mini-project (2025-2026)
Course mini-project (2023-2024)
Course mini-project (2022-2023)
Course mini-project (2021-2022)
Course mini-project (2020-2021)
Course mini-project (2019-2020)
Project Deadline: Sunday, December 15, at 23:55.
Course mini-project (2018-2019)
Details on the project competition
Once the competition has started, you will have access to a MATLAB file observations.mat on Moodle. This file contains the variables Y, W, m, n, whose names correspond to the ones given in the project description. You will have to load this file and run your simulated annealing algorithm on these observations. Finally you will save your estimate of X in a MATLAB file <your_team_name>.mat and submit it on Moodle.
- Instruction for MATLAB users
You can load the observations with load('observations.mat'). To save your estimate x_estimate use the instruction save('<your_team_name>','x_estimate'). Please make sure the variable name of your answer is x_estimate!
- Instruction for Python users
The Python script load_observations_matlab.py shows you how to load MATLAB file observations.mat with Python, and how to save your answer. Please make sure you save your estimate x_hat (or whatever its name) with the variable name x_estimate! You can do that with a dictionary {'x_estimate':x_hat} as the parameter mdict given to the function scipy.io.savemat (see the last line in the script).
- Given example