Fourier Transforms in Computer Science. Can a function [0,2  ] z R be expressed as a linear combination of sin nx, cos nx ? If yes, how do we find the.

Slides:



Advertisements
Similar presentations
How to Solve Longstanding Open Problems In Quantum Computing Using Only Fourier Analysis Scott Aaronson (MIT) For those who hate quantum: The open problems.
Advertisements

Agnostically Learning Decision Trees Parikshit Gopalan MSR-Silicon Valley, IITB00. Adam Tauman Kalai MSR-New England Adam R. Klivans UT Austin
Algorithms Algorithm: what is it ?. Algorithms Algorithm: what is it ? Some representative problems : - Interval Scheduling.
Shortest Vector In A Lattice is NP-Hard to approximate
Inapproximability Seminar – 2005 David Arnon  March 3, 2005 Some Optimal Inapproximability Results Johan Håstad Royal Institute of Technology, Sweden.
Lecture 15 Orthogonal Functions Fourier Series. LGA mean daily temperature time series is there a global warming signal?
MaxClique Inapproximability Seminar on HARDNESS OF APPROXIMATION PROBLEMS by Dr. Irit Dinur Presented by Rica Gonen.
Learning Juntas Elchanan Mossel UC Berkeley Ryan O’Donnell MIT Rocco Servedio Harvard.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
1 The Monte Carlo method. 2 (0,0) (1,1) (-1,-1) (-1,1) (1,-1) 1 Z= 1 If  X 2 +Y 2  1 0 o/w (X,Y) is a point chosen uniformly at random in a 2  2 square.
Turnstile Streaming Algorithms Might as Well Be Linear Sketches Yi Li Huy L. Nguyen David Woodruff.
A 3-Query PCP over integers a.k.a Solving Sparse Linear Systems Prasad Raghavendra Venkatesan Guruswami.
The number of edge-disjoint transitive triples in a tournament.
1 By Gil Kalai Institute of Mathematics and Center for Rationality, Hebrew University, Jerusalem, Israel presented by: Yair Cymbalista.
Signal , Weight Vector Spaces and Linear Transformations
Analysis of Boolean Functions Fourier Analysis, Projections, Influence, Junta, Etc… And (some) applications Slides prepared with help of Ricky Rosen.
Boolean Algebra cont’ The digital abstraction Graphs and Topological Sort מבנה המחשב + מבוא למחשבים ספרתיים תרגול 2#
Fourier Analysis, Projections, Influences, Juntas, Etc…
7 INVERSE FUNCTIONS.
The Theory of NP-Completeness
Complexity 19-1 Complexity Andrei Bulatov More Probabilistic Algorithms.
Multi-Valued Input Two-Valued Output Functions. Multi-Valued Input Slide 2 Example Automobile features 0123 X1X1 TransManAuto X2Doors234 X3ColourSilverRedBlackBlue.
Chapter 5 Integration.
Chapter 5 Part II 5.3 Spread of Data 5.4 Fisher Discriminant.
Expanders Eliyahu Kiperwasser. What is it? Expanders are graphs with no small cuts. The later gives several unique traits to such graph, such as: – High.
Foundations of Privacy Lecture 11 Lecturer: Moni Naor.
Ramanujan Graphs of Every Degree Adam Marcus (Crisply, Yale) Daniel Spielman (Yale) Nikhil Srivastava (MSR India)
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
1 Hardness Result for MAX-3SAT This lecture is given by: Limor Ben Efraim.
Chapter 4 – Polynomials and Rational Functions
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Chapter 3 Section 3.4 The Fundamental Theorem of Algebra.
3 DIFFERENTIATION RULES.
Products and Factors of Polynomials
C&O 355 Mathematical Programming Fall 2010 Lecture 17 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
Wicomico High School Mrs. J. A. Austin AP Calculus 1 AB Third Marking Term.
Diophantine Approximation and Basis Reduction
MAT 4725 Numerical Analysis Section 8.2 Orthogonal Polynomials and Least Squares Approximations (Part II)
MTH55_Lec-21_sec_5-2_Mult_PolyNoms.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
The axis of symmetry is x = h. This is the vertical line that passes through the vertex. 3.1 – Quadratic Functions and Application Quadratic Functions.
Network Systems Lab. Korea Advanced Institute of Science and Technology No.1 Appendix A. Mathematical Background EE692 Parallel and Distribution Computation.
Primer on Fourier Analysis Dana Moshkovitz Princeton University and The Institute for Advanced Study.
1 Chapter 5 – Orthogonality and Least Squares Outline 5.1 Orthonormal Bases and Orthogonal Projections 5.2 Gram-Schmidt Process and QR Factorization 5.3.
MTH55_Lec-21_sec_5-2_Mult_PolyNoms.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
13 th Nov Geometry of Graphs and It’s Applications Suijt P Gujar. Topics in Approximation Algorithms Instructor : T Kavitha.
Analysis of Boolean Functions and Complexity Theory Economics Combinatorics …
Orthogonal Functions and Fourier Series
Section 5.1 Length and Dot Product in ℝ n. Let v = ‹v 1­­, v 2, v 3,..., v n › and w = ‹w 1­­, w 2, w 3,..., w n › be vectors in ℝ n. The dot product.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Interval Notation Interval Notation to/from Inequalities Number Line Plots open & closed endpoint conventions Unions and Intersections Bounded vs. unbounded.
Presented by Alon Levin
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Approximation Algorithms based on linear programming.
Analysis of Boolean Functions and Complexity Theory Economics Combinatorics …
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Theory of Computational Complexity Probability and Computing Ryosuke Sasanuma Iwama and Ito lab M1.
P.3 Functions & Their Graphs 1.Use function notation to represent and evaluate a function. 2.Find the domain and range of a function. 3.Sketch the graph.
Probability Theory and Parameter Estimation I
Primer on Fourier Analysis
Tight Fourier Tails for AC0 Circuits
Randomized Algorithms CS648
Functions and Their Graphs
Richard Anderson Lecture 28 NP-Completeness
Signal & Weight Vector Spaces
5.4 General Linear Least-Squares
Signal & Weight Vector Spaces
3.6 Polynomial Functions Part 2
MA5242 Wavelets Lecture 1 Numbers and Vector Spaces
Switching Lemmas and Proof Complexity
Locality In Distributed Graph Algorithms
Presentation transcript:

