Super-Linear Gate and Super-Quadratic Wire Lower Bounds for Depth-Two and Depth-Three Threshold Circuits

Daniel M. Kane, Ryan Williams

Introduction

Despite considerable study in the complexity of neural networks (see Section 2 for more background), the power of a single hidden layer is still poorly understood: prior to our work, it was open whether every function in nondeterministic 2O(n)2^{O(n)} time could be computed by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit families (or TC30{\sf TC}^{0}_{3} families) with O(n)O(n) gates, or by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit families with n3/2⋅poly(log⁡n)n^{3/2}\cdot\text{poly}(\log n) wires. (Linear-gate lower bounds were proved by several groups in the early 90’s; an n3/2n^{3/2} wire lower bound was proved in 1993 by Impagliazzo, Paturi, and Saks [IPS93]. See Section 2.)

By results of Allender and Koucky [AK10], in order to separate NC1{\sf NC}^{1} from TC0{\sf TC}^{0}, we only need to exhibit a function in NC1{\sf NC}^{1} that does not have n1.1n^{1.1} gates for every depth d≥2d\geq 2. That is, the problem of proving super-linear gate lower bounds for all O(1)O(1)-depth threshold circuits turns out to be as difficult as proving super-polynomial lower bounds for O(1)O(1)-depth threshold circuits. Before we can do that, we have to first prove non-linear gate lower bounds for depth-three circuits.

We prove the first non-trivial super-linear gate lower bounds and super-quadratic wire lower bounds for depth-two threshold circuits (LTF∘LTF{\sf LTF}\circ{\sf LTF}), and depth-three majority circuits (TC30{\sf TC}^{0}_{3}). Our hard functions have much lower complexity than NTIME[2O(n)]{\sf NTIME}[2^{O(n)}]; they are in fact computable in P{\sf P} (even in uniform TC0{\sf TC}^{0} itself).

where x∈{0,1}2kx\in\{0,1\}^{2^{k}}, and ai,j∈{0,1}a_{i,j}\in\{0,1\}. In words, AnA_{n} computes the parity on kk disjoint sets of 2k/k2^{k}/k inputs, then feeds the resulting kk-bit string to the multiplexer function on the remaining 2k2^{k} inputs xx. (For simplicity we may think of kk itself as a power of two, so we do not have to worry about divisibility issues with 2k/k2^{k}/k.)

Since 1987, the function AnA_{n} has been a primary target for formula size lower bounds [And87, IN88, PZ93, Hås98, IMZ12]. The best known explicit size lower bounds for formulas over both the DeMorgan basis (n3−o(1)n^{3-o(1)}) and the full binary basis (n2−o(1)n^{2-o(1)}) are achieved by AnA_{n}. Our first result is a non-linear gate lower bound for computing AnA_{n} with depth-two threshold circuits:

Any function ff that agrees with AnA_{n} on at least a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs for some ϵ≫log⁡(n)/n\epsilon\gg\sqrt{\log(n)/n} cannot be computed by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits with fewer than Ω(ϵ3n3/2/log⁡3(n))\Omega(\epsilon^{3}n^{3/2}/\log^{3}(n)) gates or fewer than Ω(ϵ3n5/2/log⁡7/2(n))\Omega(\epsilon^{3}n^{5/2}/\log^{7/2}(n)) wires.

In contrast with these lower bounds, there are several nice (and somewhat easy) circuit constructions for computing Andreev’s function as well:

The function AnA_{n} has (uniform) depth-3 MAJ∘MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ}\circ{\sf MAJ} (i.e. TC30{\sf TC}^{0}_{3}) circuits of O(n)O(n) gates, (uniform) LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits of O(n3/log⁡n)O(n^{3}/\log n) gates, parity decision trees of depth at most log⁡2(n)\log_{2}(n), and (uniform) MOD3∘MOD2{\sf MOD3}\circ{\sf MOD2} circuits of O(n2)O(n^{2}) gates.

Hence the lower bounds of Theorem 1.1 establish several average-case complexity hierarchies in the low-depth circuit regime: for example, AnA_{n} is computable by depth-three LTF circuits of O(n)O(n) gates, but is not computable on a 1/2+ε1/2+\varepsilon fraction of inputs by depth-two LTF circuits of ε3⋅n3/2−o(1)\varepsilon^{3}\cdot n^{3/2-o(1)} gates.

As our lower bounds are average-case, we easily obtain some lower bounds on computing AnA_{n} with distributions of LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits. Say that a Boolean function ff is computed by an ϵ\epsilon-Approximate Majority of LTF∘LTF{\sf LTF}\circ{\sf LTF} if there is a collection C{\cal C} of LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits such that, for every input xx, at least a 1/2+ε1/2+\varepsilon fraction of circuits in C{\cal C} output the value f(x)f(x).

Every ϵ\epsilon-Approximate Majority of LTF∘LTF{\sf LTF}\circ{\sf LTF} for AnA_{n} needs at least Ω(ϵ3n3/2/log⁡3(n))\Omega(\epsilon^{3}n^{3/2}/\log^{3}(n)) gates and Ω(ε3n5/2/log⁡7/2n)\Omega(\varepsilon^{3}n^{5/2}/\log^{7/2}n) wires.

This is a partial step towards lower bounds for depth-three circuits composed of MAJORITY gates with negations, i.e. the class TC30{\sf TC}^{0}_{3}. It follows from our distribution results that (for example) Andreev’s function has no TC30{\sf TC}^{0}_{3} circuit of O(n1.1)O(n^{1.1}) gates where the output gate has fan-in o(n2/15)o(n^{2/15}).

However, as stated in Theorem 1.2, Andreev’s function has O(n)O(n)-gate TC30{\sf TC}^{0}_{3} circuits. To obtain super-linear gate and super-quadratic wire lower bounds in the depth-three setting, we modify Andreev somewhat, defining a new explicit function BnB_{n}. Informally, BnB_{n} has the same inputs (x,a)(x,a) as AnA_{n} with ∣x∣=∣a∣|x|=|a|, and as before the function divides its string aa into groups and takes parities of each group, but BnB_{n} also feeds xx into the generator matrix of an 1/poly(n)1/\text{poly}(n)-balanced error-correcting code (i.e. a 1/poly(n)1/\text{poly}(n)-biased set) before calling the multiplexer. This is similar to a function constructed by Komargodski and Raz [KR13], who also used error-correcting codes in a modification of Andreev’s function to prove average-case formula lower bounds. We let MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} be the class of circuits which compute a majority value of depth-two threshold circuits.

There is no MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuit of o(n3/2/log⁡3n)o(n^{3/2}/\log^{3}n) gates or o(n5/2/log⁡7/2n)o(n^{5/2}/\log^{7/2}n) wires that computes BnB_{n}.

Tight Results for PARITY in Depth-Two.

Finally, we illustrate the strength of our techniques by proving asymptotically tight results on approximating the PARITY function with LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits:

The gate complexity of MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits that agree with PARITY on 99%99\% of all nn-bit inputs is Θ(n)\Theta(\sqrt{n}). The wire complexity is Θ(n3/2)\Theta(n^{3/2}). The lower bounds hold even for LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits.

Theorem 1.4 shows that the Ω(n3/2)\Omega(n^{3/2}) wire lower bound and Ω(n1/2)\Omega(n^{1/2}) gate lower bound for PARITY proved by Impagliazzo, Paturi, and Saks [IPS93] are both tight in the average case.

2 Intuition

