L <scp>p</scp> Bound in Action: Cardinality Estimation with One-Sided Guarantees
We demonstrate LpBound, a cardinality estimator that computes guaranteed upper bounds on the output size of a given query. Among the wealth of traditional, learned, and pessimistic estimators, LpBound's uniqueness lies in its use of two key ingredients: (1) data statistics based on ℓp-norms of degree sequences of the join columns, and (2) a linear program formulation of the cardinality estimation problem, whose constraints are the Shannon inequalities and new information inequalities derived from data statistics. LpBound comes with a visual interface accessible in the browser. The users can interact with the interface by choosing a query from the JOB, STATS, and Subgraph Matching benchmarks and the range of ℓp-norms available to LpBound. Within a few milliseconds, LpBound computes an upper bound on the query output size. This bound is explained by a closed-form formula using the available ℓp-norms. The users can also inspect the estimation errors of LpBound and a variety of other estimators.
Authors
- Mahmoud Abo Khamis (ORCID: https://orcid.org/0000-0003-3894-6494)
- Dan Olteanu (ORCID: https://orcid.org/0000-0002-4682-7068)
- Dan Suciu (ORCID: https://orcid.org/0000-0002-4144-0868)
- Haozhe Zhang (ORCID: https://orcid.org/0000-0002-0930-1980)
- Carl Mayer (ORCID: https://orcid.org/0009-0006-6651-3900)
Institutions
- University of Washington (US)
- University of Zurich (CH)
Publication Details
- Published
- 2025-06-17
- DOI
- https://doi.org/10.1145/3722212.3725114
- Primary Topic
- Data Management and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00