Fourier Transforms in Computer Science

Can a function [0,2  ] z R be expressed as a linear combination of sin nx, cos nx ? If yes, how do we find the coefficients?

If f(x)= a exp(2  i n x) n  n Z then a = f(x)exp(-2  i n x) dx n the exp(-2  i nx) are orthonormal with respect to the inner product = f(x)g(x) dx The reason that this works is that Fourier’s recipe

Given “good” f:[0,1] z C we define its Fourier transform as f:Z z C f(n) = f(x)exp(-2  i n x) dx - - space of functions space of functions Fourier Transform

space of functions space of functions Fourier Transform L [0,1]L (Z) 22 isometry - - ||f|| - = = Plancherel formula Parseval’s identity 2 2

space of functions space of functions Fourier Transform convolution pointwise multiplication (f*g)(x)= f(y)g(x-y) dy f*g f g - -

Can be studied in a more general setting: interval [0,1] Lebesgue measure and integral exp(2  i n x) LCA group G Haar measure and integral characters of G form a topological group G, dual of G - continuous homomorphisms G z C

Fourier coefficients of AC functions 0 Linial, Mansour, Nisan ‘93

circuit AND OR AND 123 xxxxxx 321 depth=3 size=8 output Input:

AC 0 circuits AND OR AND 123 xxxxxx 321 depth=3 size=8 output Input: constant depth, polynomial size

Random restriction of a function f : {0,1} z {0,1} n x 12n xx x 2 p(1-p)/2

Fourier transform over Z 2 n characters (-1)  i A x i for each subset of {1,...,n} Fourier coefficients f(A)= P(f(x)= (x))-P(f(x)= (x)) -    A (x)= AA

f AC z high Fourier coefficients of a random restriction are zero with high probability Hastad switching lemma o 0 1-M(5p s ) 1/d1-1/d s All coefficients of size >s are 0 with probability at least size of the circuit depth

We can express the Fourier coef- ficients of the random restriction of f using the Fourier coefficients of f E[r(x)]=p f(x) E[r(x) ]=p f(x+y) (1-p) |x| 22|y|  |x| ymxymx

Sum of the squares of the high Fourier coefficients of an AC Function is small 0 f(x) < 2M exp(- (t/2) ) -  |x|>s 1/d1 5e Learning of AC functions 0 2

Influence of variables on Boolean functions Kahn, Kalai, Linial ‘88

