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


This file is part of the content downloaded from Markov chains and algorithmic applications.
Course summary

The course starts on Tuesday, September 9, 2023, at 8:15 AM in room BS 260.

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.

Grading scheme: midterm 15%, mini-project 15%, final exam 70%
 

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).


Week 1 (September 9, OL)

General introduction, Markov chains, classification of states, periodicity


Week 2 (September 16, OL)

Recurrence, transience, positive/null-recurrence


Week 3 (September 23, OL)

Stationary and limiting distribution, two theorems


Week 4 (September 30, OL)

Proof of the ergodic theorem, coupling argument


Week 5 (October 7, OL)

Detailed balance, rate of convergence, spectral gap, mixing time


Week 6 (October 14, OL)

Rate of convergence: proofs


Week 7 (October 28, OL)

Cutoff phenomenon / card shuffling (time permitting)


Week 8 (November 4)

Midterm exam on Tuesday, 8:15-10:15 AM, in rooms BS 260 (letters A to K) and CO 1 (letters L to Z). [Attention: ROOM CHANGE!]

Content: everything seen until week 7 (included).

Allowed material: one recto-verso handwritten A4 page (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).

Week 9 (November 11, NM)

Sampling:

  • Introduction, importance and rejection sampling
  • Metropolis-Hastings algorithm (MCMC sampling)


Week 10 (November 18, NM)

  • Application: function minimization
  • Simulated annealing

Week 11 (November 25, NM)

  • Application: coloring problem
  • Convergence analysis

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)

Exact simulation (coupling from the past):

  • 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 YWm, 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
As an example you are given access to two files: observations.mat and ground_truth.mat. The observations are generated from a ground truth X as described in the project. You can run your simulated annealing on this example and test how you perform with the MATLAB script test_answer.mat. For the competition the value of n and m can be different.