System Support for Declarative and Data-Centric Machine Learning
Year: 2026
Type: dissertation
Abstract: From personalized advertisements to coding agents, machine learning (ML) increasingly shapes our everyday lives. The striking scale of data, parameters, and compute is the key enabler. Today's frontier models exceed a trillion parameters, and a single training run can cost hundreds of millions of dollars. Despite the large scale of ML training data and the impact it has on model quality, it is often wrangled with ad hoc scripts. Researchers and engineers typically implement these scripts imperatively using general-purpose data processing frameworks such as Apache Spark or Beam. This practice couples high-level logical intent (e.g., modifying mixing ratios or how often to check a data source for an update) with low-level execution concerns (e.g., parallelization or storage layout). As a result, these scripts are brittle, hinder lineage tracking, limit asset reuse, and force engineers to repeatedly reimplement common operators. This stands in contrast to other data management workloads, where mature, declarative systems separate what users want to compute from how it is executed. For example, a relational database lets a user declare what they want to query and leaves efficient execution to the system. ML data needs to be processed in a variety of ways before it is ingested by models for training, yet current systems often lack such separation between a declarative interface and the runtime. This is why many data-centric techniques from the ML literature are hard to run on real-world datasets. Two underlying challenges motivate this dissertation. First, due to the continuously growing size of training data, practitioners today need to select the most important data to train on and decide when to update models to deal with distribution shift. This is challenging because there is no theoretical foundation for rigorously comparing different selection and retraining policies on the large and growing datasets encountered in practice. Furthermore, there is no standardized tooling and implementation of many of these policies. Data selection algorithms, in particular, often break down at scale as they have only been evaluated on small, static datasets. Second, foundation model engineers and researchers today rely on time- and cost-inefficient frequent offline materialization of training data. For every change in the data recipe, such as changing mixing ratios, they store a fully preprocessed version of the training corpus in cloud storage or distributed file systems. They do this because existing systems cannot prepare data on the fly without negatively affecting training: an online pipeline must preserve the intended semantics of operators such as data mixing and sample packing while sustaining training throughput. Offline materialization also makes it easier to ensure identical training batch composition, even as the training cluster grows and shrinks. To address the first challenge of taming continuously expanding datasets, we build Modyn, which is an orchestrator for ML pipelines on datasets that grow over time. It contributes a declarative pipeline abstraction that lets users specify when to retrain a model and on what data while decoupling these policies from their execution, together with a formal model that makes pipelines with different policies directly comparable. In our experiments, uncertainty-based selection reaches close to full-data accuracy while training on a 50% subset, and drift-based triggers substantially reduce how often a model is retrained without hurting quality. We then zoom in on how to select the best data at scale. We present distributed algorithms for subset selection using submodular functions. These algorithms require no single machine to hold the selected subset, match the quality of centralized greedy methods on CIFAR-100 and ImageNet, and demonstrate their feasibility on a dataset of 13 billion points. To address the second challenge of cost- and time-inefficient offline preprocessing, we present Mixtera, a data plane for foundation model training. It lets developers declaratively express which samples to use, in which proportion, and in which order, across arbitrary sample properties, and adjust the data mixture dynamically during training. Storing only metadata and streaming data in the requested mixture, Mixtera scales to jobs spanning up to 256 GH200 superchips and replaces today's brittle, ad hoc data pipelines without re-materializing the corpus. Mixing, however, is only one operator in such a pipeline. Zephon broadens the scope to the whole input pipeline and focuses on determinism. It is the first data loader to give stateful, online pipelines elastic determinism and efficient resumption, producing the same global sequence of training batches even as the GPU topology changes. This lets ML researchers and engineers run trustworthy ablations without the storage and iteration cost of materializing data offline. One theme runs through all of this work: we treat training data as a first-class citizen and pair declarative abstractions with the systems that execute them efficiently at scale. Data can act as a compute multiplier, yielding a stronger model for the same compute budget, but doing so requires the tooling to put data-centric techniques to use in practice. This dissertation builds that tooling and thereby advances research at the intersection of data-centric machine learning and systems.
Author: Böther, Maximilian
Institution: ETH Zurich
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7214770926
