Tractable Hypergraph Properties for Constraint Satisfaction and Conjunctive Queries

Type: Article

Publication Date: 2013-11-01

Citations: 144

DOI: https://doi.org/10.1145/2535926

Abstract

An important question in the study of constraint satisfaction problems (CSP) is understanding how the graph or hypergraph describing the incidence structure of the constraints influences the complexity of the problem. For binary CSP instances (that is, where each constraint involves only two variables), the situation is well understood: the complexity of the problem essentially depends on the treewidth of the graph of the constraints [Grohe 2007; Marx 2010b]. However, this is not the correct answer if constraints with unbounded number of variables are allowed, and in particular, for CSP instances arising from query evaluation problems in database theory. Formally, if H is a class of hypergraphs, then let CSP( H ) be CSP restricted to instances whose hypergraph is in H . Our goal is to characterize those classes of hypergraphs for which CSP( H ) is polynomial-time solvable or fixed-parameter tractable, parameterized by the number of variables. Note that in the applications related to database query evaluation, we usually assume that the number of variables is much smaller than the size of the instance, thus parameterization by the number of variables is a meaningful question. The most general known property of H that makes CSP( H ) polynomial-time solvable is bounded fractional hypertree width. Here we introduce a new hypergraph measure called submodular width , and show that bounded submodular width of H (which is a strictly more general property than bounded fractional hypertree width) implies that CSP( H ) is fixed-parameter tractable. In a matching hardness result, we show that if H has unbounded submodular width, then CSP( H ) is not fixed-parameter tractable (and hence not polynomial-time solvable), unless the Exponential Time Hypothesis (ETH) fails. The algorithmic result uses tree decompositions in a novel way: instead of using a single decomposition depending on the hypergraph, the instance is split into a set of instances (all on the same set of variables as the original instance), and then the new instances are solved by choosing a different tree decomposition for each of them. The reason why this strategy works is that the splitting can be done in such a way that the new instances are “uniform” with respect to the number extensions of partial solutions, and therefore the number of partial solutions can be described by a submodular function. For the hardness result, we prove via a series of combinatorial results that if a hypergraph H has large submodular width, then a 3SAT instance can be efficiently simulated by a CSP instance whose hypergraph is H . To prove these combinatorial results, we need to develop a theory of (multicommodity) flows on hypergraphs and vertex separators in the case when the function b ( S ) defining the cost of separator S is submodular, which can be of independent interest.

Locations

  • Journal of the ACM - View
  • arXiv (Cornell University) - View - PDF
  • CiteSeer X (The Pennsylvania State University) - View - PDF

Similar Works

Action Title Year Authors
+ PDF Chat Tractable hypergraph properties for constraint satisfaction and conjunctive queries 2010 Dániel Marx
+ Tractable hypergraph properties for constraint satisfaction and conjunctive queries 2009 Dániel Marx
+ Tractable hypergraph properties for constraint satisfaction and conjunctive queries 2009 Dániel Marx
+ Approximating fractional hypertree width 2009 Dániel Marx
+ Complexity Analysis of Generalized and Fractional Hypertree Decompositions 2020 Georg Gottlob
Matthias Lanzinger
Reinhard Pichler
Igor Razgon
+ PDF Chat Complexity Analysis of Generalized and Fractional Hypertree Decompositions 2021 Georg Gottlob
Matthias Lanzinger
Reinhard Pichler
Igor Razgon
+ General and Fractional Hypertree Decompositions: Hard and Easy Cases 2016 Wolfgang Fischl
Georg Gottlob
Reinhard Pichler
+ Computing hypergraph width measures exactly 2011 Lukas Moll
Siamak Tazari
Marc Thurley
+ Computing hypergraph width measures exactly 2011 Lukas Moll
Siamak Tazari
Marc Thurley
+ A Join-Based Hybrid Parameter for Constraint Satisfaction 2019 Robert Ganian
Sebastian Ordyniak
Stefan Szeider
+ A Join-Based Hybrid Parameter for Constraint Satisfaction 2019 Robert Ganian
Sebastian Ordyniak
Stefan Szeider
+ Semantic Width of Conjunctive Queries and Constraint Satisfaction Problems 2018 Georg Gottlob
Matthias Lanzinger
Reinhard Pichler
+ Tree Projections and Constraint Optimization Problems: Fixed-Parameter Tractability and Parallel Algorithms 2017 Georg Gottlob
Gianlugi Greco
Francesco Scarcello
+ Tree Projections and Constraint Optimization Problems: Fixed-Parameter Tractability and Parallel Algorithms 2017 Georg Gottlob
Gianlugi Greco
Francesco Scarcello
+ Constraint solving via fractional edge covers 2006 Martin Grohe
Dániel Marx
+ PDF Chat Constraint solving via fractional edge covers 2006 Martin Grohe
Dániel Marx
+ Semantic Width and the Fixed-Parameter Tractability of Constraint Satisfaction Problems 2020 Hubie Chen
Georg Gottlob
Matthias Lanzinger
Reinhard Pichler
+ HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings 2020 Wolfgang Fischl
Georg Gottlob
Davide Mario Longo
Reinhard Pichler
+ HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings 2018 Wolfgang Fischl
Georg Gottlob
Davide Mario Longo
Reinhard Pichler
+ HyperBench: A Benchmark and Tool for Hypergraphs and Empirical Findings 2018 Wolfgang Fischl
Georg Gottlob
Davide Mario Longo
Reinhard Pichler