CS 786: Randomized ALGORITHMS�LECTURE 1 (04 Jan)
INTRODUCTION |
https://sites.google.com/view/kumarakash/teaching/cs-786-randomized-algorithms
Logistics
Philosophy
Vignette
TEACHING STAFF
Instructor: Akash Kumar
Teaching Assistants:
TBD
Office Hours:
CC 219, Monday 4-5
GRADE
AA: max{80%, 5th highest}
AB: ≥ 7/8 * cutoff for AA.
BB: ≥ 6/8 * cutoff for AA.
BC: ≥ 5/8 * cutoff for AA.
CC: ≥ 4/8 * cutoff for AA.
COURSEWORK
30%: 4 psets, roughly once / 2 weeks (*)
20%: Final Exam (*)
20%: Course project
20%: Scribing
10%: Class participation
(*) Conditioned on getting a TA
PARTICIPATION
Participation = engagement during lectures and in discussions on WhastApp group
Please stop me and ask questions during lectures!
If you’re confused about something / can’t read my handwriting, odds are you’re not the only one
SCRIBING
Signup sheet will be posted end of today on course webpage
FINAL PROJECT
Two options
List of (optional) suggested topics/readings will be posted in the first few weeks of semester
Timing:
Group projects (of up to 3) strongly encouraged.
Logistics
Philosophy
Vignette
THIS COURSE
We will focus on algorithms with provable guarantees.
Key Message: Randomness ≠ Chaos.
Can domesticate randomness to obtain algorithmic mileage.
You do this daily
Where all will I encounter randomness in this class?
Problem
Input Instance
Algorithm
Output
Randomness in the Natural Sciences (Eg in Physics, Biology, Social Sciences etc)
Source: Aleph 0 video on Navier-Stokes
Papadimitriou et al – Fudamentals of Neuroscience
+
Use randomness to model neural pathways.
A simple enough randomized model already explains the response of our brain to many complex stimuli.
Theory still in infancy – likely falsifiable.
May reveal mysteries
Pearson’s Analysis of Species of Crabs
Pearson 1894 – The man, the myth, the legend
Pearson 1894 – The man, the myth, the legend
Features of crabs seen seem to come from blue curve.
Mystery, why is this not bell shaped?
Resolution – there are two different species of
crabs in the area
Random Optimization Problems
Random Optimization Problems
Diffraction limit and Airy Disks
Point source of light
Circular aperture
Imaging plane
Lens 1
Lens 2
Airy disk
Slide stolen from Sitan Chen
Suppose I image two stars and get this
Can I always tell the two stars apart?
Eg in First two figures looks like we can but in the last maybe not?
Conventional wisdom: If two Airy disks are too close, the blur makes it impossible to distinguish them
Slide stolen from Sitan Chen
Suppose I image two stars and get this
Physical Obstacle?
Physicists thought maybe physics of diffraction poses limits to resolution.
Conventional wisdom: If two Airy disks are too close, the blur makes it impossible to distinguish them
Slide stolen from Sitan Chen
A >150 years long debate begins
Abbe
Rayleigh
Sparrow
Houston
Dawes
Buxton
Schuster
”Rayleigh criterion”: Resolution becomes impossible as soon as the center of one disk touches the first ring of another
Slide stolen from Sitan Chen
A >150 years long debate begins
Abbe
Rayleigh
Sparrow
Houston
Dawes
Buxton
Schuster
”Feynman and others argue differently”: With more measurements, maybe you can tell the stars apart.
Slide stolen from Sitan Chen
A >150 years long debate begins
”Feynman and others argue differently”: With more measurements, maybe you can tell the stars apart.
Slide stolen from Sitan Chen
A >150 years long debate begins
Slide stolen from Sitan Chen
”[Chen-Moitra 20]”: Resolved at long last. Among many other things, makes heavy use of probabilistic arguments.
Randomness in Computer Science
An interlude: The Average Salary Puzzle
An interlude: The Average Salary Puzzle
s1
s2
s3
s4
s5
R0
R1 = R0 + s1
R2 = R1 + s2
R3 = R2 + s3
R4 = R3 + s4
R5 = R4 + s5
Interlude Continued: The Millionaire Problem
Interlude Continued: The Millionaire Problem
Interlude Continued: A magical primitive
1-out-of-2 oblivious transfer
Preparation – Oblivious Transfer.
b
x0, x1
b
x0, x1
xb
Client
Server
Interlude Continued: A magical primitive
More Preparation – t-Repeated Oblivious Transfer.
bi
xb
1-out-of-2t oblivious transfer
b1, b2,…, bt
Client
Server
x0, x1
1
1
x0, x1
2
2
x0, x1
t
t
x0, x1
i
i
i
Interlude Continued: Finally, the resolution
Use 1-out-of-2t oblivious transfer in an ingenious way [Yao 1982].
Adani
Rs W1
Ambani
Rs W2
1: B wins
2: B wins
3: B wins
*
*
W2: B wins
W2+1: A wins
W2+2: A wins
*
*
2*W2: A wins
Send me W1-th entry in table using oblivious transfer.
Killer Apps of Randomized Computation in CS
Cryptography
PCPs and Blockchains
Complexity Theory and Lower Bounds
Computer Vision
Natural Language Processing
Estimation Algorithms
Sublinear time Algorithms
Computer Graphics
Machine Learning
Markov Chain and Monte Carlo
Quantum Computing
Mechanism Design and Auction Design
Streaming Algorithms
Dynamic Algorithms
MPC and big data algorithms
Distributed Computing
Parallel Computing
Online Algorithms
Optimization
Logistics
Philosophy
Vignette
Estimation Algorithms
Sublinear Time Algorithms(!) – You are kidding, right?
Complexity Theory
Too much to say.
So, let’s just say this.
Can you derandomize every randomized algorithm?
Complexity Theory
Too much to say.
So, let’s just say this.
Can you derandomize every randomized algorithm?
Complexity Theory
Too much to say.
So, let’s just say this, and let’s add this as well.
Randomized methods are instrumental in approaching separations of complexity classes.
Randomized Computation in Engineering and Elsewhere