How Does AI Learn With and Without Human-Labeled Answers?

Supervised, unsupervised and self-supervised learning in plain English: who supplies the answers, and why raw text made large language models practical.

Every machine-learning model is trained on examples, but those examples don’t always arrive with answers attached. The clearest way to tell the main training methods apart is to ask one question: where does the “right answer” for each example come from?

There are three main answers. In supervised learning, each example comes with a correct answer, often supplied by people, and the model learns to predict it [1]. In unsupervised learning, there is no answer at all, and the model looks for structure such as groups of similar items [1]. In self-supervised learning, the training process creates answers from the raw data itself, for example by hiding a word and asking the model to predict it [1, 2]. That third approach is what made it practical to train large language models on huge amounts of text that nobody had labeled [3, 4].

The previous guide covered what training data is and where it comes from. This one explains the different ways a model can be taught from that data, and why the difference matters for the chatbots people use today.

TL;DR

  • Supervised learning trains on examples paired with correct answers, called labels, then predicts labels for new cases [1, 5].
  • Unsupervised learning works without labels and finds patterns, most often by grouping similar items; people decide what the groups mean [1, 6].
  • Self-supervised learning makes its own labels from raw data, such as predicting hidden or next words, so huge unlabeled collections become usable [1, 2].
  • Human labels cost money and contain errors. Raters are usually paid, may disagree and sometimes get answers wrong [7, 8].
  • Modern assistants combine methods: self-supervised pretraining on raw text, then smaller datasets built from human annotations, synthetic examples or both [9, 10].

Start With One Question: Where Does the Answer Come From?

A label is the answer part of a training example: the value the model is supposed to learn to predict [1]. A labeled example pairs the input information, which practitioners call features, with that answer [1]. An unlabeled example has the input but no answer [5].

Three everyday analogies help:

  • Supervised: a worksheet with an answer key.
  • Unsupervised: a box of unsorted photos and no instructions, so the only option is to notice which ones look alike.
  • Self-supervised: a fill-in-the-blank exercise you make yourself by covering words in a book that already contains the answers.

A model doesn’t study or check its work the way a person does. During training it adjusts internal numbers so its outputs score better against whatever target the method provides. The methods differ mainly in where that target comes from.

MethodWhat each training example includesWhat the model learns to do
SupervisedInput plus a correct answer (label)Predict the label for new inputs [1, 5]
UnsupervisedInput onlyFind patterns, such as clusters of similar items [1]
Self-supervisedInput with part hidden; the hidden part becomes the labelPredict the missing or next piece [1, 2]
Semi-supervisedA few labeled examples and many unlabeled onesUse both, often by inferring labels for the unlabeled data [1]

Supervised Learning: Practice With an Answer Key

Supervised learning trains a model on features and their matching labels [1]. Google’s machine learning glossary compares it to studying questions with their answers so you can answer new questions on the same topic [1].

A house-price model is a typical case. Each training row lists features such as bedrooms, bathrooms and the age of the house, plus the sale price as the label [1]. A weather model might use location and temperature as features and rainfall as the label [5]. After training, the model receives examples with features but no label and predicts the missing answer [5].

This works well when the right answer is clear and can be recorded. The catch is that each supervised training example needs a target label before it is used, whether that label comes from an existing record, a person or software [7].

Who Writes the Labels?

Some labels come from existing records, such as a sale price. Many others come from people. Google’s crash course describes human-generated labels as the result of people examining information and supplying a value, such as meteorologists identifying cloud types in photos of the sky [7]. Software, including another machine learning model, can also generate labels [7].

Human labeling is paid work. Google’s guidance notes that raters are typically paid, which makes their data expensive, and that several raters may need to label the same item because people make mistakes [7]. The ImageNet image-recognition challenge, a widely used research benchmark, relied on people to verify candidate images through Amazon Mechanical Turk, an online marketplace where workers complete small tasks for payment [11]. Its classification dataset held about 1.2 million training images across 1,000 categories [11].

Language assistants depend on human labeling too. For OpenAI’s InstructGPT research, published in 2022, the company hired about 40 contractors through Upwork and Scale AI to write example responses and compare model outputs [10]. The authors wrote that the resulting behavior reflected the preferences of a specific group, mostly those labelers and the researchers [10].

When a label is a matter of judgment, different raters may not apply the same standard [1]. Even carefully built datasets contain mistakes: a 2021 study estimated label errors averaging at least 3.3% across 10 widely used test sets, including at least 6% of the ImageNet validation set [8]. A supervised model learns whatever the labels say, including the raters’ choices and errors.

Unsupervised Learning: Finding Structure Without Answers

Unsupervised learning trains a model to find patterns in data that usually has no labels [1]. Its most common use is clustering, which groups examples that resemble one another [1]. Google’s glossary gives the example of clustering songs by properties of the music, with the groups feeding into other systems such as a music recommender [1].

