{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,6]],"date-time":"2026-11-06T05:40:16Z","timestamp":1793943616821,"version":"4.8.0"},"reference-count":60,"publisher":"Association for Computing Machinery (ACM)","issue":"8","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2025,4]]},"abstract":"<jats:p>\n                    Cardinality estimation (CardEst) is a critical aspect of query optimization. Traditionally, it leverages statistics built directly over the data. However, organizational policies (e.g., regulatory compliance) may restrict global data access. Fortunately,\n                    <jats:italic toggle=\"yes\">query-driven<\/jats:italic>\n                    cardinality estimation can learn CardEst models using query workloads. However, existing query-driven models often require access to data or summaries for best performance, and they assume\n                    <jats:italic toggle=\"yes\">perfect<\/jats:italic>\n                    training workloads with complete and balanced join templates (or join graphs). Such assumptions rarely hold in real-world scenarios, in which join templates are incomplete and imbalanced.\n                  <\/jats:p>\n                  <jats:p>\n                    We present GRASP, a\n                    <jats:italic toggle=\"yes\">data-agnostic<\/jats:italic>\n                    cardinality learning system designed to work under these real-world constraints. GRASP's\n                    <jats:italic toggle=\"yes\">compositional design<\/jats:italic>\n                    generalizes to unseen join templates and is robust to join template imbalance. It also introduces a new pertable CardEst model that handles value distribution shifts for range predicates, and a novel\n                    <jats:italic toggle=\"yes\">learned count sketch<\/jats:italic>\n                    model that captures join correlations across base relations. Across three database instances, we demonstrate that GRASP consistently outperforms existing query-driven models on imperfect workloads, both in terms of estimation accuracy and query latency. Remarkably, GRASP achieves performance comparable to, or even surpassing, traditional approaches built over the underlying data on the complex CEB-IMDb-full benchmark \u2014 despite operating without any data access and using only 10% of all possible join templates.\n                  <\/jats:p>","DOI":"10.14778\/3742728.3742745","type":"journal-article","created":{"date-parts":[[2025,9,3]],"date-time":"2025-09-03T13:32:53Z","timestamp":1756906373000},"page":"2519-2532","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Data-Agnostic Cardinality Learning from Imperfect Workloads"],"prefix":"10.14778","volume":"18","author":[{"given":"Peizhi","family":"Wu","sequence":"first","affiliation":[{"name":"University of Pennsylvania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rong","family":"Kang","sequence":"additional","affiliation":[{"name":"ByteDance"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tieying","family":"Zhang","sequence":"additional","affiliation":[{"name":"ByteDance"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jianjun","family":"Chen","sequence":"additional","affiliation":[{"name":"ByteDance"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ryan","family":"Marcus","sequence":"additional","affiliation":[{"name":"University of Pennsylvania"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zachary G.","family":"Ives","sequence":"additional","affiliation":[{"name":"University of Pennsylvania"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,9,3]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"MSCN code. https:\/\/github.com\/andreaskipf\/learnedcardinalities. Last Accessed Date: 2025-04-05."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304198"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/303976.303978"},{"key":"e_1_2_1_4_1","first-page":"696","volume-title":"Learning Set Cardinality in Distance Nearest Neighbours. In 2015 IEEE International Conference on Data Mining","author":"Anagnostopoulos C.","year":"2015","unstructured":"Anagnostopoulos, C., and Triantafillou, P. Learning Set Cardinality in Distance Nearest Neighbours. In 2015 IEEE International Conference on Data Mining (Atlantic City, NJ, USA, 2015), IEEE, pp. 691\u2013696."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData.2015.7363736"},{"key":"e_1_2_1_6_1","volume-title":"Query-Driven Learning for Predictive Analytics of Data Subspace Cardinality. ACM Transactions on Knowledge Discovery from Data 11, 4","author":"Anagnostopoulos C.","year":"2017","unstructured":"Anagnostopoulos, C., and Triantafillou, P. Query-Driven Learning for Predictive Analytics of Data Subspace Cardinality. ACM Transactions on Knowledge Discovery from Data 11, 4 (2017), 1\u201346."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564722"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375686"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/191839.191874"},{"key":"e_1_2_1_10_1","first-page":"151","article-title":"Bin packing approximation algorithms: Combinatorial analysis","volume":"1999","author":"Coffman E. G.","unstructured":"Coffman, E. G., Galambos, G., Martello, S., and Vigo, D. Bin packing approximation algorithms: Combinatorial analysis. Handbook of Combinatorial Optimization: Supplement Volume A (1999), 151\u2013207.","journal-title":"Handbook of Combinatorial Optimization: Supplement"},{"key":"e_1_2_1_11_1","first-page":"1","volume":"1","author":"Deeds K. B.","year":"2023","unstructured":"Deeds, K. B., Suciu, D., and Balazinska, M. SafeBound: A Practical System for Generating Cardinality Bounds. Proceedings of the ACM on Management of Data 1, 1 (2023), 1\u201326.","journal-title":"SafeBound: A Practical System for Generating Cardinality Bounds. Proceedings of the ACM on Management of Data"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/376284.375685"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.14778\/3484224.3484234"},{"key":"e_1_2_1_14_1","first-page":"7509","article-title":"Neural spline flows","volume":"32","author":"Durkan C.","year":"2019","unstructured":"Durkan, C., Bekasov, A., Murray, I., and Papamakarios, G. Neural spline flows. In Advances in Neural Information Processing Systems 32 (2019), pp. 7509\u20137520.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_1_15_1","volume-title":"Probability: theory and examples","author":"Durrett R.","unstructured":"Durrett, R. Probability: theory and examples, fifth edition ed. No. 49 in Cambridge series in statistical and probabilistic mathematics. Cambridge University Press, Cambridge ; New York, NY, 2019."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407820"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.14778\/3329772.3329780"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/11787006_1"},{"key":"e_1_2_1_19_1","first-page":"2","volume":"17","author":"Fritsch F. N.","year":"1980","unstructured":"Fritsch, F. N., and Carlson, R. E. Monotone Piecewise Cubic Interpolation. SIAM Journal on Numerical Analysis 17, 2 (1980), 238\u2013246.","journal-title":"Monotone Piecewise Cubic Interpolation. SIAM Journal on Numerical Analysis"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2016.7761636"},{"key":"e_1_2_1_21_1","first-page":"889","volume-title":"International Conference on Machine Learning","author":"Germain M.","year":"2015","unstructured":"Germain, M., Gregor, K., Murray, I., and Larochelle, H. Made: Masked autoencoder for distribution estimation. In International Conference on Machine Learning (2015), PMLR, pp. 881\u2013889."},{"key":"e_1_2_1_22_1","series-title":"CEUR Workshop Proceedings","volume-title":"Proceedings of the VLDB 2022 PhD Workshop co-located with the 48th International Conference on Very Large Databases","author":"Giannakouris V.","year":"2022","unstructured":"Giannakouris, V. Building learned federated query optimizers. In Proceedings of the VLDB 2022 PhD Workshop co-located with the 48th International Conference on Very Large Databases (2022), vol. 3186 of CEUR Workshop Proceedings."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1093\/imanum\/2.2.123"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/335191.335448"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-003-0090-4"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.14778\/3503585.3503586"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3654932"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.14778\/3384345.3384349"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3517896"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/115790.115835"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/169725.169708"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3572751.3572767"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3639300"},{"key":"e_1_2_1_34_1","volume-title":"1st International Workshop on Applied AI for Database Systems and Applications","author":"Kipf A.","year":"2019","unstructured":"Kipf, A., Freitag, M., Vorona, D., Boncz, P., Neumann, T., and Kemper, A. Estimating filtered group-by queries is hard: Deep learning to the rescue. In 1st International Workshop on Applied AI for Database Systems and Applications (2019)."},{"key":"e_1_2_1_35_1","volume-title":"9th Biennial Conference on Innovative Data Systems Research, CIDR 2019","author":"Kipf A.","year":"2019","unstructured":"Kipf, A., Kipf, T., Radke, B., Leis, V., Boncz, P. A., and Kemper, A. Learned cardinalities: Estimating correlated joins with deep learning. In 9th Biennial Conference on Innovative Data Systems Research, CIDR 2019 (2019)."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.14778\/2850583.2850594"},{"key":"e_1_2_1_37_1","first-page":"2","volume":"17","author":"Li P.","year":"2023","unstructured":"Li, P., Wei, W., Zhu, R., Ding, B., Zhou, J., and Lu, H. ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads. Proceedings of the VLDB Endowment 17, 2 (2023), 197\u2013210.","journal-title":"Proceedings of the VLDB Endowment"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1016\/B978-012722442-8\/50040-9"},{"key":"e_1_2_1_39_1","first-page":"251","volume-title":"Proceedings of the VLDB Endowment","author":"Lynch C. A.","year":"1988","unstructured":"Lynch, C. A. Selectivity estimation and query optimization in large databases with highly skewed distribution of column values. In Proceedings of the VLDB Endowment (1988), pp. 240\u2013251."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1147\/sj.421.0098"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687627.1687738"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/50202.50205"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.14778\/3476249.3476259"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.14778\/3583140.3583164"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3389727"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564759"},{"key":"e_1_2_1_47_1","volume-title":"An introduction to the approximation of functions, unabridged republ. of the 1981 dover reprint ed","author":"Rivlin T. J.","year":"2003","unstructured":"Rivlin, T. J. An introduction to the approximation of functions, unabridged republ. of the 1981 dover reprint ed. Dover phoenix editions. Dover Publ, 2003."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/1386118.1386121"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_50_1","volume-title":"A simple method for monotonic interpolation in one dimension. Astronomy and Astrophysics","author":"Steffen M.","year":"1990","unstructured":"Steffen, M. A simple method for monotonic interpolation in one dimension. Astronomy and Astrophysics, Vol. 239, NO. NOV (II), P. 443, 1990 239 (1990), 443."},{"key":"e_1_2_1_51_1","first-page":"28","volume-title":"Proceedings of the VLDB Endowment","author":"Stillger M.","year":"2001","unstructured":"Stillger, M., Lohman, G. M., Markl, V., and Kandil, M. LEO - db2's learning optimizer. In Proceedings of the VLDB Endowment (2001), pp. 19\u201328."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.ins.2019.11.004"},{"key":"e_1_2_1_53_1","first-page":"6380","volume-title":"Learning Compositional Representations for Few-Shot Recognition. In 2019 IEEE\/CVF International Conference on Computer Vision (ICCV)","author":"Tokmakov P.","year":"2019","unstructured":"Tokmakov, P., Wang, Y.-X., and Hebert, M. Learning Compositional Representations for Few-Shot Recognition. In 2019 IEEE\/CVF International Conference on Computer Vision (ICCV) (2019), IEEE, pp. 6371\u20136380."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3452830"},{"key":"e_1_2_1_55_1","first-page":"1","volume":"2","author":"Wu P.","year":"2024","unstructured":"Wu, P., and Ives, Z. G. Modeling Shifting Workloads for Learned Database Systems. Proceedings of the ACM on Management of Data 2, 1 (2024), 1\u201327.","journal-title":"Modeling Shifting Workloads for Learned Database Systems. Proceedings of the ACM on Management of Data"},{"key":"e_1_2_1_56_1","first-page":"6","volume":"18","author":"Wu P.","year":"2025","unstructured":"Wu, P., Xu, H., Marcus, R., and Ives, Z. G. A Practical Theory of Generalization in Selectivity Learning. Proceedings of the VLDB Endowment 18, 6 (2025).","journal-title":"A Practical Theory of Generalization in Selectivity Learning. Proceedings of the VLDB Endowment"},{"key":"e_1_2_1_57_1","first-page":"1","volume":"1","author":"Wu Z.","year":"2023","unstructured":"Wu, Z., Negi, P., Alizadeh, M., Kraska, T., and Madden, S. FactorJoin: A New Cardinality Estimation Framework for Join Queries. Proceedings of the ACM on Management of Data 1, 1 (2023), 1\u201327.","journal-title":"A New Cardinality Estimation Framework for Join Queries. Proceedings of the ACM on Management of Data"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.14778\/3421424.3421432"},{"key":"e_1_2_1_59_1","first-page":"3","volume":"13","author":"Yang Z.","year":"2020","unstructured":"Yang, Z., Liang, E., Kamsetty, A., Wu, C., Duan, Y., Chen, X., Abbeel, P., Hellerstein, J. M., Krishnan, S., and Stoica, I. Deep Unsupervised Cardinality Estimation. Proceedings of the VLDB Endowment 13, 3 (2020), 279\u2013292.","journal-title":"Deep Unsupervised Cardinality Estimation. Proceedings of the VLDB Endowment"},{"key":"e_1_2_1_60_1","first-page":"69","volume-title":"Duet: Efficient and Scalable Hybrid Neural Relation Understanding. In 2024 IEEE 40th International Conference on Data Engineering (ICDE)","author":"Zhang K.","year":"2024","unstructured":"Zhang, K., Wang, H., Lu, Y., Li, Z., Shu, C., Yan, Y., and Yang, D. Duet: Efficient and Scalable Hybrid Neural Relation Understanding. In 2024 IEEE 40th International Conference on Data Engineering (ICDE) (2024), IEEE, pp. 56\u201369."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3742728.3742745","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,3]],"date-time":"2025-09-03T13:33:14Z","timestamp":1756906394000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3742728.3742745"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4]]},"references-count":60,"journal-issue":{"issue":"8","published-print":{"date-parts":[[2025,4]]}},"alternative-id":["10.14778\/3742728.3742745"],"URL":"https:\/\/doi.org\/10.14778\/3742728.3742745","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2025,4]]},"assertion":[{"value":"2025-09-03","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}