Lower Bounds for Noncommutative Circuits with Low Syntactic Degree
Abstract
Proving lower bounds on the size of noncommutative arithmetic circuits is an important problem in arithmetic circuit complexity. For explicit variate polynomials of degree , the best known general bound is [7, 1]. Recent work of Chatterjee and Hrubeš [4] has provided stronger () bounds for the restricted class of homogeneous circuits.
The present paper extends these results to a broader class of circuits by using syntactic degree as a complexity measure. The syntactic degree of a circuit is a well known parameter which measures the extent to which high degree computation is used in the circuit. A homogeneous circuit computing a degree polynomial can be assumed, without loss of generality, to have syntactic degree exactly equal to [5]. We generalize this by considering circuits that are not necessarily homogeneous but have low syntactic degree. Specifically, for an explicit variate, degree polynomial we show that any circuit with syntactic degree computing must have size for some constant . We also show that any circuit with syntactic degree computing the same must have size . We further analyze the circuit size required to compute based on the number of distinct syntactic degrees appearing in the circuit. Our analysis yields an size lower bound for all but a narrow parameter regime where an improved bound is not obtained. Finally, we observe that low syntactic degree circuits are more powerful than homogeneous circuits in a fine grained sense: there exists an variate, degree polynomial that has a circuit of size and syntactic degree but any homogeneous circuit computing it requires size
Keywords and phrases:
Noncommutative Circuits, Lower Bounds, Circuit Complexity, Algebraic Complexity2012 ACM Subject Classification:
Theory of computation Algebraic complexity theoryEditor:
Shubhangi SarafSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Let be a field and be a set of variables. A noncommutative polynomial over in the variables is a finite -linear combination of noncommutative monomials in (equivalently, one may think of these as words in ). The set of all such polynomials forms a ring under addition and noncommutative multiplication, this is the noncommutative polynomial ring denoted by . In noncommutative arithmetic circuit complexity, the central object of study is the noncommutative arithmetic circuit. A noncommutative arithmetic circuit (we will often simply say circuit for short), is a directed acyclic graph whose leaves are labeled by variables (say from ) and constants from , and whose internal nodes, called gates, are labeled by either or . A circuit is said to have fan-in if each gate has in-degree . Each gate in the circuit computes a polynomial in the natural way: a gate computes the sum of the polynomials computed at the children and a gate computes the product. Importantly, since the product is noncommutative, each product gate comes with an ordering on the children. Since we will deal with fan-in circuits, each such gate has a designated left child and a designated right child. We will say that a circuit has size if the underlying graph has vertices. We will say that a gate in a circuit has depth if the longest leaf to path in the circuit has length . The depth of a circuit is then defined as the maximum depth of any gate in it. We designate a particular gate of the circuit to be the output gate, and the polynomial computed by the circuit is defined to be the polynomial computed at this distinguished gate.
A central goal in this area is to prove exponential lower bounds on the size of circuits computing explicit111We will say that a polynomial is explicit if there is a polynomial time algorithm that computes, given a monomial , the coefficient of in . polynomials. The most influential work in this area is that of Nisan [6]. He showed exponential lower bounds on the size of formulas computing explicit polynomials. Formulas are circuits whose underlying graph is a tree. In order to show this, he introduced a complexity measure, now called Nisan Rank. Unfortunately, his methods do not provide such strong bounds for circuits. Indeed, the best lower bounds on the circuit size of an explicit, variate degree polynomial are of the form [7, 1] and improving upon this has been an outstanding open problem for more than years. The work of Carmosino et al. [3] provides strong motivation to improve upon the bound: they show, for instance, that barely superlinear lower bounds (of the form , where is the exponent of matrix multiplication) for noncommutative circuits computing constant degree polynomials can be amplified to obtain exponential lower bounds.
In a recent work [4], Chatterjee and Hrubeš improve upon the bound, assuming that the circuit is homogeneous. A circuit is said to be homogeneous if every gate in it computes a homogeneous polynomial. In their main result ([4], Theorem 14), they construct an variate, degree polynomial such that any homogeneous circuit computing requires size .
Note that noncommutative circuits can be homogenized, but this procedure incurs a multiplicative blowup of (where is the degree of the polynomial) in size and therefore the results in the paper discussed above fall short of giving lower bounds for general (not necessarily homogeneous) circuits.
2 Our Results
The work of Chatterjee and Hrubeš [4] leaves open (and tantalizingly so) the question of going beyond homogeneous circuits and proving lower bounds for general circuits. In this work, we take a step in this direction. We remove the homogeneity restriction and replace it with a bound on the syntactic degree. Let be a circuit. For each gate in , we define the syntactic degree inductively as follows: for a leaf labeled by a field constant, we define . For a leaf labeled by a variable, we define . For a sum gate we define . If is a product gate, we define . Note that for each gate , the degree of the polynomial computed at is at most . The syntactic degree of is then defined as the maximum over all gates of of .
Notice that if we have a homogeneous circuit for a degree polynomial, we can assume without loss of generality that the syntactic degree of is exactly . This is because in such a circuit, each gate either computes a polynomial of degree equal to , or it computes the polynomial. This is well known [5] and easily proved, for example by induction. Therefore, homogeneity forbids (useful) computation of polynomials of degree larger than . This simple observation suggests a natural relaxation of homogeneity: allowing the circuit to have syntactic degree larger than the degree of the output, but not much more. Such relaxations of homogeneity have been examined in the literature. For instance, in a recent result, the authors of [5] provided a quasi-homogenization result for commutative formulas. A formula is said to be quasi-homogeneous if the syntactic degree of the formula is a polynomially bounded (from above) by the degree of the output.
Quantitatively, we recall that Chatterjee and Hrubeš have proved an lower bound on the size of any homogeneous noncommutative circuit computing some explicit polynomial on variables of degree . In contrast, for general circuits, the strongest known lower bound remains .
One can now ask the following intermediate question: can we prove better-than- lower bounds on the size of circuits computing an explicit variate, degree polynomial where the circuit is not necessarily homogeneous, but has syntactic degree, say, ? Such circuits may compute intermediate inhomogeneous polynomials of degree higher than the degree of the output, but not much higher. We answer this question in the affirmative.
Remark 1.
Circuits with bounded syntactic degree are provably more powerful than their homogeneous counterparts: there exists an variate, degree polynomial which can be computed by a circuit of size and syntactic degree but any homogeneous circuit computing it must have size . This follows from inspecting a construction presented in the work of Chatterjee and Hrubeš, see Section 5.
Let and . Our results apply to the palindrome polynomial where is defined as follows:
A version of this polynomial was already introduced by Nisan in [6] to separate circuits from formulas. Indeed, there exists a homogeneous circuit of size that computes . We obtain this from the recursive expression . On the other hand, it follows from Nisan’s work [6] that any formula computing requires size . Since a fan-in two circuit with depth can be converted into a formula of size , it follows that any circuit computing must have depth, and therefore size, . In this paper we improve upon this lower bound for circuits with low syntactic degree. As alluded to before, our main results are the following.
Theorem 2 (Stated below as Corollary 8).
Let be a circuit computing with syntactic degree . Then there exists a constant such that has size .
Theorem 2 offers a qualitative strengthening of the main theorem in the work of Chatterjee and Hrubeš ([4], Theorem 14), since their result applies to homogeneous circuits while ours applies to a provably stronger class of circuits (Remark 1).
Next, we analyze the circuit size required to compute based on the number of different syntactic degrees that appear in the circuit. We show that for a circuit if this number is , then it must have size .
Theorem 3 (Stated below as Corollary 10).
Let be a circuit computing . Let . If , has size .
Note that Theorem 3 applies to circuits with arbitrarily high syntactic degree. We only require that the number of distinct ’s appearing in satisfies the constraints mentioned above. Also, note that if , we trivially get an bound: if a circuit has types of gates then it must have gates. So, the only case where we do not obtain a lower bound asymptotically better than is when and the size of are both . We do not know if such circuits exist for .
Theorem 3 has the following immediate corollary:
Theorem 4 (Stated below as Corollary 11).
Let be a circuit computing with syntactic degree . Then has size .
Finally, in Section 5 we analyze a construction provided in the work of Chatterjee and Hrubeš, and show a fine grained separation between homogeneous circuits and circuits with low syntactic degree.
3 Proof Idea and Notations
We use the methods of Nisan [6] to obtain our lower bounds. Specifically, we bound the dimension of the coefficient space of an separated polynomial computed by a circuit of low syntactic degree: Let be a polynomial. We say is separated if in each nonzero monomial of , every variable appears before every variable. Note that the polynomials are separated. Now suppose is separated. Thinking of as a polynomial in the variables with coefficients that are elements of , we write
where . Define , and . Recalling that the ring forms an -vector space with as a basis, we consider the dimension of the -span of the set . For , this quantity is . On the other hand, Nisan, in [6], showed that if is computed by a formula of size , then this dimension is bounded above by . Since a circuit of size can be converted into a formula of size , his method applied directly gives a lower bound of on the size of any circuit computing . We refine this analysis and show that if an separated polynomial is computed by a circuit with restrictions on the syntactic degrees appearing in it, we may obtain a better upper bound on the dimension of the span of the coefficients, by explicitly constructing a spanning set of polynomials. This gives the lower bounds. For future convenience, we set up some more notation. Let be a noncommutative circuit. Recall that for a gate in , denotes its syntactic degree. Define . We say that a circuit is in normal form if no product gate has a child of syntactic degree . Since gates with syntactic degree can only compute constants, we may assume without loss of generality, by pushing constants all the way down to the leaves, that a given circuit is in normal form. We allow leaves labeled by where and is a variable. Such leaves also have syntactic degree .
Remark 5.
It is unclear whether the technique of Chatterjee and Hrubeš [4] for proving lower bounds against homogeneous circuits can be extended to circuits of low syntactic degree. One indication that their approach does not directly generalize is that, as noted in Remark 1 and further discussed in Section 5, the polynomial for which they prove an homogeneous circuit lower bound in fact admits a small circuit of low syntactic degree.
4 Lower Bound
In this section, we prove our main result. Theorems 2, 4 and 3 follow as corollaries of Theorem 6, which we prove below.
Theorem 6.
Let be a size , fan-in circuit computing . Let . Then, .
Proof.
For simplicity, we assume without loss of generality that is in normal form. For each gate , we let denote the polynomial computed at in . For each gate , we write
where denotes the constant term of , denotes the sum (with coefficient) of non-constant monomials of which contain only variables, denotes the sum (with coefficient) of non-constant monomials of which contain only variables, denotes the sum (with coefficient) of monomials of in which both and variables occur and all variables appear before all the variables, and denotes the sum (with coefficient) of all the other monomials.
Let with . For each , define . For each , we will build a (reasonably small) set of spanning polynomials such that for each , and for each . We build these sets iteratively. Our base case will be with and . Now suppose we have already constructed for each . First, set . Let be the set of product gates in with . For each such gate with , we note that since is normal. Observe the following:
For each such (with ), we update as .
Claim 7.
For and each gate , we have that
Proof.
We show this by inducting on the depth of the gate .
-
If is a leaf, it satisfies the claim by construction of .
-
is a product gate: Let with . As mentioned earlier, if then since is normal.
-
1.
: This is true since just contains a constant, and contains the constant .
-
2.
: This is true since and is in
-
3.
: Again, this is true since is just a set of field constants, and contains the constant .
-
4.
: Consider a monomial with coefficient (which is an element of ). We write . It suffices to show that each term in this expansion is individually in .
-
–
Observe that is a scalar multiple of which is in ( and so ).
-
–
Next, is a linear combination of coefficients of the form where is a prefix of . By induction, for each such we have and so .
-
–
Further, is just . Since we have by induction, , by construction, as desired.
-
–
Finally, by induction, and are in and respectively, and therefore so are and .
-
–
-
1.
-
is a sum gate: Let with , and with . We assume the claim for and , by induction on depth. That is, we assume that and . The claim then follows from the fact that , , and .
This finishes the proof Claim 7
Let us now bound . For each , define . Note that is at most , the size of . Observe that for each , we have by construction that . Define, for each , . This fixes . Applying the inequality above, we get that for each , . Therefore, we see that .
Applying the AM-GM inequality, . Since computes , we must also have that . This is because is the entire set of degree monomials in , and distinct monomials are independent in the vector space . Therefore,
This finishes the proof of Theorem 6.
Corollary 8 (Restatement of Theorem 2).
Let be a circuit computing the polynomial with syntactic degree . Then there exists a constant such that has size .
Proof.
Let . Suppose the syntactic degree of is for some constant . Note that since the degree of is . Also, note that by definition, because is the number of distinct syntactic degrees appearing in and also that , because the degree of is and one may find a root to leaf path in the circuit on which the syntactic degree drops by a factor of at most half at each step. We split into two cases.
Since , we have in both cases.
Remark 9.
Homogeneous circuits computing can be assumed to have syntactic degree , and so Corollary 8 gives us a lower bound for such circuits. Note that this is worse than the bound proved by Chatterjee and Hrubeš (for a different polynomial). On the other hand, our technique works for a broader class of circuits.
Let us now give a more precise analysis based on the number of distinct syntactic degrees appearing in the circuit, i.e., on the size of .
Corollary 10 (Restatement of Theorem 3).
Let be a circuit computing the polynomial . If , then has size .
Proof.
Let the size of be . Suppose . Define . Note that . Applying Theorem 6, we find that
This finishes the proof of Corollary 10.
When the syntactic degree is slightly higher, we have the following corollary.
Corollary 11 (Restatement of Theorem 4).
Let be a circuit computing the polynomial with syntactic degree . Then has size .
Proof.
If the syntactic degree of is , then and the conclusion follows from Corollary 10
5 Separation between homogeneous and low syntactic degree circuits
In this section, we observe that low syntactic degree circuits are provably more powerful than homogeneous circuits in a fine grained sense. We will consider the ordered symmetric polynomials defined as follows:
On the one hand, Chatterjee and Hrubeš showed ([4], Theorem 14) the following lower bound:
Theorem 12 ([4], Theorem 14).
Any homogeneous circuit computing must have size .
On the other hand, they observe ([4], Section 5) that a well known construction ([2], Chapters 2.1-2.3) of circuits of size computing the commutative elementary symmetric polynomials (this construction uses the Fast Fourier Transform) continues to hold noncommutatively. Here, we observe that the syntactic degree of this (noncommutative) circuit, which simultaneously computes , is .
For completeness, we present the construction here and analyze the syntactic degree of the resulting circuit. For simplicity, we work over the complex numbers, and we assume that is a power of . The circuit is constructed such that it simultaneously computes the set of polynomials. will have size and syntactic degree .
The basic observation is that for each , is the coefficient of in . Here commutes with the ’s.
By induction, we assume that we have circuits and that compute the coefficients of in the polynomials and respectively. We are now interested in computing the coefficients of in the polynomial . In order to do this, we implement the well known FFT based algorithm for univariate polynomial multiplication. Let be a primitive -th root of unity.
-
Evaluation: Using the Fast Fourier Transform (FFT) and the circuits and which represent coefficient vectors of and respectively, we construct two circuits and for computing and respectively. Importantly, the syntactic degree of and is exactly the same as that of and , which by induction is . This is because the FFT implements a linear transformation which never multiplies the entries of the coefficient vectors.
-
Pointwise Product: Next, we use and to construct a circuit which simultaneously computes the polynomials . The syntactic degree of is .
-
Interpolation: Finally, we again use the (inverse) FFT to construct the circuit which computes the coefficients of the power of in . This step does not increase the syntactic degree because it’s linear. Therefore, the syntactic degree of is .
6 Discussion
In this paper, we proved lower bounds for noncommutative circuits of low syntactic degree. The question of proving such lower bounds for general circuits remains open. One possible avenue of attack for this problem is inventing a size preserving procedure for reducing a circuit’s syntactic degree. As a concrete question, suppose we are given a circuit of size and syntactic degree that computes . Can we construct another circuit computing with syntactic degree and size ? An affirmative answer to this question, combined with our work, would immediately yield strong lower bounds for general circuits. Reducing syntactic degree is no harder (and perhaps easier) than homogenization, so one may expect a more efficient way to do it than simple homogenization. Another question that stems from this work is whether we can handle separately the case when the number of distinct syntactic degrees appearing in a circuit computing is .
References
- [1] Walter Baur and Volker Strassen. The complexity of partial derivatives. Theoretical Computer Science, 22(3):317–330, 1983. doi:10.1016/0304-3975(83)90110-X.
- [2] Peter Bürgisser, Michael Clausen, and Mohammad Amin Shokrollahi. Algebraic Complexity Theory. Grundlehren der mathematischen Wissenschaften. Springer Berlin Heidelberg, 1 edition, 1997. doi:10.1007/978-3-662-03338-8.
- [3] Marco L. Carmosino, Russell Impagliazzo, Shachar Lovett, and Ivan Mihajlin. Hardness Amplification for Non-Commutative Arithmetic Circuits. In Rocco A. Servedio, editor, 33rd Computational Complexity Conference (CCC 2018), volume 102 of Leibniz International Proceedings in Informatics (LIPIcs), pages 12:1–12:16, Dagstuhl, Germany, 2018. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CCC.2018.12.
- [4] Prerona Chatterjee and Pavel Hrubeš. New Lower Bounds Against Homogeneous Non-Commutative Circuits. In Amnon Ta-Shma, editor, 38th Computational Complexity Conference (CCC 2023), volume 264 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1–13:10, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CCC.2023.13.
- [5] Hervé Fournier, Nutan Limaye, Srikanth Srinivasan, and Sébastien Tavenas. On the power of homogeneous algebraic formulas. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, pages 141–151, New York, NY, USA, 2024. Association for Computing Machinery. doi:10.1145/3618260.3649760.
- [6] Noam Nisan. Lower bounds for non-commutative computation. In Shafi Goldwasser, editor, Proceedings of the Twenty-Third Annual ACM Symposium on Theory of Computing, May 6-8, 1991, New Orleans, Louisiana, USA, pages 410–418. ACM, 1991. doi:10.1145/103418.103463.
- [7] Volker Strassen. Die berechnungskomplexität von elementarsymmetrischen funktionen und von interpolationskoeffizienten. Numerische Mathematik, 20(3):238–251, June 1973. doi:10.1007/BF01436566.