The key difference from supervised learning is that nobody defines the categories in advance [6]. The algorithm groups the data by a chosen measure of similarity, and people then interpret and name the groups [6]. If a model splits customers into four groups, a person still has to decide whether those groups mean “bargain hunters,” “new parents” or nothing useful at all.

Clustering is used for market segmentation, search result grouping, medical imaging and anomaly detection [12]. It helps most when good labels are scarce; in anti-abuse and fraud work, clusters can help people make sense of activity nobody has categorized yet [1].

Self-Supervised Learning: Practice Questions Made From Raw Data

Self-supervised learning sits between the other two. It uses unlabeled data, but turns it into a supervised-style task by creating substitute labels from the data itself [1]. The general technique is to hide part of the input and train the model to predict the hidden part from the visible part [2].

Text makes this easy to see. Take a sentence such as “The recipe calls for two cups of flour.” Hide the last word, and the task becomes “predict the blank,” with “flour” as the answer. Google’s course describes this masked prediction: some tokens in the training text are intentionally hidden, and the model trains by trying to predict them [13]. Every sentence becomes a source of practice questions, and nobody has to write an answer key.

Two well-known language models show the two main versions:

  • Predict the next piece. OpenAI’s original GPT, described in a 2018 paper, was trained to predict each token, meaning a word or fragment of text, from the tokens before it [3].
  • Fill in hidden pieces. Google’s BERT, introduced in 2018, chose 15% of the word pieces in each sequence at random and trained the model to predict them [14].

The idea isn’t limited to text. Meta researchers’ masked autoencoder, described in 2021, hides a large share of an image’s patches, such as 75%, and trains the model to reconstruct them [15]. In the authors’ tests, this pretraining transferred to other tasks better than supervised pretraining, a result from their own benchmarks rather than a general rule [15].

Why Self-Supervision Made Large Language Models Practical

The obstacle was supply. In their 2018 paper, OpenAI researchers noted that unlabeled text is abundant, while labeled data for specific language tasks is scarce [3]. They added that most deep learning methods needed substantial manually labeled data, which is slow and expensive to gather [3].

Self-supervision largely sidestepped that labeling bottleneck for the first and largest stage of training. GPT was first trained on the BooksCorpus dataset of more than 7,000 unpublished books, and only then fine-tuned on smaller labeled datasets for particular tasks [3]. BERT used the same two steps: pretraining on unlabeled text, then fine-tuning with labeled data for each task [14].

OpenAI’s 2019 GPT-2 report described the goal of systems that could handle many tasks without anyone labeling a dataset for each one [4]. Its authors found that language models trained on millions of webpages began to learn some tasks, such as answering questions about a document, without explicit supervision [4]. They also cautioned that, for practical use, this performance was still far from usable [4].

The basic recipe is still documented today. Meta’s 2024 report on its Llama 3 models describes pretraining on a large multilingual text collection to perform next-token prediction [9]. Meta researchers have argued that supervised learning alone is a bottleneck because it is impossible to label everything, and some tasks, such as translation for languages with little available data, lack enough labeled examples [2].

Two cautions keep this in proportion. The training target is prediction: broader abilities emerge from pressure to guess hidden or next tokens, not from someone teaching facts one by one. And self-supervision doesn’t remove human choices, because people still decide what data to collect and still supply the labeled examples used later in development.

The In-Between Cases: Partial, Weak and Proxy Labels

Real projects often fall between “fully labeled” and “no labels at all.”

Semi-supervised learning trains on data where only some examples have labels [1]. One technique trains on the labeled portion, uses that model to infer labels for the rest, then trains again [1]. It suits cases where labels are expensive but unlabeled examples are plentiful [1].

Weak supervision replaces careful hand labeling with rough rules. In Snorkel, a Stanford research system, users write “labeling functions,” heuristics of uncertain accuracy, and the system combines and cleans up their outputs to produce training labels [16].

Proxy labels stand in when the true answer isn’t recorded. Google’s course uses “recently bought a bicycle” as a reasonable stand-in for “owns a bicycle,” while warning that every proxy is an imperfect approximation [7].

Captions can also act as loose labels. OpenAI’s CLIP learned to match images with their captions using 400 million image-text pairs gathered online, rather than hand-assigned categories [17]. Its authors reported that their best model matched an established classifier’s ImageNet accuracy without using any of that dataset’s 1.28 million crowd-labeled training examples [17]. Web-scale image-text pairs can be noisy, so they provide broader but less curated supervision than hand-checked category labels [17].

How the Methods Fit Together in a Modern Assistant

Most large AI systems use more than one method. Google’s introductory course explains that generative models are typically first trained to mimic their data, then sometimes trained further with supervised or reinforcement learning for specific tasks [6].

Meta’s Llama 3 report gives one documented sequence: self-supervised pretraining, followed by rounds of supervised fine-tuning and preference training on examples from human annotation or generated synthetically [9]. OpenAI’s InstructGPT work followed a similar pattern, with contractors writing demonstrations before further training on their comparisons [10]. These are published examples from two companies, so no single recipe should be read as universal.

