Skip to main content
QUICK REVIEW

[Paper Review] Size Bounds for Conjunctive Queries with General Functional Dependencies

Gregory Valiant, Paul Valiant|ArXiv.org|Sep 10, 2009
Data Management and AlgorithmsComputer Science23 references4 citations
TL;DR

This paper introduces an information-theoretic framework to derive tight worst-case size bounds for conjunctive queries under general functional dependencies, extending prior coloring-based methods. By modeling variable entropy through linear programming, it establishes upper and lower bounds on result size growth, revealing a fundamental gap tied to non-Shannon information inequalities, and provides a polynomial-time decision procedure for detecting size increase beyond input size.

ABSTRACT

This paper extends the work of Gottlob, Lee, and Valiant (PODS 2009)[GLV], and considers worst-case bounds for the size of the result Q(D) of a conjunctive query Q to a database D given an arbitrary set of functional dependencies. The bounds in [GLV] are based on a "coloring" of the query variables. In order to extend the previous bounds to the setting of arbitrary functional dependencies, we leverage tools from information theory to formalize the original intuition that each color used represents some possible entropy of that variable, and bound the maximum possible size increase via a linear program that seeks to maximize how much more entropy is in the result of the query than the input. This new view allows us to precisely characterize the entropy structure of worst-case instances for conjunctive queries with simple functional dependencies (keys), providing new insights into the results of [GLV]. We extend these results to the case of general functional dependencies, providing upper and lower bounds on the worst-case size increase. We identify the fundamental connection between the gap in these bounds and a central open question in information theory. Finally, we show that, while both the upper and lower bounds are given by exponentially large linear programs, one can distinguish in polynomial time whether the result of a query with an arbitrary set of functional dependencies can be any larger than the input database.

Motivation & Objective

  • To address the open problem of worst-case size bounds for conjunctive queries under general functional dependencies, extending prior work limited to simple (single-attribute) functional dependencies.
  • To formalize the intuition that variable coloring represents entropy, using information theory to model variable dependencies and size growth in query results.
  • To provide upper and lower bounds on worst-case result size that are tighter than the color number approach, especially in the presence of compound functional dependencies.
  • To identify the connection between the gap in these bounds and a central open question in information theory regarding non-Shannon inequalities.
  • To develop a polynomial-time algorithm to determine whether a query's result can be larger than the input database under arbitrary functional dependencies.

Proposed method

  • Formalize query variables as random variables with associated entropy, using information-theoretic tools to model dependencies induced by functional dependencies.
  • Construct a linear program that maximizes the entropy increase in the query result relative to the input, subject to constraints derived from functional dependencies.
  • Define a new bound based on the maximum possible entropy gain, which generalizes the prior color number approach and accounts for complex functional dependencies.
  • Use a SAT-based formulation to check the feasibility of colorings that assign colors to variables while respecting functional dependencies.
  • Apply iterative simplification procedures to efficiently determine satisfiability of the SAT formulation, enabling polynomial-time decision of whether result size can exceed input size.
  • Leverage the structure of multivariate entropy and mutual information to characterize worst-case instances and derive bounds.

Experimental results

Research questions

  • RQ1Can the color number approach be extended to provide upper bounds on worst-case result size for conjunctive queries under general functional dependencies?
  • RQ2What is the fundamental gap between the color number and the true worst-case size increase in the presence of compound functional dependencies?
  • RQ3How can information-theoretic tools such as entropy and mutual information be used to derive tighter and more accurate size bounds for conjunctive queries?
  • RQ4Is there a polynomial-time algorithm to determine whether a conjunctive query with arbitrary functional dependencies can produce a result larger than the input database?
  • RQ5What is the connection between the gap in upper and lower bounds and the existence of non-Shannon-type information inequalities?

Key findings

  • The color number no longer provides an upper bound on worst-case result size when general functional dependencies are present, as demonstrated by a family of instances showing a super-constant gap.
  • The paper establishes upper and lower bounds on worst-case size increase using a linear program that maximizes entropy gain, formalizing the coloring intuition via information theory.
  • The gap between the upper and lower bounds is fundamentally tied to the existence of non-Shannon-type information inequalities, a central open problem in information theory.
  • Despite the exponential size of the underlying linear programs, the paper provides a polynomial-time algorithm to decide whether a query's result can be larger than the input database.
  • The SAT-based formulation for checking valid colorings is efficiently solvable via iterative simplification, enabling polynomial-time decision of size increase.
  • The results suggest a new measure—knitted complexity—based on mutual information sums, which may capture structural complexity in real-world databases.

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.