paper-with-me

Papers

ZeroCard: Cardinality Estimation with Zero Dependence on Target Databases -- No Data, No Query, No Retraining

2025-10-09 · Xianghong Xu, Rong Kang, Xiao He, Lei Zhang, Jianjun Chen, Tieying Zhang arxiv

Cardinality estimation is a fundamental task in database systems and plays a critical role in query optimization. Despite significant advances in learning-based cardinality estimation methods, most existing approaches remain difficult to generalize to new datasets due to their strong dependence on raw data or queries, thus limiting their practicality in real scenarios. To overcome these challenges, we argue that semantics in the schema may benefit cardinality estimation, and leveraging such semantics may alleviate these dependencies. To this end, we introduce ZeroCard, the first semantics-driven cardinality estimation method that can be applied without any dependence on raw data access, query logs, or retraining on the target database. Specifically, we propose to predict data distributions using schema semantics, thereby avoiding raw data dependence. Then, we introduce a query template-agnostic representation method to alleviate query dependence. Finally, we construct a large-scale query dataset derived from real-world tables and pretrain ZeroCard on it, enabling it to learn cardinality from schema semantics and predicate representations. After pretraining, ZeroCard's parameters can be frozen and applied in an off-the-shelf manner. We conduct extensive experiments to demonstrate the distinct advantages of ZeroCard and show its practical applications in query optimization. Its zero-dependence property significantly facilitates deployment in real-world scenarios.

📄 PDF Abstract BibTeX arXiv:2510.07983

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CardBench: A Benchmark for Learned Cardinality Estimation in Relational Databases

2024-08-28 · Yannis Chronis, Yawen Wang, Yu Gan, Sami Abu-El-Haija 외

Cardinality estimation is crucial for enabling high query performance in relational databases. Recently learned cardinality estimation models have been proposed to improve accuracy but there is no systematic benchmark or…

Scardina: Scalable Join Cardinality Estimation by Multiple Density Estimators

2023-03-31 · Ryuichi Ito, Yuya Sasaki, Chuan Xiao, Makoto Onizuka

In recent years, machine learning-based cardinality estimation methods are replacing traditional methods. This change is expected to contribute to one of the most important applications of cardinality estimation, the que…

ACE: A Cardinality Estimator for Set-Valued Queries

2025-03-19 · Yufan Sheng, Xin Cao, Kaiqi Zhao, Yixiang Fang 외

Cardinality estimation is a fundamental functionality in database systems. Most existing cardinality estimators focus on handling predicates over numeric or categorical data. They have largely omitted an important data t…

Information RetrievalRecommendation Systems

Optimize Cardinality Estimation Model Pretraining by Simplifying the Training Datasets

2025-02-20 · Boyang Fang

The cardinality estimation is a key aspect of query optimization research, and its performance has significantly improved with the integration of machine learning. To overcome the "cold start" problem or the lack of mode…

Simple Primitives with Feasibility- and Contextuality-Dependence for Open-World Compositional Zero-shot Learning

2022-11-05 · Zhe Liu, Yun Li, Lina Yao, Xiaojun Chang 외

The task of Compositional Zero-Shot Learning (CZSL) is to recognize images of novel state-object compositions that are absent during the training stage. Previous methods of learning compositional embedding have shown eff…

Compositional Zero-Shot LearningDisentanglementZero-Shot Learning