Data: The Foundation of Medical AI
Building effective AI models begins with data. This section covers everything a clinical researcher needs to know about assembling, preparing, and safeguarding datasets.
Why Data Quality Matters More Than Model Complexity
Modern architectures perform similarly on the same data, so the dataset is what differs between projects. Data quality means correct labels, cases that look like real use, no variable other than disease that predicts the label, and no patient on both sides of the split.
2.2How Much Data Do You Need?
There is no universal number. Segmentation can work from tens to hundreds of annotated studies, and classification usually needs hundreds to thousands per class, less with a pretrained model. The test set is the part you can size by calculation.
2.3Data Annotation and Labeling for Clinical AI
Good labels come from a written, versioned annotation protocol, a pilot round, measured agreement between readers, and adjudication of disagreements on the test set. Agreement between annotators is the ceiling on measurable model performance.
2.4Class Imbalance: When Rare Conditions Dominate Your Research Question
With rare conditions accuracy is meaningless, and the absolute number of positive cases counts for more than the ratio. Resampling and class weights can help a network learn but inflate its probabilities, so recalibrate and test at natural prevalence.
2.5Data Preprocessing and Augmentation
Preprocessing converts images into the numbers a model takes, and augmentation randomly varies training images, which is very effective on small datasets. Each augmentation must produce a plausible image without changing the label.
2.6Multi-Site and Multi-Device Data: The Generalization Challenge
Models trained at one site often fail at another because sites differ in equipment, protocol, patient mix and labeling practice. Data from a second and third site helps more than a larger sample from the first, and at least one whole site should be held out for testing.
2.7De-Identification, Privacy, and Regulatory Compliance for Research Data
HIPAA offers two de-identification methods, Safe Harbor and Expert Determination, and under GDPR coded data with a key held anywhere is still personal data. De-identification reduces risk without eliminating it and doesn't replace ethics review.
2.8Synthetic Data and Data Simulation
Synthetic data can improve training on small datasets and rare classes, but a generator adds no information beyond its training data. Never test on synthetic data: regulators expect performance to be shown on real, representative clinical data.