This portal has been archived. Explore the next generation of this technology.

Deep Unsupervised Cardinality Estimation

lib:4df4a47bbafe76ee (v1.0.0)

Authors: Zongheng Yang,Eric Liang,Amog Kamsetty,Chenggang Wu,Yan Duan,Xi Chen,Pieter Abbeel,Joseph M. Hellerstein,Sanjay Krishnan,Ion Stoica
ArXiv: 1905.04278
Document:  PDF  DOI 
Abstract URL: https://arxiv.org/abs/1905.04278v2


Cardinality estimation has long been grounded in statistical tools for density estimation. To capture the rich multivariate distributions of relational tables, we propose the use of a new type of high-capacity statistical model: deep autoregressive models. However, direct application of these models leads to a limited estimator that is prohibitively expensive to evaluate for range or wildcard predicates. To produce a truly usable estimator, we develop a Monte Carlo integration scheme on top of autoregressive models that can efficiently handle range queries with dozens of dimensions or more. Like classical synopses, our estimator summarizes the data without supervision. Unlike previous solutions, we approximate the joint data distribution without any independence assumptions. Evaluated on real-world datasets and compared against real systems and dominant families of techniques, our estimator achieves single-digit multiplicative error at tail, an up to 90$\times$ accuracy improvement over the second best method, and is space- and runtime-efficient.

Relevant initiatives  

Related knowledge about this paper Reproduced results (crowd-benchmarking and competitions) Artifact and reproducibility checklists Common formats for research projects and shared artifacts Reproducibility initiatives

Comments  

Please log in to add your comments!
If you notice any inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!