Skip to content

Where Does AI Get Its Training Data?

Modern AI systems learn from four kinds of material: text and images collected from the public web, content licensed or bought from publishers and data companies, examples written and rated by paid humans, and synthetic data produced by other AI models. Web crawls supply the bulk of it. None of it is a live feed of the internet, and none of it is the message you typed this morning.

What training data actually is

Stanford's Institute for Human-Centered AI defines training data as the collection of examples, such as text, images, audio or other information, used to teach machine learning models to perform specific tasks. Nobody writes the rules a model follows. The model adjusts millions or billions of internal numbers until it gets better at predicting patterns in the examples it is shown. That process is machine learning, and the examples are the training data.

The collection itself is a dataset: assembled for a purpose and then frozen, which is why a model trained on material gathered in 2024 has no way to notice that something changed in 2026. The International AI Safety Report 2026, chaired by Yoshua Bengio and published in February 2026, states that training datasets have expanded from billions to trillions of data points, at an average increase of 2.5 times a year. A large language model's first and largest learning stage, called pretraining, involves exposure to billions or trillions of examples before any fine-tuning happens.

Where the data comes from

Four kinds of material go in, in roughly descending order of volume, each with a different set of people behind it.

Public web data

Most large models start with a web crawl. The United States Copyright Office, in the pre-publication version of Part 3 of its report on copyright and artificial intelligence, released in May 2025 and not since formally published, put it directly: "One particularly common source of training data is text scraped by web crawlers, often obtained from Common Crawl."

Common Crawl is a nonprofit that has been collecting web pages since 2008 and publishes the results free of charge. Its April 2026 crawl contained 2.19 billion web pages, 379.2 TiB of uncompressed content, and pages from 43.2 million hosts across 35.4 million registered domains, all gathered between 10 and 23 April. Common Crawl's own FAQ states that its crawler checks robots.txt first and fetches a page only if crawling is allowed, and that site owners can block it outright. That is web scraping at industrial scale, done once and published for anyone to use.

Individual companies also run their own crawlers. OpenAI's help center states that its models are trained on "information that is publicly available on the internet," that it does not intentionally gather data from behind paywalls or from the dark web, and that site owners can disallow its GPTBot crawler through robots.txt. Those are OpenAI's published claims about its own systems, not independently audited findings.

Licensed and purchased data

Web data alone is not enough, and increasingly it is not permitted. OpenAI's second stated category is "information that we partner with third parties to access," including datasets obtained through agreements. Across the industry this covers news archives, book catalogues, image libraries, forum content and specialist technical material.

The Copyright Office report also documents routes that are contested, including the use of pirated material from shadow libraries. The Office set out how the fair use factors apply to AI training rather than declaring one answer that settles every case, and the courts have not finished with the question. Training data copyright remains open rather than settled.

Human-created and human-labeled data

A model that has only read the internet is not yet useful to talk to. The step that makes it useful is human work. In OpenAI's 2022 InstructGPT paper, Long Ouyang and colleagues describe collecting a dataset of demonstrations written by human labelers showing the behavior they wanted, using it to fine-tune GPT-3, then collecting a second dataset of human rankings of model outputs and training further with reinforcement learning from human feedback. The resulting model was preferred by human evaluators over a base model 100 times larger.

That pattern is now standard. People write example answers, rank competing outputs, flag unsafe responses and apply category tags, which is the work covered by data labeling. The work is slow and expensive, and it is the main reason model behavior differs so much between systems trained on similar web text.

Synthetic data

Synthetic data is generated by an AI model rather than collected from people. Microsoft Research demonstrated the approach publicly with phi-1, described in the 2023 paper "Textbooks Are All You Need" by Suriya Gunasekar and co-authors. They trained a 1.3 billion parameter code model on roughly six billion tokens of filtered web text plus one billion tokens of synthetic textbooks and exercises generated with GPT-3.5, and reached 50.6% pass@1 accuracy on the HumanEval benchmark, well above what a model that size would normally manage.

Synthetic data has an obvious appeal: it can be produced on demand and shaped to fill gaps. It also has a documented failure mode. In a 2024 paper in Nature, Ilia Shumailov and colleagues showed that indiscriminate use of model-generated content in training causes irreversible defects, in which the tails of the original content distribution disappear. They called this model collapse: each generation of model loses a little more of the rare and unusual material, and drifts toward bland averages. The finding does not make synthetic data useless. It makes it a supplement to human data rather than a replacement.

What happens to the data before training

Raw crawl data is close to unusable. Between collection and training sits a long cleaning stage, and its decisions shape the model as much as the sources do. Because a model does not file facts away but adjusts to patterns, which is how AI works, anything removed at this stage never becomes a pattern at all. The International AI Safety Report describes teams developing filtering methods to reduce harmful content, remove duplicates and improve representation across topics and sources, alongside work to reduce copyright and privacy problems and improve documentation of data provenance.