The key to our lower bounds is a new random restriction lemma for LTFs. With random restrictions, one generally studies the probability that a distribution of partial Boolean assignments to the inputs of a circuit “forces” many gates of that circuit to output a fixed value on all remaining inputs. The idea of forcing is very natural for circuits made of AND and OR gates: an AND is “forced to ” when one of its inputs is assigned , and an OR is “forced to 11” when one of its inputs is 11. As a result, random restrictions have been rather effective for analyzing AC0{\sf AC}^{0} circuits made out of unbounded fan-in AND and OR gates (for example [FSS84, Yao85, Hås86, Ros08]), as well as formulas over the AND/OR/NOT basis (for example [Sub61, And87, PZ93, Hås98]). Strong average-case lower bounds for AC0{\sf AC}^{0} and formula size are also known; some have only been proved very recently [AW85, KR13, IMZ12, KRT13, Hås14, RST15].

For linear threshold functions, the notion of “forcing to a constant” is more subtle. There are two ways we could conclude that a partially restricted LTF is equivalent to a constant function: either the partial Boolean assignment makes part of the LTF so large that the threshold value is achieved on all remaining inputs, or the assignment makes the LTF so small that the threshold value is never achieved. Hence a threshold function can be “forced to ” in some cases, and 11 in other cases. Also, note that if an LTF only depends non-trivially on a single variable after a restriction (that is, no other variables can affect the output value), then the LTF gate can be removed, and replaced with a single wire coming from that single variable. We incorporate both kinds of reasoning in our arguments.

In order for our analysis to work, we need to consider random restrictions of a structured yet “adversarial” form. In particular, let P\mathcal{P} be an arbitrary partition of {1,2,…,n}\{1,2,\ldots,n\} into equal parts, and let RP{\cal R}_{\cal P} be the distribution of random restrictions on nn Boolean variables which randomly fixes all but one element of each part of P\cal P. For our applications, one should think of P\cal P as partitioning [n][n] into kk blocks of size n/kn/k for some k≪nk\ll n, so that RP{\cal R}_{\cal P} roughly corresponds to fixing all but kk randomly chosen variables.

Let f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} be a linear threshold function. Let P\cal P be a partition of [n][n] into parts of equal size, and let RP{\cal R}_{\cal P} be the distribution on restrictions ρ:[n]→{0,1,⋆}\rho:[n]\rightarrow\{0,1,\star\} that randomly fixes all but one element of each part of P\cal P. Then

For example, given a partition of the inputs with at most n/1000\sqrt{n}/1000 parts, it is very likely that ff is equivalent to a constant function, when a random element of each part is left unrestricted and all other inputs are assigned to random bits.

The primary tool in our random restriction analysis is a well-known result in additive combinatorics by Littlewood and Offord [LO43, Erd45] which (tightly) upper bounds the probability (on a random Boolean assignment) that a linear function takes on a value in a given interval of length 22. We can use this lemma to closely estimate the probability that an LTF is “forced to a constant” when some of its inputs are randomly set to or 11. The central intuition is that a linear threshold function is not “forced to a constant” by a partial Boolean assignment precisely when the restricted part of the linear function lies in a certain integer interval, certifying that the restricted part is neither “too high” to always exceed the threshold, nor “too low” to always fail to meet the threshold. Adapting Littlewood-Offord to this event requires some care, as we need to compute probability upper bounds for (potentially) large intervals defined by the LTF.

Another key idea in our lower bound proofs is the fact that there exist relatively hard functions for low-depth threshold circuits. This is obtained by a counting argument, showing that since there are few distinct functions computed by small threshold circuits, there must be hard functions which cannot be computed by any of them (or any small group of them).

In the previous best known lower bounds on LTF{\sf LTF} circuits of depth at least two, Impagliazzo, Paturi, and Saks [IPS93] also used a random restriction method to prove their lower bounds. There are several critical differences between their approach and ours. Their main lemmas state that for any LTF{\sf LTF} circuit with nn variables and δn\delta n wires, there is a variable restriction which leaves Ω(n/δ2)\Omega(n/\delta^{2}) variables unset and makes every bottom-layer gate dependent on at most one variable. First, observe that their lemmas are nontrivial only when the number of wires is O(n3/2)O(n^{3/2}). Second, the proofs of their lemmas require that they pick a particular random partition of variables in which the restriction is performed; we will need to allow an adversary to control the partition in order for our analysis to work. Third, instead of insisting that every bottom-layer gate is reduced, we use Littlewood-Offord to calculate the probability that single gate is either forced to a constant (Lemma 1.1) or depends on at most one variable (Lemma 3.1). Fourth, we use our relaxed setting to incorporate strong LTF∘LTF{\sf LTF}\circ{\sf LTF} lower bounds for random functions in our arguments to gain an extra linear factor in the gate and wire lower bounds (Theorem 1.1), and we add another layer of complexity to the function to insert correlation-style arguments to gain an extra layer of circuit depth (Theorem 1.3).

Preliminaries

We denote assignments to nn Boolean variables by functions of the form τ:[n]→{0,1}\tau:[n]\rightarrow\{0,1\}.

We will apply a classical result of Littlewood and Offord [LO43] which upper bounds the number of inputs to a linear function L(x)=∑i=1taixiL(x)=\sum_{i=1}^{t}a_{i}x_{i} so that the output lies in a given interval II of length 22. In particular, if at least nn of the aia_{i} have ∣ai∣≥1|a_{i}|\geq 1, and if xx is a random point in {−1,1}t\{-1,1\}^{t}, then Pr⁡x[L(x)∈I]≤O(log⁡(n)/n)\Pr_{x}[L(x)\in I]\leq O(\log(n)/\sqrt{n}). The bound was later improved to O(1/n)O(1/\sqrt{n}) by Erdős [Erd45]. By scaling the length of the interval II, we obtain the following:

where ∈u\in_{u} denotes a uniform random choice.

Start with the original lemma: assume at least kk of the aia_{i} have ∣ai∣≥1|a_{i}|\geq 1, let II be an arbitrary interval of length 22, and obtain Pr⁡x∈{−1,1}t[L(x)∈I]≤O(1/k)\Pr_{x\in\{-1,1\}^{t}}[L(x)\in I]\leq O(1/\sqrt{k}). What follows is some simple massaging of this statement.

Constant-Depth Threshold Lower Bounds for Random Functions

Another ingredient in our main result is a threshold circuit lower bound for random functions. This follows from a counting argument via a non-trivial upper bound on the number of distinct functions computable with low-depth LTF circuits. The upper bound on the number of possible LTFs has been proved many times; the earliest reference we have found is Winder [Win60] from the 1st Annual FOCS:

The number of linear threshold functions on nn variables is at most 2O(n2)2^{O(n^{2})}.

The 2O(n2)2^{O(n^{2})} upper bound immediately follows from Chow’s theorem (from the 2nd Annual FOCS), which characterizes linear threshold functions by their low-degree Fourier coefficients.

Every LTF ff on nn variables is uniquely determined by its n+1n+1 Fourier coefficients f^(∅),f^(1),…,f^(n)\hat{f}(\emptyset),\hat{f}(1),\ldots,\hat{f}(n).

To see why the 2O(n2)2^{O(n^{2})} upper bound follows from Theorem 2.2, observe that each Fourier coefficient of a Boolean function can take on at most O(2n)O(2^{n}) values, because it is an expectation of a random variable taking values in {−1,1}\{-1,1\}, over a 2n2^{n} sample space. Combined with Chow’s Theorem, the number of LTFs on nn variables is at most O(2n)n+1≤2O(n2)O(2^{n})^{n+1}\leq 2^{O(n^{2})}. For a proof, see (for example) O’Donnell and Servedio [OS11], or Knuth ([Knu11], Theorem T) who states the theorem slightly differently (the language of Chow, in fact).

