{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T07:46:21Z","timestamp":1792136781028,"version":"4.4.0"},"reference-count":76,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2020,8]]},"abstract":"<jats:p>This paper overviews an approach that addresses machine learning over relational data as a database problem. This is justified by two observations. First, the input to the learning task is commonly the result of a feature extraction query over the relational data. Second, the learning task requires the computation of group-by aggregates. This approach has been already investigated for a number of supervised and unsupervised learning tasks, including: ridge linear regression, factorisation machines, support vector machines, decision trees, principal component analysis, and k-means; and also for linear algebra over data matrices.<\/jats:p>\n          <jats:p>The main message of this work is that the runtime performance of machine learning can be dramatically boosted by a toolbox of techniques that exploit the knowledge of the underlying data. This includes theoretical development on the algebraic, combinatorial, and statistical structure of relational data processing and systems development on code specialisation, low-level computation sharing, and parallelisation. These techniques aim at lowering both the complexity and the constant factors of the learning time.<\/jats:p>\n          <jats:p>This work is the outcome of extensive collaboration of the author with colleagues from RelationalAI, in particular Mahmoud Abo Khamis, Molham Aref, Hung Ngo, and XuanLong Nguyen, and from the FDB research project, in particular Ahmet Kara, Milos Nikolic, Maximilian Schleich, Amir Shaikhha, Jakub Z\u00e1vodn\u00fd, and Haozhe Zhang. The author would also like to thank the members of the FDB project for the figures and examples used in this paper.<\/jats:p>\n          <jats:p>The author is grateful for support from industry: Amazon Web Services, Google, Infor, LogicBlox, Microsoft Azure, RelationalAI; and from the funding agencies EPSRC and ERC. This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 682588.<\/jats:p>","DOI":"10.14778\/3415478.3415572","type":"journal-article","created":{"date-parts":[[2020,9,14]],"date-time":"2020-09-14T18:46:40Z","timestamp":1600109200000},"page":"3502-3515","source":"Crossref","is-referenced-by-count":20,"title":["The relational data borg is learning"],"prefix":"10.14778","volume":"13","author":[{"given":"Dan","family":"Olteanu","sequence":"first","affiliation":[{"name":"University of Zurich"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,8]]},"reference":[{"key":"e_1_2_1_1_1","first-page":"265","volume-title":"OSDI","author":"Abadi M.","year":"2016","unstructured":"M. Abadi, P. Barham, J. Chen, and et al. Tensorflow: A system for large-scale machine learning. In OSDI, pages 265--283, 2016."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3129246"},{"issue":"1","key":"e_1_2_1_3_1","first-page":"1","article-title":"Research directions for principles of data management (dagstuhl perspectives workshop 16151)","volume":"7","author":"Abiteboul S.","year":"2018","unstructured":"S. Abiteboul and et al. Research directions for principles of data management (dagstuhl perspectives workshop 16151). Dagstuhl Manifestos, 7(1):1--29, 2018.","journal-title":"Dagstuhl Manifestos"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3294052.3319694"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3209889.3209896"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196959.3196960"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375661"},{"key":"e_1_2_1_8_1","first-page":"1","volume-title":"ICDT","author":"Khamis M. Abo","year":"2019","unstructured":"M. Abo Khamis, H. Q. Ngo, D. Olteanu, and D. Suciu. Boolean tensor decomposition for conjunctive queries with negation. In ICDT, pages 21:1--21:19, 2019."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2902251.2902280"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3034786.3056105"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742796"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2008.43"},{"key":"e_1_2_1_13_1","first-page":"1","volume-title":"ECOOP","author":"Avgustinov P.","year":"2016","unstructured":"P. Avgustinov, O. de Moor, M. P. Jones, and M. Sch\u00e4fer. QL: Object-oriented Queries on Relational Data. In ECOOP, pages 2:1--2:25, 2016."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.14778\/2556549.2556579"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.14778\/2350229.2350242"},{"key":"e_1_2_1_16_1","volume-title":"The expressive power of graph neural networks as a query language. SIGMOD Rec., 49(2)","author":"Barcel\u00f3 P.","year":"2020","unstructured":"P. Barcel\u00f3, E. V. Kostylev, M. Monet, J. P\u00e9rez, J. L. Reutter, and J. P. Silva. The expressive power of graph neural networks as a query language. SIGMOD Rec., 49(2), 2020. To appear."},{"key":"e_1_2_1_17_1","volume-title":"Wadsworth and Brooks","author":"Breiman L.","year":"1984","unstructured":"L. Breiman, J. Friedman, R. Olshen, and C. Stone. Classification and Regression Trees. Wadsworth and Brooks, Monterey, CA, 1984."},{"issue":"1","key":"e_1_2_1_18_1","first-page":"4","article-title":"Data mining and database systems: Where is the intersection?","volume":"21","author":"Chaudhuri S.","year":"1998","unstructured":"S. Chaudhuri. Data mining and database systems: Where is the intersection? IEEE Data Eng. Bull., 21(1):4--8, 1998.","journal-title":"IEEE Data Eng. Bull."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2939672.2939785"},{"key":"e_1_2_1_20_1","unstructured":"G. Chichirim. Structured Sum-Product Networks May 2020. BSc thesis University of Oxford."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3310359"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.21105\/joss.00726"},{"key":"e_1_2_1_23_1","series-title":"Proc","first-page":"2742","volume-title":"AISTATS","author":"Curtin R. R.","year":"2020","unstructured":"R. R. Curtin, B. Moseley, H. Q. Ngo, X. Nguyen, D. Olteanu, and M. Schleich. Rk-means: Fast clustering for relational data. In AISTATS, volume 108 of Proc. ML Res., pages 2742--2752, 2020."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375395.3389131"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3269206.3274271"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213874"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3034786.3056125"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3051095"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.5555\/1109557.1109590"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564705"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304208"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.14778\/2367502.2367510"},{"key":"e_1_2_1_33_1","volume-title":"Quadratically Regularised Principal Component Analysis over multi-relational databases","author":"Inelus G.-R.","year":"2019","unstructured":"G.-R. Inelus. Quadratically Regularised Principal Component Analysis over multi-relational databases, 2019. MSc thesis, University of Oxford."},{"key":"e_1_2_1_34_1","volume-title":"The State of Data Science and Machine Learning","year":"2017","unstructured":"Kaggle. The State of Data Science and Machine Learning, 2017. https:\/\/www.kaggle.com\/surveys\/2017."},{"key":"e_1_2_1_35_1","first-page":"1","volume-title":"ICDT","author":"Kara A.","year":"2019","unstructured":"A. Kara, H. Q. Ngo, M. Nikolic, D. Olteanu, and H. Zhang. Counting triangles under updates in worst-case optimal time. In ICDT, pages 4:1--4:18, 2019."},{"key":"e_1_2_1_36_1","volume-title":"Accepted","author":"Kara A.","year":"2020","unstructured":"A. Kara, H. Q. Ngo, M. Nikolic, D. Olteanu, and H. Zhang. Maintaining triangle queries under updates. ACM Trans. Database Syst., Accepted April 2020."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3375395.3387646"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807085.1807100"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-013-0348-4"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3054775"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2723713"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3284551"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1721837.1721845"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535926"},{"key":"e_1_2_1_45_1","first-page":"14","article-title":"a foundational python library for data analysis and statistics","author":"McKinney W.","year":"2011","unstructured":"W. McKinney. Pandas: a foundational python library for data analysis and statistics. Python for High Performance and Scientific Computing, 14, 2011.","journal-title":"Python for High Performance and Scientific Computing"},{"key":"e_1_2_1_46_1","volume-title":"HotOS","author":"McSherry F.","year":"2015","unstructured":"F. McSherry, M. Isard, and D. G. Murray. Scalability! but at what cost? In HotOS, 2015."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.5555\/2946645.2946679"},{"key":"e_1_2_1_48_1","volume-title":"Machine learning: a probabilistic perspective","author":"Murphy K. P.","year":"2013","unstructured":"K. P. Murphy. Machine learning: a probabilistic perspective. MIT Press, Cambridge, Mass., 2013."},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.14778\/2002938.2002940"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213556.2213565"},{"key":"e_1_2_1_51_1","first-page":"5","volume-title":"SIGMOD Rec.","author":"Ngo H. Q.","year":"2013","unstructured":"H. Q. Ngo, C. R\u00e9, and A. Rudra. Skew strikes back: New developments in the theory of join algorithms. In SIGMOD Rec., pages 5--16, 2013."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2764947.2764948"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183713.3183758"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3318464.3384702"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007312"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3003665.3003667"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/2656335"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3300077"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-006-6064-1"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3054782"},{"key":"e_1_2_1_62_1","volume-title":"R: A Language and Environment for Statistical Computing","author":"Team R Core","year":"2013","unstructured":"R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Stat. Comp., www.r-project.org, 2013."},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/2168752.2168771"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.14778\/3415478.3415515"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3324961"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882939"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-35514-2_32"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183653"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2915244"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368826.3377923"},{"key":"e_1_2_1_71_1","volume-title":"Probabilistic Databases. Synthesis Lectures on Data Management","author":"Suciu D.","year":"2011","unstructured":"D. Suciu, D. Olteanu, C. R\u00e9, and C. Koch. Probabilistic Databases. Synthesis Lectures on Data Management. Morgan & Claypool Publishers, 2011."},{"key":"e_1_2_1_72_1","unstructured":"The StatsModels development team. StatsModels: Statistics in Python http:\/\/statsmodels.sourceforge.net 2012."},{"key":"e_1_2_1_73_1","volume-title":"QR decomposition of normalised relational data","author":"van Geffen B.","year":"2018","unstructured":"B. van Geffen. QR decomposition of normalised relational data, 2018. MSc thesis, University of Oxford."},{"key":"e_1_2_1_74_1","first-page":"96","volume-title":"ICDT","author":"Veldhuizen T. L.","year":"2014","unstructured":"T. L. Veldhuizen. Leapfrog triejoin: A simple, worst-case optimal join algorithm. In ICDT, pages 96--106, 2014."},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.5555\/3304652.3304791"},{"key":"e_1_2_1_76_1","first-page":"2","volume-title":"NSDI","author":"Zaharia M.","year":"2012","unstructured":"M. Zaharia, M. Chowdhury, et al. Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. In NSDI, pages 2--2, 2012."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3415478.3415572","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,17]],"date-time":"2025-09-17T02:17:29Z","timestamp":1758075449000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3415478.3415572"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,8]]},"references-count":76,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2020,8]]}},"alternative-id":["10.14778\/3415478.3415572"],"URL":"https:\/\/doi.org\/10.14778\/3415478.3415572","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2020,8]]}}}