Those filters are not neutral, and researchers have checked. Jesse Dodge and co-authors documented the Colossal Clean Crawled Corpus in a 2021 EMNLP paper and found a significant amount of text from unexpected sources including patents and US military websites, machine-generated text from translation systems, and evaluation examples from other benchmark datasets sitting inside the training set. They also found that blocklist filtering disproportionately removed text from and about minority individuals, so a filter meant to strip offensive material quietly narrowed whose writing survived.

Why data quality matters more than raw volume

Stanford HAI states the principle plainly: the quality, quantity and diversity of training data largely determine how well an AI system will perform. Three specific problems follow from that.

Contamination undermines testing. When benchmark questions end up inside the training data, as Dodge's team found in C4, a high test score may reflect memorisation rather than capability. The International AI Safety Report notes that most developers do not currently track or disclose this.

Skew becomes behavior. The same report observes that most training data comes from Western sources, which contributes to uneven performance across languages and regions. A model is a compressed summary of what it read, so gaps in the reading become gaps in the answers. This is also where a data problem turns into a fairness problem, the subject of AI bias.

Errors propagate. Training data does not come with a truth flag attached, and a model has no mechanism for noticing that a confidently written falsehood is false. This is one of several reasons behind AI hallucinations.

What training data is not

Start with the confusion that comes up most: it is not what you type into a chatbot. When you send a message, you are not training the model. Its internal numbers were fixed when training ended. Your message goes into the context window, the working space the model reads for that conversation, and when the conversation ends that working space is gone. Nothing you wrote has changed how the model answers anyone else. That is a separate question from whether an assistant remembers you between sessions, which is a product feature rather than training and is covered in does AI remember.

Whether your conversation is later used to build a future model is different again, and it depends on the product. OpenAI's help documentation says that for its services for individuals, including ChatGPT, it may use your content to train its models, with an opt-out in settings, and that by default it does not train on inputs or outputs from business products including ChatGPT Business, ChatGPT Enterprise and the API. Defaults vary by provider, and what happens to what you type is the subject of is it safe to use AI.

There is a third thing that is neither training data nor your prompt: material the system fetches while answering. Retrieval-augmented generation was introduced in a 2020 paper by Patrick Lewis and colleagues, which distinguished between knowledge held in a model's parameters and a separate searchable index the model consults at the moment of answering. When an assistant cites a web page or quotes a document you uploaded, that content was retrieved, not learned. It is why an assistant can discuss this morning's news while its underlying knowledge cutoff sits months in the past. Anthropic's support documentation makes the same point about its own models: each one has a knowledge cutoff and may not be aware of events after that date. The mechanics are covered in how retrieval works.

Training data is also not a searchable index of its own. A trained model does not keep the pages it learned from in a form it can look up, which is why asking a model for its source often produces a plausible-looking citation rather than a real one.

Nor is it the customer data a company holds about you. Your account details, purchase history and support tickets sit in that company's systems under its privacy policy. Whether any of it is used for model training is a question about that policy, not about how models work.

And for most commercial models it is not disclosed. The public does not know the exact contents of the training set.

Who has to say what is in their data

That last point is beginning to change by law. Article 53(1)(d) of the EU AI Act requires providers of general-purpose AI models to "draw up and make publicly available a sufficiently detailed summary about the content used for training," following a template issued by the AI Office. It is a summary rather than a full inventory, but it is the first broad legal requirement for AI training data transparency.

Pressure is also coming from the other direction. The Data Provenance Initiative's 2024 study "Consent in Crisis" audited roughly 14,000 web domains across three major training corpora and found that in the year to April 2024, around 5 to 7% of tokens became restricted by robots.txt, rising to between 20 and 33% of tokens from the 2,000 most heavily used domains. Between 45 and 55% of tokens carried some form of restriction in a site's terms of service. Permission is being withdrawn quickly, and disproportionately from the sources models rely on most, which makes licensed and human-produced data more valuable and makes training data consent a live commercial issue rather than an abstract one.

  • Training data: the examples used to teach an AI how to behave or make predictions.
  • Dataset: a collection of examples or records used to train, test or evaluate a model.
  • Common Crawl: a nonprofit project that publishes collections of information derived from web crawling.
  • Data labeling: assigning target categories, answers or tags to training examples.
  • Synthetic data: artificially generated examples used for training, testing or augmentation.
  • Knowledge cutoff: the approximate date beyond which an AI's original learning may not include newer information.

Frequently Asked Questions

Does a chatbot learn from my conversations?

Not in the moment. The model's internal settings are fixed once training finishes, so nothing you type changes how it answers you or anyone else during a conversation. Whether your conversation is stored and used to help build a future model depends on the product and its settings. OpenAI's help documentation says it may use content from consumer accounts to train its models unless you opt out, and that it does not train on business, enterprise or API data by default. Other providers set different defaults, so the honest answer is to check the data controls of whichever tool you use.

What does an AI dataset actually look like?

Usually like an enormous folder of plain text files rather than a neat spreadsheet. Dolma, an open English-language dataset released by the Allen Institute for AI, contains three trillion tokens drawn from web pages, scientific papers, code, public-domain books, social media and encyclopedic material. Image datasets pair pictures with captions or category tags. What matters more than the format is the documentation: a well-built dataset records what went in, what was filtered out and why.