A considerable generalization of Winder’s theorem was given by Roychowdhury, Siu, and Orlitsky:

Let F={f1,…,fs}{\cal F}=\{f_{1},\ldots,f_{s}\} be a fixed collection of functions of the form fi:{0,1}n→{0,1}f_{i}:\{0,1\}^{n}\rightarrow\{0,1\}. Then there are at most (2n+1)s+1(2^{n}+1)^{s+1} distinct functions g:{0,1}n→{0,1}g:\{0,1\}^{n}\rightarrow\{0,1\} of the form

For completeness, we give a short self-contained proof. Our proof builds on Knuth’s elegant proof of Chow’s theorem ([Knu11], Theorem T).

We claim that, if ∣S(g)∣=∣S(h)∣|S(g)|=|S(h)| and Σ(g)=Σ(h)\Sigma(g)=\Sigma(h) for two LTFs gg and hh over the same functions f1,…,fsf_{1},\ldots,f_{s}, then g(f1,…,fs)=h(f1,…,fs)g(f_{1},\ldots,f_{s})=h(f_{1},\ldots,f_{s}) as Boolean functions.

Every depth-two LTF circuit of s+1s+1 gates is uniquely determined by ∣S(g)∣≤2n|S(g)|\leq 2^{n}, Σ(g)\Sigma(g), and the ss LTF gates on the bottom layer. Hence there are at most (2n+1)s+1(2^{n}+1)^{s+1} threshold functions over ss given input functions.

There are at most 2O(n2⋅s)2^{O(n^{2}\cdot s)} distinct depth-two LTF circuits, since there are at most (2n+1)s+1(2^{n}+1)^{s+1} possible choices for the output gate, and 2O(n2s)2^{O(n^{2}s)} choices for the ss LTFs on the bottom layer (by Theorem 2.1).

So let’s prove the claim. Suppose g(f1,…,fs)≠h(f1,…,fs)g(f_{1},\ldots,f_{s})\neq h(f_{1},\ldots,f_{s}) as Boolean functions, but ∣S(g)∣=∣S(h)∣|S(g)|=|S(h)| and Σ(g)=Σ(h)\Sigma(g)=\Sigma(h). Let {y1,…,yk}⊆{0,1}s\{y_{1},\ldots,y_{k}\}\subseteq\{0,1\}^{s} be the set of all points in the image of (f1,…,fs):{0,1}n→{0,1}s(f_{1},\ldots,f_{s}):\{0,1\}^{n}\rightarrow\{0,1\}^{s}, such that g(yi)=1g(y_{i})=1 and h(yi)=0h(y_{i})=0. By definition, {y1,…,yk}=(S(g)∖S(h))\{y_{1},\ldots,y_{k}\}=(S(g)\setminus S(h)). Because ∣S(g)∣=∣S(h)∣|S(g)|=|S(h)|, there must also be exactly kk points z1,…,zkz_{1},\ldots,z_{k} in the image of (f1,…,fs)(f_{1},\ldots,f_{s}) such that g(zi)=0g(z_{i})=0 and H(zi)=1H(z_{i})=1; we therefore have {z1,…,zk}=(S(h)∖S(g))\{z_{1},\ldots,z_{k}\}=(S(h)\setminus S(g)).

Since Σ(g)=Σ(h)\Sigma(g)=\Sigma(h), the total sum of all vectors in S(g)S(g) and S(h)S(h) are the same, so we must have ∑i=1kyi=∑i=1kzi\sum_{i=1}^{k}y_{i}=\sum_{i=1}^{k}z_{i}, where the sum is componentwise.

Suppose the linear function of g(y)g(y) has the form ∑iwiyi\sum_{i}w_{i}y_{i}, and threshold value tt. Let w=(w1,…,ws)w=(w_{1},\ldots,w_{s}). By our definition of yiy_{i} and ziz_{i}, we have ⟨w,yi⟩≥t\langle w,y_{i}\rangle\geq t and ⟨w,zi⟩<t\langle w,z_{i}\rangle<t for all ii. Therefore

This is a contradiction, since ∑i=1kyi=∑i=1kzi\sum_{i=1}^{k}y_{i}=\sum_{i=1}^{k}z_{i} and k>0k>0. ∎

Combining Theorem 2.3 with a simple counting argument, we obtain:

For all sufficiently large nn, a randomly chosen Boolean function on nn variables requires depth-22 linear threshold circuits of size at least Ω(2n/n2)\Omega(2^{n}/n^{2}), with probability 1−o(1)1-o(1).

If we choose a function f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} uniformly at random, the probability it has depth-22 threshold circuits of size ss is at most 2O(n2s)/22n2^{O(n^{2}s)}/2^{2^{n}}, by Theorem 2.3. For s≤o(2n/n2)s\leq o(2^{n}/n^{2}), this probability is 2o(2n)/2n=o(1)2^{o(2^{n})}/2^{n}=o(1).∎

By standard arguments we also have an “inapproximability” refinement of the above corollary:

For all ϵ≫n/2n\epsilon\gg\sqrt{n/2^{n}}, and all but an ϵ\epsilon-fraction of nn-bit Boolean functions ff, there is no depth-22 linear threshold circuit of size s≤o(ε2⋅2n/n2)s\leq o(\varepsilon^{2}\cdot 2^{n}/n^{2}) that agrees with ff on more than a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs.

By Theorem 2.3, the total number of functions computed by such size-ss depth-22 circuits is at most 2o(ϵ22n).2^{o(\epsilon^{2}2^{n})}. For any such circuit, it agrees with a randomly chosen ff on a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs with probability 2−Ω(ϵ22n)2^{-\Omega(\epsilon^{2}2^{n})}, by standard Chernoff bounds. Taking a union bound over our choice of circuits, we conclude that ff does not agree with any size-ss depth-22 threshold circuit on a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs, with probability at least 1−ϵ1-\epsilon. ∎

A Short History of Low-Depth Threshold Lower Bounds.

Hajnal et al. [HMP+93] proved the first size lower bounds for LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits, showing that the inner product modulo 2 (a.k.a. IP2) requires 2Ω(n)2^{\Omega(n)} size when the weights of each LTF are small (polynomial in the input length). This result is often cited as saying that the inner product does not have subexponential-size MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits, as MAJORITY functions can simulate LTFs with polynomial weights. Note that IP2 has MAJ∘MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ}\circ{\sf MAJ} circuits with O(n)O(n) gates, so we cannot use IP2 in our depth-three lower bounds. Nisan [Nis94] elegantly applied communication complexity ideas to extend the exponential lower bound to MAJ∘LTF{\sf MAJ}\circ{\sf LTF} circuits; that is, the lower bound holds even if the weights of the LTFs on the hidden layer are arbitrary. Later, Forster et al. [FKL+01] extended the lower bound to LTF∘MAJ{\sf LTF}\circ{\sf MAJ} circuits, where only the middle (hidden) layer is restricted to have small weights.

