Cardinality Estimation of Approximate Substring Queries using Deep Learning
Abstract
Cardinality estimation of an approximate substring query is an important problem in database systems. Traditional approaches build a summary from the text data and estimate the cardinality using the summary with some statistical assumptions. Since deep learning models can learn underlying complex data patterns effectively, they have been successfully applied and shown to outperform traditional methods for cardinality estimations of queries in database systems. However, since they are not yet applied to approximate substring queries, we investigate a deep learning approach for cardinality estimation of such queries. Although the accuracy of deep learning models tends to improve as the train data size increases, producing a large train data is computationally expensive for cardinality estimation of approximate substring queries. Thus, we develop efficient train data generation algorithms by avoiding unnecessary computations and sharing common computations. We also propose a deep learning model as well as a novel learning method to quickly obtain an accurate deep learning-based estimator. Extensive experiments confirm the superiority of our data generation algorithms and deep learning model with the novel learning method.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LPLM: A Neural Language Model for Cardinality Estimation of LIKE-Queries cites Astrid: Accurate Selectivity Estimation for String Predicates using Deep Learning
- LPLM: A Neural Language Model for Cardinality Estimation of LIKE-Queries cites DeepDB: Learn from Data, not from Queries!
- LPLM: A Neural Language Model for Cardinality Estimation of LIKE-Queries cites Monotonic Cardinality Estimation of Similarity Selection: A Deep Learning Approach
- Astrid: Accurate Selectivity Estimation for String Predicates using Deep Learning cites DeepDB: Learn from Data, not from Queries!
- Astrid: Accurate Selectivity Estimation for String Predicates using Deep Learning cites Deep Unsupervised Cardinality Estimation
- CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models cites Experimental Analysis of Large-scale Learnable Vector Storage Compression
- SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-Index cites LPLM: A Neural Language Model for Cardinality Estimation of LIKE-Queries
- SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-Index cites Astrid: Accurate Selectivity Estimation for String Predicates using Deep Learning
- SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-Index cites DeepDB: Learn from Data, not from Queries!
- SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-Index cites Monotonic Cardinality Estimation of Similarity Selection: A Deep Learning Approach
Cited by top-tier papers4
- Experimental Analysis of Large-scale Learnable Vector Storage CompressionHailin Zhang, Penghao Zhao, Xupeng Miao, Yingxia Shao et al.VLDB 2024 · 20 citations
- CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation ModelsHailin Zhang, Zirui Liu, Boxuan Chen, Yikai Zhao et al.SIGMOD 2024 · 15 citations
- LPLM: A Neural Language Model for Cardinality Estimation of LIKE-QueriesMehmet Aytimur, Silvan Reiner, Leonard Wörteler, Theodoros Chondrogiannis et al.SIGMOD 2024 · 13 citations
- SSCard: Substring Cardinality Estimation using Suffix Tree-Guided Learned FM-IndexYirui Zhan, Wen Nie, Jun GaoSIGMOD 2026
Builds on4
- Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu et al.VLDB 2020 · 206 citations
- DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina et al.VLDB 2020 · 154 citations
- Astrid: Accurate Selectivity Estimation for String Predicates using Deep LearningSuraj Shetiya, Saravanan Thirumuruganathan, Nick Koudas, Gautam DasVLDB 2021 · 31 citations
- Monotonic Cardinality Estimation of Similarity Selection: A Deep Learning ApproachYaoshu Wang, Chuan Xiao, Jianbin Qin, Xin Cao et al.SIGMOD 2020 · 19 citations
Related papers
- Cardinality Estimation of LIKE Predicate Queries using Deep LearningSuyong Kwon, Kyuseok Shim, Woohwan JungSIGMOD 2025 · 3 citations
- Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li et al.VLDB 2022 · 90 citations
- Learned Cardinality Estimation for Similarity QueriesJi Sun, Guoliang Li, Nan TangSIGMOD 2021 · 40 citations
- Deep Learning Models for Selectivity Estimation of Multi-Attribute QueriesShohedul Hasan, Saravanan Thirumuruganathan, Jees Augustine, Nick Koudas et al.SIGMOD 2020 · 101 citations
- Sample-Efficient Cardinality Estimation Using Geometric Deep LearningSilvan Reiner, Michael GrossniklausVLDB 2024 · 20 citations
