English

Modyn: Data-Centric Machine Learning Pipeline Orchestration

Machine Learning 2025-01-27 v3 Artificial Intelligence Databases Distributed, Parallel, and Cluster Computing Machine Learning

Abstract

In real-world machine learning (ML) pipelines, datasets are continuously growing. Models must incorporate this new training data to improve generalization and adapt to potential distribution shifts. The cost of model retraining is proportional to how frequently the model is retrained and how much data it is trained on, which makes the naive approach of retraining from scratch each time impractical. We present Modyn, a data-centric end-to-end machine learning platform. Modyn's ML pipeline abstraction enables users to declaratively describe policies for continuously training a model on a growing dataset. Modyn pipelines allow users to apply data selection policies (to reduce the number of data points) and triggering policies (to reduce the number of trainings). Modyn executes and orchestrates these continuous ML training pipelines. The system is open-source and comes with an ecosystem of benchmark datasets, models, and tooling. We formally discuss how to measure the performance of ML pipelines by introducing the concept of composite models, enabling fair comparison of pipelines with different data selection and triggering policies. We empirically analyze how various data selection and triggering policies impact model accuracy, and also show that Modyn enables high throughput training with sample-level data selection.

Keywords

Cite

@article{arxiv.2312.06254,
  title  = {Modyn: Data-Centric Machine Learning Pipeline Orchestration},
  author = {Maximilian Böther and Ties Robroek and Viktor Gsteiger and Robin Holzinger and Xianzhe Ma and Pınar Tözün and Ana Klimovic},
  journal= {arXiv preprint arXiv:2312.06254},
  year   = {2025}
}

Comments

final version published at SIGMOD'25; 30 pages

R2 v1 2026-06-28T13:46:54.259Z