In terms of lower bounds for general LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits, only a few results are known. Goldmann, Håstad, and Razborov [GHR92] showed that every LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit can be efficiently simulated by a MAJ∘MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ}\circ{\sf MAJ} circuit, and computing IP2 with LTF∘LTF{\sf LTF}\circ{\sf LTF} requires Ω(n/log⁡n)\Omega(n/\log n) gates. Groeger and G. Turán [GT91, GT93] and Roychowdhury, Orlitsky, and Siu [ROS94a] proved that IP2 has gate complexity Θ(n)\Theta(n) for LTF circuits; their result has no depth restriction. Paturi and Saks [PS90] showed that PARITY requires Ω(n/log⁡2n)\Omega(n/\log^{2}n) gates for MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits. Impagliazzo, Paturi, Saks [IPS93] showed that LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits computing PARITY cannot have o(n3/2)o(n^{3/2}) wires, nor can they have o(n1/2)o(n^{1/2}) gates. (Their proof in fact gives a lower bound for all constant depths, although the bounds get smaller as the depth increases.) In the uniform setting, Allender and Koucky [AK10] have shown that for every dd, there is an ε∈(0,1)\varepsilon\in(0,1) such that the SAT problem cannot be solved by LOGTIME-uniform depth-dd LTF circuits with O(n1+ε)O(n^{1+\varepsilon}) wires. Other more recent work on LTF∘LTF{\sf LTF}\circ{\sf LTF} includes [AM05, HP10, HP13, IPS13, Wil14, CS15].

In all the above cases, no super-linear gate lower bounds were known, and no quadratic wire lower bounds were known, even for LTF∘LTF{\sf LTF}\circ{\sf LTF}. PARITY is well-known to have MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits of O(n)O(n) gates, and we show in Theorem 1.4 that there are always MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits of O(n1/2)O(n^{1/2}) gates and O(n3/2)O(n^{3/2}) wires which agree with PARITY on 99%99\% of the inputs, so it is impossible to extend the lower bounds of [PS90, IPS93] for PARITY in the way we seek (for good reason).

Random Restrictions on Linear Threshold Functions

We are ready to give our main lemma on random restrictions to linear threshold functions. To properly state it, we need to set up some notation. Define a restriction to be a function ρ:[n]→{0,1,⋆}\rho:[n]\rightarrow\{0,1,\star\}. (Such a function is also called a partial assignment.) If P\cal P is a set partition of [n][n], we say that ρ\rho is a random restriction across P\cal P if ρ\rho is obtained by first uniformly randomly choosing a one element eie_{i} of each part of P\cal P, then setting ρ(ei)=⋆\rho(e_{i})=\star for each ii, and setting ρ(j)\rho(j) randomly and independently to either or 11 for all other j∈[n]j\in[n].

A completion of ρ\rho is simply a function τ:[n]→{0,1}\tau:[n]\rightarrow\{0,1\} such that for all ii such that ρ(i)≠⋆\rho(i)\neq\star we have τ(i)=ρ(i)\tau(i)=\rho(i). That is, τ\tau extends the partial assignment ρ\rho to some full assignment on all variables. We say that an LTF f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} is forced to a constant by restriction ρ\rho if there is a c∈{0,1}c\in\{0,1\} such that for all completions τ\tau of ρ\rho, the output of ff on τ\tau always equals cc. That is, ff is “forced to a constant” if ρ\rho has set enough variables of ff that the remaining function is constant. We record the following trivial (but crucial) observation that we can simplify circuits when their gates are forced to constants:

Reminder of Lemma 1.1 Let f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} be a linear threshold function. Let P\cal P be a partition of [n][n] into parts of equal size, and let RP{\cal R}_{\cal P} be the distribution on restrictions ρ:[n]→{0,1,⋆}\rho:[n]\rightarrow\{0,1,\star\} that randomly fixes all but one element of each part of P\cal P. Then

Observe that Lemma 1.1 is essentially tight for the MAJORITY function (the LTF with L(x)=∑i=1nxiL(x)=\sum_{i=1}^{n}x_{i} and t=⌈n/2⌉t=\lceil n/2\rceil). In particular, if we set all but kk inputs of the nn-bit MAJORITY function to uniform random values, the MAJORITY function is not forced to a constant only when the difference between the number of 11’s and the number of ’s is within [−k,k][-k,k]. This occurs with probability ∼\sim k/nk/\sqrt{n} for small kk. (This is just another way of saying that the Littlewood-Offord Lemma is tight for the vector a=(1,…,1)a=(1,\ldots,1).)

(In the first case, ff is forced to ; in the second case, ff is forced to 11.) Therefore, the probability that a random restriction ρ∼RB\rho\sim{\cal R}_{B} does not force ff to a constant is at most the probability that L′(x)L^{\prime}(x) lies in the interval

Note that ∣I∣=∑i∈B∣ai∣|I|=\sum_{i\in B}|a_{i}|, and that we can write II an a union of intervals IiI_{i} with ∣Ii∣=∣ai∣|I_{i}|=|a_{i}|. Therefore, by a union bound we have that

For all i=1,…,ni=1,\ldots,n, define kik_{i} to be the number of j∈[n]j\in[n] such that ∣ai∣≥∣aj∣|a_{i}|\geq|a_{j}|. Observe that

Let us prove this claim. For all i=1,…,ni=1,\ldots,n, define ki′k^{\prime}_{i} to be the number of j∈[n]−Bj\in[n]-B such that ∣ai∣≥∣aj∣|a_{i}|\geq|a_{j}|. By Lemma 2.1, we have for all i=1,…,∣B∣i=1,\ldots,|B| that

Obviously, ki′≤kik^{\prime}_{i}\leq k_{i} for all i∈Bi\in B. To prove (3), we need an inequality in the opposite direction. We consider two cases. First, suppose there is an i∈Bi\in B with at least ki/2k_{i}/2 different j∈Bj\in B satisfying kj≤kik_{j}\leq k_{i}. Then ∑i∈B1/ki≥(ki/2)/ki≫1\sum_{i\in B}1/\sqrt{k_{i}}\geq(k_{i}/2)/\sqrt{k_{i}}\gg 1, and inequality (3) trivially holds in this case. Otherwise, for all i∈Bi\in B, there are at most ki/2k_{i}/2 different j∈Bj\in B with kj≤kik_{j}\leq k_{i}. By (2), this means that ∣ai∣≤∣aj∣|a_{i}|\leq|a_{j}| for at most ki/2k_{i}/2 different jj’s, implying that ki≤ki′+ki/2k_{i}\leq k^{\prime}_{i}+k_{i}/2 for all i∈Bi\in B. So we have ki≤2ki′k_{i}\leq 2k_{i}^{\prime} for all i∈Bi\in B, and

and the inequality (3) holds in this case as well. Therefore

where the last inequality follows by upper bounding the sum with an integral. This completes the proof.

In order to prove our wire lower bounds, we require a version of Lemma 1.1 that yields better results for thresholds that depend on relatively few inputs. Unfortunately, a threshold gate with a single input has only one wire, and yet has a ∣P∣/n|{\cal P}|/n chance of not being forced to be a constant; this is too weak of a bound for us. On the other hand, we know that a gate with only one input always returns just its input or its negation. In particular, even if a gate is not set to a constant by a restriction, we can still replace it by a single wire if its output depends on only one of the remaining inputs. In terms of this event, we can prove a much better probability bound.

For a random restriction ρ\rho and LTF ff, we say that f(x1,…,xn)f(x_{1},\ldots,x_{n}) is forced to a function of a single input by ρ\rho if there is an i∈[n]i\in[n] such that for all completions τ\tau of ρ\rho, the output of ff on τ\tau depends only on the variable xix_{i} or is a fixed constant.

