Medical imaging data: when the label is uncertain
When a label set contains an uncertain category, usability depends on three things being written down: how uncertain cases were handled, how much the experts agreed, and how far de-identification actually went; without all three, the model metrics cannot be interpreted.
On this page
A vendor delivers a chest X-ray dataset: over two hundred thousand images, fourteen observations, each labelled present, absent, or uncertain. You ask whether it can go straight into training. Your technical lead does not answer yes or no; they ask a narrower question — how do you plan to count the uncertain ones. That sounds like a detail. It is actually the pricing basis for the whole batch. Treat uncertainty as absent and the model learns to answer negative when the evidence is thin, which in a clinic is a missed finding. Treat it as present and the model alarms on healthy people. Both approaches produce handsome numbers, and they do not train the same model.
"Cannot exclude" is a label
Radiology reports rarely say present or absent outright. They say "cannot be excluded", "correlate clinically", "unchanged from prior". That phrasing is useful to a clinician because it preserves the grey zone. It is a nuisance for a labelling pipeline, because when you extract labels from free text you must decide which bucket those sentences fall into.
CheXpert makes that nuisance explicit. It contains 224,316 chest radiographs from 65,240 patients covering 14 observations; labels were extracted automatically from report text, and the extraction kept an uncertain category.[1] The significance of that step is underrated: rather than pretending uncertainty is absent, it hands uncertainty over as part of the data and lets the user decide what to do with it at training time.
That is the opposite of what a lot of commercial delivery does. In cleaning, uncertain is often rewritten as absent, on the grounds that labels should be clean. The move looks like a quality improvement. In practice it makes a clinical decision on your behalf without telling you. What arrives is fourteen observations and two hundred thousand images, apparently complete, with one whole category quietly missing.
The paper compares several treatments: uncertain as negative, uncertain as positive, ignoring uncertain cases, and self-training that assigns uncertain cases a soft label.[1] Its conclusion is not that one approach wins. Different treatments win on different observations. That is an unsatisfying answer and a more credible one than a single best practice, because it admits the trade-off exists and that the choice belongs to the user's purpose rather than to the data provider's convenience.
Three ways to count, three kinds of bias
| Treatment | Effect on the model | Acceptable when | Not acceptable when |
|---|---|---|---|
| As negative | The model leans towards absent when evidence is thin; recall on uncommon findings drops | Downstream tolerates misses and every negative gets human review | Screening, where a miss costs far more than a repeat exam |
| As positive | The model over-alarms, specificity falls, alert volume eats review capacity | You have review capacity to spare and prefer over-calling | Automated triage, where the alert queue floods and the real cases drown |
| Dropped | Training set shrinks, and not at random — the dropped cases are often the hardest | You only care about a high-confidence subset and say so explicitly | Estimating performance on the real distribution; dropping hard cases flatters you |
| Soft label or self-training | A model scores the uncertain cases and some gradient information survives | You hold an independent validation set that can catch self-reinforcement | The validation set comes from the same uncertain pool, so errors confirm themselves |
The third row is the one people skip. Dropped cases are not dropped at random: the ones where the report says "cannot exclude" are usually the blurred images, the small lesions, the ill-defined borders. Drop them and the training set becomes a set of easy cases. Test scores rise, and if the test set was cleaned by the same rule, the rise conceals itself. No dashboard will show it.
Which is why "over two hundred thousand images" says almost nothing on its own. What sets the difficulty of a batch is three ratios: what share of cases are uncertain, how evenly that share is spread across observations, and whether the category still exists in the delivered version. With none of the three known, you can only compare on image count, and image count is the least scarce thing in the batch.
A negotiation detail worth knowing: a high uncertain rate does not make data worse. It may mean the annotation was more honest. A batch where every uncertain case was rewritten as absent reports an uncertain rate of zero and a high pass rate, but it has buried the error inside the negatives, and negatives are the vast majority. That kind of batch is the hardest to catch at acceptance, because no column looks wrong.
Experts disagree with each other too
The paper does something else useful for a buyer: it has several radiologists label the same images and sets their judgments beside the model's.[1] The model comes close to radiologist performance on some observations and clearly trails on others. The comparison is interesting; the disagreement among the radiologists is more important. If two radiologists do not agree on an observation, the ceiling on that label's accuracy is already fixed.
The consequence for acceptance is direct: agreement has to be measured separately, and on your own sample. The accuracy a vendor reports is usually measured against a gold standard, and the gold standard may be one other physician's judgment. When expert disagreement is substantial, chasing higher annotation accuracy is chasing a target that does not exist. What the extra money buys is annotators converging on one particular expert, not on the truth.
A cheaper approach is stratification: draw a hundred images, have two physicians label them independently, and compute agreement per observation. High-agreement observations can be used as they are. Low-agreement ones have three routes — merge into a coarser category, down-weight during training, or leave out of this version. All three are cheaper than re-annotating, and all three are more reliable than trusting a reported accuracy.
One inference to avoid here. People conclude that if experts disagree, a slightly worse model is fine. That holds at evaluation time and fails at deployment. In deployment you face conflicts like "the model says absent, the physician wants a repeat". The rule for resolving those has to live on your side; no amount of label agreement in the data will resolve it for you.
De-identification is a separate pipeline
Compliance risk in imaging is not confined to names and ID numbers. DICOM header fields can be blanked, but text burned into the pixels cannot: the corner of an ultrasound frame, the header of a scanned document, the overlay on a fluoroscopy image. Any of these can carry a date, a name, an institution. That information is not in the metadata, so no field-level script will ever touch it.
So "de-identification completed" should be split into two questions: how far the metadata was cleaned, and whether anyone looked at the pixel layer. Most deliveries can answer only the first. That is rarely concealment; the second pipeline needs OCR plus human review, has no standard toolchain, and many teams have simply never run it.
- Ask for the header-field list: what was deleted, what was blanked, what was retained. Retained fields need a reason — exam date kept at month granularity, for instance, so time-based splitting is possible.
- Ask how pixel-level text was checked: was OCR run, on how many images, how many hits, how were they handled. Without this step, "de-identified" covers the metadata only.
- Ask about faces and body marks: face, tattoos, jewellery, lettering on gowns, names on bedside monitor screens.
- Ask whether repeat exams from the same patient were kept, and how records are linked. A hash or an internal ID decides whether you can split by patient yourself.
- Ask what the usage agreement says about redistribution, model ownership, and how de-identified data is characterised. This belongs in an annex, not in an email.
Item four bears directly on model quality. If nothing in the delivery lets you tell whether two records belong to the same patient, you cannot split by patient, only by image, and repeat exams crossing the boundary are the most common source of leakage in this domain. The more thorough the de-identification, the more likely that field was deleted, so it has to be contracted separately: it may be pseudonymised, but it may not be dropped.
Item five is usually waved through. Whether de-identification is sufficient is a technical question — whether re-identification is feasible depends on how many quasi-identifiers remain and what external data could be linked. A buyer cannot settle that; a buyer can demand the method and put the method in the annex. When no method can be written down, the phrase "de-identified" provides no assurance at all.
What this check cannot settle
The limits of the material need stating. CheXpert is a public research dataset with a defined label set, patient population and acquisition site, and the paper's experiments stay inside that distribution.[1] Its findings do not transfer directly to your hospital, your scanners, your patient mix. What transfers is method: keep uncertainty explicit, compare treatments, and use expert agreement to set a ceiling on the label. Those three things are independent of the dataset.
A second limit: the paper compares model performance across treatments. It does not say which treatment is clinically better. Clinical value depends on the relative cost of a missed finding versus an unnecessary follow-up, which is a set of business numbers that the department supplies, not the data. Any claim of the form "this treatment scores higher, therefore this batch is worth more" skips a step.
A third limit: single-site retrospective data rarely supports claims about cross-scanner generalisation. Vendor-specific acquisition parameters, post-processing and positioning habits all shift the pixel distribution, and none of that appears in the labels. A batch can pass every check you run and still fail on a different machine. Only an external validation set answers that, and the external set usually has to be bought separately.
One thing you can do today: ask for a one-page table, one row per observation, four columns — sample count for that observation, the share that is uncertain, expert agreement, and how uncertain cases were handled in the delivered version. If any column is missing, the batch can support pre-training or representation learning, but it cannot support a sentence like "our model reaches this level". The table is one page. If it can be produced, negotiate. If it cannot, nobody has done the work.
