A Branch-&-Bound Algorithm for Fractional Hypertree Decomposition
Zongyan He, Jeffrey Xu Yu
Abstract
Conjunctive queries ( CQ s) have been widely used in database systems in which acyclic CQ s can be computed efficiently, whereas cyclic CQ s may not. Here, a CQ is acyclic if its hypergraph representation H is acyclic. In order to find a class of CQ s that are "mildly cyclic", hypertree decompositions (HDs) have been studied. The quality of such HDs is by the so-called hypertree width. The class of acyclic queries is the queries whose hypertree width is 1, and a mildly cyclic CQ can be processed efficiently if its hypertree width is bounded. There are several HDs, such as tree decomposition (TD), generalized hypertree decomposition (GHD), fractional hypertree decomposition (FHD), as well as hypertree decomposition (HD). The minimum hypertree width by FHD is the smallest among all, and it is NP-complete to check if the minimum hypertree width by FHD exists for a given hypertree width at most k. In the literature, there is no dynamic programming ( DP ) algorithm or branch-&-bound algorithm reported to compute FHD. In this paper, we show that there is a DP algorithm for FHD, and we give a branch-&-bound algorithm based on our DP algorithm to compute FHD with upper/lower bounds. We confirm the effectiveness and efficiency of our algorithm by testing all 3,648 hypergraphs given in a benchmark for HDs, and we also confirm our approach in query evaluation in real database systems.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Subgraph Enumeration: Beyond Tree Decomposition cites Subgraph Matching: A New Decomposition Based Approach
- Subgraph Enumeration: Beyond Tree Decomposition cites Conjunctive Queries with Comparisons
- Subgraph Enumeration: Beyond Tree Decomposition cites Distributed Subgraph Counting: A General Approach
- Subgraph Matching: A New Decomposition Based Approach cites Conjunctive Queries with Comparisons
- Subgraph Matching: A New Decomposition Based Approach cites Distributed Subgraph Counting: A General Approach
Cited by top-tier papers2
Builds on4
- Computing Local Sensitivities of Counting Queries with JoinsYuchao Tao, Xi He, Ashwin Machanavajjhala, Sudeepa RoySIGMOD 2020 · 37 citations
- Conjunctive Queries with ComparisonsQichen Wang, Ke YiSIGMOD 2022 · 13 citations
- Parallel Query Processing: To Separate Communication from ComputationHao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei ZhaoSIGMOD 2022 · 2 citations
- Distributed Subgraph Counting: A General ApproachHao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei Zhao et al.VLDB 2020
Related papers
- Fast Hypertree Decompositions via Linear Programming: Fractional and GeneralizedVaishali Surianarayanan, Anikait Mundhra, Ajaykrishnan E. S., Daniel LokshtanovSIGMOD 2025
- Efficient Approximation of Fractional Hypertree WidthViktoriia Korchemna, Daniel Lokshtanov, Saket Saurabh, Vaishali Surianarayanan et al.FOCS 2024 · 2 citations
- Succinct Structure Representations for Efficient Query OptimizationZhekai Jiang, Qichen Wang, Christoph KochSIGMOD 2026
- When is approximate counting for conjunctive queries tractable?Marcelo Arenas, Luis Alberto Croquevielle, Rajesh Jayaram, Cristian RiverosSTOC 2021 · 1 citation
- Zigzagging through acyclic orientations of chordal graphs and hypergraphsJean Cardinal, Hung Phuc Hoang, Arturo Merino, Torsten MützeSODA 2023 · 3 citations