A fourth family doesn’t fit the label question neatly. In reinforcement learning, a system learns to choose actions that earn more reward in an environment, and some versions use ratings from people as feedback [1]. That approach has its own guide on learning from rewards and human feedback, and the full sequence of stages is covered in how a raw model becomes a useful assistant.

All of this happens while the model is being developed. Sending a chatbot a message doesn’t run these training methods; see training versus using a model.

What We Know, What We Don’t, and Where Experts Disagree

What We Know

The core definitions are consistent across major teaching references [1, 6, 2]. Published papers from OpenAI, Google and Meta document self-supervised pretraining as the first stage of influential language models [3, 14, 9].

What We Don’t Know

Developers of the newest proprietary models generally don’t publish full training recipes, including how much human-labeled data they use or how it is collected. Open reports such as Meta’s show one company’s process, not every company’s [9].

What Experts Disagree About

Confidence: Expert Debate

What to call it. Yann LeCun and Ishan Misra of Meta argue that “self-supervised” is the better term because the training signal comes from the data itself [2]. Yet the 2018 GPT paper called its first stage “unsupervised pre-training,” BERT’s authors described “two unsupervised tasks,” and Google’s current course still calls this phase “some form of unsupervised learning” [3, 14, 13]. Google’s glossary also classifies self-supervised training as a type of semi-supervised learning [1]. In older material, “unsupervised pretraining” usually means what newer sources call self-supervised learning.

How far self-supervision can replace human labels. LeCun and Misra present learning from the data itself as the way past the labeling bottleneck [2], and some image research reports self-supervised pretraining beating supervised pretraining [15]. Documented assistant pipelines still add human annotations and preferences after pretraining, however [10, 9]. How much of that work can shift to synthetic or automated feedback remains open.

Practical Takeaways

  • When a product claims a model was “trained on data,” ask where the answers came from: human labels, raw data or a mix.
  • Treat labels as human decisions. A model trained on people’s ratings inherits their standards, blind spots and mistakes.
  • Don’t assume clusters or categories from an AI tool carry built-in meaning; people chose the similarity measure and interpreted the groups.
  • In older language-model writing, “unsupervised pretraining” often refers to objectives now described as self-supervised.

Whatever the source of the answer, a model improves by adjusting its internal weights. The next guide shows how a neural network turns these training signals into adjusted weights.

After this chapter, the AI Models + Systems chapter takes a deeper look at how model types are built and compared.

Sources

  1. Machine Learning Glossary. Google for Developers, 2026-11-06, accessed 2026-11-10.
  2. Self-supervised learning: The dark matter of intelligence. Meta AI, 2021-03-04, accessed 2026-11-10.
  3. Improving Language Understanding by Generative Pre-Training. OpenAI, 2018, accessed 2026-11-10.
  4. Language Models are Unsupervised Multitask Learners. OpenAI, 2019, accessed 2026-11-10.
  5. Supervised Learning (Introduction to Machine Learning). Google for Developers, 2025-08-25, accessed 2026-11-10.
  6. What is Machine Learning? (Introduction to Machine Learning). Google for Developers, 2026-01-27, accessed 2026-11-10.
  7. Datasets: Labels (Machine Learning Crash Course). Google for Developers, 2025-12-03, accessed 2026-11-10.
  8. Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks. arXiv (MIT, Cleanlab, AWS); NeurIPS 2021 Datasets and Benchmarks Track, 2021-03, accessed 2026-11-10.
  9. The Llama 3 Herd of Models. arXiv (Llama Team, AI @ Meta), 2024-07, accessed 2026-11-10.
  10. Training language models to follow instructions with human feedback. arXiv (OpenAI); published at NeurIPS 2022, 2022-03, accessed 2026-11-10.
  11. ImageNet Large Scale Visual Recognition Challenge. arXiv; published in International Journal of Computer Vision (2015), 2014-09, accessed 2026-11-10.
  12. What is clustering? (Clustering course). Google for Developers, 2025-08-25, accessed 2026-11-10.
  13. LLMs: What's a large language model? (Machine Learning Crash Course). Google for Developers, 2026-01-02, accessed 2026-11-10.
  14. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv (Google AI Language); published at NAACL 2019, 2018-10, accessed 2026-11-10.
  15. Masked Autoencoders Are Scalable Vision Learners. arXiv (Facebook AI Research); published at CVPR 2022, 2021-11, accessed 2026-11-10.
  16. Snorkel: Rapid Training Data Creation with Weak Supervision. arXiv (Stanford University); published in Proceedings of the VLDB Endowment, 2017-11, accessed 2026-11-10.
  17. Learning Transferable Visual Models From Natural Language Supervision. arXiv (OpenAI); published at ICML 2021, 2021-02, accessed 2026-11-10.