Unsupervised Learning
In unsupervised learning, a learning system receives data without explicit target labels and must discover useful patterns, structures, or regularities on its own. Unlike supervised learning, where the correct output is provided for each training example, unsupervised learning attempts to uncover hidden relationships within the data.
Common goals of unsupervised learning include:
Unsupervised learning can also support supervised learning. Semi-supervised learning combines a small amount of labeled data with a large amount of unlabeled data. Generative models, such as Generative Adversarial Network (GAN), learn the statistical structure of data and can generate new instances that resemble the training data.
Clustering is the task of partitioning a dataset into groups whose members are similar to one another.
A desirable clustering typically has:
Depending on the algorithm, clusters may be:
Since no labels are available, evaluating clustering quality is often more challenging than evaluating supervised learning models.
K-means is one of the simplest and most widely used clustering algorithms.
Given a predefined number of clusters, k, the algorithm repeatedly performs two steps.
These steps are repeated until the cluster assignments stabilize or the improvement becomes negligible, as in Example 10.9.
The Expectation-Maximization (EM) algorithm generalizes the idea behind K-means by allowing probabilistic cluster memberships.
Instead of assigning each instance completely to one cluster, EM estimates the probability that an instance belongs to each cluster.
EM alternates between two phases:
These steps repeat until convergence, as in Example 10.10 and the Old Faithful eruption data example.
K-means can be viewed as a special case of EM in which cluster assignments are deterministic rather than probabilistic.
Artificial neural networks can discover and encode regularities in data without external supervision. Instead of memorizing individual examples, the network organizes its internal representations according to recurring patterns.
Unsupervised learning enables AI systems to discover structure in unlabeled data.
| Method | Main Idea | Result |
|---|---|---|
| K-Means | Hard cluster assignment | Data partitioning |
| EM | Probabilistic cluster assignment | Distribution estimation |
| Hebbian Learning | Strengthen correlated activations | Self-organized representations |
| Hopfield Network | Energy-based associative memory | Pattern completion |
| Boltzmann Machine | Stochastic associative memory | Probabilistic modeling |
| Self-Organizing Map | Competitive learning with neighborhood adaptation | Topology-preserving representation |
A central theme of unsupervised learning is that useful knowledge can emerge directly from the statistical structure of experience without requiring explicit labels or external supervision.