Symmetric Algebraic Circuits and
Homomorphism Polynomials
Abstract
The central open question of algebraic complexity is whether , which is saying that the permanent cannot be represented by families of polynomial-size algebraic circuits. For symmetric algebraic circuits, this has been confirmed by Dawar and Wilsenach (2020), who showed exponential lower bounds on the size of symmetric circuits for the permanent. In this work, we set out to develop a more general symmetric algebraic complexity theory. Our main result is that a family of symmetric polynomials admits small symmetric circuits if and only if they can be written as a linear combination of homomorphism counting polynomials of graphs of bounded treewidth. We also establish a relationship between the symmetric complexity of subgraph counting polynomials and the vertex cover number of the pattern graph. As a concrete example, we examine the symmetric complexity of immanant families (a generalisation of the determinant and permanent) and show that a known conditional dichotomy due to Curticapean (2021) holds unconditionally in the symmetric setting.
Keywords and phrases:
algebraic complexity, finite model theory, symmetric circuits, homomorphism counting, graph homomorphism, treewidth, counting width, first-order logic with counting quantifiersFunding:
Tim Seppelt: ††margin:
European Union (CountHom, 101077083). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Copyright and License:
2012 ACM Subject Classification:
Theory of computation Algebraic complexity theoryAcknowledgements:
We would like to acknowledge fruitful discussions with Radu Curticapean, Filip Kučerák, Deepanshu Kush, and Benjamin Rossman.Funding:
The first and second author were funded by UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee: grant number EP/X028259/1.Editor:
Shubhangi SarafSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
The study of algebraic circuit complexity (also called arithmetic circuit complexity) aims to understand the power of circuits to succinctly express (or compute) polynomials. In short, we are interested in establishing how many operations of addition and multiplication are needed in a circuit that computes a polynomial , for some field and set of variables . We are usually interested in how this complexity grows with for a family of polynomials . The central conjecture in the field (known as ) is that there are no polynomial-size circuits for the permanent in the way that there are for the determinant.
Both the determinant and permanent are examples of polynomials over matrices. That is to say that we can treat the set of variables as the entries of a square matrix. Moreover, the permanent is symmetric in the sense that permuting the rows and columns of the matrix does not change the polynomial. The determinant has a smaller group of symmetries, being invariant under a permutation applied simultaneously to the rows and columns. This motivates the study of symmetric algebraic circuits introduced in [15], which are circuits where symmetries of the polynomial computed are reflected in the automorphisms of the circuits. In [15], an exponential gap between the symmetric circuit complexity of the determinant and the permanent was established: There are polynomial-size symmetric circuits (in the sense of invariance under simultaneous row and column permutations) that compute the determinant but any family of symmetric circuits computing the permanent is of exponential size. It is the latter, exponential lower bound, that is the main technical achievement of that paper. Notably, this result also opens up a new approach to the question of separating from and challenges us to find the minimum group of symmetries for a polynomial for which we can prove unconditional lower bounds. Thus, the study of symmetric circuits is motivated by the possibility of proving strong lower bounds which are presently out of reach without the assumption of symmetry.
Among the restrictions of circuit models that have been extensively studied in the literature, symmetry is arguably one of the newest and most interesting ones: Symmetric circuits not only admit provable lower bounds but are still surprisingly powerful, in that they can efficiently compute the determinant. By contrast, for example the restricted model of multilinear formulas requires super-polynomial size for both determinant and permanent [34], and the same is true for bounded-depth multilinear circuits [35]. Also for the well-studied class of monotone circuits, we have exponential lower bounds for the permanent [25], but the determinant cannot even be expressed in this model because it involves negative coefficients.
In the present paper, we approach the study of symmetric algebraic circuits more systematically than has been done before. We develop a framework that links the expressive power of such circuits to the theory of graph homomorphism counting. Using this, we are able to completely characterise – within a large and interesting class of polynomials – which polynomials admit efficient symmetric circuits and which ones do not. This characterisation is the main result of the paper.
To be more precise, the polynomials we consider are over (not necessarily square) matrices of variables, have rational coefficients and are invariant under arbitrary permutations of the rows and columns. These are families of polynomials where , and is the set of variables . The invariance condition we require is that for any pair of permutations , , if denotes the polynomial obtained from by replacing every occurrence of with , then . Examples of such families are the permanent, for , or more generally, for , the rectangular permanent. The latter has been used recently in a lower bound proof for bounded-depth algebraic circuits [21].
The reason for focussing on this class of matrix-symmetric polynomials is that they have a very natural semantic interpretation: Every -symmetric describes a function from weighted bipartite undirected graphs with vertices (i.e. has a fixed bipartition with and ) to . The resulting value is the evaluation of in the bi-adjacency matrix of , whose rows are indexed with the vertices in , and columns with the vertices in . The symmetry of ensures that the value does not depend on the row and column ordering of the bi-adjacency matrix, and hence the -valued function expressed by is in fact an isomorphism-invariant graph parameter.
It follows from a classical result of Lovász [30] that the isomorphism-invariant -valued functions on -vertex graphs are precisely the linear combinations of homomorphism counting functions for finitely many graphs and rational coefficients . In other words, the isomorphism-invariant -valued functions on graphs are precisely the non-uniform graph motif parameters, i.e. sequences of linear combinations of homomorphism counts, one for every input graph size . In an influential paper [6], Curticapean, Dell, and Marx studied functions which can be uniformly expressed in this way. Their uniform graph motif parameters are the functions of the form whose domain are all graphs regardless of their size. They show that the fixed-parameter counting complexity of such uniform graph motif parameters is governed by the treewidth of the patterns with non-zero coefficients .
Characterising matrix-symmetric polynomials admitting small symmetric circuits.
We broaden the scope of [6] twofold by precisely characterising the symmetric circuit complexity of all, i.e. not necessarily uniform, graph motif parameters. To that end, we observe that the matrix-symmetric polynomials are precisely those that can be written as linear combination of homomorphism polynomials, cf. Lemma 4: For a bipartite multigraph with bipartition , the homomorphism polynomial is defined as
The name is justified by the fact that evaluates to the number of homomorphisms from to a -vertex bipartite graph when substituting the bi-adjacency matrix of for the matrix of variables .
Our main result asserts that the symmetric complexity of a family of matrix-symmetric polynomials is completely governed by the treewidth of the graphs whose homomorphism polynomials arise in linear expansions111In stark contrast to uniform graph motif parameters studied by [6], non-uniform graph motif parameters generally do not admit a unique expansion as linear combinations of homomorphism counts. of . By symmetric complexity we mean the smallest possible orbit size of a family of symmetric circuits representing . This is the number of gates of in the largest orbit of the action of on (see Section 2). Note that lower bounds on orbit size imply lower bounds on the total number of gates in a circuit but not vice versa. We also show that orbit size, not total size, is the correct measure that allows us to build our theory, cf. Theorem 5.
To state our main result, let denote, for every , the collection of all polynomials that can be obtained as linear combinations of homomorphism polynomials for graphs of treewidth less than .
Theorem 1.
For every family of polynomials , the following are equivalent:
-
1.
there exists a constant such that for all ,
-
2.
the admit -symmetric circuits of orbit size polynomial in .
It is instructive to consider again the permanent . This is not a homomorphism polynomial and not even a uniform graph motif parameter but it can be seen as counting, given a bipartite graph instantiated as a bi-adjacency matrix , the number of subgraphs isomorphic to an -matching. By Möbius inversion [12, Corollary A.3], subgraph counts can be written as a linear combination of homomorphism counts. One consequence of Theorem 1 together with the exponential lower bound on symmetric circuits for the permanent [15] is that cannot be expressed as a linear combination of homomorphism polynomials of bounded treewidth. Alternatively, we can understand one direction of Theorem 1 as a vast (in fact, as vast as possible) generalisation of the lower bound on the permanent. Indeed, the theorem captures all super-polynomial lower bounds on the orbit size of symmetric circuits for matrix-symmetric polynomials.
Lower bounds via counting width.
Theorem 1 stipulates that, to derive a super-polynomial lower bound for some family , one must show that there is no constant such that for all . This, however, seems to be difficult with the presently available techniques. Therefore, our next goal is to give more usable characterisations of via a descriptive complexity measure for graph parameters, namely in terms of counting width. The counting width [13, 10] of a graph parameter is defined as the smallest such that whenever two graphs , are indistinguishable by the -dimensional Weisfeiler-Leman algorithm, then , see also Definition 6 or [12, Definition 6.1]. The Weisfeiler-Leman indistinguishability on graphs is a standard relaxation of graph isomorphism (see [4, 27]), and coincides with equivalence in the -variable fragment of first-order logic with counting quantifiers.
Counting width is well-studied in finite model theory and affords lower bounds, usually via the so-called Cai-Fürer-Immerman construction [4]. For Boolean circuits, a tight relationship between the counting width and orbit size of symmetric circuits is known [1].
The aforementioned exponential lower bound for symmetric circuits for the permanent was in fact established via a counting width lower bound for the number of perfect matchings. In general, unbounded counting width implies super-polynomial symmetric circuit lower bounds (via techniques for example from [1, 15]), so by Theorem 1, polynomials with unbounded counting width cannot be in , for any fixed . The question is, does the converse hold: Is bounded counting width a sufficient criterion for the existence of orbit-small symmetric circuits? We answer this question positively, at least in certain restricted, but interesting cases, cf. Figure 1:
-
1.
when the are single homomorphism polynomials (rather than linear combinations of such), cf. Theorem 9,
-
2.
when the are single subgraph polynomials for graphs of sublinear size, i.e. counting the number of subgraphs isomorphic to the pattern, cf. Theorem 10, and
-
3.
when the are linear combinations of homomorphism polynomials of sublinear size, cf. Theorem 8.
Moreover, in the case of Items 1 and 2 and when Item 3 is restricted to linear combinations of polynomially many homomorphism counts, bounded counting width characterises the families of matrix-symmetric polynomials admitting symmetric circuits of polynomial size (rather than orbit size). For Items 1 and 2, we give a combinatorial characterisation of the families of patterns whose homomorphism/subgraph polynomials have bounded counting width in terms of treewidth and vertex cover number, respectively.
Finally, to give another concrete example for the merits of the symmetric circuit framework, we show that a complexity dichotomy for the immanant families due to [5], whose hard cases are conditional on certain complexity-theoretic assumptions, holds unconditionally for symmetric circuits. The immanants interpolate between the permanent and determinant polynomials, which are in fact the extreme cases. Thus, the symmetric dichotomy for the immanants completes the picture begun in [15].
Related work.
Symmetric circuits are an emerging area of research in recent years. We have already mentioned the lower bound for symmetric circuits for the permanent from [15]. In a similar vein, it has been shown that the determinant admits no small -symmetric circuits, even though it does have polynomial size -symmetric ones [17]. Other known lower bounds are for example for the symmetric formula complexity of computing the product of permutation matrices [24], and a lower bound for certain types of symmetric AC0 circuits for the parity function [37]. More recent work establishes lower bounds for symmetric bounded-depth circuits with modular counting gates [26]. In [1], a precise characterisation of the power of uniform polynomial-size symmetric Boolean circuits with threshold gates was given: Such circuit families are equally powerful as fixed-point logic with counting, a formalism that is also related to the Weisfeiler-Leman algorithm. In particular, the graph properties computable with these circuits have bounded counting width, too. Similarly, in [16], rank logic is characterised via a class of symmetric circuits with more involved types of gates.
Another direction that has been explored are symmetric algebraic circuits in the context of algebraic proof complexity, more specifically in the circuit-based Ideal Proof System [11]. We hope that this direction will benefit from the framework we develop here, possibly leading to new lower bounds in proof complexity.
Another aspect of our work are the homomorphism polynomials. Interestingly, their complexity has been studied before with respect to a different restricted model, namely monotone circuits. In [28, 3] it is shown that the monotone circuit complexity of homomorphism polynomials is controlled by the treewidth of the pattern graphs in a similar way as we show this for symmetric circuits (and moreover, the circuit depth relates to the depth of the tree decompositions). It should be mentioned, though, that our setting is more general in two ways: We consider linear combinations of homomorphism polynomials, rather than single ones, and our set-up is non-uniform, while in [28, 3], the pattern graph is taken to be the same fixed graph for all sizes of host graphs. Certain types of homomorphism polynomials (defined differently from the ones we study) have also been shown to be -complete [19].
Our results also compare nicely to what is known on the computational complexity of homomorphism and subgraph counting. As already mentioned, it was shown in [6] that the computational complexity of graph parameters expressible as linear combinations of homomorphism counts (so-called graph motif parameters) depends only on the treewidth of the pattern graphs. The problem is in if the treewidth is bounded, and -hard, otherwise. Our Theorem 1 yields the same tractability criterion for the symmetric circuit complexity of the polynomials expressing these parameters but our proof techniques are very different. Moreover, as already mentioned, [6] concerns only uniform graph motif parameters, whereas we also cover the non-uniform case where we are counting different patterns for each host graph size.
The relationship between the complexity of subgraph counting and the vertex cover number of the pattern graphs that we obtain in Theorem 10 also appears in [6]. In [33, Theorem 1.3], a tight connection between the counting width of subgraph counts (for a fixed constant-size pattern) and the vertex cover number of the pattern is established. Our Theorem 10 generalises this result to the case of sublinearly growing patterns.
2 Preliminaries
Permutation groups.
Symmetric circuits.
An algebraic circuit over a variable set and a field is a connected DAG with multiedges such that each vertex is labelled with an element of . The vertices of a circuit are called gates, the edges wires. Gates labelled with elements from are called input gates and they are not allowed to have incoming edges. Every element of is allowed to appear at most once as the label of a gate – this is no restriction because one can simply identify the respective gates. We assume that a circuit contains exactly one gate without outgoing wires, and this is called the output gate. An algebraic circuit represents (or computes) a polynomial in in the obvious way: the gates and are simply interpreted as addition and multiplication on polynomials, and we care about the polynomial at the output gate. Arrows are directed from a computation result towards the next gate where that result is used as an input. Multiedges are allowed so that for example the polynomial can be represented with just one input and one multiplication gate. The size of a circuit , is defined as the number of gates plus the number of wires, counted with multiplicities. It is denoted .
Let be a group that acts on . Then a circuit is -symmetric if the action of every on the input gates extends to an automorphism of the circuit: For every input gate , let denote its label. This is either a variable or a field element. Field elements are fixed by every . We say that a permutation extends to a circuit automorphism of the circuit if there exists a such that for every input gate, and such that is an automorphism of the multigraph structure of (i.e. it maps edges to edges, non-edges to non-edges, and preserves the operation types of the gates). For more details, see [14].
A -symmetric circuit is called rigid if it has no non-trivial circuit automorphism that fixes every input gate. This is equivalent to saying that for every , there is a unique circuit automorphism that extends . In that case, we also write for internal gates , to denote the application of the unique circuit automorphism that extends . As shown in [12, Lemma 4.3], symmetric circuits can always be assumed to be rigid. An advantage of working with rigid circuits is that we obtain a well-defined notion of support of gates, and that there is a strong link between the size of these supports and the orbit sizes of the gates. In the following, we always assume that is or . In the former case, our variable set is , and acts simultaneously on both indices, so . In the latter case, the variable set is . Then a pair of permutations applied to yields .
Complexity measures for symmetric circuits.
An important measure for -symmetric circuits is , the maximum orbit size of any gate in , formally
If is rigid, and and are such that every stabiliser group of a gate admits a unique minimal support, then we can also speak about the support size of . In particular, this is possible if and is subexponential. We write to denote the minimal support of the group in . The support size of a circuit is then
We have the following relations between and . Lemma 3 establishes the converse of Lemma 2, part 1. Proofs of both lemmas are given in [12, Section 4.2].
Lemma 2.
Let be either the sequence or . Let be a sequence of -symmetric rigid circuits.
-
1.
If is polynomially bounded in , then there exists a constant such that for all large enough , it holds .
-
2.
If is at most , then .
Lemma 3.
Let be a sequence of rigid -symmetric circuits, for . Assume that there is a constant such that , for all . Then .
Counting logic.
Counting logic is first-order logic augmented by counting quantifiers of the form , for every . A graph satisfies a formula , written as , if there exist at least many distinct such that . The -variable fragment of counting logic is denoted . More details on counting logic and references may be found in [7]. For our purposes, the main interest is the equivalence relation that this induces on graphs. Two structures are called -equivalent, denoted , if and satisfy exactly the same sentences of . This family of equivalence relations has many characterisations, e.g. in combinatorics [20, 18], machine learning [40, 32], and optimisation [23, 31, 2]. In particular, it is known that if, and only if, and are not distinguished by the -dimensional Weisfeiler-Leman test for graph isomorphism [4].
3 Overview of results
3.1 Characterisation of symmetric circuit complexity by homomorphism polynomials
We start by observing that any symmetric polynomial is expressible as a linear combination of homomorphism or subgraph polynomials. Let be a bipartite multigraph with bipartition . For integers , the homomorphism polynomial and the subgraph polynomial of are defined as
Here, we think of as mapping to and to . For example, and . If is the bi-adjacency matrix of an undirected bipartite graph with bipartition , then evaluates to the number of bipartition-respecting homomorphisms from to , and is the number of occurrences of as a subgraph in . We also write and for the polynomials evaluated in the bi-adjacency matrix of . Let
Lemma 4.
For and , the following are equivalent:
-
1.
the polynomial is -symmetric,
-
2.
,
-
3.
for some bipartite multigraphs and .
For the proof, Item 3 can be concluded from Item 1 by partitioning the monomials in into their orbits, and showing that each of these orbits is a subgraph polynomial for some pattern . Via Möbius inversion (see [12, Corollary A.3]), subgraph polynomials can be expressed as linear combinations of homomorphism polynomials.
Thus, both subgraph and homomorphism polynomials can be seen as spanning sets for the vector space of matrix-symmetric polynomials. We are now interested in the ones that admit polynomial size symmetric circuits. For , write
for the set of finite -linear combinations of homomorphism polynomials of bipartite multigraphs of treewidth less than .
Our main result, Theorem 1, states that the families of polynomials in , for constant , are precisely the ones that admit symmetric circuits of polynomial orbit size. The full proof can be found in [12, Section 5] but the idea is the following:
Proof sketch of Theorem 1.
The easier direction is to show that if , then it has circuits of polynomial orbit size. It turns out that each can be represented by a symmetric circuit with support size at most . The circuit computes inductively along a tree decomposition of , using ideas as in e.g. [20]. Then any polynomial in is just a linear combination of such circuits. By Lemma 3, a circuit with support size has orbit size at most , as desired. Note that a polynomial in may be a linear combination involving a super-polynomial number of terms. Then only the orbit size of the circuit will be polynomial, but the total number of gates will not be.
The other direction of Theorem 1 requires substantial technical effort. It is proved using so-called labelled homomorphism polynomials: Imagine that a pattern has distinctly labelled vertices . Then for any -tuple of vertices in the host graph , we can ask how many homomorphisms exist from to such that , for each . A labelled homomorphism polynomial is one that counts only these label-preserving homomorphisms.
We want to prove that every polynomial represented by a symmetric circuit of polynomial orbit size is in , for some . Lemma 2 tells us that the support size of every gate in such a circuit must be bounded by some constant . We prove by induction on the circuit structure that at every gate in the circuit, the polynomial computed at is a linear combination of labelled homomorphism polynomials of patterns of treewidth . The crucial insight is that the supports of the gates always correspond exactly to the images of the labels. That is, semantically, the gate counts homomorphisms that map the labels of the pattern graphs to the vertices enumerating . The root gate of a symmetric circuit always has empty support (as it is fixed by every permutation in ), and so, the polynomial computed at the root is a linear combination of homomorphism polynomials for patterns with and without labels. Thus, the circuit computes a polynomial in .
We also prove that under the common assumption , Theorem 1 is best-possible in the sense that the characterisation cannot be improved to capture total circuit size rather than orbit size: There exist polynomials in , for constant , that do not admit polynomial size circuits (neither symmetric nor asymmetric), unless .
Theorem 5.
There is a -hard family of polynomials such that for all .
3.2 Symmetric complexity of homomorphism polynomials
In order to make the characterisation in Theorem 1 more usable, we study in relation with the class of polynomials of bounded counting width.
Definition 6 ([1]).
Let be a graph parameter on -vertex bipartite graphs. The counting width of on simple graphs is the least integer such that, for all -vertex simple bipartite graphs and , if and are -equivalent, then .
It follows with known arguments that whenever a family admits circuits of polynomial orbit size, then its counting width is bounded (see [12, Theorem 6.2]). We ask in which cases the converse is true. As a start, we identify where the difficulty lies in this question. Namely, if we only care about the semantics of the polynomials on simple graphs, that is -valued rather than -valued matrices, then we do have a conclusive answer. On -assignments, any polynomial is equivalent to its multilinearisation. This is the polynomial obtained from by replacing every exponent greater than with . Up to multilinearisation, bounded counting width is indeed sufficient for the existence of polynomial orbit size symmetric circuits:
Theorem 7.
Let . For , the following are equivalent:
-
1.
there exists such that and are equal up to multilinearisation,
-
2.
the counting width of on -vertex simple bipartite graphs is at most .
Thus, if we only care about evaluating the polynomial on (equivalently, we regard it as a parameter on simple, unweighted, bipartite graphs) the symmetric tractability question is completely settled. But this does not settle the general case , where we wish to consider it on all -valued assignments (see, e.g. [12, Example 8.10]). However, we can characterise it in more specific cases. In particular, we obtain a precise characterisation of the bounded counting width case for linear combinations of homomorphism polynomials with sublinear-size patterns:
Theorem 8 (see [12, Theorem 7.9]).
For , let be bipartite multigraphs and for for some . Let . Suppose that, for all , there are such that for all and . Then the following are equivalent:
-
1.
is bounded,
-
2.
the counting width of on -vertex simple graphs is bounded,
-
3.
the admit -symmetric circuits of orbit size polynomial in .
If the linear expansions of the are comprised of polynomially many homomorphism polynomials, then the above conditions are equivalent to the admitting -symmetric circuits of total size polynomial in . In the case where for all , i.e. we just have a single homomorphism polynomial for each , we obtain the above result even if is not in :
Theorem 9 (see [12, Theorem 7.1]).
For , let be bipartite multigraphs. Then the following are equivalent:
-
1.
is bounded,
-
2.
the counting width of on -vertex simple graphs is bounded,
-
3.
the admit -symmetric circuits of orbit size polynomial in .
We prove [12, Theorem 7.9] by generalising notions introduced by Roberson [36] for describing the distinguishing power of graph isomorphism relaxations via homomorphism counts. By [20, 18], two graphs and are -equivalent if, and only if, they are homomorphism indistinguishable over the graphs of treewidth less than , i.e. for all such that . Hence, a graph parameter has bounded counting width if, and only if, it is determined by homomorphism counts from bounded-treewidth graphs. For uniform graph motif parameters , it was known [39, 33, 29] that this happens if and only if is bounded. We generalise this result to non-uniform graph motif parameters, whose patterns and coefficients may depend on the size of the host graph.
3.3 Symmetric complexity of subgraph polynomials
By Lemma 4, linear combinations of subgraph and homomorphism polynomials can be transformed into one another. Nevertheless, we also study subgraph polynomials on their own because it seems likely that in this case we find another natural parameter of the pattern graphs that fully controls the counting width and symmetric complexity. Indeed, we show that for patterns of sublinear size, this parameter is , the vertex cover number.
Theorem 10 (see [12, Theorem 8.8]).
Let be a family of simple bipartite graphs such that, for all , there exist , such that for all and . The following are equivalent:
-
1.
is bounded,
-
2.
the counting width of on -vertex simple graphs is bounded,
-
3.
the admit -symmetric circuits of orbit size polynomial in ,
-
4.
the admit -symmetric circuits of size polynomial in .
The size bound in this theorem is necessary as it is easy to find examples of subgraph polynomials (of size ) whose complexity is not governed by the pattern’s vertex cover number. Consider e.g. . The natural symmetric circuit for this linear-size pattern has just one product gate that ranges over all variables, so this family has low symmetric circuit complexity (see also [12, Example 8.2]). But, is clearly unbounded.
More generally, for any function with , and the complete bipartite graphs as patterns, we show that the only tractable cases for are when is constant [12, Theorem 8.3]. This suggests that it might be the minimum vertex cover number of the pattern graph and its complement that determines the symmetric complexity of . We call this parameter the logical vertex cover number . In particular, we can show for all that the counting width of and is the same [12, Theorem 8.9], giving further evidence for this hypothesis.
Conjecture 11.
For every family of simple bipartite graphs, the following are equivalent:
-
1.
is bounded,
-
2.
the counting width of on -vertex -edge-weighted graphs is bounded,
-
3.
the admit -symmetric circuits of orbit size polynomial in ,
-
4.
the admit -symmetric circuits of size polynomial in .
Theorem 10 proves this conjecture for pattern graphs of sublinear size.
3.4 Symmetric complexity of the immanants
So far, we have studied -symmetric families. There are also polynomials in the variables which are symmetric under the simultaneous action of on rows and columns but not under . One such example is the determinant, and more generally, other immanants. We have chosen to develop our theory for -symmetric families but we believe that most of it can be adapted to the -symmetric case. Then, the relevant homomorphism or subgraph polynomials involve directed and not necessarily bipartite graphs. Rather than doing that here, we consider the immanants as a concrete -symmetric example and show that their symmetric circuit complexity is subject to a dichotomy similar to what is known for their computational complexity [5].
Immanants are families of -symmetric polynomials that are defined via so-called irreducible characters of the symmetric group. An irreducible character of is a homomorphism from to the multiplicative group which is constant on the conjugacy classes of . Given such an , the corresponding immanant is defined as If is constantly , then is the permanent. The determinant is obtained by letting . While all immanants are -symmetric, the symmetry groups of particular members of this family may be larger. In particular, for the permanent it is, in fact, , while the determinant is symmetric under a subgroup of this of index consisting of those pairs of permutations for which . The symmetric circuit complexity of the permanent and the determinant was studied in [15] and for the larger symmetry groups in [17].
In [5], Curticapean shows a complexity dichotomy for the immanants: In the tractable case, is in (i.e. admits polynomial size algebraic circuits) and is computable in polynomial time. In the intractable case, it is not in , unless , and also, it is not computable in polynomial time, unless . The complexity is controlled by a certain parameter of .
We show that the same parameter of produces the analogous dichotomy with regards to the complexity of -symmetric algebraic circuits for the immanants, but without the need for complexity-theoretic assumptions for the hardness part. This generalizes the resuls of [15]. The irreducible characters correspond naturally to partitions of (see, for example, [38, Prop. 1.10.1]). If is a partition of , we denote by the immanant defined by the irreducible character corresponding to . Let , where denotes the number of parts and the size of the set that is partitioned by . This is the parameter that controls the complexity of .
A family of partitions is said to support growth if for every there is a partition in with and size . According to the dichotomy from [5], is tractable if there is a constant that bounds for all . Otherwise, if supports growth , then the immanant family is (conditionally) intractable. If even supports growth , then is -complete. Our analogous result for symmetric circuits is the following.
Theorem 12.
Let be a family of partitions.
-
1.
If there exists a such that for all , then the admit -symmetric circuits of polynomial size in .
-
2.
If supports growth , then the counting width of on directed -edge-weighted -vertex graphs is unbounded, where is the integer that is partitioned by the respective . Thus, all -symmetric circuits for the immanant family have super-polynomial size in .
-
3.
If supports growth for a constant , then the counting width of on directed -edge-weighted -vertex graphs is , so all -symmetric circuits have size .
4 Conclusion
In recent years, a rich theory of symmetric computation has been emerging which has established a tight and surprising relationship between logical definability, circuit complexity and also computation in other models such as linear programming (see [8, 9] for pointers). A central plank of this is the use of variations of the Cai-Fürer-Immerman construction to establish unconditional lower bounds in the context of models of computation with natural symmetries. The work in [15] is a significant example of this, showing an unconditional exponential separation between the complexity of the determinant and the permanent polynomials in the context of symmetric algebraic circuits.
The present work gives a sweeping generalisation of these results in two different directions. First, considering matrix polynomials symmetric under arbitrary permutations of the rows and columns (i.e. the action), we give a complete characterisation of the tractable cases in terms of homomorphism polynomials of bounded treewidth, linking this study to other complexity classifications such as [6]. For polynomials on square matrices symmetric under the simultaneous application of a permutation to the rows and columns (i.e. the action), we generalise the separation of the determinant and permanent by giving a complete classification of the symmetric complexity of all immanants.
The work raises a number of directions for future research. It suggests that there is a close connection between the counting width of polynomials, which we define, and their symmetric algebraic complexity. We have not established this in full generality and thus the first important direction is to prove or disprove Conjecture 11. A step in this direction would be to understand the complexity of linear combinations of homomorphism polynomials where neither Theorem 8 nor Theorem 9 applies. That is to say, there is more than one homomorphism polynomial involved and the size of the pattern graphs is not sublinearly bounded.
Our most general results are for matrix polynomials symmetric under , where we have a complete characterisation of tractable families. The polynomials on square matrices symmetric under the action include many that are not -symmetric (for instance, the determinant and many other immanants). While we give a complete classification of the immanant polynomials, there are many other such polynomial families. It seems plausible that a complete classification in terms of homomorphism polynomials from directed graphs might be achievable in this case, and we leave it for future work.
It would be interesting to relate this to other methods for establishing lower bounds in algebraic complexity and to natural algorithmic methods in that field. Indeed, one of the striking features of the study of symmetric computation models is that a surprising range of algorithms that are used (for instance in combinatorial optimisation) are indeed symmetric and thus the unconditional lower bounds show the limitations of standard techniques.
Finally, this work may provide the means to prove lower bounds for symmetric circuits for interesting polynomial families beyond the determinant and the permanent. One potential application would be in proof complexity. There has been considerable recent interest in the Ideal Proof System [22], in which refutations of unsatisfiable Boolean formulas or systems of polynomial equations take the form of algebraic circuits. One could conceivably use the methods developed here to show that certain families of formulas with natural symmetries do not admit succinct symmetric refutations.
References
- [1] Matthew Anderson and Anuj Dawar. On symmetric circuits and fixed-point logics. Theory of Computing Systems, 60(3):521–551, 2017. doi:10.1007/s00224-016-9692-2.
- [2] Albert Atserias and Elitza Maneva. Sherali-Adams Relaxations and Indistinguishability in Counting Logics. In Proceedings of the 3rd Innovations in Theoretical Computer Science Conference, ITCS ’12, pages 367–379, New York, NY, USA, 2012. Association for Computing Machinery. doi:10.1145/2090236.2090265.
- [3] C.S. Bhargav, Shiteng Chen, Radu Curticapean, and Prateek Dwivedi. Monotone Bounded-Depth Complexity of Homomorphism Polynomials. In Paweł Gawrychowski, Filip Mazowiecki, and Michał Skrzypczak, editors, 50th International Symposium on Mathematical Foundations of Computer Science (MFCS 2025), volume 345 of Leibniz International Proceedings in Informatics (LIPIcs), pages 19:1–19:18, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2025.19.
- [4] Jin-Yi Cai, Martin Fürer, and Neil Immerman. An optimal lower bound on the number of variables for graph identification. Combinatorica, 12(4):389–410, 1992. doi:10.1007/BF01305232.
- [5] Radu Curticapean. A full complexity dichotomy for immanant families. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2021, pages 1770–1783, New York, NY, USA, 2021. Association for Computing Machinery. doi:10.1145/3406325.3451124.
- [6] Radu Curticapean, Holger Dell, and Dániel Marx. Homomorphisms are a good basis for counting small subgraphs. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2017, pages 210–223. Association for Computing Machinery, 2017. doi:10.1145/3055399.3055502.
- [7] Anuj Dawar. The nature and power of fixed-point logic with counting. ACM SIGLOG News, pages 8–21, 2015. doi:10.1145/2728816.2728820.
- [8] Anuj Dawar. Symmetric Computation. In Maribel Fernández and Anca Muscholl, editors, 28th EACSL Annual Conference on Computer Science Logic (CSL 2020), volume 152 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:12, Dagstuhl, Germany, 2020. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.CSL.2020.2.
- [9] Anuj Dawar. Limits of Symmetric Computation. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024), volume 297 of Leibniz International Proceedings in Informatics (LIPIcs), pages 1:1–1:8, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2024.1.
- [10] Anuj Dawar. Notions of Width: Variables, Pebbles and Supports. EATCS Bulletin, (147), October 2025. URL: https://bulletin.eatcs.org/index.php/beatcs/article/view/865.
- [11] Anuj Dawar, Erich Grädel, Leon Kullmann, and Benedikt Pago. Symmetric Proofs in the Ideal Proof System. In Paweł Gawrychowski, Filip Mazowiecki, and Michał Skrzypczak, editors, 50th International Symposium on Mathematical Foundations of Computer Science (MFCS 2025), volume 345 of Leibniz International Proceedings in Informatics (LIPIcs), pages 40:1–40:18, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.MFCS.2025.40.
- [12] Anuj Dawar, Benedikt Pago, and Tim Seppelt. Symmetric algebraic circuits and homomorphism polynomials, 2025. doi:10.48550/arXiv.2502.06740.
- [13] Anuj Dawar and Pengming Wang. Definability of semidefinite programming and Lasserre lower bounds for CSPs. In 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–12. IEEE, 2017. doi:10.1109/LICS.2017.8005108.
- [14] Anuj Dawar and Gregory Wilsenach. Symmetric arithmetic circuits. arXiv:2002.06451[cs].
- [15] Anuj Dawar and Gregory Wilsenach. Symmetric Arithmetic Circuits. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), volume 168 of Leibniz International Proceedings in Informatics (LIPIcs), pages 36:1–36:18, Dagstuhl, Germany, 2020. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2020.36.
- [16] Anuj Dawar and Gregory Wilsenach. Symmetric circuits for rank logic. ACM Trans. Comput. Logic, 23(1), November 2021. doi:10.1145/3476227.
- [17] Anuj Dawar and Gregory Wilsenach. Lower bounds for symmetric circuits for the determinant. In Mark Braverman, editor, 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, January 31 - February 3, 2022, Berkeley, CA, USA, volume 215 of LIPIcs, pages 52:1–52:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ITCS.2022.52.
- [18] Holger Dell, Martin Grohe, and Gaurav Rattan. Lovász Meets Weisfeiler and Leman. In Ioannis Chatzigiannakis, Christos Kaklamanis, Dániel Marx, and Donald Sannella, editors, 45th International Colloquium on Automata, Languages, and Programming (ICALP 2018), volume 107 of Leibniz International Proceedings in Informatics (LIPIcs), pages 40:1–40:14, Dagstuhl, Germany, 2018. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2018.40.
- [19] Arnaud Durand, Meena Mahajan, Guillaume Malod, Nicholas De Rugy-Altherre, and Nitin Saurabh. Homomorphism Polynomials complete for VP. Chicago Journal of Theoretical Computer Science, 22(1):1–25, 2016. doi:10.4086/cjtcs.2016.003.
- [20] Zdeněk Dvořák. On recognizing graphs by numbers of homomorphisms. Journal of Graph Theory, 64(4):330–342, 2010. doi:10.1002/jgt.20461.
- [21] Michael A Forbes. Low-depth algebraic circuit lower bounds over any field. In 39th Computational Complexity Conference (CCC 2024), pages 31–1. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.CCC.2024.31.
- [22] Joshua A. Grochow and Toniann Pitassi. Circuit complexity, proof complexity, and polynomial identity testing: The ideal proof system. J. ACM, 65:37:1–37:59, 2018. doi:10.1145/3230742.
- [23] Martin Grohe and Martin Otto. Pebble Games and Linear Equations. The Journal of Symbolic Logic, 80(3):797–844, 2015. Publisher: Association for Symbolic Logic, Cambridge University Press. doi:10.1017/jsl.2015.28.
- [24] William He and Benjamin Rossman. Symmetric formulas for products of permutations. In Yael Tauman Kalai, editor, 14th Innovations in Theoretical Computer Science Conference, ITCS 2023, January 10-13, 2023, MIT, Cambridge, Massachusetts, USA, volume 251 of LIPIcs, pages 68:1–68:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.ITCS.2023.68.
- [25] Mark Jerrum and Marc Snir. Some exact complexity results for straight-line computations over semirings. J. ACM, 29(3):874–897, 1982. doi:10.1145/322326.322341.
- [26] Piotr Kawalek and Armin Weiß. Violating constant degree hypothesis requires breaking symmetry. In Olaf Beyersdorff, Michal Pilipczuk, Elaine Pimentel, and Kim Thang Nguyen, editors, 42nd International Symposium on Theoretical Aspects of Computer Science, STACS 2025, March 4-7, 2025, Jena, Germany, volume 327 of LIPIcs, pages 58:1–58:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.STACS.2025.58.
- [27] Sandra Kiefer. The Weisfeiler-Leman algorithm: an exploration of its power. ACM SIGLOG News, 7(3):5–27, 2020. doi:10.1145/3436980.3436982.
- [28] Balagopal Komarath, Anurag Pandey, and Chengot Sankaramenon Rahul. Monotone arithmetic complexity of graph homomorphism polynomials. Algorithmica, 85(9):2554–2579, 2023. doi:10.1007/S00453-023-01108-0.
- [29] Matthias Lanzinger and Pablo Barcelo. On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters. In The Twelfth International Conference on Learning Representations, 2024. URL: https://openreview.net/forum?id=FddFxi08J3.
- [30] László Lovász. Operations with structures. Acta Mathematica Academiae Scientiarum Hungarica, 18(3):321–328, September 1967. doi:10.1007/BF02280291.
- [31] Peter N. Malkin. Sherali–Adams relaxations of graph isomorphism polytopes. Discrete Optimization, 12:73–97, May 2014. doi:10.1016/j.disopt.2014.01.004.
- [32] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and Leman Go Neural: Higher-Order Graph Neural Networks. Proceedings of the AAAI Conference on Artificial Intelligence, 33:4602–4609, July 2019. doi:10.1609/aaai.v33i01.33014602.
- [33] Daniel Neuen. Homomorphism-Distinguishing Closedness for Graphs of Bounded Tree-Width. In Olaf Beyersdorff, Mamadou Moustapha Kanté, Orna Kupferman, and Daniel Lokshtanov, editors, 41st International Symposium on Theoretical Aspects of Computer Science (STACS 2024), volume 289 of Leibniz International Proceedings in Informatics (LIPIcs), pages 53:1–53:12, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.STACS.2024.53.
- [34] Ran Raz. Multi-linear formulas for permanent and determinant are of super-polynomial size. In László Babai, editor, Proceedings of the 36th Annual ACM Symposium on Theory of Computing, Chicago, IL, USA, June 13-16, 2004, pages 633–641. ACM, 2004. doi:10.1145/1007352.1007353.
- [35] Ran Raz and Amir Yehudayoff. Lower bounds and separations for constant depth multilinear circuits. In Proceedings of the 23rd Annual IEEE Conference on Computational Complexity, CCC 2008, 23-26 June 2008, College Park, Maryland, USA, pages 128–139. IEEE Computer Society, 2008. doi:10.1109/CCC.2008.8.
- [36] David E. Roberson. Oddomorphisms and homomorphism indistinguishability over graphs of bounded degree, 2022. arXiv:2206.10321v1.
- [37] Benjamin Rossman. Subspace-invariant formulas. Log. Methods Comput. Sci., 15(3), 2019. doi:10.23638/LMCS-15(3:3)2019.
- [38] Bruce E. Sagan. The Symmetric Group: Representations, Combinatorial Algorithms, and Symmetric Functions. Springer, 2nd edition, 2001.
- [39] Tim Seppelt. Logical equivalences, homomorphism indistinguishability, and forbidden minors. Information and Computation, 301:105224, 2024. doi:10.1016/j.ic.2024.105224.
- [40] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How Powerful are Graph Neural Networks? In International Conference on Learning Representations, 2019. URL: https://openreview.net/forum?id=ryGs6iA5Km.
