The start of the lecture is postponed until April 21st.
In view of the current circumstances the lecture will be held digitally (through recordings). Please keep an eye on this website and the discussion board on eCampus page of the lecture for further announcements. We're planning on using eCampus the as a central hub, so please join us there!
Until further notice, the class is recorded and may be downloaded/viewed on eCampus. We host a weekly Zoom meeting in the Thursday time slot (each Thursday, 12:15h) where we answer your questions. Please see the eCampus discussion board for further details.
The lectures are available as a recording on eCampus.
|April 21||1 Discrete Event Spaces and Probabilities
1.1 Discrete Probability Spaces
|April 23||1.2 Independent Events & Conditional Probability
1.3.1 Minimum Cut, Karger's Contract algorithm
|April 28||1.3.1 Karger's Contract algorithm (cont'd), Fastcut|
|April 30||1.3.1 Fast Cut (cont'd), 1.3.2 Reservoir Sampling|
|May 05||2.1 Random Variables and Expected Values|
|May 07||2.1 (cont'd): Conditional Expected Values
2.2 Binomial and Geometric Distributions
2.3.1 Randomized Quicksort
|May 12||2.3.2 Randomized Approximation Algorithms|
|May 14|| 3 Concentration Bounds
3.1 Variance and Chebychev's Inequality
3.3.1 Introduction to Sublinear Algorithms
|May 19|| 3.2 Chernoff/Rubin Bounds
3.3.1 Estimating the Number of Connected Components (without outlook on MSTs)
3.3.3. Routing in Hypercubes
|May 26||3.3.3. Routing in Hypercubes (cont'd)|
|May 28|| 4.1 Stirling's formula and the Binomial Theorem
4.2.1 A Local Search Algorithm for 2-SAT
|June 2||4.2.2 A Local Search Algorithm for 3-SAT|
The Lecture Notes cover the lecture. Part I is largely based on the following two books:
Please also see the eCampus page of the lecture.
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.