# MA-INF 1213: Randomized Algorithms & Probabilistic Analysis

## Lecture

When Where Start Lecturer
Wednesday, 10.15 - 11.45 Room 0.016, Informatik-Zentrum April 6 Heiko Röglin
Friday, 12.15 - 13.45 HS 7, Hörsaalzentrum April 8 Heiko Röglin

## Tutorials

When Where Start Lecturer
Monday, 14:15-15:45 Room 2.113/2.113a, B-IT April 11 Anna Arutyunova, Kelin Luo
Tuesday, 10:15-11:45 Room 2.113/2.113a, B-IT April 12 Anna Arutyunova, Kelin Luo

Please check the site of this lecture on eCampus for further details on how to register for the tutorial groups etc.

## Content

The lecture has two parts. First, we consider the design and analysis of randomized algorithms. Many algorithmic problems can be solved more efficiently when allowing randomized decisions. Additionally, randomized algorithms are often easier to design and analyze than their (known) deterministic counterparts. For example, we will see an elegant algorithm for the minimum cut problem. Randomized algorithms can also be more robust on average, like randomized Quicksort.

The analysis of randomized algorithms builds on a set of powerful tools. We will get to know basic tools from probabily theory, very useful tail inequalities and techniques to analyze random walks and Markov chains. We apply these techniques to develop and analyze algorithms for important algorithmic problems like sorting and k-SAT.

Statements on randomized algorithms are either proven to hold on expectation or with high probability over the random choices. This deviates from the classical algorithm analysis but is still a worst-case analysis in its core. In the second part of the lecture, we learn about probabilistic analysis of algorithms. There are a number of important problems and algorithms for which worst-case analysis does not provide useful or empirically accurate results. One prominent example is the simplex method for linear programming whose worst-case running time is exponential while in fact it runs in near-linear time on almost all inputs of interest. Another example is the knapsack problem. While this problem is NP-hard, it is a very easy optimization problem in practice and even very large instances with millions of items can be solved efficiently. The reason for this discrepancy between worst-case analysis and empirical observations is that for many algorithms worst-case instances have an artificial structure and hardly ever occur in practical applications.

In smoothed analysis, one does not study the worst-case behavior of an algorithm but its (expected) behavior on random or randomly perturbed inputs. We will prove, for example, that there are algorithms for the knapsack problem whose expected running time is polynomial if the profits or weights are slightly perturbed at random. This shows that instances on which these algorithms require exponential running time are fragile with respect to random perturbations and even a small amount of randomness suffices to rule out such instances with high probability. Hence, it can be seen as an explanation for why these algorithms work well in practice. We will also apply smoothed analysis to the simplex method, clustering problems, the traveling salesman problem, etc.

## Course Material

The Lecture Notes cover the lecture. Part I is largely based on the following two books:

• [MR95] Rajeev Motwani and Prabhakar Raghavan. Randomized Algorithms. ISBN: 978-0521474658, Cambridge University Press, 1995.
• [MU05] Michael Mitzenmacher and Eli Upfal. Probability and Computing. ISBN: 978-0521835404, Cambridge University Press, 2005.

## Formalities

There will be an oral exam for this lecture. To participate in this exam, it is mandatory to obtain at least 25% of the possible points for the exercises (in total, accumulated over the entire semester).

### Page Tools 