liveBook · Manning

Unsupervised learning

As explained in Inside Deep Learning: Math, Algorithms, Models

A learning setting in which models are trained without human-provided labels, often by exploiting structure in the data.

Unsupervised learning addresses cases where data lacks human-provided labels. Self-supervision is one strategy: create an implicit target from the input, then learn with a regression or classification loss. This can reduce reliance on expensive manual labeling. section 7.0

Self-supervised image tasks can create targets in several ways:

  • Inpainting: hide part of an image and predict the missing region. section 7.0
  • Image sorting: shuffle image pieces and predict their original order. section 7.0
  • Autoencoding: predict the original input from the input itself. section 7.0
Figure 7.1 Three different types of self-supervised problems: inpainting, image sorting, and autoencoding. In each case, we do not need to know what the image is of because the network will try to predict the original image no matter what. In the first case (red), we randomly block out a portion of the image and ask the network to fill in the missing piece. In the second case, we break the image into pieces, shuffle them, and ask the network to put them back in the correct order. In the last case, we simply ask the network to predict the original image from the original image.

Compare three image-based self-supervised tasks: filling a hidden region, restoring shuffled pieces, and reconstructing the input. section 7.0

Good reconstructions do not necessarily demonstrate that an autoencoder has learned a useful representation. Reconstruction loss measures fidelity to the input, while representation usefulness remains a harder question. section 7.3

How Inside Deep Learning: Math, Algorithms, Models covers it

How deep it goes
Defines label-free learning and explains self-supervised prediction, then raises but does not resolve how to judge representation usefulness.
Examples
Uses sentiment labeling as motivation and illustrates image inpainting, shuffled-piece ordering, and autoencoding.
What it assumes
Assumes familiarity with labeled classification and regression, and frames learning without labels against those baselines.
What you can do after
Understand how implicit targets can replace human labels, while recognizing that reconstruction quality may not establish representation usefulness.
How it connects
Connects self-supervision with regression, classification, loss functions, and autoencoding.

Also explained in

Compare how 20 books explain unsupervised learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Inside Deep Learning: Math, Algorithms, Models. The section links point to the parts of the book it draws on.