Production Machine Learning Pipelines: Empirical Analysis and Optimization Opportunities
Not on the map. Why?
Abstract (arXiv)
Machine learning (ML) is now commonplace, powering data-driven applications in various organizations. Unlike the traditional perception of ML in research, ML production pipelines are complex, with many interlocking analytical components beyond training, whose sub-parts are often run multiple times on overlapping subsets of data. However, there is a lack of quantitative evidence regarding the lifespan, architecture, frequency, and complexity of these pipelines to understand how data management research can be used to make them more efficient, effective, robust, and reproducible. To that end, we analyze the provenance graphs of 3000 production ML pipelines at Google, comprising over 450,000 models trained, spanning a period of over four months, in an effort to understand the complexity and challenges underlying production ML. Our analysis reveals the characteristics, components, and topologies of typical industry-strength ML pipelines at various granularities. Along the way, we introduce a specialized data model for representing and reasoning about repeatedly run components in these ML pipelines, which we call model graphlets. We identify several rich opportunities for optimization, leveraging traditional data management ideas. We show how targeting even one of these opportunities, i.e., identifying and pruning wasted computation that does not translate to model deployment, can reduce wasted computation cost by 50% without compromising the model deployment cadence.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 7 of its 53 references that are in the map. First posted on arXiv 30 Mar 2021.
Builds on
7 of 53 references.
References · 7
- 2020How do Data Science Workers Collaborate? Roles, Workflows, and Toolscited by 64
- 2019Extending Relational Query Processing with ML Inferencecited by 15
- 2018Helix: Holistic Optimization for Accelerating Iterative Machine Learningcited by 11
- 2020The Relational Data Borg is Learningcited by 6
- 2020Demystifying a Dark Art: Understanding Real-World Machine Learning Model Developmentcited by 4
- 2018Understanding Data Science Lifecycle Provenance via Graph Segmentation and Summarizationcited by 2
- 2015Aggregation by Provenance Types: A Technique for Summarising Provenance Graphscited by 1
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 7; 2024: 5; 2025: 1; 2026: 5.
21 papers.
Sort:
By area:
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2022Operationalizing Machine Learning: An Interview Studycited by 25
- 2023The Pipeline for the Continuous Development of Artificial Intelligence Models -- Current State of Research and Practicecited by 14
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2023Bayesian Optimization of Function Networks with Partial Evaluationscited by 10
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestrationcited by 5
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
- 2024An Empirical Study of Challenges in Machine Learning Asset Managementcited by 4
- 2024Approximate Nearest Neighbour Search on Dynamic Datasets: An Investigationcited by 2
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Developmentcited by 2
- 2023TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenancecited by 1
- 2024AntDT: A Self-Adaptive Distributed Training Framework for Leader and Straggler Nodescited by 1
9 more
- 2026EPOCH: An Agentic Protocol for Multi-Round System Optimizationcited by 1
- 2026SemPiper: Interactive Code Synthesis for Semantic Operators in Machine Learning Pipelinescited by 1
- 2021Machine Learning Featurizations for AI Hacking of Political Systemscited by 0
- 2023CMLCompiler: A Unified Compiler for Classical Machine Learningcited by 0
- 2023VeML: An End-to-End Machine Learning Lifecycle for Large-scale and High-dimensional Datacited by 0
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloudcited by 0
- 2025AI Factories: It's time to rethink the Cloud-HPC dividecited by 0
- 2026stratum: A System Infrastructure for Massive Agent-Centric ML Workloadscited by 0
- 2026FlowPipe: LLM-Enhanced Conditional Generative Flow Networks for Data Preparation Pipeline Constructioncited by 0
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Development10 Jul 2026
- 2026FlowPipe: LLM-Enhanced Conditional Generative Flow Networks for Data Preparation Pipeline Construction23 Jun 2026
- 2026SemPiper: Interactive Code Synthesis for Semantic Operators in Machine Learning Pipelines12 Jun 2026
- 2026EPOCH: An Agentic Protocol for Multi-Round System Optimization10 Mar 2026
- 2026stratum: A System Infrastructure for Massive Agent-Centric ML Workloads3 Mar 2026
- 2025AI Factories: It's time to rethink the Cloud-HPC divide16 Sep 2025
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Model6 Sep 2024
- 2024Approximate Nearest Neighbour Search on Dynamic Datasets: An Investigation30 Apr 2024
- 2024AntDT: A Self-Adaptive Distributed Training Framework for Leader and Straggler Nodes15 Apr 2024
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloud12 Mar 2024
- 2024An Empirical Study of Challenges in Machine Learning Asset Management25 Feb 2024
- 2023TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenance21 Dec 2023
9 more
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestration11 Dec 2023
- 2023Bayesian Optimization of Function Networks with Partial Evaluations3 Nov 2023
- 2023VeML: An End-to-End Machine Learning Lifecycle for Large-scale and High-dimensional Data25 Apr 2023
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Vision13 Mar 2023
- 2023CMLCompiler: A Unified Compiler for Classical Machine Learning31 Jan 2023
- 2023The Pipeline for the Continuous Development of Artificial Intelligence Models -- Current State of Research and Practice21 Jan 2023
- 2022Operationalizing Machine Learning: An Interview Study16 Sep 2022
- 2021Machine Learning Featurizations for AI Hacking of Political Systems8 Oct 2021
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Training20 Aug 2021
- 2021Understanding Data Storage and Ingestion for Large-Scale Deep Recommendation Model Trainingcited by 28
- 2022Operationalizing Machine Learning: An Interview Studycited by 25
- 2023The Pipeline for the Continuous Development of Artificial Intelligence Models -- Current State of Research and Practicecited by 14
- 2023Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Visioncited by 11
- 2023Bayesian Optimization of Function Networks with Partial Evaluationscited by 10
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestrationcited by 5
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Modelcited by 5
- 2024An Empirical Study of Challenges in Machine Learning Asset Managementcited by 4
- 2024Approximate Nearest Neighbour Search on Dynamic Datasets: An Investigationcited by 2
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Developmentcited by 2
- 2023TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenancecited by 1
- 2024AntDT: A Self-Adaptive Distributed Training Framework for Leader and Straggler Nodescited by 1
12 most cited of 19 All 19 (JSON)
- 2026Position: Stop Reactively Patching Your Model Every Time and Start Proactive Test-Driven AI Development10 Jul 2026
- 2026FlowPipe: LLM-Enhanced Conditional Generative Flow Networks for Data Preparation Pipeline Construction23 Jun 2026
- 2026SemPiper: Interactive Code Synthesis for Semantic Operators in Machine Learning Pipelines12 Jun 2026
- 2025AI Factories: It's time to rethink the Cloud-HPC divide16 Sep 2025
- 2024AnyMatch -- Efficient Zero-Shot Entity Matching with a Small Language Model6 Sep 2024
- 2024Approximate Nearest Neighbour Search on Dynamic Datasets: An Investigation30 Apr 2024
- 2024AntDT: A Self-Adaptive Distributed Training Framework for Leader and Straggler Nodes15 Apr 2024
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloud12 Mar 2024
- 2024An Empirical Study of Challenges in Machine Learning Asset Management25 Feb 2024
- 2023TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenance21 Dec 2023
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestration11 Dec 2023
- 2023Bayesian Optimization of Function Networks with Partial Evaluations3 Nov 2023
12 newest of 19 All 19 (JSON)