ACE: A Cardinality Estimator for Set-Valued Queries

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 type, set-valued data, which frequently occur in contemporary applications such as information retrieval and recommender systems. The few existing estimators for such data either favor high-frequency elements or rely on a partial independence assumption , which limits their practical applicability. We propose ACE, an Attention-based Cardinality Estimator for estimating the cardinality of queries over set-valued data. We first design a distillation-based data encoder to condense the dataset into a compact matrix. We then design an attention-based query analyzer to capture correlations among query elements. To handle variable-sized queries, a pooling module is introduced, followed by a regression model (MLP) to generate final cardinality estimates. We evaluate ACE on three datasets with varying query element distributions, demonstrating that ACE outperforms the state-of-the-art competitors in terms of both accuracy and efficiency.

Authors

Institutions

Publication Details

Journal
Proceedings of the VLDB Endowment
Published
2025-03-01
DOI
https://doi.org/10.14778/3734839.3734848
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ACE: A Cardinality Estimator for Set-Valued Queries

Jianzhong Qi, Christian S. Jensen, Yixiang Fang, Yufan Sheng et al.
1 links
Proceedings of the VLDB Endowment
Data Management and Algorithms
article

ACE: A Cardinality Estimator for Set-Valued Queries

Jianzhong Qi, Christian S. Jensen, Yixiang Fang, Yufan Sheng, Xin Cao, Kaiqi Zhao, Wenjie Zhang
article en

Abstract

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 type, set-valued data, which frequently occur in contemporary applications such as information retrieval and recommender systems. The few existing estimators for such data either favor high-frequency elements or rely on a partial independence assumption , which limits their practical applicability. We propose ACE, an Attention-based Cardinality Estimator for estimating the cardinality of queries over set-valued data. We first design a distillation-based data encoder to condense the dataset into a compact matrix. We then design an attention-based query analyzer to capture correlations among query elements. To handle variable-sized queries, a pooling module is introduced, followed by a regression model (MLP) to generate final cardinality estimates. We evaluate ACE on three datasets with varying query element distributions, demonstrating that ACE outperforms the state-of-the-art competitors in terms of both accuracy and efficiency.

Proceedings of the VLDB EndowmentVol. 18(7)
University of Auckland (NZ), The University of Melbourne (AU), UNSW Sydney (AU), Chinese University of Hong Kong, Shenzhen (CN), Aalborg University (DK)
Openalex Percentile: Top 72%
Data Management and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

ACE: A Cardinality Estimator for Set-Valued Queries — Jianzhong Qi, Christian S. Jensen, et al. · Proceedings of the VLDB Endowment (2025) | TGRS Research Map | TGRS