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 →
Recommendation systems are often described as models that learn what people like from what they click, watch or buy. That description leaves out an important part of the system: the model decides what people get to see in the first place. Imagine two videos that might interest a user. The current recommender places one near the top of the page and never shows the other. The first video gets a click. The second gets no interaction. When we train the next model, we have evidence about the first video but almost none about the second. A missing click is not the same as a negative preference when the item was never shown. This is what makes recommendation data different from a conventional supervised learning dataset. The serving system helps determine which labels become observable. Over time, its decisions change the distribution of data available for future training.read more →