computer science 365: design and analysis of algorithms ... · neglected topic: dynamic algorithms...
TRANSCRIPT
![Page 1: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/1.jpg)
Computer Science 365: Design and Analysis of Algorithms
Last lecture
Topics Where to learn more My favorite problem My favorite heuristic Exciting trends Topics we’ve neglected Lies I’ve told What else to take
TexPoint fonts used in EMF.
Read the TexPoint manual before you delete this
box.: AAAAA
![Page 2: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/2.jpg)
Where to learn more:
arXiv and blogs: http://feedworld.net/toc/ Class lecture notes. Video lectures: https://sites.google.com/site/plustcs/ Surveys: in Communications of the ACM Simon’s Foundation MPS Articles Quanta Magazine
![Page 3: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/3.jpg)
Where to learn more:
Major conferences: ACM STOC (Symposium on Theory of Computing) IEEE FOCS (Foundations of Computer Science) ACM/SIAM SODA (Symposium on Discrete Algorithms) ICALP (European Association for Theoretical CS) COLT (Computational Learning Theory) SOCG (Symposium on Computational Geometry) SPAA (Symposium on Parallelism in Algorithms and Architectures)
ITCS (Innovations in Theoretical Computer Science)
ALENEX (Algorithm Engineering and Experimentation)
![Page 4: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/4.jpg)
Favorite Problem(s): Graph bisection: divide vertices V into two sets A and B of equal size,
cutting as few edges as possible
A
![Page 5: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/5.jpg)
5
Sparsity of cut (A,B)
Sparsity of G
Favorite Problem: Sparsest Cut
![Page 6: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/6.jpg)
6
Sparsity
A AA
![Page 7: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/7.jpg)
7
Sparsity
A
![Page 8: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/8.jpg)
8
A
Why Sparsest Cut:
Clustering in graphs Organizing data
![Page 9: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/9.jpg)
9
Why Sparsest Cut:
Dividing computation over processors.
![Page 10: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/10.jpg)
10
Why Sparsest Cut:
Dividing computation over processors.
![Page 11: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/11.jpg)
11
Why Sparsest Cut:
Generalized Divide and Conquer (3-SAT) Variables -> vertices Clauses -> cliques (edges on all pairs)
x1
x2
x3
x4
x5
x6
x7
x8
x9
x10
![Page 12: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/12.jpg)
12
Why Sparsest Cut:
Generalized Divide and Conquer (3-SAT) Variables -> vertices Clauses -> cliques (edges on all pairs)
x1
x2
x3
x4
x5
x6
x7
x8
x9
x10
Cut vertices instead of edges
![Page 13: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/13.jpg)
Complexity of Sparsest Cut
Exact solution NP hard. If (1+ε)-approximation, then SAT is in time , α < 1 Can approximate within Really good heuristics (Chaco, Metis, Scotch) by multilevel methods.
2O(n↵)
O(
plog n)
![Page 14: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/14.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
![Page 15: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/15.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
1. Match nodes at random, and merge
![Page 16: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/16.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
1. Match nodes at random, and merge
![Page 17: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/17.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
1. Match nodes at random, and merge
![Page 18: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/18.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
2. Solve sub-problem
![Page 19: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/19.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
3. Lift solution
![Page 20: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/20.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
3. Lift solution
![Page 21: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/21.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
4. Refine solution
![Page 22: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/22.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
4. Refine solution
![Page 23: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/23.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
4. Refine solution
![Page 24: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/24.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
4. Refine solution
![Page 25: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/25.jpg)
Multilevel methods
1. Approximate problem by smaller problem. 2. Solve smaller problem (recursively). 3. Lift solution of smaller problem to original. 4. Refine lifted solution.
4. Refine solution
Very fast.
Works well.
No analysis, yet.
![Page 26: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/26.jpg)
The Strong Exponential Time Hypothesis (Impagliazzo, Paturi, Zane ‘01)
There is no algorithm that solves SAT
on n variables and m clauses in time
O(mc(2� ✏)n)
Implies no sub-quadratic algorithms for:
Edit Distance (Bakurs, Indyk ‘15)
Fréchet Distance (Bringmann ‘14)
![Page 27: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/27.jpg)
The Strong Exponential Time Hypothesis (Impagliazzo, Paturi, Zane ‘01)
There is no algorithm that solves SAT
on n variables and m clauses in time
O(mc(2� ✏)n)
k-Sum : (Pătraşcu-Williams ’10)
Given n numbers, are there k that sum to 0?
Best algs: O(ndk/2e)
![Page 28: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/28.jpg)
The Strong Exponential Time Hypothesis (Impagliazzo, Paturi, Zane ‘01)
Given N vectors in d dimensions,
can you test if two are orthogonal in time ? O(N2�✏)
Given m clauses on n variables,
create N = 2n/2 vectors in m dimensions so that
two are orthogonal if and only if clauses satisfiable
Williams ‘05
![Page 29: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/29.jpg)
The Strong Exponential Time Hypothesis (Impagliazzo, Paturi, Zane ‘01)
Given m clauses on n variables,
create N = 2n/2 vectors in m dimensions so that
two are orthogonal if and only if clauses satisfiable
Williams ‘05
Partition variables in half, each with n/2.
For all 2n/2 truth assignments on these, create a vector
with a 0 for clauses it satisfies, 1 for the others.
Two are orthogonal if their 0s span the clauses.
![Page 30: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/30.jpg)
Neglected topic: Data structures
Fancy data structures enable fast algorithms.
Hashing Splay trees (Sleator-Tarjan) practical binary search trees van Emde Boas trees Geometric data structures Cache efficiency
![Page 31: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/31.jpg)
Neglected topic: Dynamic Algorithms
Maintain answers on changing inputs.
Recent breakthroughs: Maintaining components in dynamic graphs. Time O(log5 n) per edge insertion and deletion. [Kapron-King-Mountjoy ‘13] Cannot beat time n1/3 for node insertions unless are faster algorithms for 3SUM [Abboud-Vassilavska ‘14]
![Page 32: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/32.jpg)
Neglected topic: Geometric Algorithms
Convex Hulls Voronoi Diagrams and Delaunay Triangulations Meshing Visibility Point Location Geometric Data Structures
![Page 33: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/33.jpg)
Neglected topic: Primality Testing
Miller ‘76: in polynomial time, if Extended Riemann Hypothesis true
Rabin ‘80: In randomized polynomial time,
detect composite with probability ½. Adelman-Huang ’92: Expected polynomial time,
when stops zero probability of error. Agarwal-Kayal-Saxena ’04: Polynomial time,
by derandomization.
![Page 34: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/34.jpg)
Hard Problems? Factoring Integers
For b-bit integers, best-known complexity is
If NP-hard, would have NP = co-NP.
(assuming conjectures in number theory)
Pollard, Arjen and Hendrik Lenstra,
Manasse, Odlyzko, Adelman, Pomerance
2O(b1/3 log
2/3 b)
![Page 35: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/35.jpg)
Hard Problems? Graph Isomorphism.
Given two labeled graphs, can vertex sets be relabeled so are same?
![Page 36: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/36.jpg)
Hard Problems? Graph Isomorphism.
Given two labeled graphs, can vertex sets be relabeled so are same? a
b
c d
e f g
h i
j
a e
b g
d
j
h
f
i
c
![Page 37: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/37.jpg)
Hard Problems? Graph Isomorphism.
Complexity [Babai-Luks ’83] Polynomial time if constant degree Are counter-examples to most naïve algorithms
Given two labeled graphs, can vertex sets be relabeled so are same?
nO(pn)
![Page 38: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/38.jpg)
Quantum Computing
Quantum computers have different operations
Factoring in polynomial time (Shor ’94)
and breaking Diffie-Helman (‘76) key exchange
Can they solve NP hard problems?
Graph isomorphism?
![Page 39: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/39.jpg)
Numerical Algorithms
Solving systems of linear equations, quickly.
Doing Gaussian elimination correctly.
Graph algorithms and data structures.
![Page 40: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/40.jpg)
Laplacian Linear Equations/ Electrical Flows
Solve for current when fix voltages
1V
0V
![Page 41: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/41.jpg)
Laplacian Linear Equations/ Electrical Flows
Solve for current when fix voltages
Can solve in 9me
O(m log
c m)
(S-Teng ’04)
![Page 42: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/42.jpg)
Laplacian Linear Equations/ Electrical Flows
Solve for current when fix voltages
Can solve in 9me
O(m log
c m)
(S-Teng ’04)
O(mp
logm)
(Cohen-Kyng-Pachocki-Peng-Rao ‘14)
![Page 43: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/43.jpg)
Lies
![Page 44: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/44.jpg)
Lies
Polynomial-time = efficient Big-O notation. Worst-case analysis.
![Page 45: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/45.jpg)
Very few algorithms are both elegant and useful. Most algorithms papers are merely evidence for the existence of useful algorithms.
Lies
![Page 46: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/46.jpg)
Related Courses
![Page 47: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/47.jpg)
More Algorithms (Jim Aspnes)
CPSC 465: Distributed Computing
CPSC 469: Randomized Algorithms
![Page 48: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/48.jpg)
Optimization: AMTH 437 (Sekhar Tatikonda)
Linear programming.
Convex programming.
Gradient descent.
Newton’s method.
Maximize something subject to constraints.
![Page 49: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/49.jpg)
Machine Learning STAT 365 (?) CPSC 463 (Dana Angluin)
Boosting
Support Vector Machines
Genetic Algorithms
Neural Nets
Belief Propagation
![Page 50: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/50.jpg)
Numerical Methods: CPSC 440 (Vladimir Rokhlin) ENAS 440/441 (Beth Bennett)
Numerical problems that arise in sciences.
Solving linear equations.
Computing eigenvectors and eigenvalues.
Solving differential equations
Interpolation.
Integration.
![Page 51: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/51.jpg)
CPSC 468: Complexity Theory (Joan Feigenbaum)
P = NP?
NP = co-NP? short proofs of unsatisfiability?
Poly Time = Poly Space?
Interactive proofs.
Probabilistically checkable proofs.
Hardness of approximation.
Pseudo-random generators, and
Derandomizaton.
![Page 52: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/52.jpg)
Interactive proofs:
Colors exist:
give colorblind two balls of different colors
shown one, we can always tell which it was
![Page 53: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/53.jpg)
Interactive proofs:
Colors exist:
give colorblind two balls of different colors
shown one, we can always tell which it was
Graphs non-isomorphic:
pick one at random,
draw it at random,
can I tell you which it was?
![Page 54: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/54.jpg)
Graph non-isomorphism.
pick one
![Page 55: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/55.jpg)
Graph non-isomorphism.
pick one
![Page 56: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/56.jpg)
Graph non-isomorphism.
scramble it
![Page 57: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/57.jpg)
Graph non-isomorphism.
scramble it
![Page 58: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/58.jpg)
Graph non-isomorphism.
scramble it
![Page 59: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/59.jpg)
Graph non-isomorphism.
scramble it
![Page 60: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/60.jpg)
Graph non-isomorphism.
randomly located vertices
If were same, no one can tell which it was
![Page 61: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/61.jpg)
Probabilistically Checkable Proofs
A proof you can check by examining a few
bits chosen carefully at random.
For every “yes” instance of every
problem in NP, there is a PCP.
![Page 62: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/62.jpg)
Hardness of Approximation
Max 3-SAT: Satisfy as many clauses as possible.
Hard to do better than 7/8+ε
Set-Cover: Hard to do better than c log n
Max IS: Hard to do better than n1-ε
VC: Hard to do better than 1.36 (and maybe 2-ε)
![Page 63: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/63.jpg)
CPSC 467: Cryptography (Mike Fischer)
RSA
One-way functions
Zero-knowledge proofs
Digital signatures
Playing poker over the phone
![Page 64: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/64.jpg)
ENAS 962: Theoretical Challenges in Network Science (Amin Karbasi)
Random graphs, Percolation, Tipping Point.
Random walks, diffusion.
Small world graphs.
PageRank
Cascades, Epidemics
Influence maximization
Graphical Models
![Page 65: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/65.jpg)
AMTH 562/CPSC 662 (Fall ‘15): Spectral Graph Theory
What eigenvectors and eigenvalues of
adjacency matrices tell you about graphs.
Beautiful math.
But, is “advanced”, so I assume everything
(linear algebra, finite fields, some topology)
![Page 66: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/66.jpg)
AMTH 462/CPSC 462 (Fall ‘16): Graphs and Networks
Study graphs from sciences and “real world”
Math, Algorithms, Experiments.
Drawing and Visualization.
Ranking.
Clustering.
Learning and Inference.
![Page 67: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/67.jpg)
Math!
Combinatorics
Probability
Algebra: Group theory and finite fields
Fourier Analysis
Functional Analysis
Algebraic Geometry
Topology
etc.
![Page 68: Computer Science 365: Design and Analysis of Algorithms ... · Neglected topic: Dynamic Algorithms Maintain answers on changing inputs. Recent breakthroughs: Maintaining components](https://reader034.vdocuments.mx/reader034/viewer/2022042923/5f70072be5a7356a1b75cf24/html5/thumbnails/68.jpg)
Finishing up
No office hours tomorrow (Friday)
Will announce when work can be picked up