The Influence of variables The influence of x on f(x,x, …,x ) i set the other variables randomly the probability that change of x will change the value of the function 12 n i I (x ) if Examples: for the AND function of n variables each variable has influence 1/2 for the XOR function of n variables each variable has influence 1 n

The Influence of variables The influence of x in f(x,x, …,x ) i set the other variables randomly the probability that change of x will change the value of the function 12 n i For balanced f there is a variable with influence > (c log n)/n I (x ) if

We have a function f such that I(x )=||f ||, and the Fourier coef- ficients of f can be expressed using the Fourier coefficients of f i p p ii i f (x)=f(x)-f(x+i) i f (x) =2f(x) if i is in x = 0 otherwise i --

We can express the sum of the influences using the Fourier coefficients of f  I(x ) i =  4|x| f(x) - 2 if f has large high Fourier coefficients then we are happy How to inspect small coefficients?

Beckner’s linear operators f(x) a f(x) |x| Norm 1 linear operator from L (Z ) to L (Z ) 1+a 2 2nn 22 a<1  I(x ) i 4/3 >  4|x| f(x) (1/2) - 2 |x| Can get bound ignoring high FC --

Explicit Expanders Gaber, Galil ’79 (using Margulis ’73)

Expander Any (not too big) set of vertices W has many neighbors (at least (1+a)|W|) positive constant W

Expander Any (not too big) set of vertices W has many neighbors (at least (1+a)|W|) positive constant W N(W) |N(W)|>(1+a)|W|

Why do we want explicit expanders of small degree? sorting networks extracting randomness

Example of explicit bipartite expander of constant degree: Z x Z mm mm (x,y) (x+y,y) (x,y) (x+y+1,y) (x,x+y) (x,x+y+1)

Transform to a continuous problem For any measurable A one of the transformations s:(x,y) z (x+y,y) and t:(x,y) z (x,x+y) “displaces” it T 2 M(s(A)-A)+M(t(A)-A)>2cM(A) measure

Estimating the Rayleigh quotient of an operator on X L(T ) 22 m Functions with f(0)=0 - (T f) (x,y)=f(x-y,y)+f(x,y-x) r(T)=sup { | | ; ||x||=1}

It is easier to analyze the corres- ponding linear operator in Z 2 (S f)(x,y)=f(x+y,y)+f(x,x+y) Let L be a labeling of the arcs of the graph with vertex set Z x Z and edges (x,y) z (x+y,y) and (x,y) z (x,x+y) such that L(u,v)=1/L(v,u). Let C be maximum over all vertices of sum of the labels of the outgoing edges. Then r(S) c C.

Lattice Duality: Banaszczyk’s Transference Theorem Banaszczyk ‘93

Lattice: given n x n regular matrix B, a lattice is { Bx; x Z } n

Successive minima: smallest r such that a ball centered in 0 of diameter r contains k linearly independent lattice points k

Dual lattice: Lattice L with matrix B -T Transference theorem:  c n * kn-k+1 * can be used to show that O(n) approximation of the shortest lattice vector in 2-norm is not NP-hard unless NP=co-NP (Lagarias, H.W. Lenstra, Schnorr’ 90)

Poisson summation formula: f(x) = f(x) -  x Z f:R z C For “nice”

Define Gaussian-like measure on the subsets of R n r(A)= exp(-  ||x|| )  x A 2 Prove using Poisson summation formula: r((L+u)\B)<0.285 r(L) a ball of diameter (3/4)n centered around 0 1/2

p(A)= r(A L)/r(L) Prove using Poisson summation formula: p(u) = r(L+u)/r(L) Define Gaussian-like measure on the subsets of R - **

 > n * kn-k+1 If then we have a vector u perpendicular to all lattice points in L B and L B * r(L +u)/r(L ) ** small + small outside ball inside ball, “moved by u” p(u)= r(x)exp(-2  iu x) - T  x L large

Weight of a function – sum of columns (mod m) Therien ‘94,

Is there a set of columns which sum to the zero column (mod t) ? m n

If m>c n t then there always exists a set of columns which sum to zero column (mod t) 11/2 wt(f)= number of non-zero Fourier coefficients w(fg) c w(f)w(g) w(f+g) c w(f)+w(g)

f (x)=g x a 1i,1 x a m i,m i If no set of columns sums to the zero column mod t then t+1 is a prime (1-(1-f ) )  i t restricted to B={0,1} is 1 m 0 g= wt(g 1 ) c t (t-1) n B t = m m