Skip to content
AI for Everyone

Unsupervised learning

Concept

Two panels. The left one holds fifteen gray dots that stand for unlabeled songs. In the right one, the same dots come in three colors and form three groups circled with dashed lines.
Nobody tells the model which group a song belongs to. The model notices on its own that some songs share musical features.Diagram: AI for Everyone

In unsupervised learning, the data usually has no labels, which means no one gives the model the correct answers. The model has to find patterns in the data on its own, and most often it groups similar examples together. Google’s Machine Learning Glossary gives two examples. In the first, an algorithm sorts songs into groups based on properties of the music. In the second, an analysis of millions of shopping carts might reveal that carts with lemons often contain antacids too.

Self-supervised learning is a close relative of unsupervised learning. This family of techniques turns an unsupervised problem into a supervised one by creating labels from the data itself. According to Google’s glossary, some transformer-based models, such as BERT, are trained with self-supervised learning. When only some of the data has labels, the approach is called semi-supervised learning, and when all of it does, it is supervised learning.

In my articles

The comparison table in my February 2025 article on generative AI assigns unsupervised or semi-supervised learning to generative AI, and various types of learning, including unsupervised learning, to artificial general intelligence. In the corrections I added in November 2026, I point out that this split was incomplete, because generative AI also uses supervised learning and reinforcement learning.

Sources

Related articles

Related entries

Last checked:

All entries