The Parameterized Complexity of Relational Database Queries and an Improved Characterization of W[1]

It is well known that for a fixed relational database query φ in m free variables, it can be determined in time polynomial in the size n of the database whether there exists an m-tuple x that belongs to the relation defined by the query. For the best known algorithms, however, the exponent of the polynomial is proportional to the size of the query. We study the data complexity of this problem parameterized by the size k = |φ| of the query, and answer a question recently raised by Yannakakis [Yan95]. Our main results show: (1) the general problem is complete for the parametric complexity class AW [∗], and (2) when restricted to monotone queries, the problem is complete for the fundamental parametric complexity class W [1]. The practical significance of these results is that unless the parameterized complexity hierarchy collapses, there are unlikely to be algorithms that solve this problem (even under the restriction to monotone queries) in time f(k)n where f is an arbitrary function of k and c is a constant independent of k. An important consequence of the proof of (2) is a significantly improved characterization of the parameterized complexity class W [1]. Previous results by Downey and Fellows characterize W [1] in terms of the kWeighted Circuit Satisfiability problem, for families of circuits that satisfy: (1) the depth of the circuits is bounded by a constant c, (2) on any input-output path there is at most one gate having unbounded fanin (termed a large gate), with all other gates having fan-in bounded by c (that is, small gates). We show that the definition can be broadened by allowing circuits of depth bounded by an arbitrary function f(k). If we denote this parameterized complexity class W ∗[1], then our corollary ⋆ Research supported by the New Zealand Marsden Fund for Basic Science ⋆⋆ Research supported by the National Science and Engineering Research Council of Canada. is: W ∗[1] = W [1]. As a consequence, the k-Weighted Satisfiability problem for Boolean expressions that are products of k-sums is complete for W [1]. Part of our argument establishes a general normalization lemma for W ∗[t] for all t.

[1]  Michael R. Fellows,et al.  DNA Physical Mapping: Three Ways Difficult , 1993, ESA.

[2]  Gomer Thomas,et al.  An improved characterization of the groups F4(2n), n ⩾ 2 , 1975 .

[3]  Michael R. Fellows,et al.  An Improved Fixed-Parameter Algorithm for Vertex Cover , 1998, Inf. Process. Lett..

[4]  Michael R. Fellows,et al.  Parameterized Circuit Complexity and the W Hierarchy , 1998, Theor. Comput. Sci..

[5]  M. Fellows,et al.  Beyond NP-completeness for problems of bounded width: hardness for the W hierarchy , 1994, Symposium on the Theory of Computing.

[6]  Michael R. Fellows,et al.  FIXED-PARAMETER TRACTABILITY AND COMPLETENESS , 2022 .

[7]  R. Downey,et al.  Parameterized Computational Feasibility , 1995 .

[8]  G DowneyRod,et al.  Fixed-Parameter Tractability and Completeness I , 1995 .

[9]  Michael R. Fellows,et al.  Fixed-Parameter Complexity and Cryptography , 1993, AAECC.

[10]  Michael R. Fellows,et al.  The Parameterized Complexity of Sequence Alignment and Consensus , 1994, CPM.

[11]  Liming Cai,et al.  On the parameterized complexity of short computation and factorization , 1997, Arch. Math. Log..

[12]  Michael R. Fellows,et al.  Parameterized learning complexity , 1993, COLT '93.

[13]  Michael R. Fellows,et al.  Fixed Parameter Tractability and Completeness , 1992, Complexity Theory: Current Research.

[14]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[15]  Michael R. Fellows,et al.  W[2]-hardness of precedence constrained K-processor scheduling , 1995, Oper. Res. Lett..

[16]  Marco Cesati,et al.  Parameterized complexity analysis in robot motion planning , 1995, 1995 IEEE International Conference on Systems, Man and Cybernetics. Intelligent Systems for the 21st Century.

[17]  Mihalis Yannakakis Perspectives on database theory , 1996, SIGA.

[18]  Michael R. Fellows,et al.  Fixed-Parameter Tractability and Completeness IV: On Completeness for W[P] and PSPACE Analogues , 1995, Ann. Pure Appl. Log..

[19]  Michael R. Fellows,et al.  Parameterized complexity analysis in computational biology , 1995, Comput. Appl. Biosci..

[20]  Michael T. Hallett,et al.  The Parameterized Complexity of Some Problems in Logic and Linguistics , 1994, LFCS.