Under what conditions can incorporating unlabeled data hurt model performance?
Quick Overview
Asks when adding unlabeled data through semi-supervised learning makes a model worse. Tests your understanding of cluster and smoothness assumptions, distribution mismatch, confirmation bias in pseudo-labeling, and how to guard against these failures.
Under what conditions can incorporating unlabeled data hurt model performance?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Under what conditions can incorporating unlabeled data hurt model performance?
Assume a semi-supervised setup: a small labeled set, a much larger unlabeled pool, and a method such as pseudo-labeling, graph-based label propagation or a generative model fit with EM.
```hint Name the assumptions
Each semi-supervised method assumes something links the shape of the input distribution to the labels. Ask what happens when that link is missing.
```
```hint Check the source of the pool
Consider how the unlabeled data was collected compared with the labeled set and the data the model will face at test time.
```
### What a Strong Answer Covers
- The assumptions semi-supervised methods rely on and how each one fails
- How a mismatch between the unlabeled pool and the labeled or test data causes harm
- What happens when the model trains on its own predictions, and when it is worst
- Cases where unlabeled data adds little, setup choices that make it harmful, and how to detect the harm
### Follow-up Questions
- How would you filter out-of-distribution samples from an unlabeled pool before pseudo-labeling?
- How would you choose the confidence threshold and the weight of the unlabeled loss?
- With imbalanced classes, how would you stop pseudo-labels from drifting toward the majority class?
- How does self-supervised pretraining on the same unlabeled data differ in risk from pseudo-labeling it?
Overview: Asks when adding unlabeled data through semi-supervised learning makes a model worse. Tests your understanding of cluster and smoothness assumptions, distribution mismatch, confirmation bias in pseudo-labeling, and how to guard against these failures.
Under what conditions can incorporating unlabeled data hurt model performance?
Assume a semi-supervised setup: a small labeled set, a much larger unlabeled pool, and a method such as pseudo-labeling, graph-based label propagation or a generative model fit with EM.
What a Strong Answer Covers Guidance
The assumptions semi-supervised methods rely on and how each one fails
How a mismatch between the unlabeled pool and the labeled or test data causes harm
What happens when the model trains on its own predictions, and when it is worst
Cases where unlabeled data adds little, setup choices that make it harmful, and how to detect the harm
Follow-up Questions Guidance
How would you filter out-of-distribution samples from an unlabeled pool before pseudo-labeling?
How would you choose the confidence threshold and the weight of the unlabeled loss?
With imbalanced classes, how would you stop pseudo-labels from drifting toward the majority class?
How does self-supervised pretraining on the same unlabeled data differ in risk from pseudo-labeling it?