Diagnosing Bias and Distribution Shift
Case context: A team is training an email classifier. It makes mistakes on 7% of the training examples, 8% on a holdout set drawn from the same source as the training data, and 17% on a development set collected from a different customer group.
Question: What is the most likely explanation for the model’s errors, and which concern is not supported by these results?
Sample answer: The results point to two problems. First, the model still has too much error even on data it saw during learning, which indicates avoidable bias. Second, the much larger error on the development set suggests a mismatch between the training-like data and the target distribution. What these numbers do not support is a large variance problem on the training-data distribution, because the training and same-source holdout errors are nearly the same.
Key points:
- Identify avoidable bias.
- Identify distribution mismatch.
- Do not infer large variance on the training-data distribution.
Rubric: A correct diagnosis will explicitly state that the model has avoidable bias and distribution mismatch, while also rejecting high variance on the training-data distribution because the training and same-source holdout errors are very close.
0
1
Tags
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
What does a 1% gap between training error (14%) and training-dev error (15%) suggest?
True or False: An algorithm with 8% training error, 9% training-dev error, and 18% dev error is showing high variance on the training-set distribution.
High avoidable bias with a distribution shift
Match each error gap in the 8%/9%/17% scenario to the machine learning problem it diagnoses.
Order the diagnostic steps for identifying high bias and data mismatch without high variance.
Diagnosing Bias, Variance, and Distribution Shift from Error Rates
True or False: If training error is 8%, training-dev error is 9%, and dev error is 15%, the mismatch between training-dev and dev explains more of the drop than variance does.
Estimating Variance with a Held-Out Same-Source Set
Match each diagnosis to the evidence in the 12%/13%/19% scenario.
Order the reported error rates from lowest to highest in a case where the model fits the training set well but struggles on a shifted dev set.
Interpreting training, in-domain, and deployment errors
Diagnosing Bias and Distribution Shift
What problem is ruled out?