Model card: correct training data, output, held-out results and scope, in line with the paper
Browse files
README.md
CHANGED
|
@@ -12,9 +12,9 @@ pipeline_tag: image-classification
|
|
| 12 |
|
| 13 |
# CM-Oculomics fine-tuned weights
|
| 14 |
|
| 15 |
-
Fine-tuned DINOv2 ViT-L/14 weights (`dino_deploy.pth`) for predicting
|
| 16 |
-
|
| 17 |
-
photograph.
|
| 18 |
|
| 19 |
**This is a research prototype. It is not a medical device and must not be used
|
| 20 |
to guide patient care.**
|
|
@@ -25,14 +25,15 @@ to guide patient care.**
|
|
| 25 |
|---|---|
|
| 26 |
| Backbone | DINOv2 ViT-L/14 (Meta AI), Apache-2.0 |
|
| 27 |
| Input | one colour fundus photograph, 224 x 224 |
|
| 28 |
-
| Output | probability
|
| 29 |
-
| Training data |
|
| 30 |
-
| Preprocessing | burned
|
| 31 |
| Label | progression to proliferative diabetic retinopathy after six consecutive monthly ranibizumab injections |
|
| 32 |
|
| 33 |
## Reported performance
|
| 34 |
|
| 35 |
-
- Internal, five-fold cross-validation: patient-level AUC 0.914 (95% CI 0.870-0.951), image-level 0.952
|
|
|
|
| 36 |
- Run-to-run spread over three independent training runs: image-level 0.945 +/- 0.006
|
| 37 |
- External, zero fine-tuning, DDR (proliferative vs non-proliferative proxy): AUC 0.934
|
| 38 |
|
|
@@ -40,8 +41,9 @@ to guide patient care.**
|
|
| 40 |
|
| 41 |
Performance depends strongly on the cohort. Applied without fine-tuning to seven
|
| 42 |
public cohorts on three continents, external AUC ranged from **0.698 to 0.970**.
|
| 43 |
-
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
We tested whether that dependence can be anticipated from unlabelled target
|
| 47 |
images alone, using four published estimators of out-of-distribution performance
|
|
@@ -49,15 +51,17 @@ images alone, using four published estimators of out-of-distribution performance
|
|
| 49 |
thresholded confidence) and five simpler label-free signals. **None of them
|
| 50 |
predicted which cohorts the model would transfer to**, and the estimators were
|
| 51 |
systematically optimistic: mean absolute error 0.180 to 0.244 against 0.094 for
|
| 52 |
-
|
|
|
|
| 53 |
|
| 54 |
-
**Validate locally before use outside the development population.**
|
| 55 |
-
labelled target images
|
| 56 |
-
|
|
|
|
| 57 |
|
| 58 |
Further limitations: the development cohort is single-centre and retrospective,
|
| 59 |
the intolerant class has 95 images, the held-out test set contains 11
|
| 60 |
-
proliferative events, and the endpoint is an outcome-anchored proxy rather than a
|
| 61 |
per-injection refractoriness criterion.
|
| 62 |
|
| 63 |
## Licence
|
|
|
|
| 12 |
|
| 13 |
# CM-Oculomics fine-tuned weights
|
| 14 |
|
| 15 |
+
Fine-tuned DINOv2 ViT-L/14 weights (`dino_deploy.pth`) for predicting progression to
|
| 16 |
+
proliferative diabetic retinopathy during an anti-VEGF course ("anti-VEGF intolerance"
|
| 17 |
+
in the paper) from a single pretreatment colour fundus photograph.
|
| 18 |
|
| 19 |
**This is a research prototype. It is not a medical device and must not be used
|
| 20 |
to guide patient care.**
|
|
|
|
| 25 |
|---|---|
|
| 26 |
| Backbone | DINOv2 ViT-L/14 (Meta AI), Apache-2.0 |
|
| 27 |
| Input | one colour fundus photograph, 224 x 224 |
|
| 28 |
+
| Output | a model risk score in [0, 1] (not a calibrated probability: it overstates absolute risk), plus a Grad-CAM map |
|
| 29 |
+
| Training data | cross-validation folds 1-4 of a single-centre cohort (639 images, 57 intolerant; Longhua Hospital, Shanghai), early stopping on fold 0 (166 images); the held-out test split was never used |
|
| 30 |
+
| Preprocessing | identifying text burned into two cameras' images was removed outside the fundus disc before training; images are resized to 224 x 224 at inference |
|
| 31 |
| Label | progression to proliferative diabetic retinopathy after six consecutive monthly ranibizumab injections |
|
| 32 |
|
| 33 |
## Reported performance
|
| 34 |
|
| 35 |
+
- Internal, five-fold cross-validation: patient-level AUC 0.914 (95% CI 0.870-0.951), image-level 0.952 (optimistic: early stopping used the evaluated fold)
|
| 36 |
+
- Held-out test split (140 images, 11 intolerant), five-seed ensemble: image-level AUC 0.930 (0.877-0.973); at the cross-validation threshold of 0.62 sensitivity was only 0.55
|
| 37 |
- Run-to-run spread over three independent training runs: image-level 0.945 +/- 0.006
|
| 38 |
- External, zero fine-tuning, DDR (proliferative vs non-proliferative proxy): AUC 0.934
|
| 39 |
|
|
|
|
| 41 |
|
| 42 |
Performance depends strongly on the cohort. Applied without fine-tuning to seven
|
| 43 |
public cohorts on three continents, external AUC ranged from **0.698 to 0.970**.
|
| 44 |
+
It varied more between cohorts than between pretraining strategies: the mean AUC of
|
| 45 |
+
the Chinese cohorts exceeded that of the non-Chinese cohorts by 0.140, whereas the
|
| 46 |
+
pooled difference between the two backbones was 0.054 and not consistent in direction.
|
| 47 |
|
| 48 |
We tested whether that dependence can be anticipated from unlabelled target
|
| 49 |
images alone, using four published estimators of out-of-distribution performance
|
|
|
|
| 51 |
thresholded confidence) and five simpler label-free signals. **None of them
|
| 52 |
predicted which cohorts the model would transfer to**, and the estimators were
|
| 53 |
systematically optimistic: mean absolute error 0.180 to 0.244 against 0.094 for
|
| 54 |
+
a constant equal to the mean observed accuracy (which itself needs target labels).
|
| 55 |
+
The estimators were applied across a change of task and class prevalence.
|
| 56 |
|
| 57 |
+
**Validate locally before use outside the development population.** In class-balanced
|
| 58 |
+
public cohorts, 50 labelled target images bounded balanced accuracy to within +/-0.10
|
| 59 |
+
and a median of 87 (range 25-200) to within +/-0.05; a site with fewer intolerant
|
| 60 |
+
eyes will need more. Set the decision threshold on local data.
|
| 61 |
|
| 62 |
Further limitations: the development cohort is single-centre and retrospective,
|
| 63 |
the intolerant class has 95 images, the held-out test set contains 11
|
| 64 |
+
proliferative events, the photographs come from three camera set-ups, and the endpoint is an outcome-anchored proxy rather than a
|
| 65 |
per-injection refractoriness criterion.
|
| 66 |
|
| 67 |
## Licence
|