Unsupervised Learning
Unsupervised learning is the training approach where a model finds structure in data with no labels at all — no correct answer is ever shown, so instead of minimizing the gap to a known target, the model optimizes some internal notion of structure: grouping similar points together, compressing data into fewer dimensions, or estimating the underlying probability distribution the data was drawn from. Where supervised learning needs a human (or an automated pipeline) to supply the answer key, unsupervised learning works directly on raw, unlabeled data — which is most of the data that exists, since labeling is the expensive, slow step most data never gets. At a high level, the unsupervised path looks like this:
Clustering and dimensionality reduction solve two different problems, even though both run on unlabeled data. K-means and DBSCAN group data points into clusters based on distance or density — used for customer segmentation, anomaly detection in sensor data, or grouping similar failure signatures in wafer defect logs without anyone having pre-labeled what the defect categories should be. PCA, t-SNE, and UMAP instead compress high-dimensional data (an image's thousands of pixel values, a chip's hundreds of process-sensor readings) down to 2 or 3 dimensions that preserve the data's real structure, which is what lets engineers actually visualize a dataset that no human could inspect dimension by dimension.
Anomaly detection is where unsupervised learning solves a problem supervised learning structurally can't. A supervised fraud or defect detector needs labeled examples of fraud or defects to train on — but by definition, rare failure modes don't have enough labeled examples, and genuinely novel failure modes have zero. Unsupervised approaches (isolation forests, autoencoders trained to reconstruct normal data, density-based outlier scoring) instead learn what "normal" looks like from the overwhelming majority of unlabeled-but-presumed-normal data, then flag anything that doesn't fit — which is exactly the approach inline wafer-inspection systems use to catch a defect type that has never been seen and labeled before.
Self-supervised learning is the unsupervised technique that quietly powers almost all modern large models. It's technically unsupervised (no human-provided labels), but it generates its own training signal from the data's structure — hiding a word and predicting it from context, or masking part of an image and predicting the missing patch — which is exactly how GPT-class language models pretrain on raw internet text at a scale no human labeling budget could ever match, before a much smaller supervised fine-tuning stage teaches the model to follow instructions.
Read unsupervised learning as the technique for the data a company actually has in bulk, not the data it wishes it had: nearly all raw data arrives unlabeled, and whether the job is finding defect clusters nobody named yet, compressing a fab's sensor streams into something a human can actually see, or pretraining a model on the entire unlabeled internet, the same economics apply — structure discovered without labels is cheap to obtain and often the only option at the scale modern AI and modern fabs actually operate at.