{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,11,10]],"date-time":"2025-11-10T21:17:19Z","timestamp":1762809439240,"version":"3.41.0"},"reference-count":47,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2023,5,26]],"date-time":"2023-05-26T00:00:00Z","timestamp":1685059200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100006112","name":"Microsoft Research","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100006112","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Amazon Research Award"},{"DOI":"10.13039\/100000001","name":"NSF","doi-asserted-by":"publisher","award":["CCF-2239265,IIS-1910950, CNS-2125530, and IIS-2128661"],"award-info":[{"award-number":["CCF-2239265,IIS-1910950, CNS-2125530, and IIS-2128661"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000002","name":"NIH","doi-asserted-by":"publisher","award":["5R01LM014026"],"award-info":[{"award-number":["5R01LM014026"]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2023,5,26]]},"abstract":"<jats:p>Range aggregate queries (RAQs) are an integral part of many real-world applications, where, often, fast and approximate answers for the queries are desired. Recent work has studied answering RAQs using machine learning (ML) models, where a model of the data is learned to answer the queries. However, there is no theoretical understanding of why and when the ML based approaches perform well. Furthermore, since the ML approaches model the data, they fail to capitalize on any query specific information to improve performance in practice. In this paper, we focus on modeling \"queries\" rather than data and train neural networks to learn the query answers. This change of focus allows us to theoretically study our ML approach to provide a distribution and query dependent error bound for neural networks when answering RAQs. We confirm our theoretical results by developing NeuroSketch, a neural network framework to answer RAQs in practice. Extensive experimental study on real-world, TPC-benchmark and synthetic datasets show that NeuroSketch answers RAQs multiple orders of magnitude faster than state-of-the-art and with better accuracy.<\/jats:p>","DOI":"10.1145\/3588954","type":"journal-article","created":{"date-parts":[[2023,5,30]],"date-time":"2023-05-30T17:42:05Z","timestamp":1685468525000},"page":"1-26","source":"Crossref","is-referenced-by-count":7,"title":["NeuroSketch: Fast and Approximate Evaluation of Range Aggregate Queries with Neural Networks"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9789-7197","authenticated-orcid":false,"given":"Sepanta","family":"Zeighami","sequence":"first","affiliation":[{"name":"University of Southern California, Los Angeles, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9118-0681","authenticated-orcid":false,"given":"Cyrus","family":"Shahabi","sequence":"additional","affiliation":[{"name":"University of Southern California, Los Angeles, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-1280-5623","authenticated-orcid":false,"given":"Vatsal","family":"Sharan","sequence":"additional","affiliation":[{"name":"University of Southern California, Los Angeles, CA, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,5,30]]},"reference":[{"volume-title":"Accessed Dec 29th","year":"2020","key":"e_1_2_2_1_1","unstructured":"2020. SafeGraph dataset. https:\/\/docs.safegraph.com\/v4.0\/docs\/places-schema#section-patterns. Accessed Dec 29th, 2020."},{"key":"e_1_2_2_2_1","unstructured":"2020. Veraset Website. https:\/\/www.veraset.com\/about-veraset. Accessed: 2020--10--25."},{"key":"e_1_2_2_3_1","volume-title":"https:\/\/docs.microsoft.com\/en-us\/sql\/ssms\/visual-db-tools\/parameter-queries-visual-database-tools?view=sql-server-ver15. Accessed Jun 30th","author":"Visual Database Parameter Queries","year":"2021","unstructured":"2021. Parameter Queries (Visual Database Tools). https:\/\/docs.microsoft.com\/en-us\/sql\/ssms\/visual-db-tools\/parameter-queries-visual-database-tools?view=sql-server-ver15. Accessed Jun 30th, 2021."},{"volume-title":"Accessed Jun 30th","year":"2021","key":"e_1_2_2_4_1","unstructured":"2021. Parameterized query. https:\/\/node-postgres.com\/features\/queries. Accessed Jun 30th, 2021."},{"volume-title":"Accessed Jun 30th","year":"2021","key":"e_1_2_2_5_1","unstructured":"2021. Parameterized query. https:\/\/docs.data.world\/documentation\/sql\/concepts\/dw_specific\/parameterized_queries.html. Accessed Jun 30th, 2021."},{"volume-title":"https:\/\/optuna.org\/. Accessed Feb 21st","year":"2022","key":"e_1_2_2_6_1","unstructured":"2022. Optuna. https:\/\/optuna.org\/. Accessed Feb 21st, 2022."},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2465351.2465355"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3588701"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511624216"},{"key":"e_1_2_2_10_1","volume-title":"Jonathan Frankle, and John Guttag.","author":"Blalock Davis","year":"2020","unstructured":"Davis Blalock, Jose Javier Gonzalez Ortiz, Jonathan Frankle, and John Guttag. 2020. What is the state of neural network pruning? arXiv preprint arXiv:2003.03033 (2020)."},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1137\/18M118709X"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1242524.1242526"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1561\/1900000004"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/253260.253291"},{"key":"e_1_2_2_15_1","volume-title":"DeepDB: Learn from Data, not from Queries! Proceedings of the VLDB Endowment 13, 7","author":"Hilprecht Benjamin","year":"2019","unstructured":"Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina, Kristian Kersting, and Carsten Binnig. 2019. DeepDB: Learn from Data, not from Queries! Proceedings of the VLDB Endowment 13, 7 (2019)."},{"key":"e_1_2_2_16_1","volume-title":"Accessed May 21th","author":"Hilprecht Benjamin","year":"2021","unstructured":"Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina, Kristian Kersting, and Carsten Binnig. 2021. DeepDB Implementation. https:\/\/github.com\/DataManagementLab\/deepdb-public. Accessed May 21th, 2021."},{"key":"e_1_2_2_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3514221.3517896"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco_a_01316"},{"key":"e_1_2_2_19_1","volume-title":"Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980","author":"Kingma Diederik P","year":"2014","unstructured":"Diederik P Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)."},{"key":"e_1_2_2_20_1","volume-title":"CIDR 2019, 9th Biennial Conference on Innovative Data Systems Research","author":"Kipf Andreas","year":"2018","unstructured":"Andreas Kipf, Thomas Kipf, Bernhard Radke, Viktor Leis, Peter Boncz, and Alfons Kemper. 2018. Learned cardinalities: Estimating correlated joins with deep learning. CIDR 2019, 9th Biennial Conference on Innovative Data Systems Research (2018)."},{"key":"e_1_2_2_21_1","volume-title":"Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 471","author":"Liang Xuan","year":"2015","unstructured":"Xuan Liang, Tao Zou, Bin Guo, Shuo Li, Haozhe Zhang, Shuyi Zhang, Hui Huang, and Song Xi Chen. 2015. Assessing Beijing's PM2. 5 pollution: severity, weather impact, APEC and winter heating. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 471, 2182 (2015), 20150257."},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1137\/20M134695X"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3324958"},{"key":"e_1_2_2_24_1","volume-title":"Accessed Dec 21th","author":"Ma Qingzhi","year":"2020","unstructured":"Qingzhi Ma and Peter Triantafillou. 2020. DBEst Implementation. https:\/\/github.com\/qingzma\/DBEst_MDN. Accessed Dec 21th, 2020."},{"key":"e_1_2_2_25_1","volume-title":"The Making of TPC-DS (VLDB '06)","author":"Nambiar Raghunath Othayoth","year":"2006","unstructured":"Raghunath Othayoth Nambiar and Meikel Poess. 2006. The Making of TPC-DS (VLDB '06). VLDB Endowment, 1049--1058."},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3196905"},{"key":"e_1_2_2_27_1","volume-title":"Accessed Jul 6th","author":"Park Yongjoo","year":"2021","unstructured":"Yongjoo Park, Barzan Mozafari, Joseph Sorenson, and Junhao Wang. 2021. VerdictDB Implementation. https:\/\/github.com\/verdict-project\/verdict. Accessed Jul 6th, 2021."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neunet.2018.08.019"},{"key":"e_1_2_2_29_1","volume-title":"Approximation theory of the MLP model in neural networks. Acta numerica 8","author":"Pinkus Allan","year":"1999","unstructured":"Allan Pinkus. 1999. Approximation theory of the MLP model in neural networks. Acta numerica 8 (1999), 143--195."},{"key":"e_1_2_2_30_1","volume-title":"Gaussian Mixture Models. Encyclopedia of biometrics 741","author":"Reynolds Douglas A","year":"2009","unstructured":"Douglas A Reynolds. 2009. Gaussian Mixture Models. Encyclopedia of biometrics 741 (2009)."},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45876-X_41"},{"volume-title":"Understanding machine learning: From theory to algorithms","author":"Shalev-Shwartz Shai","key":"e_1_2_2_32_1","unstructured":"Shai Shalev-Shwartz and Shai Ben-David. 2014. Understanding machine learning: From theory to algorithms. Cambridge university press."},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neunet.2019.07.011"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.4208\/cicp.OA-2020-0149"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE48307.2020.00117"},{"key":"e_1_2_2_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3452830"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.14778\/3421424.3421432"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.14778\/3368289.3368294"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neunet.2017.07.002"},{"key":"e_1_2_2_40_1","volume-title":"Conference on learning theory. PMLR, 639--649","author":"Yarotsky Dmitry","year":"2018","unstructured":"Dmitry Yarotsky. 2018. Optimal approximation of continuous functions by very deep ReLU networks. In Conference on learning theory. PMLR, 639--649."},{"key":"e_1_2_2_41_1","volume-title":"The phase diagram of approximation rates for deep neural networks. Advances in neural information processing systems 33","author":"Yarotsky Dmitry","year":"2020","unstructured":"Dmitry Yarotsky and Anton Zhevnerchuk. 2020. The phase diagram of approximation rates for deep neural networks. Advances in neural information processing systems 33 (2020), 13005--13015."},{"volume-title":"Mining individual life pattern based on location history. In 2009 tenth international conference on mobile data management: Systems, services and middleware","author":"Ye Yang","key":"e_1_2_2_42_1","unstructured":"Yang Ye, Yu Zheng, Yukun Chen, Jianhua Feng, and Xing Xie. 2009. Mining individual life pattern based on location history. In 2009 tenth international conference on mobile data management: Systems, services and middleware. IEEE, 1--10."},{"key":"e_1_2_2_43_1","unstructured":"Chulhee Yun Suvrit Sra and Ali Jadbabaie. 2019. Small ReLU networks are powerful memorizers: a tight analysis of memorization capacity. In Advances in Neural Information Processing Systems. 15558--15569."},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.14778\/3510397.3510404"},{"key":"e_1_2_2_45_1","volume-title":"echnical Report).","author":"Zeighami Sepanta","year":"2022","unstructured":"Sepanta Zeighami, Cyrus Shahabi, and Vatsal Sharan. 2022. NeuroSketch: A Neural Network Method for Fast and Approximate Evaluation of Range Aggregate Queries (Technical Report). (2022). https:\/\/arxiv.org\/abs\/2211.10832."},{"key":"e_1_2_2_46_1","unstructured":"Sepanta Zeighami Cyrus Shahabi and Vatsal Sharan. 2022. NeuroSketch Implementation. https:\/\/github.com\/szeighami\/NeuroSketch."},{"key":"e_1_2_2_47_1","volume-title":"Neural architecture search with reinforcement learning. arXiv preprint arXiv:1611.01578","author":"Zoph Barret","year":"2016","unstructured":"Barret Zoph and Quoc V Le. 2016. Neural architecture search with reinforcement learning. arXiv preprint arXiv:1611.01578 (2016)."}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3588954","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3588954","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3588954","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:38Z","timestamp":1750178858000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3588954"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,5,26]]},"references-count":47,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2023,5,26]]}},"alternative-id":["10.1145\/3588954"],"URL":"https:\/\/doi.org\/10.1145\/3588954","relation":{},"ISSN":["2836-6573"],"issn-type":[{"type":"electronic","value":"2836-6573"}],"subject":[],"published":{"date-parts":[[2023,5,26]]}}}