Let f:{0,1}n→{0,1}f:\{0,1\}^{n}\rightarrow\{0,1\} be a linear threshold function that depends on only ww of its inputs. Let P\cal P be a partition of [n][n] into parts of equal size, and let RP{\cal R}_{\cal P} be the distribution on restrictions ρ:[n]→{0,1,⋆}\rho:[n]\rightarrow\{0,1,\star\} that randomly fixes all but one element of each part of P\cal P. Then

Let SS be the set of inputs on which ff depends. Define kik_{i} for i∈Si\in S as in the proof of Lemma 1.1. Suppose we have a random restriction ρ\rho that fixes all input variables except those in B⊂[n]B\subset[n].

We want to upper bound the probability that ρ\rho does not fix ff to a function of a single input. In order for this to happen it must be that ∣B∩S∣≥2|B\cap S|\geq 2, for otherwise the restriction of ff depends only on the coordinates in S∩BS\cap B. Furthermore, this event happens with probability at most ∑i∈B∩SO(1/ki)\sum_{i\in B\cap S}O(1/\sqrt{k_{i}}), by Equation (3). Therefore, the probability that ff is not fixed to a function of a single input is

Tight Upper and Lower Bounds for Approximately Computing PARITY

We begin with the upper and lower bounds for computing PARITY with LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits, since the lower bounds here are the easiest example of what our Random Restriction Lemmas can do.

Reminder of Theorem 1.4 The gate complexity of MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuits that agree with PARITY on 99%99\% of all nn-bit inputs is Θ(n)\Theta(\sqrt{n}). The wire complexity is Θ(n3/2)\Theta(n^{3/2}). The lower bounds hold even for LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits.

(Upper bound) We produce an explicit construction. Let Lk=⟦∑i=1nxi≥k⟧L_{k}=\llbracket\sum_{i=1}^{n}x_{i}\geq k\rrbracket be the output of a “threshold-at-least-kk” gate over its nn inputs. Observe that Lk−Lk+1L_{k}-L_{k+1} is the 0/1 indicator function of the exact threshold function ∑i=1nxi=k\sum_{i=1}^{n}x_{i}=k.

Let c>0c>0 be sufficiently large in the following. We construct the top gate of our depth-two circuit to compute the threshold function defined by

This function agrees with parity as long as n/2−cn≤∑i=1nxi≤n/2+cnn/2-c\sqrt{n}\leq\sum_{i=1}^{n}x_{i}\leq n/2+c\sqrt{n}, and for a sufficiently large c>0c>0, this happens on 99%99\% of all inputs. This circuit obviously uses O(n)O(\sqrt{n}) gates and O(n3/2)O(n^{3/2}) wires.

(Lower Bound) We begin with the observation (originally due to Minsky and Papert [MP69]) that a single LTF{\sf LTF} with two inputs cannot approximate PARITY on more than 75%75\% of its inputs. Therefore, for every LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit CC that approximates PARITY on 99%99\% of all nn-bit inputs, if CC is randomly restricted on all but two unassigned inputs, then the restricted circuit C′{C}^{\prime} cannot be equivalent to a single LTF{\sf LTF} with more than 10%10\% probability. On the other hand, the circuit C′{C}^{\prime} will be equivalent to a single LTF{\sf LTF} gate, unless at least one of the bottom level gates of C′{C}^{\prime} is not forced to a function on one input: that is, at least one gate on the bottom layer is neither a projection of one input, nor is it a constant function. Call a gate “trivial” if is forced to a function on one input. Observe that a trivial gate can always be replaced by a single wire, or a constant.

So let CC be a depth-22 LTF{\sf LTF} circuit with ss gates and ww wires that agrees with PARITY on at least 99%99\% of the nn-bit inputs. Let P{\cal P} be a partition of [n][n] into two equally sized subsets. Suppose we choose a random restriction ρ\rho from RP{\cal R}_{\cal P} on the inputs of CC, resulting in a restricted circuit C′C^{\prime} on two inputs. Our Random Restriction Lemmas 1.1 and 3.1 show that the number of non-trivial bottom level gates of CC is, in expectation,

If either s≪ns\ll\sqrt{n} or w≪n3/2w\ll n^{3/2}, then by Markov’s inequality, there are no non-trivial gates on the bottom layer with probability at least 50%50\%. That is, on at least half of the possible random restrictions, the remaining circuit C′C^{\prime} on two inputs is equivalent to a single LTF{\sf LTF} gate, and hence C′C^{\prime} does not compute PARITY correctly on more than 75%75\% of its inputs. By the previous paragraph, it follows that CC does not compute PARITY correctly on 99%99\% of the inputs. ∎

Depth-Two Lower Bounds for the Andreev Function

The strategy for our depth-two lower bounds for AnA_{n} has a similar structure to the known Boolean formula lower bound proofs for AnA_{n}: hit the function AnA_{n} (and a circuit CC that supposedly computes it) with a random restriction of an appropriately controlled form, so that the 2k2^{k}-bit input xx of AnA_{n} is assigned a uniform random value, and from each block ii there is one ai,ja_{i,j} that is left unset. The remainder implements a function on kk bits, whose truth table is given by xx. When xx is chosen uniformly at random, we are implementing a random kk-bit function and can use our depth-two lower bounds for random functions (Corollaries 2.1 and 2.2) to argue that the number of gates left in CC must be somewhat large: at least Ω(2k/k2)=Ω(n/log⁡2n)\Omega(2^{k}/k^{2})=\Omega(n/\log^{2}n). However, if the original CC began with a small enough number of gates, the Random Restriction Lemmas tell us that we should expect the random restriction to CC to force many bottom-layer gates to constants (and kill many wires in CC). Setting the parameters appropriately yields a contradiction.

Reminder of Theorem 1.1 Any function ff that agrees with AnA_{n} on at least a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs for some ϵ≫log⁡(n)/n\epsilon\gg\sqrt{\log(n)/n} cannot be computed by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits with fewer than Ω(ϵ3n3/2/log⁡3(n))\Omega(\epsilon^{3}n^{3/2}/\log^{3}(n)) gates or fewer than Ω(ϵ3n5/2/log⁡7/2(n))\Omega(\epsilon^{3}n^{5/2}/\log^{7/2}(n)) wires.

Recall that AnA_{n} has inputs x∈{0,1}n/2x\in\{0,1\}^{n/2}, and ai,j∈{0,1}a_{i,j}\in\{0,1\}, with i=1,…,ki=1,\ldots,k and j=1,…,2k/kj=1,\ldots,2^{k}/k, where k:=⌊log⁡2(n)⌋k:=\lfloor\log_{2}(n)\rfloor. Let CC be a LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit with s≤cϵ3n3/2/log⁡3(n)s\leq c\epsilon^{3}n^{3/2}/\log^{3}(n) gates or fewer than w≤cϵ3n5/2/log⁡7/2(n)w\leq c\epsilon^{3}n^{5/2}/\log^{7/2}(n) wires for a sufficiently small constant c>0c>0. By Corollary 2.2 there exists a c′>0c^{\prime}>0 so that with probability at least 1−ϵ/31-\epsilon/3 a random function ff on ⌊log⁡2(n/2)⌋\lfloor\log_{2}(n/2)\rfloor bits does not agree on a (1/2+ϵ/3)(1/2+\epsilon/3)-fraction of inputs with any LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit with fewer than c′ϵ2n/log⁡2(n)c^{\prime}\epsilon^{2}n/\log^{2}(n) bottom level gates. We claim that if a random choice of xx corresponds to the truth table of such a function ff (and it will, with probability at least 1−ϵ/31-\epsilon/3), then the probability over the remaining bits that CC agrees with AnA_{n} is at most 1/2+2ϵ/31/2+2\epsilon/3.

