internalsGet Pro

Module 10 · Lesson 11 of 12Pro

Self-supervised learning: autoencoders to contrastive

Level
Advanced
Topic
Deep learning architectures
Reading time
18 min

When you finish this page you can

  1. Explain how a pretext task turns unlabelled photos into training data, and why the task decides what the learned vectors keep.
  2. Train an autoencoder and a contrastive encoder in PyTorch, and compare them with a linear probe on 100 labelled photos.
  3. Choose augmentations and a temperature from what the vectors should ignore, and spot collapse before it reaches a model.
  4. Decide between a downloaded backbone, an autoencoder and contrastive pretraining for a team’s own photos.

Builds on 3 lessons

Start with lesson 317 min
  1. Transfer learning: reusing pretrained models17 min
  2. Learned embeddings: vectors for words, items and users18 min
  3. Pretraining and fine-tuning16 min

60,000 photos and 100 labels

is the online store this course uses as its example. In Transfer learning, a camera above a packing table photographed each item before the box closed. The prediction is one per photo: which of 10 clothing types is in the box.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan