Contents

11 / 153

The Foundations

Where the training data actually comes from

Chapter 10

7 min read

Reviewed v78 · August 2026

We have spent several chapters talking about what these models do with their training data, but we have skipped the question that any honest reader is wondering: where do hundreds of millions of captioned images actually come from? Nobody walks into a library and labels them by hand. The answer is one of the most consequential and least well-understood parts of the field, and it deserves its own chapter.

The short answer is: the open internet, scraped at industrial scale, with very little human supervision and a great deal of legal ambiguity. Almost every large image model in existence has been trained on data that was collected by writing a program to download every image it could find from public web pages and using whatever text appears near each image (the alt-text, the surrounding caption, the file name) as its label. The pipeline is mechanical, the scale is enormous, and the curation is mostly automated. Understanding how it actually works is the precondition for understanding the legal disputes, the licensing alternatives, the data quality issues, and the synthetic-data trend that is starting to reshape the field.

01

The crawler and the alt-text trick

The starting point for almost every dataset is Common Crawl, a non-profit that has been continuously crawling the public web since 2008 and publishing the results as a free downloadable archive. Common Crawl produces a fresh snapshot of about 250 terabytes of web pages every month. It does not focus on images specifically, it just downloads web pages, but every web page contains image links, and you can write a separate program that reads the Common Crawl archives, extracts every image URL, downloads the image, and saves it alongside whatever text was associated with it on the page.

The text association is the trick that makes this work for training. HTML has an attribute called 'alt', short for alternative text, that web developers are supposed to fill in with a description of each image for accessibility purposes (so screen readers for blind users can describe the image aloud). The alt-text was never meant to be training data, but it turns out to be an enormous, free, unstructured caption corpus. A photo of a golden retriever on a real estate listing might have alt='golden retriever sitting on grass in front yard.' A diagram on a science blog might have alt='figure 3, the citric acid cycle.' Multiply this across the public web and you have hundreds of millions of image-caption pairs that nobody had to manually label.

The most famous dataset built this way is LAION-5B, a nearly six-billion-pair scrape that became the training foundation for Stable Diffusion and most of the open-source image models that followed. The full human story of how LAION got built, who built it, how much it cost, and how a Stanford team discovered something terrible in it in late 2023, is told in the training-datasets chapter. For the purposes of this chapter, the thing to understand is that LAION and its descendants are all variations on the same pipeline: crawl the web, grab every image URL plus whatever text is near it, run automated quality and safety filters, release the filtered list. This is how the field got its training data, and it is also why the legal status is so contested.

02

The legal status, briefly

The legal status of training models on scraped web data is the most contested question in AI right now and it is genuinely unresolved. The argument for legality is that the model is not storing or redistributing copyrighted images, it is learning statistical patterns from them, which is comparable to a human artist studying other artists' work, and that this falls under fair use in the United States and analogous doctrines elsewhere. The argument against legality is that the model can reproduce training images on demand for some inputs (a phenomenon called memorization), that even when it does not directly reproduce them it commercially exploits the original artists' creative labor without consent or compensation, and that scraping the images in the first place may violate the terms of service of the websites they were taken from.

There are now several major lawsuits working through the US and European courts. Getty Images is suing Stability AI in both the UK and the US. A class of visual artists is suing Stability, Midjourney, and DeviantArt. The New York Times is suing OpenAI (though that case is about text, the legal principles overlap). Disney and Universal are suing Midjourney over character outputs. None of these cases have produced final rulings as of early 2026, but the consensus expectation is that the eventual outcome will involve some combination of (a) clarifying that training is legal under fair use but with conditions, (b) requiring opt-out mechanisms for rights holders, and (c) creating new licensing frameworks for commercial models. The exact shape of the resolution will significantly affect which models can be trained on what data going forward.

03

The licensed-data alternative

In response to the legal uncertainty, some labs have built models trained entirely on licensed data, where every image was acquired through a paid agreement with the rights holder. Adobe Firefly is the most prominent example, trained on Adobe Stock plus public domain content. Getty Images released its own generative model trained only on its licensed photo library. Shutterstock has a similar product. The pitch to commercial customers is that these models carry no legal exposure, you can use the outputs in advertising, branding, and commercial work without worrying about an artist suing you in three years.

The trade-off is that licensed-data models are noticeably worse than open-data models on most quality benchmarks, because the open data is much larger and more diverse. Adobe Firefly's outputs are competent but conservative; the model has not seen as many edge cases as FLUX or Imagen and it shows. The gap is closing, but it has not closed. The strategic bet that Adobe and others are making is that legal clarity matters more than raw quality for enterprise customers, and that the next round of model improvements will narrow the quality gap to a point where the legal clarity tips the decision. So far, that bet looks reasonable but unproven.

04

Synthetic data and the emerging trend

The newest direction in data collection is to skip the web entirely and generate synthetic training data using existing models. The technique works in two ways. The first is to use a frontier image model to generate millions of new images with controlled prompts, then use those images to train a smaller or specialized model. The second is to use a large language model to generate higher-quality captions for existing scraped images, since the alt-text from the web is often terse and generic, while a language model can produce a long, detailed, accurate caption. Both techniques are now standard practice at the major labs.

The interesting recent finding is that synthetic data can dramatically improve model quality even when the synthetic data is generated by the same model you are training. Black Forest Labs has been open about using synthetic captions extensively in FLUX training. OpenAI has acknowledged synthetic data plays a role in DALL-E and Sora. By 2027, the consensus expectation is that the largest models will be trained on a hybrid of scraped web data, licensed data, and synthetic data, with the synthetic component growing each year. The implication is that the long tail of weird, low-quality, messy web images that defined the LAION era is slowly being replaced by curated, high-quality, model-generated training data, and that shift will reshape the field again.

Check your understanding

pass: 5 of 7

Answer at least 5 of 7 correctly to unlock the next chapter.

  1. 1. Where does the overwhelming majority of training data for large image models actually come from?

  2. 2. What is Common Crawl and how does it fit into the pipeline?

  3. 3. Why does HTML 'alt' text turn out to be so valuable for training image models?

  4. 4. What is the famous dataset that became the training foundation for Stable Diffusion and many open-source models?

  5. 5. What is the core argument made in favor of the legality of training on scraped images?

  6. 6. What is the main trade-off cited for models trained entirely on licensed data, such as Adobe Firefly?

  7. 7. What is the notable finding about synthetic training data described in the chapter?

The weekly briefing

Get the week's moves in your inbox.

A short, sourced digest of what actually moved across generative AI, every week. Free.

Free. One email a week, no spam, unsubscribe anytime. Prefer a reader? RSS.