Symmetric Parameterised Holants on Hypergraphs: Towards a Classification for Parameterised VCSPs
Abstract
We study the complexity of the parameterised counting constraint satisfaction problem: given a set of constraints over a set of variables and a positive integer , how many ways are there to assign variables to (and the others to ) such that all constraints are satisfied. While this problem, and its decision version, received significant attention during the last two decades, existing work has so far exclusively focused on restricted settings such as finding and counting homomorphisms between relational structures due to Grohe (JACM 2007) and Dalmau and Jonsson (TCS 2004), or the case of finite constraint languages due to Creignou and Vollmer (SAT 2012), and Bulatov and Marx (SICOMP 2014).
In this work, we tackle a more general setting of parameterised (counting) valued constraint satisfaction problems (VCSPs) with infinite constraint languages: we allow our constraints to be chosen from an infinite set of permitted constraints and we allow our constraints to map an assignment of its variables not only to or , but to arbitrary values. In this setting we are able to model and classify significantly more general problems such as (weighted) parameterised factor problems on hypergraphs and counting weight- solutions of systems of linear equations, none of which are captured by existing complexity classifications of parameterised constraint satisfaction problems.
On a formal level, we express parameterised VCSPs as parameterised holant problems on uniform hypergraphs, and we establish complete and explicit complexity dichotomy theorems for this family of problems both w.r.t. classical complexity theory ( vs. ) and parameterised complexity ( vs. ). For resolving the vs. question, we mainly rely on the use of hypergraph gadgets, the existence of which we prove using properties of degree sequences necessary for realisability in uniform hypergraphs. As a technical highlight, we also employ Curticapean’s “CFI Filters” (SODA 2024) – named after the Cai-Fürer-Immermann construction for bounding the expressiveness of the Weisfeiler-Leman heuristic – to establish polynomial-time algorithms for isolating vectors in the homomorphism basis of some of our holant problems. For the vs. question, we build upon the recently established combinatorial toolkit for parameterised holants on the special case of graphs by Aivasiliotis et al. (ICALP 2025) and also rely on an extension of the framework of the homomorphism basis due to Curticapean, Dell and Marx (STOC 17) to uniform hypergraphs.
Keywords and phrases:
Parameterised Complexity, Counting Problems, Constraint Satisfaction Problems, Holant ProblemsCategory:
Track A: Algorithms, Complexity and GamesFunding:
Andreas Göbel: Funded by the Postdoc Network Brandenburg.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Problems, reductions and completenessEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Extended Abstract
Constraint satisfaction problems (“CSPs”) and their counting analogues (“CSPs”) belong to the most well-studied computational problems in algorithms and complexity theory: given a set of constraints over a set of variables, find one of (or count) the assignments of variables to elements of a finite set such that all constraints are satisfied. CSPs and CSPs are extremely rich in expressibility, allowing us not only to model a multitude of fundamental problems such as the Boolean satisfiability problem, the graph homomorphism problem, and the computation of partition functions, but they also provide a uniform language for studying and analysing seemingly very different problems (see e.g. Bulatov’s survey on CSPs [6]). At the same time, families of CSPs are robust enough in structure to often allow for a precise and exhaustive complexity classification of their members, which usually comes in form of a complexity dichotomy theorem stating that each member of a family of CSPs is either solvable in polynomial time, or -hard.111This property is rather surprising, given that Ladner’s Theorem states that, assuming , the class contains an infinite hierarchy of complexities between and [35].
One of the earliest examples of a comprehensive analysis of a CSP is Schaefer’s Dichotomy [41], stating that each member of the generalised satisfiability problem is either solvable in polynomial time or -complete. Over the course of the following 20 years a significant amount of research had been undertaken with the goal of lifting Schaefer’s result from the Boolean domain to arbitrary finite domains, culminating in the formulation of the Feder-Vardi-Conjecture in 1998 [27]. It then took almost another 20 years until the conjecture was proved independently by Bulatov [5] and Zhuk [44] in 2017.
The quest for counting constraint satisfaction problems (CSPs) has seen similar success: Creignou and Hermann [16] established a counting version of Schaefer’s dichotomy in 1996, and the classification for CSPs over arbitrary domains was established again by Bulatov [4] whose result was then simplified and its tractability criterion shown to be decidable by Dyer and Richerby [26]. Moreover, the classification was eventually extended and strenghthened to CSPs with complex weights by Cai and Chen [8]. In the present work, we study the version of CSP in which we only count “weight--solutions”, that is assignments that set precisely variables to ; this version is also known as parameterised CSP and we focus on the Boolean domain, i.e., #CSPs defined over .
1.1 Parameterising CSPs by Solution Size
The weighted satisfiability problem WSAT asks, given a Boolean formula and a positive integer , whether contains a satisfying assignment of Hamming weight , that is, whether it is possible to satisfy the formula by setting precisely variables to . Similarly, its counting version asks to compute the number of such assignments. WSAT and are the foundational problems for the complexity theory of parameterised decision and counting problems: depending on the allowed structure of the input formula222The “W” in the -hierarchy stands for “weft”, which describes a structural property of boolean circuits., they define, respectively, the and the -hierarchies, including the classes and , which can be considered the parameterised decision and counting equivalents of . We refer the reader to the standard textbook of Flum and Grohe [29] for a comprehensive introduction to structural parameterised complexity theory.
Notably, WSAT and constitute the most rudimentary instances of parameterised CSP and CSP, and it comes to no surprise that analogues of Schaefer’s dichotomy, both for decision and for counting, have already been established for those problems [38, 7, 17]. The key difference in the parameterised setting is that the notion of tractability is relaxed from polynomial-time algorithms to fixed-parameter tractable “FPT” algorithms, the requirement for which is a running time bound of , where is the input size and is the problem parameter – in this work, will always be the Hamming weight of the sought solutions. The function can be any computable function; in other words, we allow for a super-polynomial overhead only in the problem parameter, reflecting the assumption that the parameter is significantly smaller than the input size in problem instances of interest (see [7] for a discussion on this assumption in the context of parameterised CSPs).
When studying families of parameterised CSPs, the goal is, thus, to classify the problems into instances that are FPT and instances that are hard for a class in the (or ) hierarchy. In particular, it is well-known that under the exponential time hypothesis (ETH) [31, 32], which asserts that 3-SAT cannot be solved in time (where is the number of variables of the input formula), -hard problems are not in FPT [14, 15, 22]. In addition to the aforementioned analogues of Schaefer’s dichotomy, such classifications have also been achieved for the problems of finding and counting homomorphisms between relational structures, which can both be expressed as parameterised CSPs (see [30, 23]).
However, all existing results are limited by either focusing on a special case (such as simple, undirected graph homomorphisms) or by the restriction to finite constraint languages. For example, the following natural counting problems cannot be expressed in existing frameworks for parameterised CSPs:333We note that special cases of and of , such as restrictions to certain input matrices and to graphs, are expressible in existing frameworks such as in [1]. However, the complexity of both problems has not been fully resolved yet.
-
Let be a prime. The problem gets as input a matrix over and a positive integer , and the goal is to compute the number of solutions to the system of linear equations (also over ) that set precisely variables to (and the other variables to ). Note that is identical to the counting version of Exact-Even-Set (see e.g. [25]).
-
Let . The problem gets as input a hypergraph and a positive integer , and the goal is to compute the number of -edge-subsets of that induce a hypergraph in which the degree of every vertex is in . Given , we denote for the restriction to -uniform hypergraphs. For example, is identical to the problem of counting -matchings in -uniform hypergraphs, where a matching in a hypergraph is a set of pairwise disjoint hyperedges.
In this work, we introduce and study a version of parameterised CSP which is powerful enough in expressibility to model the previous problems – in fact, we will consider a much more general model which can also describe constraints that map assignments to arbitrary numbers (rather than to just or ). Moreover, we will be able to provide complete complexity classifications for our model which reveal the complexity of the aforementioned examples as straightforward special cases.
Parameterised Symmetric Valued CSPs and Hypergraph Holants
For reasons of notational consistency with existing work on (parameterised) CSPs (see, e.g., [33]) we will first introduce our setting of interest via so-called Valued CSPs (“VCSPs”).444Being aware of another work (see [34]) studying a problem under the name Valued CSPs, we would like to point out that their problem is incomparable to ours and that our definition complies with [33].
Let denote a finite set of symmetric functions ; by symmetric we mean that is invariant under permutation of entries of input vectors.
Remark 1.
Note that, a symmetric function that is not associated with a specific arity, i.e., the length of its input is arbitrary, depends only on the Hamming weight of its input. Hence, such functions can be equivalently defined over natural numbers.
An instance of parameterised symmetric consists of a positive integer , a set of variables and a set of constraints of the form for some , where . The vector is known as the scope of the constraint. Given an instance , the task is to compute
For example, if contains precisely the function , then is identical to . If contains precisely the function which maps a vector to if it has at most one entry, and to otherwise, then is identical to .
Our goal is to understand the complexity of for any set of symmetric constraint functions - recall that symmetric constraints only depend on the Hamming weight of their assignment. To this end, we introduce and rely on a generalisation of the parameterised holant framework [19, 1] from graphs to hypergraphs, which enables us to naturally model VCSPs in a way that allows us to leverage a variety of powerful tools that have been established in parameterised counting complexity theory over the past years. We proceed by formally introducing the holant framework, after which we provide details on the equivalence between VCSPs and parameterised holants on hypergraphs.
Holant problems, implicitly defined by Valiant in his seminal paper on holographic reductions [43] and formally introduced by Cai, Lu and Xia [13], yield an avenue for modeling various counting problems, including problems that cannot be formulated as a CSP problem, such as the generating function of perfect matchings in a graph (see [10, 33]). Similarly to VCSPs, holant problems assume oracle access to a finite collection of functions, which by convention we call signatures and denote them with instead of .
An instance of a holant problem with respect to a finite set of signatures is a signature grid that consists of a (simple) undirected graph and an assignment of signatures from to the vertices of . For a vertex , we denote by , the signature that is assigned to . The objective is to compute the holant value (or simply, the holant) of the signature grid which is given as follows
| (1) |
where is the restriction of to the edges that are incident to . The focus of this article is on the following holant variant.
The parameterised holant problem on a finite set of symmetric signatures , takes as input a signature grid , and a number and computes
Remark 2.
Following the equivalent definition of symmetric signatures as , we note that can be written in a simplified form by observing that for any assignment s.t. and any vertex , by letting , we have that the number of 1s in is precisely equal to . Hence,
The integer is called the parameter of the problem instance, and, in addition to classifying the polynomial-time tractable cases, we are interested in fixed-parameter tractable (FPT) algorithms. Holant instances can naturally be extended to signature grids over hypergraphs , where is the set of vertices and is the multiset of hyperedges555Note that a hyperedge is a set and not a multiset, but multiple copies of the same hyperedge are allowed., that generalise graphs. The holant (value) of a signature grid over an underlying hypergraph is defined identically to (1), where a hyperedge is incident to a vertex if .
Thus far, parameterised holant problems may take as input a signature grid with an underlying hypergraph of arbitrarily large rank666Recall that the rank of a hypergraph is given by .. Naturally, we are also interested in the case in which the rank of the input hypergraph is bounded. There are two ways by which we may bound the rank of the instance’s underlying hypergraph, namely, either to include the rank in the parametrisation along with , or to allow only for hypergraphs of fixed rank, that is, their rank is at most some constant (the latter of which is in fact the slice of the former). In particular, the most interesting variant considering fixed rank is the one that is restricted to uniform hypergraphs. The three aforementioned variants are formally stated below777We point out that parameterised holant problems p-Holant have been traditionally considered in a colourful setting in which edges are coloured, while uncoloured holant problems are typically denoted as p-UnColHolant (see e.g., [19], [1]). In this work, we only consider the uncoloured setting, thus we refrain from indicating in the notation of our holant problems that are uncoloured. – we emphasize that we assume signature grids over hypergraphs that feature no multiple hyperedges for everything that follows.
Definition 3 (Parameterised Holant Problems on Hypergraphs).
Let be a finite set of signatures.
-
The problem expects as input a positive integer and a signature grid over . The output is and the problem parameter is .
-
The problem expects as input a positive integer and a signature grid over . The output is and the problem parameters are and the rank of .
-
For any constant , the problem expects as input a positive integer and a signature grid over , such that is -uniform, that is, each hyperedge has cardinality . The output is and the problem parameter is .
Remark 4 (On infinite domains).
We emphasise that our definition of parameterised holants on hypergraphs is, up to the extension from graphs to hypergraphs, identical to the definition in existing literature [1, 19]. As discussed in [1], computable signatures with infinite domains – though unusual in classical holant theory – yield a non-trivial well-defined framework that is able to capture problems that would otherwise require an infinite number of (finite-arity) signatures (see, e.g., and discussed earlier). Even more importantly, finite-arity signatures can only capture those instances for which the underlying hypergraph is of bounded vertex-degree. In the parameterised setting, such a restriction above is known to admit trivial FPT-algorithms (a detailed discussion about the latter point is formally provided in [1] as well as briefly in Section 1.7). Thereby a study on infinite domains is crucial for establishing the complexity of important families of problems that remained uncaptured by existing frameworks.
Remark 5 (On Boolean domain and symmetric signatures).
In general, holant problems allow for general domains (see, e.g., [9]) and signatures that do not need to be symmetric [36]. However, even in the classical setting, only partial results are known for symmetric functions on general domains [12] or for asymmetric functions on Boolean domains [39, 40]. Therefore, this work focusses on symmetric Boolean signatures not because the asymmetric case is less interesting, but as a natural starting point for investigating parameterised holants on hypergraphs.
1.2 Equivalence of VCSPs and Holant Problems on Hypergraphs
We show in a very simple reduction, that holant problems on hypergraphs are VCSPs (and vice versa). In particular, here we show the equivalence for the respective parameterised problems. We stress that for the aforementioned equivalence to hold, we need to modify our definition of holant problems such that the underlying hypergraphs allow for multi-hyperedges, i.e., multiple copies of the same hyperedge may appear. However, this is only a technical subtlety that we do not need to consider in the rest of the paper. The reason is that all of our hardness results for the restricted holant problems transfer trivially to the more general holant problems that allows for multi-hyperedges and as we show in the full version (see [2]) our tractability results still apply as well.
We let be a finite set of functions and recall that, given a set of variables , a set of constraints of the form , where , and a positive integer , the problem computes
Given , we construct a hypergraph , that will be used as the underlying hypergraph of the intended holant instance, as follows. Each constraint corresponds to a (unique) vertex and each variable corresponds to a (unique) hyperedge given as . Note that, there may be variables such that . We allow to contain multiple copies of the same hyperedge, such that each variable corresponds uniquely to (some copy of) .
Next, we let denote the signature grid obtained from by equipping, for each , the variable with the signature . We also assume that the order of the arguments of is preserved, that is, if is the -th argument of , then is the -th argument of . It can be readily verified that
Remark 6.
For , we write for the occurence of in , that is, the number of constraints that contain in their scope, that is, , for some . For any variable , we have that is equal to the size of . Furthermore, for any constraint , we have that , that is, the number of variables in the scope of , is equal to the number of hyperedges in that are incident to .
Furthermore, the reverse direction, that is, formulating a (parameterised) generalised holant problem as a VSCP can be achieved in a similar fashion.
1.3 Existing Results for Parameterised Holants on Graphs
The parameterised complexity of the problem was recently classified by Aivasiliotis et al. [1]. The classification criterion depends on the type of the set of allowed signatures, as defined in [1], which we also define here momentarily, for reasons of self-containment. In particular, only signature sets that exclude signatures with are assigned a type in [1] and the reason is that – roughly speaking – signatures with do not affect the parameterised complexity of the problem, as it was shown in [1]. In other words, any fixed-parameter tractable finite set of signatures remains fixed-parameter tractable even if we add to it any number of signatures with . However, we will see that this is not necessarily true for polynomial-time tractability, which is why we explicitly include the case of in the present paper.
The type of a signature set is decided by the signature fingerprint function, which is a combinatorial sum that is reminiscent of the Möbius function of partition lattices, given as follows.
Definition 7 (Signature Fingerprints [1]).
Let be a positive integer and let be a signature. If then the fingerprint of and is defined as
where the sum is over all partitions of and denotes the number of blocks . For technical reasons, if for all , we set . In all remaining cases, i.e., but for some , the fingerprint is undefined and we set .
Definition 8 (Types of Signature Sets [1]).
Let be a finite set of signatures. We say that is of type888We point out that we have renamed the types of signatures to avoid introducing further concepts.
-
1.
if for all ,
-
2.
if for all , but there exists with , and
-
3.
otherwise, i.e., there exists and such that .
It was shown in [1] that there are infinitely many signature sets of each type. We are now ready to state the known complexity dichotomy for . In particular, it is only the signature sets of the first type that render the problem tractable. However, the third type of signature sets allow for tighter conditional lower bounds.
Theorem 9 (Complexity Dichotomy for [1]).
Let be a finite set of signatures. We set .
-
1.
If is of type , then can be solved in FPT-near-linear time.
-
2.
Otherwise is -complete. If, additionally, is of type , then cannot be solved in time , unless ETH fails.
Finally, the tractability criteria above are in fact explicit, in the sense that for a set of signatures of type and a signature , we know that has the following explicit representation: , for some . The above implies that must be assumed, but in the context of holant problems it is well-known that scaling a signature by some constant, does not affect the complexity of the problem.
1.4 Further Related Work on Holants
In this part, we explore some well established approaches that appear, at first glance, to allow for deriving complexity classifications for holants on hypergraphs; however, as we argue below, they turn out to be insufficient for our (parameterised and classical) settings.
Firstly, as it has already been pointed out, holant problems on hypergraphs are equivalent to a natural class of symmetric counting constraint satisfaction problems (see Section 1.2). Furthermore, readers familiar with classical holant theory might be aware that the extension of signature grids from graphs to hypergraphs has only limited benefits since classifications for higher arity CSPs had already been known when the holant framework was introduced – e.g. the dichotomy for CSP [4] first appeared in ICALP’08 while for holants [11] in STOC’13. However, in the parameterised world where we only consider assignments that map precisely variables/edges to , the situation is flipped: not much is known about the complexity of CSP for higher arities and the framework of parameterised holants on hypergraphs allows us to tackle such problems.
Secondly, holants on hypergraphs are also known to reduce, in the classical sense, to holants on graphs via incidence graphs; we provide the details for the sake of self-containment: To this end, we let be a finite set of signatures. We consider a hypergraph and an assignment of signatures from to its vertices. It is folklore that any hypergraph can be represented as a bipartite incidence graph as follows. We let and consider two arbitrary bijections and . Furthermore, for each and each such that , we add to . Then, we consider the following assignment of signatures to : for each we assign to the signature of and for each , we assign to the signature where and evaluates to one if and only if all of its arguments are equal. It can be readily verified that
| (2) |
where is either in or is an equality signature for some . In other words, holants on hypergraphs reduce to holants on (bipartite) graphs assuming – besides – freely available equality signatures.
It is known that signatures for equality (i.e., ) are part of the tractable family of affine signatures, implying the easiness of holant problems on hypergraphs. Moreover, hardness of holants on graphs transfer directly to holant problems on hypergraphs since the former is a special case of the latter.
However, we point out that the aforementioned trivial equivalence already becomes incomplete when introducing even mild natural restrictions to the problem, e.g., restricting holants to uniform hypergraphs of fixed rank (i.e., of upper-bounded maximum hyperedge-size), or, more importantly, by not allowing freely available equality signatures, which cases are considered and remedied in this work. Note that the latter case is realised when we only consider signatures of infinite domain which are our main consideration. It is easy to see that such signatures cannot model equality signatures.
1.5 Our Contributions
We provide exhaustive complexity dichotomy results both with respect to classical complexity theory ( vs. ) and with respect to parameterised complexity theory ( vs. ).
We first state our main results in the parameterised setting. As it has been already pointed out, the problem is a “slice” of . The above implies that we need not state two complexity dichotomies, since an FPT algorithm for the latter problem implies an FPT algorithm for the former (w.r.t. the respective parametrisation) and if any slice of is hard, then must already be hard. Hence, our main result – stated formally below – consists of
-
1.
an FPT algorithm for , for finite sets of signatures of type , which also addresses the tractable case in which contains signatures with .
-
2.
-hardness results for the problem , for any .
We recall that the parameterised complexity in the special case of , that is, the case of graphs, has already been established in [1].
Theorem 10 (Parameterised Complexity Dichotomy).
Let be a finite set of signatures. Let furthermore .
-
1.
If is of type , then can be solved in FPT-(near)-linear time, that is, in time , where r is the rank of the underlying hypergraph of .
-
2.
If is not of type , then is -hard.
In particular, for any , the problem is -hard. Furthermore, if is of type , then cannot be solved in time , for any computable function , unless ETH fails.
Note that the previous result implies that all FPT cases are in fact FPT-near-linear time solvable. We also classify the aforementioned problems in the non-parameterised setting. We point out that such a classification is novel even for the case of graphs (that is, ).
Theorem 11 (Classical Complexity Dichotomy).
Let be a finite set of signatures and let .
-
1.
If is of type (implying that all signatures satisfy ), then can be solved in polynomial time.
-
2.
Otherwise, is -hard.
Note that the second part (2.) in the previous result implies that is -hard whenever contains a signature with but for some .
Remark 12 (Finite signature sets vs. finite constraint languages).
Finite signature sets are not the same as finite constraint languages, since our signatures have domain , but constraints come with a fixed arity.
As we explain in Section 1.2 our theorems immediately imply the analogous classifications for (the classical and parameterised) complexity of p-VCSP. We now give two applications of our main results:
Corollary 13.
For each prime , the problem is -hard and -hard. Moreover, assuming ETH, cannot be solved in time for any function , where is the input matrix and is the problem parameter.
Proof.
The problem reduces from where if and otherwise. To verify the existence of this reduction, observe that for each vertex of the signature grid and its incident edges , we just need to add the equation ; in fact, this reduction applies in both directions if we allow multiple copies of the same hyperedge in the signature grid (this happens if the matrix of the system has two identical columns).
Clearly, . Now consider . There is only one partition of that contains a block of size : this is the coarsest partition containing only one block . Clearly, . All further partitions of contain a block with , hence . Consequently,
For , this shows that is of type . For , it is easy to verify that , hence the type is also . Intractability then immediately follows from Theorems 10 and 11, and from the fact that reduces to for any and .
For the next application, we consider the problem of counting -matchings in -uniform hypergraphs. It is well-known that this problem is -hard since it subsumes as a special case the problem of counting perfect matchings in -uniform hypergraphs for which -hardness is known (in particular, the case was shown by Valiant [42], while the case was shown later by Creignou [16]). For , it took almost a decade to strengthen -hardness to -hardness.999The -hardness of counting -matchings in graphs was first conjectured by Flum and Grohe in 2004 [28], and proved by Curticapean in 2013 [18]. We obtain -hardness for all as an easy application of our main result.
Corollary 14.
For each , the problem of counting -matchings in a -uniform hypergraph is -hard and cannot be solved in time for any function , unless ETH fails.
Proof.
We just need to show that the signature set is of type . Here, if and otherwise. The claim then follows immediately from Theorem 10, since the problem is identical to . It is easy to verify that . Moreover, . Hence is of type .
In particular, Corollary 14 also follows from the novel complete complexity classification of which we establish below.
Corollary 15.
Let be a finite set. For any ,
-
1.
is -hard.
-
2.
If , is solvable in FPT-(near)-linear time, that is, in time , for some computable function .
-
3.
If , is -hard and cannot be solved in time , for any computable function , unless ETH fails.
Proof.
Let be an instance of . Consider the signature where if and only if . It is easy to verify that is equivalent101010Clearly, with respect to parameterised as well as non-parameterised polynomial-time Turing-reductions. to via a reduction that associates to a holant instance , where the underlying hypergraph of is and each vertex of is equipped with signature .
First, note that if (implying that , it follows from Theorem 10 that is solvable in FPT-(near)-linear time. Furthermore, Theorem 11 implies that for any , is -hard.
Now, assume that . It has been shown in (the full version of) [1, Corollary 6.22] that is of type . Hence, Theorem 10 implies that for any , is -hard and cannot be solved in time , for any computable function , unless ETH fails. Furthermore, Theorem 11 implies that for any , is -hard.
1.6 Our Techniques
Before we conclude our introduction, we give a brief exposition of the machinery we are employing for deriving our results.
1.6.1 Gadgets
One of the tools that we employ are gadgets. Gadgets have mainly been used in counting problems outside of the holant framework. We point out that our gadgets will be much more general than what the familiar reader might know as matchgates which have been extensively used within the holant framework, the details of which are beyond the scope of this paper.
Roughly speaking, gadgets are signature grids that are embedded on other signature grids , typically by identifying vertices of (a copy of) with vertices of and possibly forming new hyperedges (e.g., between different copies of gadgets). The above implies that gadgets induce a mapping between signature grids (possibly allowing different signatures). In this work, the construction of gadgets is based on the realisability of degree sequences of certain suitable hypergraphs that also meet some structural properties. For example, some of our gadgets rely on the existence of infinitely many -uniform -regular hypergraphs for that are also connected.
For our parameterised holant problems, we will consider a more general mapping that maps a parameterised holant instance (instead of just a signature grid) into another , that can be computed efficiently with respect to parameterised or classical complexity. The choice of the new parameter is based on the following observation: the most useful gadgets are naturally those that preserve the holant value, that is, , hence the need for possibly choosing a different parameter. However, the previous requirement is rather strict, and we would also be content if the holant values of the respective holant instances are efficiently comparable, in the sense that there is an efficient way to compute by computing only . For our problems, we devise gadgets such that
where are efficiently computable functions, which implies that we can efficiently compute via computing . More formally, we are interested in those gadgets that induce a mapping which will imply a polynomial time (or FPT) Turing-reduction between two holant problems (that may not necessarily allow for the same signatures).
1.6.2 Graph Motif Parameters
Another tool in our machinery is the framework of graph motif parameters and the property of complexity monotonicity that they enjoy, introduced by Curticapean, Dell and Marx [21].
A graph parameter is any function over graphs that is invariant under isomorphisms. A graph motif parameter is a graph parameter that admits the following expansion: there exist pair-wise non-isomorphic pattern graphs and coefficients such that for any graph , , where counts the number of homomorphisms, i.e., edge-preserving mappings from to . Is it known that such an expansion is unique [37]. We will sometimes refer to it as the expansion of into the homomorphism basis implying that homomorphism counts span the vector space of graph motif parameters, the details of which are beyond the scope of this introduction.
A well-known result, first established in [24] (see also [21]), states that evaluating the number can be done in time , where is the treewidth of and . Hence, any fixed graph motif parameter can be evaluated in polynomial time, since the pattern graphs are fixed. It is therefore more interesting to investigate the complexity of evaluating a graph motif parameter from an infinite – and assumed recursively enumerable – family of graph motif parameters.
From our discussion above, it follows that if we can bound the treewidth of the pattern graphs featured in any graph motif parameter , then the problem of evaluating any is computable in polynomial time. From the perspective of parameterised complexity, the result above further implies quite straightforwardly that the problem of evaluating , when parameterised by the maximum number of vertices of the pattern graphs in , is fixed-parameter tractable when the treewidth of pattern graphs in any is bounded. In a remarkable result due to Curticapean, Dell and Marx [21] it was shown that the boundedness of the treewidth is the right dichotomy criterion for the aforementioned parameterised problem, in the sense that, if contains graph motif parameters with pattern graphs of unbounded treewidth, then the problem is -hard. Specifically, it is shown in [21] that, if we can evaluate a graph motif parameter , then we can also evaluate the mapping , via FPT Turing-reductions, for any pattern graph of as long as its corresponding coefficient is non-zero. This property was coined as complexity monotonicity and since its inception, it has yielded an avenue for charting the complexity of many counting problems that can be formulated within the framework of graph motif parameters. In particular, the problem of evaluating a graph motif parameter then becomes a combinatorial problem – arguably of very challenging nature – , since one has to investigate which graphs are supported in the expansion of in the homomorphism basis, i.e., their coefficient is non-zero.
Interestingly, Curticapean showed very recently that – under some technical restrictions – a polynomial-time analogue of complexity monotonicity is feasible, that is, extracting homomorphism counts from the homomorphism expansion of a graph motif parameter can be done in polynomial time [20]. If the technical conditions apply, this result can be used to infer -hardness for the problem of evaluating graph motif parameters.
The property of complexity monotonicity also applies to graph motif parameters over more general structures, e.g., hypergraphs that may also feature vertex-colourings and it is otherwise known as Dedekind interpolation (see e.g., the full version of [3, Theorem 18]).
In particular, signature grids can be equivalently seen as vertex-coloured hypergraphs where the colours are given by the signatures. Letting denote the set of all signature grids over , we can show that for any , the mapping is a graph motif parameter (see [2] for a proof) and thus we can formulate and study holant problems within the framework of graph motif parameters.
1.7 Conclusion and Future Work
Following the recent advancements of Aivasiliotis et al. [1], in the line of work for charting the complexity of parameterised holant problems introduced by Curticapean [19], we introduce generalised parameterised holant problems that can model parameterised VCSPs. The latter can be seen as the counting counterpart (that assumes complex values) of the parameterised satisfiability problem introduced and classified by Marx in [38], the parametrisation of which is given by the solution-size which is restricted to some .
We fully classify the complexity of parameterised VCSPs (as well as the complexity of the non-parameterised equivalent problems) for unbounded symmetric constraints. In particular, several natural variants are also considered subject to additional restrictions, e.g., when no two variables can appear in the same set of constraints and/or variables appear in exactly constraints, that is the occurrence of every variable is precisely .
As mentioned above, in our setting we assumed unbounded arity (of constraints) and in particular, we further assumed bounded occurrence of (variables). For the rest of this section, we would like to elaborate on the other possible configurations of the problem with respect to the (un)boundedness of the arity and the occurrence.
First, in the context of unbounded arity, we show that trivially tractable instances of the problem already become -hard if we assume unbounded occurrences (see [2]). In this context, an FPT Turing-reduction from parameterised VCSPs to the problem of evaluating graph motif parameters would imply the collapse of -hierarchy, since the expansion of instances of the latter problem into the homomorphism basis includes patterns, the size of which is not bounded by the (only) parameter . This shows that a novel framework becomes necessary for tackling those instances of parameterised #CSPs, which is an exciting avenue for future work.
Next, in the context of bounded arity, if we further assume that occurrence is bounded then we can infer trivial fixed-parameter tractability results (for all instances) which follow from standard algorithmic techniques in parameterised complexity such as the bounded search-tree paradigm.
The last case, that is the combination of bounded arity and unbounded occurrence, is not remedied in this work as it is orthogonal to our main setting of interest. Hence we leave this family of parameterised #CSPs open for investigation in future work.
References
- [1] Panagiotis Aivasiliotis, Andreas Göbel, Marc Roth, and Johannes Schmitt. Parameterised Holant Problems. In ICALP 2025, volume 334, pages 7:1–7:14, 2025. Full version : https://arxiv.org/abs/2409.13579. doi:10.4230/LIPIcs.ICALP.2025.7.
- [2] Panagiotis Aivasiliotis, Andreas Göbel, and Marc Roth. Symmetric parameterised holants on hypergraphs: Towards a classification for parameterised vcsps, 2026. arXiv:2508.19794.
- [3] Marco Bressan, Matthias Lanzinger, and Marc Roth. The complexity of pattern counting in directed graphs, parameterised by the outdegree. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 542–552, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585204.
- [4] Andrei A. Bulatov. The complexity of the counting constraint satisfaction problem. J. ACM, 60(5):34:1–34:41, 2013. doi:10.1145/2528400.
- [5] Andrei A. Bulatov. A Dichotomy Theorem for Nonuniform CSPs. In Proc. FOCS 2017, pages 319–330, 2017. doi:10.1109/FOCS.2017.37.
- [6] Andrei A. Bulatov. Constraint satisfaction problems: complexity and algorithms. ACM SIGLOG News, 5(4):4–24, November 2018. doi:10.1145/3292048.3292050.
- [7] Andrei A Bulatov and Dániel Marx. Constraint satisfaction parameterized by solution size. SIAM Journal on Computing, 43(2):573–616, 2014. doi:10.1137/120882160.
- [8] Jin-Yi Cai and Xi Chen. Complexity of counting CSP with complex weights. J. ACM, 64(3):19:1–19:39, 2017. doi:10.1145/2822891.
- [9] Jin-Yi Cai and Artem Govorov. The complexity of counting edge colorings for simple graphs. Theor. Comput. Sci., 889:14–24, 2021. doi:10.1016/J.TCS.2021.07.033.
- [10] Jin-Yi Cai and Artem Govorov. Perfect matchings, rank of connection tensors and graph homomorphisms. Comb. Probab. Comput., 31(2):268–303, 2022. doi:10.1017/S0963548321000286.
- [11] Jin-Yi Cai, Heng Guo, and Tyson Williams. A complete dichotomy rises from the capture of vanishing signatures. SIAM J. Comput., 45(5):1671–1728, 2016. doi:10.1137/15M1049798.
- [12] Jin-Yi Cai and Jin Soo Ihm. Holant* Dichotomy on Domain Size 3: A Geometric Perspective. In 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), volume 334 of Leibniz International Proceedings in Informatics (LIPIcs), pages 148:1–148:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ICALP.2025.148.
- [13] Jin-Yi Cai, Pinyan Lu, and Mingji Xia. Holant problems and counting csp. In Proceedings of the forty-first annual ACM symposium on Theory of computing, pages 715–724, 2009. doi:10.1145/1536414.1536511.
- [14] Jianer Chen, Benny Chor, Mike Fellows, Xiuzhen Huang, David W. Juedes, Iyad A. Kanj, and Ge Xia. Tight lower bounds for certain parameterized NP-hard problems. Inf. Comput., 201(2):216–231, 2005. doi:10.1016/j.ic.2005.05.001.
- [15] Jianer Chen, Xiuzhen Huang, Iyad A. Kanj, and Ge Xia. Strong computational lower bounds via parameterized complexity. J. Comput. Syst. Sci., 72(8):1346–1367, 2006. doi:10.1016/j.jcss.2006.04.007.
- [16] Nadia Creignou and Miki Hermann. Complexity of generalized satisfiability counting problems. Information and computation, 125(1):1–12, 1996. doi:10.1006/INCO.1996.0016.
- [17] Nadia Creignou and Heribert Vollmer. Parameterized complexity of weighted satisfiability problems: Decision, enumeration, counting. Fundam. Informaticae, 136(4):297–316, 2015. doi:10.3233/FI-2015-1159.
- [18] Radu Curticapean. Counting matchings of size k is #W[1]-hard. In Proc. of ICALP, volume 7965, pages 352–363, 2013. doi:10.1007/978-3-642-39206-1_30.
- [19] Radu Curticapean. The simple, little and slow things count: On parameterized counting complexity. PhD thesis, Saarland University, 2015. URL: http://scidok.sulb.uni-saarland.de/volltexte/2015/6217/.
- [20] Radu Curticapean. Count on CFI graphs for #P-hardness. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1854–1871. SIAM, 2024. doi:10.1137/1.9781611977912.74.
- [21] Radu Curticapean, Holger Dell, and Dániel Marx. Homomorphisms are a good basis for counting small subgraphs. In Proc. of ACM STOC, pages 210–223, 2017. doi:10.1145/3055399.3055502.
- [22] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [23] Víctor Dalmau and Peter Jonsson. The complexity of counting homomorphisms seen from the other side. Theoretical Computer Science, 329(1-3):315–323, 2004. doi:10.1016/J.TCS.2004.08.008.
- [24] Josep Díaz, Maria J. Serna, and Dimitrios M. Thilikos. Counting H-colorings of partial k-trees. Theor. Comput. Sci., 281(1-2):291–309, 2002. doi:10.1016/S0304-3975(02)00017-8.
- [25] Rodney G. Downey, Michael R. Fellows, Alexander Vardy, and Geoff Whittle. The parametrized complexity of some fundamental problems in coding theory. SIAM J. Comput., 29(2):545–570, 1999. doi:10.1137/S0097539797323571.
- [26] Martin E. Dyer and David Richerby. An effective dichotomy for the counting constraint satisfaction problem. SIAM J. Comput., 42(3):1245–1274, 2013. doi:10.1137/100811258.
- [27] Tomás Feder and Moshe Y. Vardi. The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory. SIAM J. Comput., 28(1):57–104, 1998. doi:10.1137/S0097539794266766.
- [28] Jörg Flum and Martin Grohe. The Parameterized Complexity of Counting Problems. SIAM J. Comput., 33(4):892–922, 2004. doi:10.1137/S0097539703427203.
- [29] Jörg Flum and Martin Grohe. Parameterized Complexity Theory. Springer, 2006. doi:10.1007/3-540-29953-X.
- [30] Martin Grohe. The complexity of homomorphism and constraint satisfaction problems seen from the other side. J. ACM, 54(1):1:1–1:24, 2007. doi:10.1145/1206035.1206036.
- [31] Russell Impagliazzo and Ramamohan Paturi. On the Complexity of k-SAT. J. Comput. Syst. Sci., 62(2):367–375, 2001. doi:10.1006/jcss.2000.1727.
- [32] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which Problems Have Strongly Exponential Complexity? J. Comput. Syst. Sci., 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
- [33] Mark Jerrum. Counting constraint satisfaction problems. Dagstuhl Follow-Ups, 2017. doi:10.4230/DFU.VOL7.15301.8.
- [34] Vladimir Kolmogorov, Andrei Krokhin, and Michal Rolínek. The complexity of general-valued csps. SIAM Journal on Computing, 46(3):1087–1110, 2017. doi:10.1137/16M1091836.
- [35] Richard E. Ladner. On the structure of polynomial time reducibility. J. ACM, 22(1):155–171, 1975. doi:10.1145/321864.321877.
- [36] Jiabao Lin and Hanpin Wang. The complexity of holant problems over boolean domain with non-negative weights. In Ioannis Chatzigiannakis, Piotr Indyk, Fabian Kuhn, and Anca Muscholl, editors, 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017, July 10-14, 2017, Warsaw, Poland, volume 80 of LIPIcs, pages 29:1–29:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ICALP.2017.29.
- [37] László Lovász. Large Networks and Graph Limits, volume 60 of Colloquium Publications. American Mathematical Society, 2012. URL: http://www.ams.org/bookstore-getitem/item=COLL-60.
- [38] Dániel Marx. Parameterized complexity of constraint satisfaction problems. Comput. Complex., 14(2):153–183, 2005. doi:10.1007/S00037-005-0195-9.
- [39] Boning Meng, Juqiu Wang, and Mingji Xia. The FP versus #p dichotomy for #eo. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pages 1795–1806, 2025.
- [40] Boning Meng, Juqiu Wang, Mingji Xia, and Jiayi Zheng. From an odd arity signature to a holant dichotomy. In Srikanth Srinivasan, editor, 40th Computational Complexity Conference, CCC 2025, Toronto, Canada, August 5-8, 2025, volume 339 of LIPIcs, pages 23:1–23:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.CCC.2025.23.
- [41] Thomas J Schaefer. The complexity of satisfiability problems. In Proceedings of the tenth annual ACM symposium on Theory of computing, pages 216–226, 1978. doi:10.1145/800133.804350.
- [42] Leslie G Valiant. The complexity of enumeration and reliability problems. siam Journal on Computing, 8(3):410–421, 1979. doi:10.1137/0208032.
- [43] Leslie G. Valiant. Holographic Algorithms. SIAM J. Comput., 37(5):1565–1594, 2008. doi:10.1137/070682575.
- [44] Dmitriy Zhuk. A Proof of CSP Dichotomy Conjecture. In Proc. FOCS 2017, pages 331–342, 2017. doi:10.1109/FOCS.2017.38.
