Lecțiile acestui traseu sunt publicate deocamdată doar în engleză, așa că lecția de mai jos apare în engleză. Restul — module, quiz și materiale — funcționează la fel.
Capstone: Reproduce a Benchmark and Write the Validation and Risk Memo
Vei putea să:
You can take a public biomedical benchmark, reproduce a baseline with a leakage-free split, document the result as a model card, and write a validation and risk memo that a clinical or regulatory reviewer would accept as a starting point.
Why the capstone is a reproduction, not an invention
McDermott and colleagues, in this module's materials, surveyed machine-learning-for-health papers and found that code, data and enough detail to reproduce a result were released far less often than in the rest of machine learning. In this field, the ability to take a public benchmark, reproduce a baseline honestly and document what you found is rarer and more useful than a new architecture. The capstone asks you to do exactly that, then to write the document a clinical or regulatory reviewer would read first: a validation and risk memo.
Choosing the benchmark
PneumoniaMNIST from MedMNIST v2 is a small, free, pre-split chest X-ray classification task: paediatric images, binary label, with official train, validation and test splits and published baselines in the MedMNIST paper. It downloads from a pip package and trains on a laptop CPU in minutes.
hERG from Therapeutics Data Commons is a free binary ADMET task with a scaffold split available from one function call and published leaderboard numbers.
Either is fine. The point is the discipline, not the domain.
Procedure
- Freeze the split. Use the official split and record its version. Never touch the test set until step 7.
- Fix the seed and environment. Record the package versions; set every random seed; note the hardware. If results vary across seeds, that variance is a finding — report it.
- Reproduce the baseline. A small CNN or ResNet-18 at 28×28 for PneumoniaMNIST; Morgan fingerprints plus a random forest for hERG. Match the paper's setup as closely as the paper lets you, and write down every place it does not say.
- Compute the metric with uncertainty. AUROC (and accuracy or AUPRC as the benchmark specifies) with a 95% bootstrap confidence interval: resample the test set with replacement a thousand times and take the 2.5th and 97.5th percentiles. A single number without an interval is not a result.
- Check calibration. Reliability diagram and expected calibration error, as in Module 4. For hERG, this tells a chemist whether a 0.7 means anything.
- Break it down. For PneumoniaMNIST, split performance by the only subgroup the data gives you — the label — into sensitivity and specificity, and inspect the worst-scoring errors by eye. For hERG, report performance on the five largest test scaffolds separately. Hidden stratification lives here.
- Compare to the published number. State the gap. A reproduction that lands one or two points below the paper, with an honest list of unspecified details, is a good reproduction. A reproduction that beats the paper should make you suspicious of leakage before it makes you proud.
The model card
Mitchell and colleagues' Model Cards, in this module's materials, give the sections: intended use and out-of-scope uses; the training and evaluation data with their provenance; metrics, including disaggregated ones; known limitations; ethical considerations; and caveats. Write it for the person who will find your model in a repository in two years. Be specific in the out-of-scope section: PneumoniaMNIST is paediatric, 28×28, from one source — a model trained on it is out of scope for adult portable X-rays, full stop.
The validation and risk memo
Two pages, in this order.
Summary. The task, the data, the reproduced metric with its interval, the published metric, and your one-sentence verdict.
Data. Where it came from, how labels were produced, who is in it and who is missing. For PneumoniaMNIST: children from one institution, labels from the original clinical dataset's annotation, no demographic fields at all — which means fairness cannot be assessed, and the memo must say so rather than stay quiet.
Validation status. Which of the four claims from Module 6 you can make. Internal only, in both cases.
Silent failure modes. Three, concrete. For an imaging model: dataset shift to a new scanner or adult population; shortcut learning on a laterality marker; calibration drift under a new prevalence. For hERG: a new chemotype outside every training scaffold; activity cliffs; a measurement assay mismatch between training and the lab's own.
Regulatory classification. Intended use first, because classification follows from it. If the model would inform a diagnosis, state the EU MDR Rule 11 class and the likely FDA pathway and whether a predicate exists; a hERG screening model used internally in discovery is not a medical device, and the memo should say why. State the GDPR basis for the training data: a public, de-identified research dataset released under its own licence, which you should name.
Recommendation. Go or no-go for a prospective silent-mode pilot, with the single condition that would change your answer.
What a reviewer looks for
Honesty about gaps beats polish. The memo that says "I could not reproduce the augmentation because the paper does not specify it; my number is 1.3 points lower; here is the seed variance" is the one that gets trusted. A reviewer also checks that the test set was touched once, that the confidence interval is bootstrap not Gaussian, that calibration is reported, and that the out-of-scope section is specific.
What is still unsettled
There is no accepted standard for how much reproduction variance is acceptable before a published result is considered unconfirmed, and no agreed minimum content for a risk memo outside formal device submissions. Your memo is a contribution to that practice, not a form to fill.
What to remember
- Reproduce before you innovate; the split, the seed and the environment are part of the result.
- Report every metric with a bootstrap interval, a calibration check and at least one disaggregated view.
- A reproduction that beats the paper is a leakage warning first.
- The model card's out-of-scope section is where safety lives.
- Classification follows from intended use; a discovery-stage tool and a diagnostic tool with the same code are regulated differently.
Materiale selectate
1.7hMunca de profunzime se întâmplă aici — lecția este briefingul tău.
În direct pe aiqbench
Subiectul acestei lecții în restul site-ului, astăzi.
În știri, ultimele 30 de zile
- Can Registry Revision Histories Improve Point-in-Time Forecasts of Clinical Trial Progression?arXiv ·
- Implementation Variability Makes Sepsis-3 an Inconsistent Measuring Model for Early AI Prediction on Clinical DataarXiv ·
- Spectral Parameterization Reveals a Dissociation Between Chronological Age Prediction and Clinical Discrimination in EEG Brain-Age ModelingarXiv ·
Testează-ți cunoștințele
5 întrebări în 100 de secunde, pe o pagină separată. Citește mai întâi tot ce este mai sus.
Testează-ți cunoștințele →Misiunea modulului
60–90 minChoose PneumoniaMNIST (MedMNIST) or the hERG task from Therapeutics Data Commons. Reproduce a published baseline using the official split and a fixed random seed; report the metric with a bootstrap confidence interval, a calibration measure, and one subgroup or scaffold-level breakdown. Then write a two-page memo containing: a model card; a dataset summary with who is missing; the three most likely silent failure modes in deployment; your regulatory classification (FDA SaMD pathway, EU MDR Rule 11 class, GDPR basis for the training data); and a go/no-go recommendation for a prospective pilot. Code, plots and memo in one folder.
Se încarcă lucrarea ta…