Quasi-polynomial Hitting-set for Set-depth-Delta Formulas
Manindra Agrawal, Chandan Saha, Nitin Saxena
Introduction
Polynomial identity testing (PIT) - the algorithmic question of examining if a given arithmetic circuit computes an identically zero polynomial - has received some attention in the recent times, primarily due to its close connection to circuit lower bounds. It is now known that a complete (blackbox) derandomization of PIT for depth- formulas, via a particular kind of pseudorandom generators, implies (an algebraic analogue of the much coveted result: ). It is also known that , which amounts to proving exponential circuit lower bounds, must necessarily be shown before proving ([Val79, SV85]). Blackbox identity testing (equivalently, the problem of designing hitting-set generators), being a promising approach to proving lower bounds, naturally calls for a closer examination. Towards this, some progress has been made in the form of polynomial time hitting set generators for the following models:
depth- formulas with bounded top fanin [ASSS12, SS11],
depth- (bounded depth) constant-occur formulas [ASSS12],
and a quasi-polynomial time hitting-set generator for
multilinear constant-read formulas [AvMV11],
among some others (refer to the surveys [SY10, Sax09, AS09]). The hope is, by studying these special but interesting models we might develop a deeper understanding of the nature of hitting sets and thereby get a clue as to what techniques can be lifted to solve PIT in general (i.e. for depth- formulas). One such potentially effective technique is the study of partial derivatives of formulas.
Despite the apparent difference between the approaches of [ASSS12] and [AvMV11], at a finer level they share a common ingredient - the use of partial derivatives. The partial derivative based method was introduced in the seminal paper by Nisan and Wigderson [NW97] for proving circuit lower bounds, and since then it has been successfully applied (with more sophistications) to prove various interesting results on lower bounds, identity testing and reconstruction of circuits [ASSS12, AvMV11, GKQ12, GKKS12] (refer to the surveys [SY10, CKW11] for much more).
Indeed, we prove that the above intuition is true for the class of set-depth- formulas (precisely defined in Section 1.1) - a highly interesting class capturing many other previously studied models (see Section 1.1), including set-multilinear depth- circuits.
Set-multilinear depth- circuits: A circuit is called a set-multilinear depth- circuit if is a partition of the variable indices and is a linear polynomial in the variables i.e. the set of variables corresponding to the partition . The set-multilinear depth- model, first defined by [NW97], kicked off a flurry of activity. Though innocent-looking, it has led researchers to various arithmetic inventions – the partial derivative method for circuit lower bounds [NW97], noncommutative whitebox PIT [RS05], the relationship between tensor-rank and super-polynomial circuit lower bounds [Raz10], hitting-set for tensors, low-rank recovery of matrices, rank-metric codes [FS12], and reconstruction (or learnability) of circuits [KS06]. Although, an exponential lower bound for set-multilinear depth- circuits is known [NW97, RY09], the closely associated problem of efficient blackbox identity testing on this model remained an open question, until this work.
Our contribution: Hitting set for set-depth- formulas - A whitebox deterministic polynomial time identity test for set-depth- follows from the noncommutative PIT results [RS05]. We are interested in blackbox PIT and, naturally, we cannot see inside and the underlying partitions of . The only information we have is the circuit-size bound, . To our knowledge, there was no sub-exponential time hitting-set known for the set-depth- model. Our work improves this situation to quasi-polynomial for any underlying field (refer Theorem 1). We remark that even the very special case of set-multilinear depth- circuits had no sub-exponential hitting-set known (see [SY10, Problem 27]); closest being the recent result of [FS12] where they give a quasi-polynomial hitting-set for tensors, i.e. the knowledge of the sets is required.
Furthermore, set-depth- covers other well-studied models - diagonal circuits [Sax08] & semi-diagonal circuits [SSS12] - that had whitebox identity tests but no blackbox sub-exponential PIT were known. For these (and set-multilinear depth-), our hitting-set has time complexity , although, for general set-depth- it requires .
Depth- formulas being the ultimate frontier for PIT (and lower bounds) [AV08], one might wonder about the utility of our result on hitting-set for set-depth- formulas beyond . It turns out that there is an interesting connection: We show that a quasi-polynomial hitting set generator for set-depth- formulas implies a quasi-polynomial hitting set generator for depth- formulas of the form , where defines a partition on and are linear polynomials. Since arbitrary powers are allowed, the above depth- model is stronger than set-multilinear depth- formulas (as there is no restriction of multilinearity). This appears to be temptingly close to the general depth- model modulo the partition on variables, and provides us with a good motivation to understand the strength of our approach against depth- formulas.
Technical novelty of our approach - As mentioned before, many works have looked at the partial derivatives of a formula and related matrices, e.g. the Jacobian [ASSS12, BMS11]. From a geometric viewpoint, the study via derivatives shifts the variables by an infinitesimal amount and hopes to discover interesting structure. We take a more radical approach; we shift the circuit by formal variables and look at how the circuit changes by considering a transfer matrix . The transfer matrix originates from the study of a formula with field coefficients via a simpler one having Hadamard algebra coefficients. This makes the transfer process more amenable to an attack using matrices and linear algebra; proving properties that are vaguely reminiscent of the case of top-fanin .
The main technicality lies in proving the invertibility of a transfer matrix, which is an exponential-sized matrix. Some of the arguments here are combinatorial in nature involving greedy and binary-search paradigms.
Although, Hadamard algebra is implicit in the whitebox identity test of [RS05] and the study of PIT over commutative algebras of [SSS09] (Theorem in [SSS09]), the novelty of our approach lies in understanding the effect of shift by viewing it through the lens of Hadamard algebra, and thereby observing the remarkable phenomenon of low-support rank concentration, which in turn implies that a low-support monomial survives after shifting.
We say that is a set-depth- formula if for every -th -layer in , there exists a partition of variable indices that the product gates of the -th -layer respect. In other words, for every the -th product gate in the -th -layer computes a polynomial of the form , where each is a set-depth- formula of height on the variable set . If then the product gates of the -th -layer are allowed to compute arbitrary monomials, i.e. here the -th -layer need not respect any partition of the variables.
We will also refer to as a set-height- formula. Size of , denoted by or , is the number of gates (including the input gates) in .
Remarks. 1. For blackbox PIT of set-multilinear depth- formulas this gives a quasi-polynomial time complexity of - this is the first sub-exponential time algorithm. 2. For constants the formula may not be multilinear, though the hitting-set remains quasi-polynomial. The time complexity remains sub-exponential up to , for a fixed constant .
An interesting model that is not set-depth- but still Theorem 1 could be applied is - semi-diagonal formula. The reason being the duality transformation [Sax08, SSS12] that helps us view it as a set-depth- formula. We recall - a depth- () formula is semi-diagonal if, for all , its -th (top) product-gate computes a polynomial of the form , where is a monomial, is a sum of univariate polynomials, and is a constant. We give two applications, with similar proofs but, for different looking formulas.
2. Organization
We develop an extensive terminology in Section 2, which would be useful later. This section also shows the proof idea at work for the example case of diagonal circuits. Section 3 proves the first structural property - a small shift ensures low-block-support rank-concentration in a product of polynomials, that have disjoint variables and only low-weight monomials. Starting with this as a base case, Section 4 proves the second structural property - a small shift ensures low-support rank-concentration in set-depth- formulas (thus, achieving the presence of a low-support monomial). Finally, the proofs of our main results (or hitting-sets) are completed in Section 5.
The basics
For an -variate polynomial , of degree bound and monomial-weight , we have .
2. Hadamard algebras
We can extend the above definition also to the case when is an integral domain, as we can then work with the associated field of fractions.
We demonstrate the usefulness of Hadamard algebra & ‘shifting’ in achieving low-support rank concentration, using the example case of diagonal circuits (see Section A).
3. Proof ideas
where the -th coordinate of is . Note that can be expressed as , where is the usual matrix product. Denote by .
Here is where ‘shifting’ enters the picture. The goal in this paper is to prove that after a ‘small’ shift of the variables, begins to satisfy something like Conjecture 6. This requires a rather elaborate study of how a formula changes when shifted; the meat is expressed through certain transfer equations. Looking ahead, we conjecture (without proof) that the phenomena continue to hold in general constant-depth formulas.
4. Set-height formulas over Hadamard algebra
Uniform fanin of and -gates - With the definitions of and as above, we can assume that the fanin of every -gate in (barring the gates of the bottom-most -layer) is , and fanin of every -gate is . This can be achieved by introducing ‘dummy’ gates: The ‘dummy’ -gates introduced as children of a -gate compute the field constant , and the ‘dummy’ -gates introduced as children of a -gate also compute except that some of the field constants on the wires are set to zeroes. This process keeps a set-height- formula but might bloat up the size from to , although it does not change and (according to the way we have defined them). Of course, formula is not modified physically as it is presented as a blackbox. But the point is, even in the blackbox setting we can treat as a set-height- formula with uniform fanin of and -gates. We will call this uniform fanin of the and -gates as the -fanin and -fanin, respectively. Note that the definition of -fanin excludes the gates of the bottom-most -layer - they are handled next.
Fanin bound on bottom-most -gates - If is even, denote the set of monomials computed by the -th -layer by ; if is odd then . The fanin of every gate of the bottom-most -layer is bounded by . Refer to as the sparsity parameter.
where denotes the Hadamard product in the algebra (extended naturally to the polynomial ring over ). Evidently,
where is the product for matrices over . We intend to understand the nature of the circuit by studying the properties of the circuit - it is here that the recursive structure reveals itself as in Lemma 7. Let be the partition of that the -th -layer of respects. (Recall that when the depth of is even then the bottom-most -layer need not respect any partition - this attribute would always remain implicit in our discussions.) Define the partition (ignore here the empty sets), for every .
For every , is a set-height-() formula in with -fanin , -fanin and sparsity parameter , i.e. , such that every -th -layer of respects the partition . (Pf. in App. B)
5. Matrices
For any column-vector and matrices , with suitable assumptions on the sizes and invertibility, we have:
.
.
.
.
Low-block-support rank-concentration
We would like to prove something like Conjecture 6 for . Note that it suffices to focus on as its coefficients are all scaled-up by the same nonzero ‘constant’ . The rest of the section is devoted to proving the following theorem.
2. Transfer equation of a single polynomial
. (Pf. in Appendix C)
We have . Further, is strongly full. (Pf. in Appendix C)
3. Transfer equation of D𝐷D: Hadamard tensoring
There exist unmarked columns , , such that . (Proof in Appendix C)
. Further, the leading nonzero inverse-monomial in the determinant has the coefficient . (Proof in Appendix C)
Finally, we use to finish the proof of our main structure theorem.
From the transfer equation, Lemma 12, we recall
Since is invertible from Lemma 14 and is obviously invertible, we get
Low-support rank-concentration
We will prove that a set-height- formula, after a ‘small’ shift, begins to have ‘low’-support rank-concentration. The proof is by induction on the height of the formulas over Hadamard algebras. For this, we would need the following concepts.
Proof strategy ahead - The idea is to construct the map by applying induction on height of the class . By Equation 2,
2. Induction (h+1ℎ1h+1 to hℎh)
ℎ1h+1 to ) Let . Then,
The crucial observation is that, for any , gets a -free contribution only from the monomial , thus, its basis representation looks like:
Reading off the hitting-set
2. Proof of Corollary 2
3. Proof of Corollary 3
Conclusion
We have identified a natural phenomena - low-support rank-concentration - in constant-depth formulas, that is directly useful in their blackbox PIT (up to quasi-polynomial time). In this work we gave a proof for the interesting special case of set-depth- formulas. More work is needed to prove such rank-concentration in full generality. Next, it would be interesting to prove rank-concentration for depth- formulas. Another direction is to improve this proof technique to give polynomial-time hitting-sets for set-depth- formulas.
Acknowledgments
This work was initiated when MA and NS visited Max Planck Institute for Informatics, and would like to thank the institute for its generous hospitality. The travel of MA was funded by Humboldt Forschungspreis, and that of NS by MPII. CS and NS would like to thank Hausdorff Center for Mathematics (Bonn) for the generous support during the research work. Additionally, CS is supported by the IMPECS fellowship.
References
Appendix A Diagonal circuits: The spirit of the argument
Consider shifting every by a formal variable , i.e. . Then,
Appendix B Missing proofs of Section 2
Recall that , where every is a set-height- formula over . The proof is by induction on height of (in other words, reverse induction on ).
Base case (): The base case is when or , i.e. ’s are sparse polynomials or linear polynomials depending on whether is even or odd, repectively. In this case, is a set-height- formula over . Also, the sparsity parameter remains the same by its definition. Hence, . (Here we do not care about the partition.)
Inductive step ( to ): The crucial property to note here is that the formulas ’s appear as sub-formulas of at depth- (Equation 1). Therefore, the corresponding -layers of respect the same partitions of . In particular, we can express every as,
where , is a set-height- formula over , and the first -layer of all , for , respect the same partition . In other words, ’s partition as do . (Note: With fixed, here are the only relevant variable indices.) Hence,
where and .
In order to apply induction, we make a comparison between and (and between and ). Just like is a set-height- formula over occurring as a sub-formula at depth- of the formula , is a set-height- formula over occurring as a sub-formula at depth- of the formula . Hence, by induction, is a set-height-() formula in with -fanin , -fanin and sparsity parameter i.e., , such that every -th -layer of respects the partition . Since has only variables and , we can also say that every -th -layer of respects the partition . The -th -layers of the ’s (for ) correspond to the -th -layer of . Hence, by Equation 10, we infer that every -th -layer of respects the partition . Note that the -fanin, -fanin and the sparsity parameter remain and , respectively. This proves the claim. ∎
Appendix C Missing proofs of Section 3
Consider a column of ; it is . Now
Running over all gives us the result. ∎
C.2. Proof of Lemma 11
Lemma 10 gives . Rewrite it as,
Since the LHS is a matrix of rank , we deduce that is invertible. In other words, is strongly full. ∎
C.3. Proof of Lemma 12
Consider a column of ; it is . Now
Running over all gives us,
C.4. Proof of Theorem 13
[by Lemma 8-(1), and taking to be our new ], and
the column is zero free.
Define an indicator function (note: equals , if the boolean condition is true, else )
Note that the -th entry in is nonzero iff . Thus, exactly indicates the non-zeroness in .
We will build incrementally, starting with . During this build up we might apply row permutations on .
Consider a column , , of . This column has exactly one nonzero entry; appearing at the row indexed by . Put all these unmarked columns in , and collect the marked ones in .
If then we already have and we are done (infact, is identity). So assume and define . Let the other marked columns be ; they lie in and are many.
Proof of Claim 18. We will again build incrementally, starting from .
The ordered list has repetitions only in contiguous locations and the frequencies are non-increasing. In equation terms: The list has some distinct elements with respective frequencies (summing to ), and they appear as .
The ordered list has repetitions only in contiguous locations and the frequencies are non-increasing.
We now describe an iterative process to build one element at a time. In the -th iteration, , we will add an unmarked, unpicked column to . The process maintains the invariant: is a lower-triangular matrix.
Note that the square submatrix of thus far, is lower-triangular with a nonzero diagonal.
After the iteration - The square matrix is lower-triangular with a nonzero diagonal.
Since permutes the rows of , its action can be lifted to the rows of ; call this action . Also, append to the current (making its size ). Define and . Consider the square matrix . It looks like,
Clearly, its determinant equals . Thus, and we are done. ∎
C.5. Proof of Lemma 14
Thus, the -th column of has the leading monomial which ‘contributes’ the vector . Going over the columns , running , by the column-linearity of determinant and the multiplicativity of the inverse-monomial ordering, we deduce that the largest possible (inverse-monomial) term in the expression is:
We know this is nonzero, by the property of , thus it is indeed the leading term. In particular, . ∎