Building large-scale machine learning systems has taught me that preparing training data is often as challenging as training the model itself. At smaller scales, we can think of training data as something we extract, clean and transform before handing it to a model. At petabyte scale, that mental model becomes inadequate. Data is distributed across systems built for different purposes. Each has its own representation of entities, update frequency, quality assumptions and ownership. A single training example may depend on information from several of them. The challenge is not simply processing a large volume of data. It is producing training examples that are correct, reproducible and efficient to regenerate as the underlying data changes. I want to explore the architectural decisions behind these systems, drawing on my experience with large-scale ML infrastructure and comparing approaches used inside Google with the open-source ecosystem.read more →