Manuscript Offprint

arXiv:2610.03087

Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelines

Maximilian Böther, Josh Wills, Ties Robroek, Sonnet Xu, Paul Burstein, Daniel Zayas, Cody Blakeney, Siddharth Joshi, Haoli Yin, Rishabh Adiga, Haakon Mongstad, Luke Merrick, Pratyush Maini, Ari Morcos, Matthew Leavitt, Ana Klimovic, Bogdan Gaza

Maximilian Böther*

DatologyAI & ETH Zürich

Paul Burstein

DatologyAI

Haoli Yin

DatologyAI

Pratyush Maini

DatologyAI & CMU

Josh Wills

DatologyAI

Daniel Zayas

DatologyAI

Rishabh Adiga

DatologyAI

Ari Morcos

DatologyAI

Ties Robroek

DatologyAI & ITU Copenhagen

Cody Blakeney †^{\dagger}

Arcee AI

Haakon Mongstad

DatologyAI

Matthew Leavitt

DatologyAI

Ana Klimovic

ETH Zürich

Sonnet Xu †^{\dagger}

Stanford University

Siddharth Joshi

DatologyAI

Luke Merrick

DatologyAI

Bogdan Gaza

DatologyAI

Abstract

Deterministic data loading is important for foundation model development: model researchers need confidence that differences they observe across costly ablations are caused by the parameter they changed rather than non-determinism in the training data sequence. The data loader must provide elastic determinism, i.e., a deterministic sequence of global training data batches despite changes to the GPU topology across runs (e.g., due to GPU scarcity), frequent checkpoint-resume cycles, and different data processing execution backends. Achieving this is difficult because modern foundation model data pipelines tokenize, pack, and mix samples online, introducing stateful n-to-m transformations that break sample indexing. Existing data loaders largely assume indexable 1-to-1 pipelines, and the common workaround of offline materialization is expensive and, for some modalities such as video, infeasible.

We present ZEPHON, a data loader for foundation models that supports online, stateful pipelines while providing elastic determinism and efficient resumption from checkpoints. It partitions the global stream into topology-independent lanes, serializes ordering decisions while parallelizing stateless work on interchangeable backends, and checkpoints only bounded in-flight state so recovery cost does not grow with training progress. We evaluate ZEPHON on text and vision-language workloads and show that it achieves competitive throughput while providing a combination of guarantees that no existing loader offers for online, stateful pipelines.

PVLDB Reference Format:

Maximilian Böther, Josh Wills, Ties Robroek, Sonnet Xu, Paul Burstein, Daniel Zayas, Cody Blakeney, Siddharth Joshi, Haoli Yin, Rishabh Adiga, Haakon Mongstad, Luke Merrick, Pratyush Maini, Ari Morcos, Matthew Leavitt, Ana Klimovic, and Bogdan Gaza. ZEPHON: Elastic Determinism for Online, Stateful

Foundation Model Data Loading Pipelines. PVLDB, 20(1): XXX-XXX, 2027. doi:XX.XX/XXX.XX

∗^{*}Correspondence to mboether@datologyai.com

†^{\dagger}Work done while at DatologyAI.

This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.

Proceedings of the VLDB Endowment, Vol. 20, No. 1 ISSN 2150-8097.

Figure

(a) Standard data loader

Figure

(b) ZEPHON

Figure 1: The effects of elastic determinism: a 1B text model is trained on 16 GPUs, checkpointed at step 150, and resumed on 8, 32, and 64 GPUs while the original run continues uninterrupted, causing loss variance between the runs when not using ZEPHON. The barcode below each plot shows the per-step batch SHA-256 hash of the 8-GPU continuation: blue shows matching batches while red shows differing batches.

References (46)