Consider fixing the bits of input to the coordinates corresponding to xx to such an ff. Let P\cal P be the partition of the remaining n/2n/2 bits of input into the kk subsets {ai,1,ai,2,…,ai,2k/k}\{a_{i,1},a_{i,2},\ldots,a_{i,2^{k}/k}\}. Let ρ\rho be a random restriction from RP{\cal R}_{\cal P}. By Lemmas 1.1 and 3.1, every linear threshold function gg on n/2n/2 bits is forced to a constant by ρ\rho with probability at least 1−O(∣P∣/n)=1−O(log⁡(n)/n)1-O(|{\cal P}|/\sqrt{n})=1-O(\log(n)/\sqrt{n}) and every gate with uu wires is forced to a function of a single input with probability at least 1−O(u∣P∣3/2/n3/2)=1−O(ulog⁡3/2(n)/n3/2)1-O(u|{\cal P}|^{3/2}/n^{3/2})=1-O(u\log^{3/2}(n)/n^{3/2}). Therefore, in either case, the expected number of bottom level gates in CC not forced to constants by ρ\rho is at most most c′ϵ3n/(3log⁡2(n))c^{\prime}\epsilon^{3}n/(3\log^{2}(n)) (assuming cc was sufficiently small).

Therefore, by Markov’s inequality, with probability at least 1−ϵ/31-\epsilon/3 we have that when CC is restricted by ρ\rho, all but c′ϵ2n/log⁡2(n)c^{\prime}\epsilon^{2}n/\log^{2}(n) of the bottom level gates of CC are forced to functions of single inputs. In this case, CC is equivalent to a LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit with at most c′ϵ2n/log⁡2(n)c^{\prime}\epsilon^{2}n/\log^{2}(n) gates. On the other hand, the restriction of AnA_{n} to ρ\rho is merely the function f(y1,y2,…,yk)f(y_{1},y_{2},\ldots,y_{k}), where each (yi=∑jai,j mod 2)(y_{i}=\sum_{j}a_{i,j}\bmod 2) equals either one of the kk unassigned variables, or its negation. (Note that negations of variables cannot change the circuit size: negations can easily be accommodated in the threshold gates.) Since by assumption the function ff does not agree with any LTF∘LTF{\sf LTF}\circ{\sf LTF} of size c′ϵ2n/log⁡2(n)c^{\prime}\epsilon^{2}n/\log^{2}(n) on more than a (1/2+ϵ/3)(1/2+\epsilon/3)-fraction of inputs, we find for those values of ff and ρ\rho that

From the above lower bounds, it is straightforward to conclude depth-three lower bounds for Andreev’s function with an Approximate Majority gate at the top.

Say that a Boolean function ff is computed by an ϵ\epsilon-Approximate Majority of LTF∘LTF{\sf LTF}\circ{\sf LTF} if there is a collection of LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits such that, for every input xx, at least a 1/2+ε1/2+\varepsilon fraction of circuits in the collection output the value f(x)f(x). The following is an easy corollary of our depth-two threshold lower bounds for Andreev’s function:

Reminder of Corollary 1.1 Every ϵ\epsilon-Approximate Majority of LTF∘LTF{\sf LTF}\circ{\sf LTF} for AnA_{n} needs at least Ω(ϵ3n3/2/log⁡3(n))\Omega(\epsilon^{3}n^{3/2}/\log^{3}(n)) gates and Ω(ε3n5/2/log⁡7/2n)\Omega(\varepsilon^{3}n^{5/2}/\log^{7/2}n) wires.

Let C={C1,…,Ct}{\cal C}=\{C_{1},\ldots,C_{t}\} be a collection of LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits such that on every input xx, at least (1/2+ε)t(1/2+\varepsilon)t of the circuits in C{\cal C} agree with Andreev’s function on xx. Assuming the entire collection C{\cal C} has o(ϵ3n3/2/log⁡3(n))o(\epsilon^{3}n^{3/2}/\log^{3}(n)) total gates, it follows that every CiC_{i} has o(ϵ3n3/2/log⁡3(n))o(\epsilon^{3}n^{3/2}/\log^{3}(n)) gates (we cannot expect to do much better here, since the CiC_{i}’s could share almost all of their gates and wires). Let x1,…,x2nx_{1},\ldots,x_{2^{n}} be a list of all nn-bit strings, and form a t×2nt\times 2^{n} Boolean matrix MM where M(i,j)=1M(i,j)=1 if and only if Ci(xj)C_{i}(x_{j}) equals Andreev’s function on xx. By Theorem 1.1, each row of MM contains less than a (1/2+ε)(1/2+\varepsilon)-fraction of ones, so the entire matrix has less than a (1/2+ε)(1/2+\varepsilon)-fraction of ones. However, every column of MM contains at least a (1/2+ε)(1/2+\varepsilon)-fraction of ones, because for every input xx, at least (1/2+ε)(1/2+\varepsilon) of the circuits in C{\cal C} correctly compute Andreev’s function on xx. It follows that the entire matrix has at least a (1/2+ε)(1/2+\varepsilon)-fraction of ones; this is a contradiction. An analogous argument works for wires, too. ∎

It follows (for example) that Andreev’s function has no TC30{\sf TC}^{0}_{3} circuit of O(n1.1)O(n^{1.1}) gates where the output gate has fan-in o(n2/15)o(n^{2/15}).

2 Small Circuits for Andreev’s Function

We cannot expect to prove much stronger lower bounds for AnA_{n}, as there are nice circuit constructions for the function. In particular, we cannot hope to achieve super-linear gate lower bounds for TC30{\sf TC}^{0}_{3} using AnA_{n}:

Reminder of Theorem 1.2 The function AnA_{n} has (uniform) depth-3 TC0{\sf TC}^{0} circuits of O(n)O(n) gatesRecall that a TC0{\sf TC}^{0} circuit is composed of MAJORITY gates with negations., (uniform) LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits of O(n3/log⁡n)O(n^{3}/\log n) gates, parity decision trees of depth at most log⁡2(n)\log_{2}(n), and (uniform) MOD3∘MOD2{\sf MOD3}\circ{\sf MOD2} circuits of size O(n2)O(n^{2}).

(Sketch) In all below constructions, we use the fact that Andreev’s function AnA_{n} can be represented straightforwardly as an OR of n/2n/2 ANDs of O(log⁡n)O(\log n) parities over O(n/log⁡n)O(n/\log n) variables, where over the entire circuit there are only O(log⁡n)O(\log n) total parity gates.

1. First, since MAJORITY (a.k.a. MAJ) can simulate AND, we can replace the OR of AND part in the above circuit for AnA_{n} with an OR of MAJ; this part has O(n)O(n) gates. Each of the O(log⁡n)O(\log n) different parity functions on O(n/log⁡n)O(n/\log n) variables can be computed with a LTF∘MAJ{\sf LTF}\circ{\sf MAJ} circuit of O(n/log⁡n)O(n/\log n) gates, where the weights of the LTF gate are at most polynomial in nn, and the sum computed in the top LTF gate always equals either 11 or −1-1 (indeed, this is true for any symmetric function; see Proposition 1 in [HMP+93]). Given that these LTFs have this property, we can simply “merge” the top part computing an OR-MAJ with the O(log⁡n)O(\log n) LTF∘MAJ{\sf LTF}\circ{\sf MAJ} circuits computing the bottom part, resulting in an OR of MAJ∘MAJ{\sf MAJ}\circ{\sf MAJ} circuit of O(n)O(n) total gates.

