Learning to be a statistician

Author:

Wu Renzhi1,Ding Bolin2,Chu Xu1,Wei Zhewei3,Dai Xiening2,Guan Tao2,Zhou Jingren2

Affiliation:

1. Georgia Institute of Technology

2. Alibaba Group

3. Renmin University of China

Abstract

Estimating the number of distinct values (NDV) in a column is useful for many tasks in database systems, such as columnstore compression and data profiling. In this work, we focus on how to derive accurate NDV estimations from random (online/offline) samples. Such efficient estimation is critical for tasks where it is prohibitive to scan the data even once. Existing sample-based estimators typically rely on heuristics or assumptions and do not have robust performance across different datasets as the assumptions on data can easily break. On the other hand, deriving an estimator from a principled formulation such as maximum likelihood estimation is very challenging due to the complex structure of the formulation. We propose to formulate the NDV estimation task in a supervised learning framework, and aim to learn a model as the estimator. To this end, we need to answer several questions: i) how to make the learned model workload agnostic; ii) how to obtain training data; iii) how to perform model training. We derive conditions of the learning framework under which the learned model is workload agnostic , in the sense that the model/estimator can be trained with synthetically generated training data, and then deployed into any data warehouse simply as, e.g. , user-defined functions (UDFs), to offer efficient (within microseconds on CPU) and accurate NDV estimations for unseen tables and workloads. We compare the learned estimator with the state-of-the-art sample-based estimators on nine real-world datasets to demonstrate its superior estimation accuracy. We publish our code for training data generation, model training, and the learned estimator online for reproducibility.

Publisher

Association for Computing Machinery (ACM)

Subject

General Earth and Planetary Sciences,Water Science and Technology,Geography, Planning and Development

Reference60 articles.

1. 2020. Airlines Departure Delay. https://www.openml.org/d/42728 2020. Airlines Departure Delay. https://www.openml.org/d/42728

2. 2020. Box plot. https://en.wikipedia.org/wiki/Box_plot 2020. Box plot. https://en.wikipedia.org/wiki/Box_plot

3. 2020. Bureau of Transportation Statistics. https://www.transtats.bts.gov/ 2020. Bureau of Transportation Statistics. https://www.transtats.bts.gov/

4. 2020. Campaign finance data. https://www.fec.gov/data/ 2020. Campaign finance data. https://www.fec.gov/data/

5. 2020. Department of Motor Vehicle (DMV) Office Locations. https://catalog.data.gov/dataset/department-of-motor-vehicle-dmv-office-locations 2020. Department of Motor Vehicle (DMV) Office Locations. https://catalog.data.gov/dataset/department-of-motor-vehicle-dmv-office-locations

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Half-Xor: A Fully-Dynamic Sketch for Estimating the Number of Distinct Values in Big Tables;IEEE Transactions on Knowledge and Data Engineering;2024-07

2. ByteCard: Enhancing ByteDance's Data Warehouse with Learned Cardinality Estimation;Companion of the 2024 International Conference on Management of Data;2024-06-09

3. Automating localized learning for cardinality estimation based on XGBoost;Knowledge and Information Systems;2024-06-01

4. Learning-based Property Estimation with Polynomials;Proceedings of the ACM on Management of Data;2024-05-29

5. PilotScope: Steering Databases with Machine Learning Drivers;Proceedings of the VLDB Endowment;2024-01

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3