1. Home
  2. Explore
  3. Computer Science
  4. Self-Supervised Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Self-Supervised Learning

  • 110Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Representation Goals

What is the central goal of representation learning in deep unsupervised learning?

110 questions

  1. 1

    What is the central goal of representation learning in deep unsupervised learning?

    Model answer

    It is to learn useful, rich features from raw data without relying on labels, so the features can support many downstream tasks.

    Explanation

    The lecture distinguishes learning representations from merely learning to generate data.

  2. 2

    How does self-supervised learning relate to unsupervised learning?

    Model answer

    It is a form of unsupervised learning in which the data supplies supervision for a learning task. The terms are often used interchangeably.

    Explanation

    Self-supervision commonly means constructing a training signal from the data itself rather than from human-provided labels.

  3. 3

    Why can a change of representation make classification easier?

    Model answer

    A suitable representation can make patterns that are difficult to separate in the original coordinates linearly separable. For example, two clusters that are hard to separate in Cartesian coordinates may be easy to distinguish by radius in polar coordinates.

    Explanation

    The representation determines which distinctions are simple for a classifier to express.

  4. 4

    How do representations typically change across the layers of a deep network?

    Model answer

    Lower layers tend to capture detailed, high-frequency information, while successive layers build more abstract features such as edges, contours, parts, and ultimately object identity.

    Explanation

    Repeated computation refines raw inputs into increasingly semantic representations.

  5. 5

    How are deep learning, representation learning, machine learning, and AI related in the hierarchy described in the lecture?

    Model answer

    Deep learning is presented as a subset of representation learning, which is a subset of machine learning, itself considered within AI.

    Explanation

    The hierarchy places deep learning within the broader goal of learning representations.

  6. 6

    Why is collecting labeled data for every new task costly?

    Model answer

    It can require defining categories and annotation rules, hiring and coordinating annotators, building annotation interfaces, and maintaining data-recording and storage systems.

    Explanation

    Label production involves both human effort and substantial engineering infrastructure.

  7. 7

    Why is self-supervised learning especially useful in domains such as medicine or law?

    Model answer

    High-quality labels in specialized domains can be difficult and expensive to obtain, while large amounts of unlabeled data may still be available.

    Explanation

    Self-supervision can exploit data that supervised learning cannot use directly.

  8. 8

    How can unlabeled data improve a supervised system without replacing supervised learning?

    Model answer

    A model can first learn features from abundant unlabeled data and then use labeled data to train or fine-tune a downstream task, potentially reducing labeling needs and improving performance.

    Explanation

    The lecture presents self-supervised and supervised learning as complementary rather than mutually exclusive.

  9. 9

    What is the cognitive motivation for learning without labels?

    Model answer

    Babies and animals can learn from observation and experience without repeatedly receiving explicit labels, suggesting that useful representations can arise from interacting with or observing the world.

    Explanation

    This motivates learning methods that do not depend on extensive human annotation.

  10. 10

    What does the statement “Give a robot a label and you feed it for a second; teach a robot to label and you feed it for a lifetime” mean?

    Model answer

    A system that learns underlying structure from data may recognize and generalize to objects without being explicitly labeled for every case.

    Explanation

    The point is the potential for self-supervised learning to support broader generalization than memorizing individual labels.

  11. 11

    How can a supervised ImageNet classifier provide a useful starting point for other vision tasks?

    Model answer

    Its pretrained backbone can be reused or fine-tuned for tasks such as object detection and semantic or instance segmentation, reducing the need to learn all features from scratch.

    Explanation

    Pretrained features can improve data efficiency and help downstream models converge faster.

  12. 12

    What is the main practical goal of self-supervised pretraining for downstream tasks?

    Model answer

    To learn features without labels that support systems with performance comparable to supervised systems while requiring fewer labels for downstream training.

    Explanation

    The hoped-for benefits include lower annotation cost and potentially stronger generalization.

  13. 13

    In the “LeCun cake” analogy, what roles do self-supervised, supervised, and reinforcement learning play?

    Model answer

    Self-supervised learning is the cake, supervised learning is the icing, and reinforcement learning is the cherry.

    Explanation

    The analogy emphasizes self-supervised learning as a substantial foundation for intelligent systems.

  14. 14

    Why does the lecture caution against judging self-supervised learning only by the number of bits in its training signal?

    Model answer

    The quality and usefulness of the bits matter as much as their quantity; human labels can convey more directly useful information than simple cues such as pixel similarity or image rotation.

    Explanation

    A large proxy-task signal is not automatically as meaningful as a grounded label.

  15. 15

    What makes a good self-supervised pretext task important?

    Model answer

    The task must encourage the model to learn useful structure rather than exploit a trivial shortcut; the task and loss influence the quality of the resulting representations.

    Explanation

    Representations learned from a proxy task are only as useful as the information that task requires the model to capture.

  16. 16

    Describe the general “withhold and predict” strategy in self-supervised learning.

    Model answer

    Hide or withhold part of the data, then train a model to predict that part from the remaining data.

    Explanation

    Examples include predicting masked image regions, missing video frames, or masked sentence words.

  17. 17

    Give three examples of data that can be withheld and predicted in a self-supervised task.

    Model answer

    A task can predict occluded image pixels, hidden video frames, or masked words in a sentence.

    Explanation

    The supervision comes from the original complete example, which supplies the withheld target.

  18. 18

    What is the first broad self-supervised principle described in the lecture?

    Model answer

    Corrupt the data and train a model to recover the original data from the corrupted version.

    Explanation

    Noise addition, masking, and separating data into views are examples of this principle.

  19. 19

    What is the second broad self-supervised principle described in the lecture?

    Model answer

    Create an auxiliary or visual common-sense task from the data, such as predicting patch relationships, solving a jigsaw puzzle, or predicting image rotation.

    Explanation

    These tasks provide training targets without requiring conventional labels.

  20. 20

    What is the third broad principle covered in the lecture?

    Model answer

    Contrastive learning: train representations to distinguish related examples from alternative or negative examples.

    Explanation

    The lecture connects this principle to Word2vec, CPC, and instance-discrimination methods.

  21. 21

    Why might a model that fills in a few missing video frames learn little about object identity?

    Model answer

    It may interpolate between nearby frames using optical-flow or temporal continuity cues without understanding what the objects are.

    Explanation

    A proxy task can be solved using low-level correlations rather than the desired semantic information.

  22. 22

    Why might predicting masked words encourage a model to learn language structure?

    Model answer

    Predicting missing words can require information about grammar, syntax, and meaning, rather than simply copying nearby content.

    Explanation

    The lecture contrasts language’s structure with the local spatial and temporal correlations available in images and video.

  23. 23

    What is a denoising autoencoder trained to do?

    Model answer

    It encodes a corrupted input into a latent representation and decodes that representation to reconstruct the original, clean input.

    Explanation

    The encoder is intended to capture useful features that help remove the corruption.

  24. 24

    Why can an autoencoder trained without input corruption learn an unhelpful identity mapping?

    Model answer

    It can reproduce the input directly without learning features that distinguish meaningful signal from corruption.

    Explanation

    Adding corruption makes reconstruction require the model to recover information rather than simply copy the input.

  25. 25

    What is the effect of adding too much noise to a denoising autoencoder’s input?

    Model answer

    The task may become too difficult because the signal-to-noise ratio is low.

    Explanation

    The corruption must leave enough information for meaningful reconstruction.

  26. 26

    What three corruption types were considered in the original denoising autoencoder work described?

    Model answer

    Additive isotropic Gaussian noise, masking noise that sets selected pixels to zero, and salt-and-pepper noise that sets selected elements to minimum or maximum values.

    Explanation

    Each method corrupts input pixels in a different way.

  27. 27

    How can denoising autoencoders be interpreted in terms of a data manifold?

    Model answer

    They learn to map locally corrupted inputs back toward the data manifold, approximating its local structure around observed examples.

    Explanation

    Noise creates nearby distortions, and reconstruction pushes them back toward valid data.

  28. 28

    How can a denoising autoencoder’s reconstruction loss treat corrupted and uncorrupted pixels differently?

    Model answer

    The loss can be weighted to emphasize reconstruction of corrupted pixels over pixels that remained unchanged.

    Explanation

    This reduces the incentive to copy already-visible pixels and encourages recovery of missing or noisy content.

  29. 29

    Which reconstruction losses can be used for a denoising autoencoder, according to the lecture?

    Model answer

    Mean squared error or binary cross-entropy can be used; the lecture notes that cross-entropy is a natural choice for MNIST, while mean squared error can also work with suitable settings.

    Explanation

    The appropriate reconstruction objective depends in part on the data and training setup.

  30. 30

    What is a stacked denoising autoencoder?

    Model answer

    It applies denoising autoencoding layer by layer, using a learned hidden representation as the input to the next denoising stage.

    Explanation

    The successive stages operate on increasingly abstract features rather than only raw pixels.

  31. 31

    How can features from a stacked denoising autoencoder be used for classification?

    Model answer

    Freeze the learned features and place a supervised classifier, such as a linear layer, on top to predict class labels.

    Explanation

    This approach was useful when directly training deep networks with supervision was difficult.

  32. 32

    What did visualizations of denoising autoencoder filters show when more masking noise was added?

    Model answer

    The filters learned more visible digit edges or strokes, whereas models trained without noise tended to learn little beyond an identity mapping.

    Explanation

    The corruption encouraged the model to learn structure useful for reconstruction.

  33. 33

    What is the context encoder task?

    Model answer

    Mask a region of an image, encode the masked image, and use a decoder to reconstruct the missing region.

    Explanation

    The complete image provides the target, so human labels are not needed for the masked-region task.

  34. 34

    What are two self-supervised masking patterns used by context encoders?

    Model answer

    They can mask a central region or mask multiple smaller regions distributed across the image.

    Explanation

    Both patterns create missing-pixel targets directly from the original image.

  35. 35

    Why is masking a particular object using a segmentation mask not fully self-supervised?

    Model answer

    It requires access to a segmentation mask identifying the object’s pixels, which is labeled information.

    Explanation

    Unlike generic rectangular or distributed masks, object-specific masks need an external annotation.

  36. 36

    How can a context encoder restrict reconstruction loss to the missing region?

    Model answer

    Apply the reconstruction error only to pixels selected by the mask, ignoring the unmasked pixels.

    Explanation

    The masked region is the part the model is being trained to infer.

  37. 37

    What is a weakness of using only mean squared error to reconstruct missing image regions?

    Model answer

    It can produce blurry predictions by averaging plausible pixel values.

    Explanation

    Averaging different possible completions may not produce a sharp, realistic image.

  38. 38

    How can an adversarial loss improve context-encoder reconstructions, and what risk does it introduce?

    Model answer

    A discriminator can encourage sharper, more realistic-looking completions, but the generated details may not fit the actual image context.

    Explanation

    The discriminator assesses realism, while reconstruction loss helps preserve consistency with the particular input.

  39. 39

    Why did the context encoder combine reconstruction and adversarial objectives?

    Model answer

    The reconstruction objective anchors the output to the input image, while the adversarial objective encourages sharper predictions than pixelwise reconstruction alone.

    Explanation

    Using both addresses the blur of reconstruction loss and the potential incoherence of adversarial predictions.

  40. 40

    How did context-encoder features compare with ordinary autoencoder features on the Pascal classification result described?

    Model answer

    Context-encoder features performed better: the reported classification scores were 56.5% for context encoders and 53.8% for autoencoders.

    Explanation

    The result showed an improvement over a basic autoencoder, although it remained below supervised ImageNet features in the cited comparison.

  41. 41

    How does predicting color from grayscale differ from converting color to grayscale?

    Model answer

    Grayscale can be computed from color by combining the color channels, but predicting color from grayscale requires inferring information that the grayscale image does not contain.

    Explanation

    Colorization therefore requires the model to use learned visual structure and context.

  42. 42

    How is the colorization task represented in the Lab color space?

    Model answer

    The model uses the L channel as the grayscale-like input and predicts the a and b color channels.

    Explanation

    Separating luminance from color provides distinct input and prediction views.

  43. 43

    Why can mean squared error produce dull or averaged colors in colorization?

    Model answer

    When multiple colors are plausible, regression toward their average can produce a less vivid or degenerate prediction.

    Explanation

    The mean of several plausible color outcomes may not itself be a likely color choice.

  44. 44

    How can colorization be reframed as classification rather than regression?

    Model answer

    Quantize the a and b color values into categories and predict a distribution over those categories with a classification loss.

    Explanation

    The lecture relates this approach to using discrete pixel categories in autoregressive image models.

  45. 45

    What is the basic idea of a split-view autoencoder?

    Model answer

    Separate data into views or channels, use each view to predict the other, and combine the predictions to reconstruct the input.

    Explanation

    The approach encourages consistency between the information in the different views.

  46. 46

    What does backward consistency mean in a split-view prediction task?

    Model answer

    Predictions in both directions should be mutually compatible: each view should help predict the other, and the combined result should match the original input.

    Explanation

    For example, predicted color and luminance should form a coherent image together.

  47. 47

    How can predicting color from grayscale encourage recognition of image content?

    Model answer

    The model must use visual cues about objects and their contexts, such as learning that leaves are often green or tree bark brown.

    Explanation

    Color prediction can require more than a direct transformation of the input pixels.

  48. 48

    What is relative patch prediction?

    Model answer

    Given two image patches, predict their relative spatial position, such as whether one lies above, below, or beside the other.

    Explanation

    The task turns spatial relationships within unlabeled images into classification targets.

  49. 49

    How many surrounding-position classes are used in the described relative patch prediction setup?

    Model answer

    There are eight classes, corresponding to the positions surrounding a reference patch in a three-by-three arrangement.

    Explanation

    The center patch acts as the reference, and the surrounding locations define the prediction classes.

  50. 50

    What kinds of visual information can relative patch prediction encourage a model to learn?

    Model answer

    It can encourage low-level features and higher-level spatial associations, such as the relative arrangement of object parts.

    Explanation

    Solving the task can require recognizing both local patterns and their spatial relationships.

  51. 51

    Why must patches in relative-position prediction not overlap?

    Model answer

    If they overlap, the model may infer their relative position from shared boundary pixels instead of learning meaningful visual relationships.

    Explanation

    Non-overlap prevents this simple shortcut.

  52. 52

    Why are spatial and color jitter applied to patches in relative-position prediction?

    Model answer

    Jitter helps prevent the model from exploiting patch boundaries or color artifacts as shortcuts to predict position.

    Explanation

    These design choices encourage the model to use visual content rather than accidental cues.

  53. 53

    How does the jigsaw-puzzle task differ from relative patch prediction?

    Model answer

    It shuffles a grid of image patches and asks the model to identify the correct arrangement, rather than predicting the position of one patch relative to a reference.

    Explanation

    Both tasks use spatial reasoning, but jigsaw prediction reconstructs an entire patch ordering.

  54. 54

    How can a three-by-three jigsaw task be implemented as a classification problem?

    Model answer

    Assign an index to each possible patch permutation and train a classifier to predict the index of the correct arrangement.

    Explanation

    This avoids requiring a sequence-generating decoder for the patch order.

  55. 55

    What is the rotation-prediction task?

    Model answer

    Rotate an image by a selected angle and train a model to predict which rotation was applied.

    Explanation

    The lecture’s common setup uses rotations of zero, 90, 180, or 270 degrees.

  56. 56

    Why can predicting an image’s rotation encourage semantic learning?

    Model answer

    The model may need to recognize objects and their usual orientation to determine how the image was rotated.

    Explanation

    For example, recognizing an inverted face can reveal that an image has been rotated.

  57. 57

    Why might using more rotation angles fail to improve rotation-based pretraining?

    Model answer

    Finer angle distinctions do not necessarily lead to better representations; in the reported results, four right-angle classes performed better than either more or fewer classes.

    Explanation

    The task’s usefulness depends on its design, not simply on the number of prediction categories.

  58. 58

    How did the reported rotation-prediction features compare with earlier self-supervised visual methods?

    Model answer

    They improved on earlier self-supervised results in the reported classification and transfer comparisons, though a substantial gap from supervised ImageNet features remained in some tasks.

    Explanation

    The lecture presents rotation prediction as a strong advance at the time, not as a complete replacement for supervised pretraining.

  59. 59

    What are word embeddings, and what property should useful ones have?

    Model answer

    Word embeddings represent words as vectors, with related words represented by similar or nearby vectors.

    Explanation

    Unlike one-hot encodings, embeddings can express similarities and relationships between words.

  60. 60

    How can a word co-occurrence matrix be used to obtain embeddings?

    Model answer

    Count how often words occur together in context, then factorize the resulting matrix, for example with singular value decomposition, to obtain vector representations.

    Explanation

    The lecture connects this factorization approach to matrix methods used in recommendation systems.

  61. 61

    What are three limitations of using matrix factorization for word embeddings?

    Model answer

    The co-occurrence matrix can be sparse, singular value decomposition can be computationally costly, and rare words may have unreliable embeddings while very frequent words can dominate.

    Explanation

    These problems make the approach difficult to optimize and scale without additional heuristics.

  62. 62

    How does an n-gram language model use context?

    Model answer

    It models a word’s probability conditioned on preceding words; an n-gram model extends the context beyond a single previous word.

    Explanation

    This captures word co-occurrence information more directly than counting isolated word frequencies.

  63. 63

    What is the difference between the CBOW and skip-gram Word2vec models?

    Model answer

    CBOW predicts a center word from its surrounding words, while skip-gram predicts surrounding words from a center word.

    Explanation

    The two models reverse the direction of prediction.

  64. 64

    How does CBOW form its context representation in the version described?

    Model answer

    It looks up the embeddings of the surrounding words, averages them, and uses the result to predict the center word.

    Explanation

    Averaging provides a simple way to combine context embeddings.

  65. 65

    What simplifying assumption does the skip-gram model make about surrounding words?

    Model answer

    Given the center word, it treats the surrounding words as conditionally independent of one another.

    Explanation

    This assumption simplifies prediction by allowing each surrounding word to be predicted separately.

  66. 66

    Why can a full softmax over the vocabulary make Word2vec expensive?

    Model answer

    It requires computing and normalizing scores for all possible words in the vocabulary for each prediction.

    Explanation

    The cost becomes substantial for large vocabularies.

  67. 67

    What techniques are mentioned for making Word2vec training more efficient?

    Model answer

    Negative sampling and hierarchical softmax reduce the need to normalize over the entire vocabulary.

    Explanation

    These techniques helped make embedding training efficient on modest hardware.

  68. 68

    What does the approximately parallel relationship between country-to-capital vectors illustrate?

    Model answer

    Word embeddings can encode relationships as consistent vector directions, so a relation learned for one country and capital may transfer to another pair.

    Explanation

    The lecture uses country-capital examples to illustrate geometric regularity in the embedding space.

  69. 69

    What kinds of relationships can Word2vec embeddings capture beyond word similarity?

    Model answer

    They can reflect relationships among entities, such as countries and capitals, companies and executives, or airlines and countries.

    Explanation

    Words that occur in related contexts can acquire structured representations.

  70. 70

    What is contrastive predictive coding (CPC) intended to learn?

    Model answer

    It learns representations of context and targets so that a true related target scores more highly than contrasting negative targets.

    Explanation

    CPC extends contrastive prediction beyond text by using learned neural representations of different data modalities.

  71. 71

    How does CPC extend the basic Word2vec idea?

    Model answer

    It replaces simple averaged word embeddings with neural networks that can encode and aggregate context, while retaining a contrastive objective for identifying related targets.

    Explanation

    This allows the framework to work with modalities such as audio and images.

  72. 72

    In audio CPC, what are the context and target?

    Model answer

    The context is an encoded portion of past audio, and the target is an encoded future audio chunk.

    Explanation

    The model learns to identify the true future target among alternative candidates.

  73. 73

    Why does CPC compare a true target with negative targets instead of reconstructing the future audio waveform?

    Model answer

    It can learn predictive latent representations by distinguishing the true future embedding from negatives without decoding the actual waveform.

    Explanation

    The objective focuses on predictive relationships in representation space.

  74. 74

    What kinds of negative samples can be used in audio CPC?

    Model answer

    Negatives can come from other time steps in the same waveform or from different audio waveforms.

    Explanation

    The source of negatives affects which distinctions the learned representation emphasizes.

  75. 75

    How can the source of CPC negatives affect the features learned?

    Model answer

    Negatives from other speakers can encourage speaker-discriminative features, while negatives from the same speaker can emphasize finer-grained phonetic features.

    Explanation

    Negative sampling should reflect the distinctions relevant to the desired downstream task.

  76. 76

    Why should CPC avoid trivial overlap between context and target?

    Model answer

    If the target overlaps too much with the context, the model may succeed by exploiting shared content instead of learning meaningful predictive features.

    Explanation

    This is analogous to preventing overlapping patches from making a spatial prediction task too easy.

  77. 77

    Can CPC only predict future data from past data?

    Model answer

    No. The context and target can be framed in different ways, including predicting the past from the future or predicting a masked region from surrounding context.

    Explanation

    The key requirement is that the prediction and negative-sampling design form a nontrivial task.

  78. 78

    How can multi-step CPC prediction support richer representations?

    Model answer

    Different prediction offsets can encourage the model to capture different relationships, and optimizing multiple predictions together can produce features useful for several tasks.

    Explanation

    The prediction steps act as multiple pretext tasks within one framework.

  79. 79

    Why can predicting more distant audio targets encourage phonetic rather than waveform-level features?

    Model answer

    Raw audio changes rapidly, while phonetic content varies more slowly; predicting an appropriately distant target can emphasize this slower, more semantic information.

    Explanation

    The offset must be chosen carefully because targets that are too distant may share too little information with the context.

  80. 80

    What happens to CPC’s ability to identify the correct target as the prediction horizon increases?

    Model answer

    It generally becomes harder because the context shares less information with more distant targets, so prediction accuracy falls.

    Explanation

    Longer horizons have greater uncertainty and may provide a less useful training signal.

  81. 81

    How did CPC features perform on the reported speaker and phoneme classification tests?

    Model answer

    Frozen CPC features achieved 97.4% speaker-classification accuracy and 64.6% phoneme-classification accuracy with linear classifiers, outperforming the reported MFCC baselines.

    Explanation

    The results indicate that unsupervised CPC features captured useful speech information.

  82. 82

    What does the gap between linear and nonlinear phoneme classification using CPC features suggest?

    Model answer

    The features contain useful phoneme information that may not be linearly separable; using an MLP can access more of that information.

    Explanation

    The lecture reports that an MLP brought performance closer to the supervised result without fine-tuning the features.

  83. 83

    How was CPC adapted to images in the version described?

    Model answer

    Images were divided into a grid of overlapping patches, each encoded with a shared network, and a context model used some patch embeddings to predict other patch embeddings contrastively.

    Explanation

    This applies the context-target prediction framework to spatial rather than temporal data.

  84. 84

    Why was a masked convolutional model used to aggregate image-patch context in CPC?

    Model answer

    It aggregates information from the context patches while preventing information from the target patches from leaking into the context representation.

    Explanation

    Masking preserves the intended direction of prediction.

  85. 85

    What was one limitation of the original CPC image-classification result compared with supervised learning?

    Model answer

    Its linear-classifier accuracy was substantially below the supervised result, leaving a large performance gap.

    Explanation

    This motivated further improvements to architecture, training, and data augmentation.

  86. 86

    What is the main idea behind CPC version 2’s improvement over the original CPC?

    Model answer

    It substantially improved the training and model recipe through deeper or wider networks, careful patch design, data augmentation, and large-scale optimization.

    Explanation

    The lecture presents engineering choices and long training as important contributors to stronger results.

  87. 87

    What is the InfoNCE objective used for in CPC-style learning?

    Model answer

    It contrasts context-target pairs so the true target is scored above negative targets.

    Explanation

    It provides a contrastive objective for learning associations between representations.

  88. 88

    How can CPC-pretrained features be evaluated in addition to a frozen linear-classifier test?

    Model answer

    They can be fine-tuned with a limited amount of labeled data or transferred to a different dataset and downstream task.

    Explanation

    These evaluations test both label efficiency and transfer beyond the pretraining objective.

  89. 89

    What did the CPC version 2 results show about using unlabeled data when only a small fraction of labels is available?

    Model answer

    Pretraining on unlabeled data substantially improved performance in low-label settings, and the reported results required far fewer labels to reach comparable accuracy.

    Explanation

    The lecture highlights gains in label efficiency, especially when labeled examples are scarce.

  90. 90

    What did the CPC version 2 results suggest when all labels were available?

    Model answer

    Pretraining on unlabeled data and then fine-tuning could outperform training the downstream model using supervised learning alone.

    Explanation

    The reported comparison suggests that self-supervised pretraining can remain useful even in high-label settings.

  91. 91

    Why is transfer to object detection an important test of self-supervised image features?

    Model answer

    It tests whether the features are useful beyond image classification, including for a different task and a dataset with fewer labels.

    Explanation

    Strong classification results alone do not establish broad downstream usefulness.

  92. 92

    What did the reported Pascal detection results indicate about self-supervised pretraining?

    Model answer

    The reported CPC version 2 features achieved a mean average precision of 76.6, exceeding the cited supervised baseline of 74.7.

    Explanation

    This result supported the claim that self-supervised features can transfer effectively to detection.

  93. 93

    How can self-supervised auxiliary tasks help reinforcement-learning agents, according to the lecture?

    Model answer

    They can be trained alongside reward optimization to improve the agent’s data or sample efficiency.

    Explanation

    The lecture mentions contrastive losses as one form of auxiliary training but does not develop the method in detail.

  94. 94

    What is instance discrimination in visual contrastive learning?

    Model answer

    It treats two augmented views of the same image as a positive pair and views of other images as negatives.

    Explanation

    The model learns to recognize different transformations of one image as belonging to the same instance.

  95. 95

    Why can strong image augmentations make instance discrimination more useful?

    Model answer

    They make the two views less trivially identical, encouraging the model to learn features that capture what remains common between them.

    Explanation

    The model must identify the underlying instance despite changes such as cropping, flipping, or grayscale conversion.

  96. 96

    How does MoCo frame contrastive learning?

    Model answer

    It treats the task like dictionary lookup: encode a query and candidate keys, then identify the matching positive key among negative keys.

    Explanation

    The contrastive objective compares the query with a set of possible matches.

  97. 97

    What are the query and key encoders in MoCo?

    Model answer

    The query encoder processes one augmented view, while a momentum-updated key encoder processes the paired view used as the positive target.

    Explanation

    The key encoder changes gradually rather than receiving the same direct gradient updates as the query encoder.

  98. 98

    How does MoCo’s momentum encoder help maintain a useful dictionary of negative examples?

    Model answer

    Its parameters change slowly, so stored key embeddings remain more consistent with the current representation space.

    Explanation

    A slowly varying encoder makes previously stored negatives more useful for comparison.

  99. 99

    How does MoCo use a queue of negative embeddings?

    Model answer

    It stores recent key embeddings in a first-in, first-out queue, adding new keys and removing the oldest entries as training proceeds.

    Explanation

    The queue provides many negatives without requiring them all to come from the current batch.

  100. 100

    Why is the key encoder’s gradient stopped in MoCo?

    Model answer

    The key encoder is updated by a momentum rule rather than by backpropagating the contrastive-loss gradient through it.

    Explanation

    The query encoder receives the direct optimization signal, while the key encoder changes gradually.

  101. 101

    What is a limitation of using only the current mini-batch as negatives?

    Model answer

    The number of available negatives is limited by the batch size, so obtaining many negatives requires a large batch.

    Explanation

    MoCo’s queue was designed to provide more negatives without relying entirely on a large current batch.

  102. 102

    What is one problem with a memory bank whose embeddings become stale relative to the current encoder?

    Model answer

    The current encoder may compare against outdated representations, reducing the usefulness of those negatives.

    Explanation

    MoCo’s slowly changing key encoder helps keep queued embeddings more consistent.

  103. 103

    How does SimCLR’s basic training setup relate to MoCo’s end-to-end version?

    Model answer

    It uses two augmented views processed by the same encoder and obtains negatives from the current batch, with gradients flowing through the shared-encoder computations.

    Explanation

    Unlike MoCo’s momentum queue, SimCLR’s described setup relies on large batches for its contrasts.

  104. 104

    What additional projection does SimCLR apply before the contrastive loss?

    Model answer

    An MLP projection head maps the encoder representation into a lower-dimensional space used for contrastive optimization.

    Explanation

    The lecture identifies this projection head as an important SimCLR design choice.

  105. 105

    Why does SimCLR compute the contrastive loss in both directions for a pair of augmented views?

    Model answer

    Either view can serve as the query while the other serves as the positive key, so SimCLR includes both directions in the loss.

    Explanation

    The roles of the two views are interchangeable.

  106. 106

    What training choices helped SimCLR achieve strong results?

    Model answer

    It used large batches, long training, and data augmentations including Gaussian blur, along with a projection head for the contrastive objective.

    Explanation

    The lecture emphasizes that these choices contributed to the reported performance.

  107. 107

    How did the reported SimCLR result compare with earlier CPC and MoCo results?

    Model answer

    The reported ResNet-50 linear-classifier accuracy for SimCLR was about 69%, higher than the cited CPC version 2 and earlier MoCo results.

    Explanation

    The lecture presents this as a substantial improvement at the time of the comparison.

  108. 108

    What did the MoCo version 2 changes adopt from the SimCLR approach?

    Model answer

    They included an MLP projection head, Gaussian-blur augmentation, a cosine learning-rate schedule, and longer training.

    Explanation

    These changes improved MoCo’s reported linear-classification and detection results.

  109. 109

    What general lesson does the lecture draw from the progress of CPC, MoCo, and SimCLR?

    Model answer

    Performance depends strongly on implementation details such as architecture, batch or negative-sample strategy, data augmentation, optimization, and training duration.

    Explanation

    Careful engineering was a major driver of the rapid improvement in self-supervised results.

  110. 110

    What does the lecture identify as a major success of self-supervised pretraining in language?

    Model answer

    Language pretraining methods such as BERT had become widely used, including in Google Search.

    Explanation

    The lecture notes that self-supervised learning had advanced particularly far in language, though its technical treatment was outside this lecture’s focus.

1 of 110
Question 1 of 110

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent