Subdomain 1.3: Validate data quality and manage bias
1.A medical imaging dataset has several scans per patient. After a random image-level split, the model scores 99 percent in validation but only 78 percent on new patients. What is the most likely cause and fix?
- A.The classes are balanced too evenly across partitions, so remove stratification and let the image order in the manifest decide the split.
- B.Scans of one patient sit in both train and validation sets, so split by patient identifier to keep each patient in one partition.
- C.The learning rate is too high for the optimizer, so reduce it and keep the same split because the gap comes from unstable gradient updates.
- D.The validation set is too small to be reliable, so apply more aggressive image augmentation to the validation images until scores decrease.
Show answer & explanation
Correct answer: B — Scans of one patient sit in both train and validation sets, so split by patient identifier to keep each patient in one partition.
- A. Removing stratification does not address duplicated patients across partitions and may worsen class proportions.
- B. Group leakage lets the model memorize patient-specific traits; grouping on patient ID keeps validation data truly unseen.
- C. A high learning rate would hurt training behavior in general; it does not create a gap that appears on new patients only.
- D. Augmenting validation data does not remove the leakage and distorts the evaluation that should reflect real images.