In mathematics and theoretical computer science, the analysis of Boolean functions is the study of real-valued functions on {0,1}n or {−1,1}n (such functions are sometimes known as pseudo-Boolean functions) from a spectral perspective. The functions studied are often, but not always, Boolean-valued, making them Boolean functions. The area has found many applications in combinatorics, social choice theory, random graphs, and theoretical computer science, especially in hardness of approximation, property testing, and PAC learning.
Basic concepts We will mostly consider functions defined on the domain {−1,1}n. Sometimes it is more convenient to work with the domain {0,1}n instead. If f is defined on {−1,1}n, then the corresponding function defined on {0,1}n is
f01(x1,…,xn)=f((−1)x1,…,(−1)xn). Similarly, for us a Boolean function is a {−1,1}-valued function, though often it is more convenient to consider {0,1}-valued functions instead.
Fourier expansion Every real-valued function f:{−1,1}n→ℝ has a unique expansion as a multilinear polynomial:
f(x)=∑S⊆[n]f̂(S)χS(x),χS(x)=∏i∈Sxi. (Note that even if the function is 0-1 valued this is not a sum mod 2, but just an ordinary sum of real numbers.) This is the Hadamard transform of the function f, which is the Fourier transform in the group ℤ2n. The coefficients f̂(S) are known as Fourier coefficients, and the entire sum is known as the Fourier expansion of f. The functions χS are known as Fourier characters, and they form an orthonormal basis for the space of all functions over {−1,1}n, with respect to the inner product ⟨f,g⟩=2−n∑x∈{−1,1}nf(x)g(x). The Fourier coefficients can be calculated using an inner product:
f̂(S)=⟨f,χS⟩. In particular, this shows that f̂(∅︀)=E[f], where the expected value is taken with respect to the uniform distribution over {−1,1}n. Parseval's identity states that
‖f‖2=E[f2]=∑Sf̂(S)2. If we skip S=∅︀, then we get the variance of f:
Var[f]=∑S≠∅︀f̂(S)2.
Fourier degree and Fourier levels The degree of a function f:{−1,1}n→ℝ is the maximum d such that f̂(S)≠0 for some set S of size d. In other words, the degree of f is its degree as a multilinear polynomial. It is convenient to decompose the Fourier expansion into levels: the Fourier coefficient f̂(S) is on level |S|. The degree d part of f is
f=d=∑|S|=df̂(S)χS. It is obtained from f by zeroing out all Fourier coefficients not on level d. We similarly define f>d,f<d,f≥d,f≤d.
Influence The i'th influence of a function f:{−1,1}n→ℝ can be defined in two equivalent ways:
Infi[f]=E[(f−f⊕i2)2]=∑S∋if̂(S)2,f⊕i(x1,…,xn)=f(x1,…,xi−1,−xi,xi+1,…,xn). If f is Boolean then Infi[f] is the probability that flipping the i'th coordinate flips the value of the function:
Infi[f]=Pr[f(x)≠f⊕i(x)]. If Infi[f]=0 then f doesn't depend on the i'th coordinate. The total influence of f is the sum of all of its influences:
Inf[f]=∑i=1nInfi[f]=∑S|S|f̂(S)2. The total influence of a Boolean function is also the average sensitivity of the function. The sensitivity of a Boolean function f at a given point is the number of coordinates i such that if we flip the i'th coordinate, the value of the function changes. The average value of this quantity is exactly the total influence. The total influence can also be defined using the discrete Laplacian of the Hamming graph, suitably normalized: Inf[f]=⟨f,Lf⟩. A generalized form of influence is the ρ-stable influence, defined by:
Infi(ρ)[f]=Stabρ[Dif]=∑S∋iρ|S|−1f̂(S)2. The corresponding total influences is
I(ρ)[f]=ddρStabρ[f]=∑S|S|ρ|S|−1f̂(S)2. One can prove that a function f:{−1,1}n→{−1,1} has at most “constantly” many “stably-influential” coordinates: |{i∈[n]:Infi(1−δ)[f]≥ϵ}|≤1δϵ.
Noise stability Given −1≤ρ≤1, we say that two random vectors x,y∈{−1,1}n are ρ-correlated if the marginal distributions of x,y are uniform, and E[xiyi]=ρ. Concretely, we can generate a pair of ρ-correlated random variables by first choosing x,z∈{−1,1}n uniformly at random, and then choosing y according to one of the following two equivalent rules, applied independently to each coordinate:
yi={xiw.p. ρ,ziw.p. 1−ρ.oryi={xiw.p. 1+ρ2,−xiw.p. 1−ρ2. We denote this distribution by y∼Nρ(x). The noise stability of a function f:{−1,1}n→ℝ at ρ can be defined in two equivalent ways:
Stabρ[f]=Ex;y∼Nρ(x)[f(x)f(y)]=∑S⊆[n]ρ|S|f̂(S)2. For 0≤δ≤1, the noise sensitivity of f at δ is
NSδ[f]=12−12Stab1−2δ[f]. If f is Boolean, then this is the probability that the value of f changes if we flip each coordinate with probability δ, independently.
Noise operator The noise operator Tρ is an operator taking a function f:{−1,1}n→ℝ and returning another function Tρf:{−1,1}n→ℝ given by
(Tρf)(x)=Ey∼Nρ(x)[f(y)]=∑S⊆[n]ρ|S|f̂(S)χS. When ρ>0, the noise operator can also be defined using a continuous-time Markov chain in which each bit is flipped independently with rate 1. The operator Tρ corresponds to running this Markov chain for 12log1ρ steps starting at x, and taking the average value of f at the final state. This Markov chain is generated by the Laplacian of the Hamming graph, and this relates total influence to the noise operator. Noise stability can be defined in terms of the noise operator: Stabρ[f]=⟨f,Tρf⟩.
Hypercontractivity For 1≤q<∞, the Lq-norm of a function f:{−1,1}n→ℝ is defined by
‖f‖q=E[|f|q]q. We also define ‖f‖∞=maxx∈{−1,1}n|f(x)|. The hypercontractivity theorem states that for all p>q>1, if |ρ|≤q−1p−1 then
‖Tρf‖p≤‖f‖q. Hypercontractivity is closely related to the logarithmic Sobolev inequalities of functional analysis. A similar result for 1>p>q is known as reverse hypercontractivity. It states that if |ρ|≤1−p1−q then
‖Tρf‖q≥‖f‖p.
p-Biased analysis In many situations the input to the function is not uniformly distributed over {−1,1}n, but instead has a bias toward −1 or 1. In these situations it is customary to consider functions over the domain {0,1}n. For 0<p<1, the p-biased measure μp is given by
μp(x)=p∑ixi(1−p)∑i(1−xi). This measure can be generated by choosing each coordinate independently to be 1 with probability p and 0 with probability 1−p. The classical Fourier characters are no longer orthogonal with respect to this measure. Instead, we use the following characters:
ωS(x)=(p1−p)|{i∈S:xi=0}|(−1−pp)|{i∈S:xi=1}|. The p-biased Fourier expansion of f is the expansion of f as a linear combination of p-biased characters:
f=∑S⊆[n]f̂(S)ωS. We can extend the definitions of influence and the noise operator to the p-biased setting by using their spectral definitions.
Influence The i's influence is given by
… excerpt ends here. Continue reading the full article.