Learn Before
Diagnose why a car-recognition model performs poorly despite strong training accuracy.
Case context: A team partners with a video game company to generate 100,000 realistic synthetic images of cars using the game's graphics models, which include about 20 distinct car designs. The team trains a computer vision model on these images and achieves very high accuracy on their training set, but the model performs poorly on a dev set containing photos of real cars on roads.
Question: What is the most likely cause of the poor dev set performance, and what does this reveal about the relationship between training data volume and data diversity?
Sample answer: The most likely cause is overfitting to the limited set of ~20 car designs present in the synthetic data. Even though the training set has 100,000 images and achieves high training accuracy, all those images share the same small set of underlying car shapes, so the model has effectively memorized features specific to those 20 designs rather than learning generalizable car-recognition features. The real-world dev set includes a much wider variety of car designs, so the model's narrow learned features fail to transfer. This reveals that having many training examples does not compensate for low underlying diversity; what matters is whether the training distribution adequately represents the distribution the model will be tested and deployed on.
Key points:
- High training accuracy with poor dev accuracy is a signature of overfitting
- The cause is limited diversity (~20 designs), not insufficient example count
- Real-world dev sets represent a much broader distribution of car designs
- Training data volume does not substitute for representative diversity
Rubric: Full credit: correctly identifies overfitting to the 20 designs as the cause, distinguishes example quantity from design diversity, and connects this to the mismatch with the real-world dev set distribution. Partial credit: identifies overfitting but does not explain the quantity-versus-diversity distinction.
0
1
References
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Tags
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Why does a car-recognition system trained on 100,000 synthetic images from only ~20 car designs fail to generalize?
True or False: Realistic-looking synthetic images guarantee good generalization if enough images are generated.
If 100,000 training images all come from ~20 car designs, the system will _____ to those specific designs.
Match each dataset property in the synthetic car example to its description.
Order the reasoning steps explaining why the synthetic car training data leads to overfitting.
Explain why example count alone does not prevent overfitting in the synthetic car dataset.
Diagnose why a car-recognition model performs poorly despite strong training accuracy.
In one to three sentences, what does the ~20 car designs represent relative to the real-world distribution of cars?
Which change would most directly reduce the overfitting risk described in the synthetic car example?
True or False: This overfitting risk applies only to car recognition and not to other synthetic data generation approaches.