Efficiently Listing Projected Trees, and Equivalence of Listing and Enumeration

📅 2026-06-01
📈 Citations: 0
Influential: 0
📄 PDF

career value

177K/year
🤖 AI Summary
This work addresses the enumeration and listing of projected tree patterns in graphs—a generalization of subgraph isomorphism central to database querying. We present the first efficient enumeration algorithm featuring polynomial preprocessing time and polylogarithmic delay. Under natural conditions, we establish a general equivalence between enumeration and listing for this problem. Our approach integrates fast (rectangular and output-sensitive) matrix multiplication, parameterized analysis via submodular width, and fine-grained complexity lower bounds. For a projected tree with $k$ nodes, the algorithm achieves $\tilde{O}(n^{17.42})$ preprocessing time and polylogarithmic delay, and extends to hypergraphs with preprocessing time $\tilde{O}(m^{17.42 \cdot \text{subw}(H)})$, where $\text{subw}(H)$ denotes the submodular width of the hypergraph $H$.
📝 Abstract
The subgraph isomorphism problem and its generalizations such as conjunctive queries, where some nodes are projected, are among the most fundamental problems in graph algorithms and database theory. In this paper, we study the listing and enumeration variants of these problems and present two main results. (1) We present the first algorithms for enumerating projected trees with polynomial preprocessing time ($\widetilde{O}(n^{17.42})$) and polylogarithmic delay ($\mathrm{polylog}(n)$). Prior to this work, all algorithms in the literature required time $Ω(n^{Ω(k)} + t)$ or $t \cdot n^{Ω(1)}$ to list all copies of a $k$-node tree with projections, where $t$ is the number of solutions. Our result generalizes to arbitrary projected hypergraphs, achieving enumeration in preprocessing time $\widetilde{O}(m^{17.42 \cdot \mathrm{subw}(H)})$ and polylogarithmic delay, where $\mathrm{subw}(H)$ is the submodular width of the pattern hypergraph $H$. We heavily rely on fast (rectangular and output-sensitive) matrix multiplication, which we complement by fine-grained lower bounds indicating that any algorithm beating time $Ω(n^{Ω(k)} + t)$ must rely on fast matrix multiplication. (2) As our second main result, we present a generic enumeration-to-listing reduction, establishing that listing and enumeration are equivalent under natural assumptions. For (colored) subgraph isomorphism, our reduction transforms any listing algorithm running in time $O(f(n,m) + t \cdot g(n,m))$ into an enumeration algorithm with preprocessing time $O((f(n,m)+g(n,m)+m) \log^2 n)$ and delay $O(g(n,m))$. We utilize this equivalence as a tool for proving our first main result, and we expect that our generic reduction will find many future applications.
Problem

Research questions and friction points this paper is trying to address.

subgraph isomorphism
projected trees
listing
enumeration
conjunctive queries
Innovation

Methods, ideas, or system contributions that make the work stand out.

projected trees
subgraph enumeration
fast matrix multiplication
submodular width
listing-enumeration equivalence
🔎 Similar Papers
2023-11-27International Conference on Probabilistic, Combinatorial and Asymptotic Methods for the Analysis of AlgorithmsCitations: 1