Unsupervised Learning
Machine learning approach that finds structure, such as clusters or compact representations, in data that has no labels or target answers.
Unsupervised learning works with raw, unlabeled data and asks what patterns it contains, in contrast to supervised learning, which needs correct answers. Typical tasks include clustering, which groups similar items such as customers with similar habits; dimensionality reduction, which compresses data into fewer variables while keeping its essential structure; density estimation, which models how data is distributed; and anomaly detection, which flags items that do not fit. Because no answers are provided, results must be judged by usefulness or consistency rather than simple accuracy.
Classic techniques include k-means clustering, hierarchical clustering and principal component analysis, which dates to Karl Pearson in 1901. Neural approaches include autoencoders, which learn to compress and reconstruct their inputs, and generative models that learn the distribution of data well enough to produce plausible samples. Learned embeddings and the latent spaces of generative models are products of this kind of learning. Self-supervised learning, which creates prediction tasks from the data itself, grew out of these ideas.
Unsupervised methods matter because most of the world's data is unlabeled. They help analysts explore unfamiliar datasets, detect fraud and network intrusions, segment markets and compress information. Self-supervised pretraining on unlabeled text and images became the basis of large language models and other foundation models. Limitations include difficulty validating results and the risk of reading meaning into clusters that merely reflect artifacts of the data. In open-source intelligence and research, clustering and topic modeling help sort large document collections for human review.
Key points
- Unsupervised learning discovers structure in data without labeled answers.
- Clustering, dimensionality reduction, density estimation and anomaly detection are its core tasks.
- Principal component analysis, introduced by Karl Pearson in 1901, remains a standard technique.
- Self-supervised pretraining, an outgrowth of these ideas, underlies large language models.
Related entries
Machine learning approach in which a model learns to map inputs to outputs from examples that have been labeled with the correct answers.
Embedding
A learned numerical vector that represents an item such as a word, document, image or user so that similar items have nearby vectors.
An abstract, usually lower-dimensional space in which a model represents data so that similar items sit close together and patterns become explicit.
Machine Learning
Branch of artificial intelligence in which computer systems improve at tasks by learning patterns from data rather than following explicitly programmed rules.
Large AI model trained on broad data at scale, usually with self-supervision, that can be adapted to a wide range of downstream tasks.
Reinforcement Learning
Machine learning approach in which an agent learns to choose actions by trial and error, guided by rewards and penalties from its environment.
Generative model in which two neural networks compete, one creating synthetic samples and the other judging whether they are real or fake.