Skip to main content
QUICK REVIEW

[Paper Review] Constant delay enumeration with FPT-preprocessing for conjunctive queries of bounded submodular width

Christoph Berkholz, Nicole Schweikardt|arXiv (Cornell University)|Mar 2, 2020
Complexity and Algorithms in GraphsComputer Science11 citations
TL;DR

This paper establishes that conjunctive queries (CQs) of bounded free-connex submodular width admit constant delay enumeration with FPT-preprocessing. By extending Marx's splitting routine and leveraging free-connex tree decompositions, the authors construct a data structure enabling efficient, repetition-free enumeration of query results in constant delay after FPT preprocessing time.

ABSTRACT

Marx (STOC~2010, J.~ACM 2013) introduced the notion of submodular width of a conjunctive query (CQ) and showed that for any class $Φ$ of Boolean CQs of bounded submodular width, the model-checking problem for $Φ$ on the class of all finite structures is fixed-parameter tractable (FPT). Note that for non-Boolean queries, the size of the query result may be far too large to be computed entirely within FPT time. We investigate the free-connex variant of submodular width and generalise Marx's result to non-Boolean queries as follows: For every class $Φ$ of CQs of bounded free-connex submodular width, within FPT-preprocessing time we can build a data structure that allows to enumerate, without repetition and with constant delay, all tuples of the query result. Our proof builds upon Marx's splitting routine to decompose the query result into a union of results; but we have to tackle the additional technical difficulty to ensure that these can be enumerated efficiently.

Motivation & Objective

  • To extend Marx's fixed-parameter tractable (FPT) model-checking result for Boolean CQs of bounded submodular width to non-Boolean CQs.
  • To address the challenge of efficiently enumerating large result sets of non-Boolean CQs without full materialization.
  • To close the gap in the literature by generalizing the constant delay enumeration result from bounded fractional hypertree width to bounded submodular width.
  • To provide a characterization of when constant delay enumeration with FPT-preprocessing is feasible for non-Boolean CQs beyond acyclic or low-treewidth cases.

Proposed method

  • Adapt Marx’s splitting routine to decompose the query result into unions of results over refined structures.
  • Introduce free-connex submodular width as a width measure that ensures efficient decomposition and enumeration.
  • Construct a free-connex tree decomposition for each subquery to maintain structural tractability.
  • Define refined queries and reduced databases using only relevant atoms from the tree decomposition bags.
  • Use the Durand-Strozecki trick to enumerate results without repetition across decomposed components.
  • Bound the size of each refined structure using the submodular width parameter and the number of variables.

Experimental results

Research questions

  • RQ1Can constant delay enumeration with FPT-preprocessing be achieved for non-Boolean conjunctive queries of bounded submodular width?
  • RQ2Is the free-connex variant of submodular width sufficient to ensure efficient enumeration despite potentially large result sizes?
  • RQ3Can Marx’s splitting technique be adapted to maintain constant delay when enumerating results across multiple subqueries?
  • RQ4What structural properties of a CQ ensure that its result can be enumerated in constant delay after FPT preprocessing?
  • RQ5Is there a dichotomy for self-join-free CQs based on free-connex submodular width, particularly in the gray zone between bounded submodular width and unbounded free-connex submodular width?

Key findings

  • For any class of conjunctive queries of bounded free-connex submodular width, constant delay enumeration with FPT-preprocessing is achievable.
  • The size of each refined database structure is bounded by $ O(| ext{vars}(φ)|^2 m^{(1+δ)w}) $, where $ w $ is the free-connex submodular width and $ m $ is the maximum relation size.
  • The decomposition ensures that $ \llbracket\varphi\rrbracket^{\mathcal{A}} = \bigcup_{i\in[\ell]} \llbracket\psi_i\rrbracket^{\mathcal{C}_i} $, with each $ \psi_i $ being free-connex and acyclic.
  • Each subquery $ \psi_i $ admits constant delay enumeration due to its acyclic and free-connex structure, enabling overall constant delay via union.
  • The method also supports constant-time membership testing for any input tuple in the query result.
  • The result matches Marx’s conditional lower bound for self-join-free CQs, suggesting tightness of the width measure for this class.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.