Towards an Optimized GROUP BY Abstraction for Large-Scale Machine Learning
摘要
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 learning over groups , 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 optimizing 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 grouped learning 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 Kingpin 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SHiFT: An Efficient, Flexible Search Engine for Transfer Learning 引用了 Cerebro: A Data System for Optimized Deep Learning Model Selection
- Nautilus: An Optimized System for Deep Transfer Learning over Evolving Training Datasets 引用了 Cerebro: A Data System for Optimized Deep Learning Model Selection
- Lotan: Bridging the Gap between GNNs and Scalable Graph Analytics Engines 引用了 Cerebro: A Data System for Optimized Deep Learning Model Selection
- Lotan: Bridging the Gap between GNNs and Scalable Graph Analytics Engines 引用了 Nautilus: An Optimized System for Deep Transfer Learning over Evolving Training Datasets
引用它的顶会 Paper3
- Lotan: Bridging the Gap between GNNs and Scalable Graph Analytics EnginesYuhao Zhang, Arun KumarVLDB 2023 · 11 次引用
- SHiFT: An Efficient, Flexible Search Engine for Transfer LearningCédric Renggli, Xiaozhe Yao, Luka Kolar, Luka Rimanic 等VLDB 2023 · 8 次引用
- Nautilus: An Optimized System for Deep Transfer Learning over Evolving Training DatasetsSupun Nakandala, Arun KumarSIGMOD 2022 · 6 次引用
它引用的 Paper2
相关 Paper
- Fair and Accurate Decision Making through Group-Aware LearningRamtin Hosseini, Li Zhang, Bhanu Garg, Pengtao XieICML 2023 · 6 次引用
- RubberBand: cloud-based hyperparameter tuningUjval Misra, Richard Liaw, Lisa Dunlap, Romil Bhardwaj 等EuroSys 2021 · 21 次引用
- Fela: Incorporating Flexible Parallelism and Elastic Tuning to Accelerate Large-Scale DMLJinkun Geng, Dan Li, Shuai WangICDE 2020 · 5 次引用
- Scaling Distributed Machine Learning with In-Network AggregationAmedeo Sapio, Marco Canini, Chen-Yu Ho, Jacob Nelson 等NSDI 2021
- Hyper-Tune: Towards Efficient Hyper-parameter Tuning at ScaleYang Li, Yu Shen, Huaijun Jiang, Wentao Zhang 等VLDB 2022 · 32 次引用
