Interpreting training, in-domain, and deployment errors
Prompt: A classifier has 12% error on its training set, 13% error on a separate set drawn from the same source as the training data, and 23% error on the development set. Assume human-level performance is essentially perfect. What do these numbers say about the model's main problems? State which issues are present and which are not, and justify your answer from the error gaps.
Model answer: This pattern indicates avoidable bias and a data mismatch problem, but not substantial variance on the training-data distribution. The 12% training error is already high, so the model is underfitting relative to near-perfect human performance. The tiny 1% increase from training to the same-source holdout set shows the model generalizes about as well there as it does on the training data, so there is no strong sign of high variance on that distribution. The much larger jump from 13% to 23% on the development set suggests that the development data differs from the data the model was tuned on, which is evidence of data mismatch.
Key points:
- High avoidable bias is indicated by the 12% training error.
- No strong high-variance problem is indicated because the training and same-source holdout errors are close (12% vs. 13%).
- Data mismatch is indicated by the much larger gap between the same-source holdout error and the development error (13% vs. 23%).
Rubric: The response must identify avoidable bias, data mismatch, and the absence of major variance. It should support each claim using the specific differences among the three error rates.
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?