{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,11]],"date-time":"2026-05-11T11:00:17Z","timestamp":1778497217300,"version":"3.51.4"},"reference-count":62,"publisher":"Association for Computing Machinery (ACM)","issue":"11","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2021,7]]},"abstract":"<jats:p>\n            Many applications that use large-scale machine learning (ML) increasingly prefer different models for subgroups (e.g., countries) to improve accuracy, fairness, or other desiderata. We call this emerging popular practice\n            <jats:italic>learning over groups<\/jats:italic>\n            , analogizing to GROUP BY in SQL, albeit for ML training instead of SQL aggregates. From the systems standpoint, this practice compounds the already data-intensive workload of ML model selection (e.g., hyperparameter tuning). Often, thousands of models may need to be trained, necessitating high-throughput parallel execution. Alas, most ML systems today focus on training one model at a time or at best, parallelizing hyperparameter tuning. This status quo leads to resource wastage, low throughput, and high runtimes. In this work, we take the first step towards enabling and\n            <jats:italic>optimizing<\/jats:italic>\n            learning over groups from the data systems standpoint for three popular classes of ML: linear models, neural networks, and gradient-boosted decision trees. Analytically and empirically, we compare standard approaches to execute this workload today: task-parallelism and data-parallelism. We find neither is universally dominant. We put forth a novel hybrid approach we call\n            <jats:italic>grouped learning<\/jats:italic>\n            that avoids redundancy in communications and I\/O using a novel form of parallel gradient descent we call Gradient Accumulation Parallelism (GAP). We prototype our ideas into a system we call\n            <jats:italic>Kingpin<\/jats:italic>\n            built on top of existing ML tools and the flexible massively-parallel runtime Ray. An extensive empirical evaluation on large ML benchmark datasets shows that Kingpin matches or is 4x to 14x faster than state-of-the-art ML systems, including Ray's native execution and PyTorch DDP.\n          <\/jats:p>","DOI":"10.14778\/3476249.3476284","type":"journal-article","created":{"date-parts":[[2021,10,27]],"date-time":"2021-10-27T16:46:23Z","timestamp":1635353183000},"page":"2327-2340","source":"Crossref","is-referenced-by-count":6,"title":["Towards an optimized GROUP by abstraction for large-scale machine learning"],"prefix":"10.14778","volume":"14","author":[{"given":"Side","family":"Li","sequence":"first","affiliation":[{"name":"University of California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Arun","family":"Kumar","sequence":"additional","affiliation":[{"name":"University of California"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2021,10,27]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"[n.d.]. 10x Faster Parallel Python Without Python Multiprocessing. https:\/\/towardsdatascience.com\/10x-faster-parallel-python-without-python-multiprocessing-e5017c93cce1. Accessed: 2021-1-29.  [n.d.]. 10x Faster Parallel Python Without Python Multiprocessing. https:\/\/towardsdatascience.com\/10x-faster-parallel-python-without-python-multiprocessing-e5017c93cce1. Accessed: 2021-1-29."},{"key":"e_1_2_1_2_1","unstructured":"[n.d.]. Amazon Redshift ML. https:\/\/aws.amazon.com\/redshift\/features\/redshift-ml\/. Accessed: 2021-1-29.  [n.d.]. Amazon Redshift ML. https:\/\/aws.amazon.com\/redshift\/features\/redshift-ml\/. Accessed: 2021-1-29."},{"key":"e_1_2_1_3_1","unstructured":"[n.d.]. Deep Learning Pipelines for Apache Spark. https:\/\/github.com\/databricks\/spark-deep-learning. Accessed: 2021-1-29.  [n.d.]. Deep Learning Pipelines for Apache Spark. https:\/\/github.com\/databricks\/spark-deep-learning. Accessed: 2021-1-29."},{"key":"e_1_2_1_4_1","unstructured":"[n.d.]. LightGBM Parallel Learning Guide. https:\/\/lightgbm.readthedocs.io\/en\/latest\/Parallel-Learning-Guide.html. Accessed: 2021-1-29.  [n.d.]. LightGBM Parallel Learning Guide. https:\/\/lightgbm.readthedocs.io\/en\/latest\/Parallel-Learning-Guide.html. Accessed: 2021-1-29."},{"key":"e_1_2_1_5_1","unstructured":"[n.d.]. Scikit-learn integration package for Apache Spark. https:\/\/github.com\/databricks\/spark-sklearn. Accessed: 2021-1-29.  [n.d.]. Scikit-learn integration package for Apache Spark. https:\/\/github.com\/databricks\/spark-sklearn. Accessed: 2021-1-29."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/INFOCOM.2018.8486422"},{"key":"e_1_2_1_7_1","volume-title":"SystemDS: A Declarative Machine Learning System for the End-to-End Data Science Lifecycle. CoRR abs\/1909.02976","author":"Boehm Matthias","year":"2019"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007279"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/3229863.3229865"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732286.2732292"},{"key":"e_1_2_1_11_1","unstructured":"Xavier Bouthillier and Ga\u00ebl Varoquaux. 2020. Survey of machine-learning experimental methods at NeurIPS2019 and ICLR2020. Research Report. Inria Saclay Ile de France. https:\/\/hal.archives-ouvertes.fr\/hal-02447823  Xavier Bouthillier and Ga\u00ebl Varoquaux. 2020. Survey of machine-learning experimental methods at NeurIPS2019 and ICLR2020. Research Report. Inria Saclay Ile de France. https:\/\/hal.archives-ouvertes.fr\/hal-02447823"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.14778\/3137628.3137633"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2016.350"},{"key":"e_1_2_1_14_1","volume-title":"Retrieved","year":"2018"},{"key":"e_1_2_1_15_1","volume-title":"Retrieved","year":"2018"},{"key":"e_1_2_1_16_1","unstructured":"Jeffrey Dunn. 2016. Introducing FBLearner Flow: Facebook's AI backbone. https:\/\/engineering.fb.com\/2016\/05\/09\/core-data\/introducing-fblearner-flow-facebook-s-ai-backbone\/.  Jeffrey Dunn. 2016. Introducing FBLearner Flow: Facebook's AI backbone. https:\/\/engineering.fb.com\/2016\/05\/09\/core-data\/introducing-fblearner-flow-facebook-s-ai-backbone\/."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.5555\/3358807.3358809"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213874"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.14778\/3342263.3342273"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICECCT.2015.7226035"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3097983.3098043"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/321978.321985"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009726021843"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.5555\/3323234.3323274"},{"key":"e_1_2_1_25_1","volume-title":"Scheduling Algorithms","author":"Hastie Trevor"},{"key":"e_1_2_1_26_1","unstructured":"Trevor Hastie et al. 2001. The Elements of Statistical Learning: Data mining Inference and Prediction. Springer-Verlag.  Trevor Hastie et al. 2001. The Elements of Statistical Learning: Data mining Inference and Prediction. Springer-Verlag."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.14778\/2367502.2367510"},{"key":"e_1_2_1_28_1","unstructured":"Max Jaderberg Valentin Dalibard Simon Osindero Wojciech M. Czarnecki Jeff Donahue Ali Razavi Oriol Vinyals Tim Green Iain Dunning Karen Simonyan Chrisantha Fernando and Koray Kavukcuoglu. 2017. Population Based Training of Neural Networks. arXiv:1711.09846 [cs.LG]  Max Jaderberg Valentin Dalibard Simon Osindero Wojciech M. Czarnecki Jeff Donahue Ali Razavi Oriol Vinyals Tim Green Iain Dunning Karen Simonyan Chrisantha Fernando and Koray Kavukcuoglu. 2017. Population Based Training of Neural Networks. arXiv:1711.09846 [cs.LG]"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.14778\/3229863.3236258"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.5555\/3294996.3295074"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10951-019-00607-9"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.14778\/2824032.2824087"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2935694.2935698"},{"key":"e_1_2_1_34_1","volume-title":"Cerebro: A Layered Data Platform for Scalable Deep Learning (CIDR'21)","author":"Kumar Arun","year":"2021"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2723713"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.5555\/3122009.3242042"},{"key":"e_1_2_1_37_1","unstructured":"Liam Li Kevin Jamieson Afshin Rostamizadeh Ekaterina Gonina Moritz Hardt Benjamin Recht and Ameet Talwalkar. 2020. A System for Massively Parallel Hyperparameter Tuning. arXiv:1810.05934 [cs.LG]  Liam Li Kevin Jamieson Afshin Rostamizadeh Ekaterina Gonina Moritz Hardt Benjamin Recht and Ameet Talwalkar. 2020. A System for Massively Parallel Hyperparameter Tuning. arXiv:1810.05934 [cs.LG]"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.5555\/2685048.2685095"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3319878"},{"key":"e_1_2_1_40_1","unstructured":"Side Li and Arun Kumar. 2021. Optimizing Large-Scale Machine Learning over Groups. https:\/\/adalabucsd.github.io\/papers\/TR_2021_Kingpin.pdf.  Side Li and Arun Kumar. 2021. Optimizing Large-Scale Machine Learning over Groups. https:\/\/adalabucsd.github.io\/papers\/TR_2021_Kingpin.pdf."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/3415478.3415530"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3187009.3177737"},{"key":"e_1_2_1_43_1","volume-title":"Tune: A Research Platform for Distributed Model Selection and Training. arXiv:1807.05118 [cs.LG]","author":"Liaw Richard","year":"2018"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1287\/mnsc.6.1.1"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.5555\/2946645.2946679"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.5555\/3291168.3291210"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3329486.3329496"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.14778\/3407790.3407816"},{"key":"e_1_2_1_49_1","unstructured":"Supun Nakandala Yuhao Zhang and Arun Kumar. 2020. Resource-Efficient Deep Learning Model Selection on Apache Spark. https:\/\/databricks.com\/session_na20\/resource-efficient-deep-learning-model-selection-on-apache-spark.  Supun Nakandala Yuhao Zhang and Arun Kumar. 2020. Resource-Efficient Deep Learning Model Selection on Apache Spark. https:\/\/databricks.com\/session_na20\/resource-efficient-deep-learning-model-selection-on-apache-spark."},{"key":"e_1_2_1_50_1","volume-title":"Wright","author":"Nocedal Jorge","year":"2006"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007312"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.14778\/2535573.2488340"},{"key":"e_1_2_1_53_1","doi-asserted-by":"crossref","unstructured":"Olaf Ronneberger Philipp Fischer and Thomas Brox. 2015. U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv:1505.04597 [cs.CV]  Olaf Ronneberger Philipp Fischer and Thomas Brox. 2015. U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv:1505.04597 [cs.CV]","DOI":"10.1007\/978-3-319-24574-4_28"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2882939"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3184400"},{"key":"e_1_2_1_56_1","volume-title":"Horovod: fast and easy distributed deep learning in TensorFlow. CoRR abs\/1802.05799","author":"Sergeev Alexander","year":"2018"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1561\/2200000018"},{"key":"e_1_2_1_58_1","doi-asserted-by":"crossref","unstructured":"S. Sievert T. Augspurger and M. Rocklin. 2019. Better and faster hyperparameter optimization with Dask.  S. Sievert T. Augspurger and M. Rocklin. 2019. Better and faster hyperparameter optimization with Dask.","DOI":"10.25080\/Majora-a6455521-001"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3127479.3132746"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.5555\/3291168.3291212"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE48307.2020.00129"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3127479.3127490"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3476249.3476284","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T10:03:27Z","timestamp":1672221807000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3476249.3476284"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7]]},"references-count":62,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2021,7]]}},"alternative-id":["10.14778\/3476249.3476284"],"URL":"https:\/\/doi.org\/10.14778\/3476249.3476284","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2021,7]]}}}