2. Each of the O(log⁡n)O(\log n)-fan-in ANDs in the above circuit for AnA_{n} can be computed by a weighted sum of nn parities, using the Fourier representation of the O(log⁡n)O(\log n)-bit AND function. The OR of O(n)O(n) of these weighted sums can be easily written as an LTF of O(n2/log⁡n)O(n^{2}/\log n) parities on O(n)O(n) variables. From the previous paragraph, each of these parities can replaced by an LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit of O(n)O(n) gates. The sums computed in the top LTF gates are either 11 or −1-1, so these outputs can be composed with the top LTF gate (as in part 1), resulting in an LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit of O(n3/log⁡n)O(n^{3}/\log n) gates.

3. In log⁡2(n/2)\log_{2}(n/2) depth (and n/2n/2 leaves), we can compute each of the log⁡2(n/2)\log_{2}(n/2) parities of AnA_{n} one by one, then output the appropriate bit of the multiplexer function with one more layer of depth.

Depth-Three Lower Bounds

We now turn to proving lower bounds against MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuits computing an explicit function. We begin with the observation that an s(n)s(n)-size MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuit necessarily has Ω(1/s(n))\Omega(1/s(n)) correlation with at least one of the LTF∘LTF{\sf LTF}\circ{\sf LTF} subcircuits. Therefore, it would suffice to find a function which is not (1/2+1/poly(n))(1/2+1/\text{poly}(n))-approximable by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits of small size. Unfortunately, Andreev’s function is not sufficient for these purposes; it has correlation Ω(1/n)\Omega(1/\sqrt{n}) with the majority over the bits corresponding to xx; the problem is essentially that typical log⁡2(n)\log_{2}(n)-bit functions have correlations on the order of 1/n1/\sqrt{n} with each other. (This is of course to be expected, since Andreev is in linear-size TC30{\sf TC}^{0}_{3}.)

To overcome this issue, we need to change our hard function. We have to use the n/2n/2 bits xx of AnA_{n} to encode a set of functions on more than log⁡2(n)\log_{2}(n) bits that all have low correlation with each other. We will make use of the following construction:

Alon et al. ([AGHP92], Section 4) show how to efficiently construct an (ε′)(\varepsilon^{\prime})-biased set S⊆{0,1}tS\subseteq\{0,1\}^{t} such that ∣S∣=ct2/(ε′)2|S|=ct^{2}/(\varepsilon^{\prime})^{2} for some constant c>0c>0. Setting m=ct2/(ε′)2m=ct^{2}/(\varepsilon^{\prime})^{2} means that ε′=ct/m\varepsilon^{\prime}=\sqrt{c}t/\sqrt{m}; we will set ε=ε′/c\varepsilon=\varepsilon^{\prime}/\sqrt{c}. The (ε′)(\varepsilon^{\prime})-biased property means that for every non-zero vector v∈{0,1}tv\in\{0,1\}^{t},

Let mm be a power of two, and let n≤mn\leq\sqrt{m} be a positive integer. There is a function F:{0,1}log⁡2(m)×{0,1}n→{0,1}F:\{0,1\}^{\log_{2}(m)}\times\{0,1\}^{n}\rightarrow\{0,1\} computable in time poly(m,n)\text{poly}(m,n) so that for any strings x,y∈{0,1}nx,y\in\{0,1\}^{n} with x≠yx\neq y we have F(z,x)=F(z,y)F(z,x)=F(z,y) for a (1/2+O(ϵ))(1/2+O(\epsilon))-fraction of log⁡2(m)\log_{2}(m)-bit strings zz, where ϵ=n/m.\epsilon=n/\sqrt{m}.

Just to foreshadow a bit, note that in the construction of our final hard function we will choose mm to be a power of two that is roughly n16n^{16}, so the value of ε\varepsilon will be about 1/n71/n^{7}.

Ranging over all possible inputs xx, the function FF above produces many strings of length mm that are nearly uncorrelated with each other. We next prove the somewhat coding-theoretic claim that no particular string can be well-correlated with many of them. Let the relative Hamming distance rh(x,y)rh(x,y) of xx and yy be the fraction of bit positions in which xx and yy agree.

Let S\cal S be a collection of mm-bit strings, any two of which have relative Hamming distance 1/2+Ω(ϵ)1/2+\Omega(\epsilon). Then for any other mm-bit string TT, there are at most O(ϵ−1)O(\epsilon^{-1}) elements S∈SS\in\cal S such that ∣rh(T,S)−1/2∣>Ω(ϵ1/2)|rh(T,S)-1/2|>\Omega(\epsilon^{1/2}).

Suppose for sake of contradiction that this is not the case. Then for a sufficiently large constant C>0C>0, there are S1,S2,…,St∈SS_{1},S_{2},\ldots,S_{t}\in{\cal S} with t=Cϵ−1t=C\epsilon^{-1}, and an mm-bit TT satisfying rh(Si,T)≤1/2−Cϵrh(S_{i},T)\leq 1/2-C\sqrt{\epsilon} for all ii. For notational convenience, set S0:=TS_{0}:=T, and construe S0,…,StS_{0},\ldots,S_{t} vectors in {±1}m\{\pm 1\}^{m} rather than {0,1}m\{0,1\}^{m}. Consider the (t+1)×(t+1)(t+1)\times(t+1) Gram matrix GG, defined for all i,j=0,…,ti,j=0,\ldots,t as G[i,j]=⟨Si,Sj⟩/mG[i,j]=\langle S_{i},S_{j}\rangle/m. Note that

G[0,i]≥CϵG[0,i]\geq C\sqrt{\epsilon} for all ii, and

∣G[i,j]∣≤O(ϵ)|G[i,j]|\leq O(\epsilon) for all i≠ji\neq j, i,j>0i,j>0.

Now define the vector v=(C2ϵ−1/2,−1,−1,…,−1)v=(C^{2}\epsilon^{-1/2},-1,-1,\ldots,-1). Observe that

which contradicts the fact that GG is positive semi-definite. ∎

Lemma 6.1 implies that no mm-bit string TT can have large correlation with F(−,x)F(-,x) for very many strings xx. Using the fact that there are relatively few distinct functions computable by small depth-two threshold circuits, we can prove that there must be a string xx that agrees with none of them.

For integers nn and mm with mm a power of 22 and m<2n/2m<2^{n/2}, define FF as in Corollary 6.1. There is an x∈{0,1}nx\in\{0,1\}^{n} so that, for all log⁡2(m)\log_{2}(m)-bit functions implementable with LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits CC having o(n/log⁡2n)o(n/\log^{2}n) gates, C(z){C}(z) agrees with F(z,x)F(z,x) on at most a (1/2+ϵ)(1/2+\epsilon) fraction of log⁡2(m)\log_{2}(m)-bit strings zz, where ϵ=O(n1/2)/m1/4\epsilon=O(n^{1/2})/m^{1/4}.

By Lemma 6.1 and Corollary 6.1, every such circuit CC agrees with F(z,x)F(z,x) on more than a (1/2+ϵ)(1/2+\epsilon)-fraction of zz’s, for at most O(m)O(m) values of xx. By Theorem 2.3, there are only 2o(n)2^{o(n)} distinct functions computed by circuits of o(n/log⁡2n)o(n/\log^{2}n) gates. Therefore there are at most m2o(n)m2^{o(n)} strings xx so that F(−,x)F(-,x) is (1/2+ε)(1/2+\varepsilon)-approximated by some such circuit. Since this is less than the total number of nn-bit strings, there must be some x∈{0,1}nx\in\{0,1\}^{n} so that F(−,x)F(-,x) is not (1/2+ε)(1/2+\varepsilon)-approximated by any LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit of o(n/log⁡2n)o(n/\log^{2}n) gates. ∎

