Diagnose a document classifier that works on office scans but fails on phone photos.
Case context: A team trains a document classifier using scanned files collected from a desktop portal and evaluates it on a held-out set from the same portal. The model performs well in that setting. After deployment in a mobile app, where users submit handheld photos of documents, accuracy drops sharply. The phone images are often tilted, unevenly lit, and lower in resolution than the scanned files.
Question: What should the team identify as the main issue, and why did the earlier evaluation miss it?
Sample answer: The main issue is a distribution mismatch between the scanned documents used for training and testing and the handheld phone photos seen after deployment. The earlier evaluation missed the problem because the test set came from the same scan-based source as the training data, so it did not reflect the image conditions the app would actually receive.
Key points:
- Scanned documents were used for development data.
- Handheld phone photos were used in deployment.
- The two sources differed in resolution, lighting, and angle.
- The test set did not match the real deployment distribution.
Rubric: Full credit requires identifying the distribution mismatch, distinguishing scans from phone photos, and explaining why a scan-based test set could not reliably predict performance on the deployed inputs.
0
1
Tags
Machine Learning
Deep Learning
Machine Learning Strategy
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Yearning @ DeepLearning.AI
Related
Why did the deployed flower classifier work well on its original test set but poorly after launch?
The evaluation set matched the camera conditions seen during deployment.
Field Photos from Visitor Tablets
Match each part of the bird-photo classifier example to its role in the distribution shift.
Order the steps that exposed a data-distribution mismatch in an email spam filter.
Why Did Good Results on Scanned Documents Not Guarantee Success on Phone Photos?
Diagnose a document classifier that works on office scans but fails on phone photos.
How User Photos Differed from Catalog Images
What did the model's strong result on the website-based test set actually show?
If a model is trained and tested only on studio photos, that evaluation can still miss poor performance on blurry customer-uploaded phone pictures.