Self-supervised learning trains a neural network without human-provided labels by deriving targets from the input data itself. It still uses familiar regression or classification losses, but the prediction target is an implicit part of x. section 7.0 section 7.7
Common target-construction patterns include:
- Inpainting obscures part of an input and predicts the missing content. section 7.0
- Image sorting shuffles image pieces and predicts their original order. section 7.0
- Autoencoding predicts the original input, using a bottleneck or denoising transformation to prevent merely copying it. section 7.7
- Autoregressive modeling predicts the next sequence item, using x̂ᵢ against xᵢ₊₁ for each available timestep. section 7.5
Character-level generation
Treat a sentence as ordered characters. An autoregressive model predicts the next character from previous ones; after processing a seed such as “EMILIA:”, it samples each prediction as the next input and generates a new sequence. section 7.5.2
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 target-construction strategies—filling a masked image region, restoring shuffled pieces, and reconstructing the original image. section 7.0







