Lune

USENIX ATC2022顶会

Cachew: Machine Learning Input Data Processing as a Service

Dan Graur, Damien Aymon, Dan Kluser, Tanguy Albrici, Chandramohan A. Thekkath, Ana Klimovic

摘要

Processing input data plays a vital role in ML training, impacting accuracy, throughput, and cost. The input pipeline, which is responsible for feeding data-hungry GPUs/TPUs with training examples, is a common bottleneck. Alleviating data stalls is critical yet challenging for users. While today's frameworks provide mechanisms to maximize input pipeline throughput (e.g., distributing data processing on remote CPU workers and/or reusing cached data transformations), leveraging these mechanisms to jointly optimize training time and cost is non-trivial. Users face two key challenges. First, ML schedulers focus on GPU/TPU resources, leaving users on their own to optimize multi-dimensional resource allocations for data processing. Second, input pipelines often consume excessive compute power to repeatedly transform the same data. Deciding which source or transformed data to cache is non-trivial: large datasets are expensive to store, the compute time saved by caching is not always the bottleneck for end-toend training, and transformations may not be deterministic, hence reusing transformed data can impact accuracy.

We propose Cachew, a fully-managed service for ML data processing. Cachew dynamically scales distributed resources for data processing to avoid stalls in training jobs. The service also automatically applies caching when and where it is performance/cost-effective to reuse preprocessed data within and across jobs. Our key contributions are autoscaling and autocaching policies, which leverage domain-specific metrics collected at data workers and training clients (rather than generic resource utilization metrics) to minimize training time and cost. Compared to scaling workers with Kubernetes, Cachew's policies reduce training time by up to 4.1× and training cost by 1.1× to 3.8×.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
  • cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
  • cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Big Self-Supervised Models are Strong Semi-Supervised Learners
  • cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Tectonic-Shift: A Composite Storage Fabric for Large-Scale ML Training
  • cedar: Optimized and Unified Machine Learning Input Data Pipelines 引用了 Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement
  • Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 cedar: Optimized and Unified Machine Learning Input Data Pipelines
  • FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • EfficientNetV2: Smaller Models and Faster Training 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • Big Self-Supervised Models are Strong Semi-Supervised Learners 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data Pipeline
  • Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid Placement 引用了 RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 次引用
  2. FastFlow: Accelerating Deep Learning Model Training with Smart Offloading of Input Data PipelineTaegeon Um, Byungsoo Oh, Byeongchan Seo, Minhyeok Kweun 等VLDB 2023 · 45 次引用
  3. Pecan: Cost-Efficient ML Data Preprocessing with Automatic Transformation Ordering and Hybrid PlacementDan Graur, Oto Mraz, Muyu Li, Mohammad Sepehr Pourghannad 等USENIX ATC 2024 · 18 次引用
  4. cedar: Optimized and Unified Machine Learning Input Data PipelinesMark Zhao, Emanuel Adamiak, Christos KozyrakisVLDB 2025 · 13 次引用
  5. Tectonic-Shift: A Composite Storage Fabric for Large-Scale ML TrainingMark Zhao, Satadru Pan, Niket Agarwal, Zhaoduo Wen 等USENIX ATC 2023 · 13 次引用

它引用的 Paper12

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  2. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用
  3. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 次引用
  4. EfficientNetV2: Smaller Models and Faster TrainingMingxing Tan, Quoc V. LeICML 2021 · 4,239 次引用
  5. Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi 等NeurIPS 2020 · 2,611 次引用

相关 Paper

  1. Analyzing and Mitigating Data Stalls in DNN TrainingJayashree Mohan, Amar Phanishayee, Ashish Raniwala, Vijay ChidambaramVLDB 2021 · 142 次引用
  2. Dynamic Resource Allocation for Deep Learning Clusters with Separated Compute and StorageMingxia Li, Zhenhua Han, Chi Zhang, Ruiting Zhou 等INFOCOM 2023 · 3 次引用
  3. SiloD: A Co-design of Caching and Scheduling for Deep Learning ClustersHanyu Zhao, Zhenhua Han, Zhi Yang, Quanlu Zhang 等EuroSys 2023 · 22 次引用
  4. HyCache: Hybrid Caching for Accelerating DNN Input Preprocessing PipelinesKeshav Vinayak Jha, Shweta Pandey, Murali Annavaram, Arkaprava BasuUSENIX ATC 2025 · 2 次引用
  5. Preparation Meets Opportunity: Enhancing Data Preprocessing for ML Training With SenecaOmkar Desai, Ziyang Jiao, Shuyi Pei, Janki Bhimani 等FAST 2026 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