Can AI generate its own training data?

Partly, and with limits. Microsoft Research trained a small code model called phi-1 largely on synthetic textbooks generated by another model, and it outperformed what its size would suggest. But a 2024 paper in Nature by Ilia Shumailov and colleagues showed that models trained repeatedly on their own output suffer what the authors call model collapse, in which rare and unusual material gradually disappears and the defects are irreversible. Synthetic data works as a supplement to human-created data, not a substitute.

Can website owners stop AI companies using their content?

Partly, and more of them are trying. Common Crawl states that its crawler checks a site's robots.txt file before fetching a page and skips the page if crawling is disallowed, and OpenAI says site owners can disallow its GPTBot crawler the same way. That only governs future crawls, because material already collected into a published archive stays there. The Data Provenance Initiative found restrictions spreading fast in the year to April 2024, and terms of service add a second layer, but neither one enforces itself.

Why does AI not know about recent events?

Because training data is frozen at a point in time, called the knowledge cutoff. Anthropic's documentation states that each of its models has a cutoff date and may not be aware of events after it, and the same applies across the industry. Many assistants get around this by looking things up while they answer, a technique called retrieval-augmented generation. When a chatbot cites a news story from today, it is reading that story in the moment rather than remembering it from training. If the tool has no search ability, its answer stops at the cutoff.

Where does ChatGPT get its data?

OpenAI publishes three categories: information that is publicly available on the internet, information it partners with third parties to access, and information that its users, human trainers and researchers provide or generate. It adds that it does not intentionally gather material from behind paywalls or from the dark web, and that site owners can block its GPTBot crawler through robots.txt. The third category is the one that can include you: OpenAI says it may use your content to train its models on consumer accounts, with an opt-out in settings, and that it does not train on business, enterprise or API data by default. All of that is the company's published account of its own systems rather than an audited finding.

Sources

  1. Stanford Institute for Human-Centered AI, "What is training data?" AI definitions. https://hai.stanford.edu/ai-definitions/what-is-training-data
  2. Common Crawl, "Overview," accessed September 2026. https://commoncrawl.org/overview
  3. Common Crawl, "April 2026 Crawl Archive Now Available," 2026. https://commoncrawl.org/blog/april-2026-crawl-archive-now-available
  4. Common Crawl, "Frequently Asked Questions," accessed September 2026. https://commoncrawl.org/faq
  5. United States Copyright Office, "Copyright and Artificial Intelligence, Part 3: Generative AI Training," pre-publication version, May 2025. https://www.copyright.gov/ai/Copyright-and-Artificial-Intelligence-Part-3-Generative-AI-Training-Report-Pre-Publication-Version.pdf
  6. OpenAI, "How ChatGPT and our foundation models are developed," OpenAI Help Center. https://help.openai.com/en/articles/7842364-how-chatgpt-and-our-foundation-models-are-developed
  7. OpenAI, "How your data is used to improve model performance," OpenAI Help Center. https://help.openai.com/en/articles/5722486-how-your-data-is-used-to-improve-model-performance
  8. Jesse Dodge, Maarten Sap, Ana Marasovic, William Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret Mitchell and Matt Gardner, "Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpus," EMNLP 2021. https://aclanthology.org/2021.emnlp-main.98/
  9. Long Ouyang et al., "Training language models to follow instructions with human feedback," OpenAI, 2022. https://arxiv.org/abs/2203.02155
  10. Suriya Gunasekar et al., "Textbooks Are All You Need," Microsoft Research, 2023. https://arxiv.org/abs/2306.11644
  11. Ilia Shumailov, Zakhar Shumaylov, Yiren Zhao, Nicolas Papernot, Ross Anderson and Yarin Gal, "AI models collapse when trained on recursively generated data," Nature 631, 24 July 2024. https://www.nature.com/articles/s41586-024-07566-y
  12. Shayne Longpre et al., "Consent in Crisis: The Rapid Decline of the AI Data Commons," Data Provenance Initiative, 2024. https://www.dataprovenance.org/Consent_in_Crisis.pdf
  13. Luca Soldaini, Kyle Lo et al., "Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Research," ACL 2024. https://arxiv.org/abs/2402.00159
  14. European Union, Regulation (EU) 2024/1689 (AI Act), Article 53, "Obligations for Providers of General-Purpose AI Models," AI Act Explorer. https://artificialintelligenceact.eu/article/53/
  15. Yoshua Bengio (chair) et al., "International AI Safety Report 2026," February 2026. https://internationalaisafetyreport.org/publication/international-ai-safety-report-2026
  16. Patrick Lewis et al., "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks," NeurIPS 2020. https://arxiv.org/abs/2005.11401
  17. Anthropic, "How up to date is Claude's training data?" Claude Help Center. https://support.claude.com/en/articles/8114494-how-up-to-date-is-claude-s-training-data