We now introduce our hard function for TC30{\sf TC}^{0}_{3}. It is essentially Andreev’s function, but with our FF in place of the multiplexer. Earlier, we showed that plugging in a hard function in the xx-input of the multiplexer yields a function that is hard to compute by LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits (thus giving our lower bound of Theorem 1.1). Now, we want to show that plugging in the “correct” input to FF yields a function that is hard to even weakly approximate. Morally speaking, this should produce a function that has less than 1/poly(n)1/\text{poly}(n) correlation with every small LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit. Unfortunately, although the intuition of this latter claim breaks down when trying to prove it, the intuition is true enough to yield a MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} lower bound.

For integers k ∣ nk~{}|~{}n, define the 2n2n-bit function Bn,k(x,a):=F(z,x)B_{n,k}(x,a):=F(z,x), where x,a∈{0,1}nx,a\in\{0,1\}^{n}, and z∈{0,1}kz\in\{0,1\}^{k} is defined by zi=∑j=(n/k)(i−1)+1(n/k)iaj(mod2)z_{i}=\sum_{j=(n/k)(i-1)+1}^{(n/k)i}a_{j}\pmod{2}.

Reminder of Theorem 1.3 There is no MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuit of o(n3/2/log⁡3n)o(n^{3/2}/\log^{3}n) gates or o(n5/2/log⁡7/2n)o(n^{5/2}/\log^{7/2}n) wires that computes BnB_{n}.

Let k=16log⁡2nk=16\log_{2}n in the following; for convenience we will state lower bounds for Bn,kB_{n,k} in terms of both nn and kk. We assume for sake of contradiction that there is some MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuit CC computing Bn,kB_{n,k}, with either s=o(n3/2/(klog⁡2(n)))s=o(n^{3/2}/(k\log^{2}(n))) gates or w=o(n5/2/(k3/2log⁡2(n)))w=o(n^{5/2}/(k^{3/2}\log^{2}(n))) wires.

We set the input xx in Bn,k(x,a)B_{n,k}(x,a) to correspond to one of the “bad” strings guaranteed by Corollary 6.2. In particular, no LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit with kk inputs and fewer than cn/log⁡2(n)cn/\log^{2}(n) gates agrees with the kk-input function F(−,x)F(-,x) on more than a (1/2+O(n1/22−k/4))(1/2+O(n^{1/2}2^{-k/4}))-fraction of inputs, for some sufficiently small c>0c>0. Note that n1/2/2k/4≪n−3n^{1/2}/2^{k/4}\ll n^{-3} by our choice of kk.

Next, let P\cal P be the partition of the remaining nn bits of input into sets of the form {ai(n/k)+1,…,a(i+1)(n/k)}\{a_{i(n/k)+1},\ldots,a_{(i+1)(n/k)}\} for 0≤i≤k−10\leq i\leq k-1. By Lemmas 1.1 and 3.1, a random restriction from RP{\cal R}_{\cal P} has the effect that each bottom level gate has probability O(k/n)O(k/\sqrt{n}) of not being fixed by the restriction, and each bottom level gate with uu wires leading into it has probability O(uk3/2/n3/2)O(uk^{3/2}/n^{3/2}) of not being fixed to a function of a single input. Therefore, there is some restriction ρ\rho in this family that leaves at most O(sk/n)=o(n/log⁡2(n))O(sk/\sqrt{n})=o(n/\log^{2}(n)) or O(wk3/2/n3/2)=o(n/log⁡2(n))O(wk^{3/2}/n^{3/2})=o(n/\log^{2}(n)) bottom level gates which depend non-trivially on more than one input. In either case this is o(n/log⁡2(n))o(n/\log^{2}(n)).

Upon making the restriction ρ\rho, the function Bn,kB_{n,k} on the remaining kk bits is equivalent to the function z↦F(z,x)z\mapsto F(z,x), after possibly negating some of the inputs (note these negations cannot change the circuit size). Our circuit CC after the restriction ρ\rho is equivalent to a MAJ∘LTF∘LTF{\sf MAJ}\circ{\sf LTF}\circ{\sf LTF} circuit with o(n/log⁡2(n))o(n/\log^{2}(n)) bottom-layer gates and o(n5/2)o(n^{5/2}) middle-layer gates. As the middle-layer gates correspond to LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits with o(n/log⁡2(n))o(n/\log^{2}(n)) gates, each of their outputs have correlation at most O(n1/22−k/4)≪n−3O(n^{1/2}2^{-k/4})\ll n^{-3} with the output of Bn,kB_{n,k}. However, this means that all of the inputs to the top level majority gate have a o(1/s)o(1/s) correlation with Bn,kB_{n,k}, and thus CC and Bn,kB_{n,k} must disagree on some input. This is a contradiction. ∎

Although the above proof suggests that Bn,kB_{n,k} disagrees with every small LTF∘LTF{\sf LTF}\circ{\sf LTF} circuit on more than a (1/2+ϵ)(1/2+\epsilon)-fraction of inputs for ϵ=n−ω(1)\epsilon=n^{-\omega(1)}, the reader should note carefully that we do not do this, and we are unable to prove this. (What we prove is that, after an appropriate restriction, the remaining LTF∘LTF{\sf LTF}\circ{\sf LTF} subcircuits have low correlation with the remaining subfunction of BnB_{n}.) This is because there is always a probability of Ω(1/n)\Omega(1/\sqrt{n}) that no bottom-level gates in our circuit are simplified after restriction, and that CC agrees with BnB_{n} on all inputs consistent with such restrictions. Therefore, our approach will be insufficient to prove such a correlation bound, for any ϵ<1/n\epsilon<1/\sqrt{n}.

Conclusion

We conclude with some open questions around linear threshold circuits that appear tractable.

Can one obtain asymptotically tight results for computing AnA_{n} or our function BnB_{n} with low-depth threshold circuits? Can average-case lower bounds be proved with ε≤1/nω(1)\varepsilon\leq 1/n^{\omega(1)}, e.g. if we look at functions in TIME[2O(n)]{\sf TIME}[2^{O(n)}]?

Are there polynomial-size LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits for the function IP2? Many previous lower bounds on threshold circuits show that IP2 is hard; it is known that LTF∘MAJ{\sf LTF}\circ{\sf MAJ} and MAJ∘LTF{\sf MAJ}\circ{\sf LTF} circuits require exponential size to compute IP2. Amano and Maruoka [AM05] point out that any answer to this question, yes or no, would imply new separations of some threshold circuit classes.

Is there a faster satisfiability algorithm for O(n)O(n)-gate LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits? Several recent theoretical SAT algorithms are built from lower bound techniques [San10, ST13, CKS14, AWY15, CKK+15]. Currently, non-trivial SAT algorithms are known only for slightly superlinearly many wires [IPS13]. Related to this, it would be interesting if one can prove a “concentration” version of our random restriction lemma, where the number of gates remaining is tightly concentrated around the expectation.

The second author [Wil14] has shown that LTF∘LTF{\sf LTF}\circ{\sf LTF} circuits with 2poly(n)2^{\text{poly}(n)} weights and 2δn2^{\delta n} gates (for some fixed δ>0\delta>0) can be evaluated on all 2n2^{n} Boolean assignments in 2n⋅poly(n)2^{n}\cdot\text{poly}(n) time. Can this fast evaluation algorithm be used to prove an exponential gate lower bound?

References