Hidden stratification causes clinically meaningful failures in machine learning for medical imaging
Paper · 2020 · Luke Oakden‐Rayner, Jared Dunnmon, Gustavo Carneiro et al.
Summary
A medical image classifier can perform well overall while failing on the cases for which accurate recognition matters most. This paper examines how that happens when a diagnostic label combines clinically different kinds of cases. A category such as hip fracture or pneumothorax may contain common and rare presentations, conspicuous and subtle findings, or patients who have already received treatment and patients who have not. If these distinctions are absent from the evaluation labels, a reassuring overall score can conceal a dangerous pattern of mistakes. The authors call this problem hidden stratification: meaningful subdivisions exist in the data, but the labels used for training and evaluation do not identify them.
The paper investigates this problem through medical radiographs and compares several ways of finding it. Schema completion adds clinically chosen subclass labels to evaluation data. Error auditing starts with a clinician’s inspection of incorrect predictions and looks for recurring patterns. Algorithmic measurement searches for candidate groups automatically, using differences in their error rates to direct human attention. These approaches answer related questions from different directions. The first asks whether performance differs across distinctions experts already consider important. The second asks whether the errors reveal a distinction that the original labeling scheme missed. The third asks whether the system’s learned representation can help locate such distinctions.
The clinical examples show why the distinction between overall and subclass performance matters. For hip fracture detection, the overall sensitivity was 0.981, compared with 0.900 for subtle fractures and 0.911 for cervical fractures. On MURA, a musculoskeletal radiograph dataset labeled as normal or abnormal, the aggregate ROC AUC was 0.91. Performance differed substantially within the abnormal category: the hardware subclass reached 0.98, whereas degenerative disease reached 0.76. These findings connect hidden stratification with differences in prevalence, the visibility of diagnostic features, and the quality of the original labels. They also show that a rare subclass is not necessarily difficult: hardware was relatively uncommon but visually conspicuous.
The most concerning example concerns pneumothorax, a condition evaluated in the CXR14 chest radiograph dataset. The overall ROC AUC was 0.87, but it was 0.94 for cases containing a chest drain and 0.77 for cases without one. A drain is a treatment device, so its presence supplies an easily visible clue associated with the diagnosis while also indicating that treatment has occurred. The harder subgroup therefore includes the patients whose condition has not received that treatment. Simple clustering helped expose the drain-related distinction, although it did not reliably recover every clinically relevant subdivision elsewhere. The paper’s contribution is an argument for examining the composition of errors and the clinical meaning of subclasses before treating an aggregate result as evidence of safety.
Interesting ideas
Look inside the target category. A label can be correct yet too broad for the decision that an evaluation is supposed to support. The authors do not begin by disputing whether hip fracture, abnormality, or pneumothorax are useful categories. They ask what those categories contain and whether their internal differences change the interpretation of performance. This is reusable whenever a single operational label covers cases with different mechanisms, appearances, or consequences. The practical lesson is to treat the label schema as part of the measurement design. A technically accurate score can still answer a question that is too coarse.
Add detail where performance is measured. The paper emphasizes that subclass analysis can begin with the test data, without requiring a complete relabeling of the training collection. That makes a clinically meaningful evaluation more approachable when detailed annotation is expensive. It also separates the task of discovering a weakness from the larger task of fixing it. Elsewhere, this principle supports targeted evaluation sets whose annotations are richer than the labels available during training. The extra detail serves a specific purpose: determining what a broad success rate actually includes and excludes.
Let errors suggest missing distinctions. A pre-defined schema reflects what its authors expect to matter. Error auditing introduces another source of information: the system’s actual behavior. In the chest radiograph experiment, review of incorrect predictions drew attention to pneumothorax cases without drains. This approach is useful when it is unrealistic to anticipate every important subgroup in advance. It makes the error collection a source of hypotheses about the task, rather than merely a collection of failures to count. The hypothesis still needs an explicit subclass definition and systematic measurement after it is noticed.
Separate diagnostic evidence from treatment evidence. A feature can be highly predictive because it records what clinicians have already done. The drain example shows why this distinction can change the clinical interpretation of a result. Recognition associated with a treatment device does not necessarily establish equally strong recognition of the untreated condition. The transferable idea is to ask what process produced a useful signal. In other settings, an annotation or contextual clue may arise after the event that the system is supposed to detect. Its usefulness for prediction then needs to be assessed against the intended decision.
Use automatic grouping to direct human attention. The clustering procedure does not attempt to assign clinical meaning without expert review. It searches for groups whose error rates differ, then presents those groups as candidates for inspection. This division of work is useful when an evaluator can judge examples more readily than enumerate all possible failure categories. It also sets an appropriate standard for automation: a grouping method can be valuable by making an audit more informative, even when its clusters do not correspond neatly to the categories an expert would choose.
Judge importance by consequences as well as scores. The paper does not treat every performance gap as equally urgent. Degenerative disease on MURA produces a substantial disparity, but the authors consider its immediate clinical implications less concerning than those of missed untreated pneumothoraces. That distinction is worth retaining in any application where errors have unequal costs. Finding a weak subgroup establishes a measurement problem. Understanding what happens when that subgroup is mishandled establishes its practical importance. Both questions belong in the evaluation, and neither can replace the other.
Deep dive: Hidden stratification causes clinically meaningful failures in machine learning for medical imaging
Hidden stratification in medical imaging: how broad labels conceal clinically important failures, and how targeted evaluation can expose them. · about 35 minutes to read
How Mova uses it
For Mova, a small transparent language system written in Rust, the paper offers an evaluation principle rather than a medical imaging technique to transplant directly. Its central lesson is that a broad task label can conceal differences that matter to the user. A language system may receive credit for completing a category of tasks while handling some kinds of inputs much less reliably than others. Applying the paper’s reasoning would mean making those distinctions visible in evaluation. The medical experiments do not establish which distinctions matter for Mova, and they do not demonstrate any implementation in Mova.
A concrete prospective use would be a richer evaluation schema. Mova could retain a broad task outcome while also recording the characteristics needed to interpret that outcome. The purpose would be to distinguish an overall success rate from performance on particular kinds of cases. The relevant characteristics would have to come from Mova’s actual tasks and observed errors. The paper does not justify importing medical subclasses into language processing, nor does it supply a ready-made linguistic taxonomy. What transfers is the practice of asking whether the current labels capture the variation that affects reliability.
This is especially compatible with transparency as a design aim. A readable account of how a system works does not, on its own, establish that all important kinds of input have been evaluated. The paper concerns a gap between what a score reports and what a deployment decision requires. Mova could address that gap by making the boundaries of each evaluation category explicit and showing which subdivisions have been checked. Such reporting would make an aggregate result easier to interpret because readers could see the cases it represents. This would be an application of the paper’s argument, not a result demonstrated by its experiments.
Error auditing provides another possible route. Mova’s incorrect outputs could be inspected for recurring structures that the initial evaluation categories failed to distinguish. Once a plausible pattern emerged, it could receive a clear definition and be measured across the relevant evaluation examples. The important sequence is observation, definition, and measurement. A memorable failure should not automatically become evidence of a systematic weakness. Conversely, a recurring weakness should not disappear inside a broad score merely because the original schema lacked a name for it.
The chest-drain example also suggests a question for examining useful cues: does a cue belong to the capability being evaluated, or to the process that produced the example? For Mova, this would be a design question to investigate in its own data. The paper supplies no evidence that Mova currently relies on any such correlate. Its contribution is the reasoning pattern: strong prediction can arise from an associated signal whose practical meaning differs from the intended task. A transparent system could make that investigation easier to discuss, but transparency would not remove the need to perform it.
Automatic grouping is a more conditional possibility. The paper groups medical examples using learned pre-softmax vectors. Mova would need its own justified representation before a comparable procedure could be useful. Copying the clustering settings would not establish that the resulting groups captured meaningful language distinctions. A more faithful use would preserve the purpose of the procedure: help a human evaluator locate coherent collections of errors. Whether that requires clustering, explicit annotations, or direct inspection would depend on what information Mova exposes.
These are proposed uses. The paper reports no Mova integration, and there is no basis here for claiming that these evaluation features are already built. The most concrete borrowing is a standard for evidence: report what an overall result covers, investigate meaningful subdivisions, and distinguish a demonstrated weakness from a hypothesis about why it occurs.
The problem and its context
A diagnosis is not a visually uniform category
Medical images contain more information than the labels commonly assigned to them. A label may identify a disease while leaving its location, appearance, severity, or treatment status unspecified. For a human reader, those omitted distinctions can be central to interpreting the image. For an evaluation organized around the broad disease label, they may be invisible.
The authors illustrate this with lung cancer. The same broad category can include solid and subsolid tumors, as well as tumors in central and peripheral locations. These are not simply alternative names for an identical visual pattern. They describe different ways a diagnosis can appear. If the evaluation records only the broad category, it cannot directly reveal whether performance depends on these distinctions.
Hidden stratification arises when such meaningful variation is unrecognized in the labeling scheme. The word “hidden” concerns the relationship between the data and its annotations. The distinctions may be familiar to clinicians and visible in the images while remaining absent from the categories used in an experiment. A dataset can therefore contain the evidence needed to identify a clinically important subgroup without recording that subgroup explicitly.
This matters because a diagnostic category is often used as if it defines a single performance problem. In practice, recognizing its most conspicuous manifestations may require different evidence from recognizing its subtle manifestations. A classifier can succeed on the former frequently enough to achieve a strong overall score while remaining unreliable on the latter. The broad label makes those outcomes look like variation within a single task, even when the variation has a clear clinical structure.
The paper therefore challenges the sufficiency of the schema, meaning the set of labels used to describe the data. It does not argue that broad labels should never be used. It argues that they may be inadequate for evaluating the decisions a medical system is expected to support.
Why an independent test set can still reassure too much
A held-out test set addresses an important question: does performance extend beyond the examples used during training? The authors’ concern is that this question can be answered carefully while another remains unasked. Does the reported performance apply to every clinically important part of the test population?
If the test labels retain the same coarse categories as the training labels, an overall evaluation can reproduce the original blind spot. Common subclasses contribute heavily to the result. Smaller subclasses may have little influence on the headline measure, even when their error rate is concerning. Independence between training and testing does not make an unrecorded distinction visible.
This concern applies to the aggregate measures named in the paper, including accuracy, sensitivity, and ROC AUC. Accuracy describes correctness across evaluated cases. Sensitivity, also called recall, concerns the ability to detect cases that belong to the positive category. ROC AUC summarizes the separation between positive and negative cases across score thresholds. These measures serve different purposes, but each can be reported at a level that conceals variation within the positive category.
The clinical setting makes that omission particularly consequential. The authors invoke the general observation that more dangerous disease can be less common than milder disease. If a system performs poorly on a small but serious subgroup, counting each case equally in an overall result may provide little indication of the resulting risk. The issue is the relationship between statistical prevalence and clinical importance.
That does not mean every minority subgroup must be harder to recognize. The hardware findings on MURA demonstrate otherwise. It means that prevalence alone cannot tell an evaluator whether a subgroup is adequately measured or whether its errors are acceptable.
Strong performance and unusual mistakes can coexist
The introduction places hidden stratification within a broader concern about machine learning: systems can achieve impressive aggregate results while making mistakes that people would find surprising. The authors refer to an example in which snowy backgrounds become associated with wolves and grassy backgrounds with dogs. Such behavior can yield useful predictions within a particular collection while depending on evidence that does not match the intended category.
The medical analogue is potentially more serious because the cost of mistakes is uneven. A failure on an already treated case can have a different practical meaning from a failure on an untreated emergency. Likewise, missing a subtle but dangerous finding can matter more than missing a common, low-consequence abnormality. An overall comparison with expert performance does not resolve those differences.
The paper refers to earlier reports of medical image analysis approaching expert-level performance. It also uses earlier work on hip fracture detection and chest radiograph classification as the basis for parts of its analysis. Its intervention is to revisit what those performance claims cover. Rather than introduce a replacement diagnostic architecture, it examines whether a favorable result remains favorable when the positive class is described more precisely.
This places the work squarely within evaluation and benchmarks. The object being improved is the account of performance. Better measurement may guide later development, but the experiments primarily establish where an evaluation can fail to capture clinically important behavior.
Labels can inherit priorities from clinical practice
The MURA analysis introduces another source of hidden variation: differences in label quality within a broad category. A normal-or-abnormal label may look uniform as a data field, while its reliability depends on which abnormality is present. A conspicuous device may be recorded consistently. A finding regarded as less significant may be omitted more often.
The authors suggest that labels derived from clinical practice may inherit this pattern. Clinical communication does not necessarily aim to enumerate every visual finding with equal completeness. Findings judged unimportant can receive less attention. When such records are used to construct broad training labels, the omissions can become uneven supervision.
This creates a distinction between absence from an annotation and absence from an image. If a subclass is inconsistently represented in the positive labels, its visual evidence may not be learned or assessed as reliably as that of another subclass. A broad category can consequently contain both well-supervised and poorly supervised types of abnormality.
The paper draws on an earlier radiologist review of public medical image datasets to examine this issue. That review supplied subclass information used in the MURA investigation and informed the audit of chest radiograph errors. The present study brings these concerns together under hidden stratification, linking label quality to prevalence, visual subtlety, and spurious correlations.
The missing unit of evaluation
The paper’s recurring question is what unit should receive a performance claim. A disease label is convenient and frequently clinically recognizable, but it may be too broad to support a particular conclusion about safety. A subclass can be a more informative unit when its members share a diagnostic challenge or a consequence of failure.
There is no suggestion that every image needs an unlimited description before evaluation can begin. The authors explicitly recognize the burden of exhaustive annotation. Their approach is to compare ways of uncovering enough internal structure to detect important weaknesses.
This makes hidden stratification both a data-description problem and a performance-measurement problem. The schema determines which distinctions can be reported directly. The evaluation determines whether behavior differs across those distinctions. Clinical judgment determines whether the differences matter. None of these functions can be replaced simply by improving the aggregate score.
The method, step by step
Begin with the broad class and the intended clinical question
The authors study existing diagnostic categories and ask whether their internal composition changes the meaning of the reported result. The broad category is called a superclass. A subclass is a subset within it, defined by a characteristic such as fracture appearance, abnormality type, or the presence of a treatment device.
The superclass is the category used by the original task. The subclass supplies additional detail for evaluation. In the hip study, hip fracture is the broad target, while fracture location and description provide finer distinctions. In MURA, the broad abnormal category includes hardware and degenerative disease. In CXR14, pneumothorax cases can be divided according to whether a chest drain is visible.
The procedure is therefore not ordinary evaluation across the original labels. It is an investigation of variation inside those labels. That distinction matters because a system can classify the superclass reasonably well while distributing its errors unevenly among its subclasses.
The methods share an evaluation goal but differ in how they propose the subclasses to inspect.
Revealing clinically important hidden subclasses
The steps in order.
The diagram combines the study’s routes into an overall investigation. The authors do not require every route to be applied in this sequence to every dataset. Schema completion, error auditing, and algorithmic measurement can each contribute evidence about hidden stratification.
Schema completion: define distinctions before inspecting performance
Schema completion begins with expert judgment about which distinctions the evaluation should record. A schema author chooses a richer set of categories and arranges for the relevant labels to be added to the test data.
The prospective element is important. The categories are specified as meaningful distinctions rather than selected only because a particular system performed badly on them. This can support agreement about what should be reported. The authors suggest that professional bodies could establish subclass definitions and reporting expectations, giving developers and evaluators a shared target.
The method’s strength is interpretability. If performance is measured for a named clinical subclass, a reader can understand what collection of cases the result concerns. The additional annotation also makes comparisons more reproducible than an informal statement that some errors looked difficult.
For the pelvic radiographs, a board-certified radiologist supplied labels describing fracture location and appearance. These labels enabled the authors to compare sensitivity on subtle and cervical fractures with sensitivity on the broad fracture task.
For MURA, the analysis used subclass annotations from prior radiologist review. This was partial schema completion: the additional categories made the evaluation more informative without claiming to describe every meaningful distinction in the data.
The method does not change the training task merely by adding test annotations. That is a practical feature of the proposal. An evaluator can discover a clinically relevant gap before undertaking the much larger effort of rebuilding the training collection.
Error auditing: inspect mistakes before defining the missing subclass
Error auditing reverses the starting point. Instead of first listing all clinically relevant distinctions, an expert examines outputs and looks for a recurring pattern. The pattern can then become a candidate subclass for systematic evaluation.
The CXR14 investigation followed this route. A board-certified radiologist reviewed examples that had been predicted incorrectly. False positives are cases incorrectly assigned to the positive category; false negatives are positive cases that the system failed to identify. During this review, pneumothorax cases without chest drains appeared frequently among the false negatives.
That observation generated a specific hypothesis. Perhaps the system recognized pneumothorax more effectively when a drain was present than when the disease appeared without that treatment device. The authors then obtained drain-status annotations for the pneumothorax evaluation cases and measured the relevant subclass results.
The annotation step is what turns an audit observation into an evaluable claim. A clinician’s impression that a type of error recurs is useful for discovery, but it does not establish the size of the disparity. Explicit labels make it possible to compare the groups across the test data.
Error auditing can be less burdensome than trying to enumerate every possible subclass in advance. It also responds to the behavior of the actual system. Its weakness is that the auditor must notice the pattern. A rare, consequential type of failure may be difficult to recognize if few relevant examples are encountered or if the shared feature is not visually obvious.
Interpret the suspected correlate in the clinical workflow
The drain distinction is meaningful because the feature has a role in treatment. A chest drain can be conspicuous on the image and associated with pneumothorax, but it is not the pathology itself. Its predictive usefulness may come from the care process surrounding the disease.
This changes the interpretation of successful recognition. A system that performs especially well when treatment equipment is visible may be strongest on patients whose condition has already prompted intervention. The clinically important question can instead concern patients whose disease remains untreated.
The authors identify several reasons drain-containing cases might be easier in CXR14. They are common within the pneumothorax test cases, the device has distinctive visual features, and the labels associated with these cases have higher quality. These factors can reinforce each other.
The procedure does not experimentally remove the drain or otherwise isolate its causal influence. It measures a clinically coherent performance distinction associated with drain status. That is enough to challenge the adequacy of the aggregate result, while leaving the precise contribution of each mechanism open.
Algorithmic measurement: search for candidate groups
The algorithmic route asks whether automated grouping can help find the distinctions that human annotation and auditing uncovered. The authors use k-means clustering, a method that organizes examples by their positions in a feature space.
The representation comes from a pre-softmax feature vector. This is an internal numerical representation available before the final softmax operation that turns outputs into class scores. The important methodological point is that the grouping uses a representation learned by the classifier, rather than manually supplied clinical subclass labels.
For each superclass, the authors cluster the test examples belonging to that class. The allowed cluster counts are:
k ∈ {2,3,4,5}
Here, k is the number of clusters requested from k-means. The membership symbol indicates that the authors try the values listed inside the braces. These are alternative grouping settings, not diagnostic categories supplied by clinicians.
Within each setting, the procedure considers clusters containing more than 100 examples. Among the eligible clusters, it selects a pair with the greatest difference in error rates. This produces a relatively high-error group and a relatively low-error group for that setting.
The procedure then compares the selected pairs across settings. It returns the pair whose centroids are farthest apart by Euclidean distance. A centroid is the representative center of a cluster in the feature space. The distance criterion therefore favors a high-error and low-error pair that are also separated in the learned representation.
The order of these choices matters. Error disparity identifies a candidate pair within a clustering. Distance between the centers is then used to choose among those candidate pairs. The method does not simply return the most distant groups without regard to errors.
Review what the groups actually contain
A cluster with a high error rate is not automatically a clinical subclass. Its members may share a meaningful disease presentation, an incidental image characteristic, or something that remains hard to interpret. Human review is therefore still necessary.
The authors evaluate whether the selected groups differ in the prevalence of subclasses already identified through clinical work. On CXR14, the clustering yields groups with differing proportions of drain-containing examples. That makes it potentially useful for directing an auditor toward the relevant distinction.
The MURA result is less encouraging. The same simple approach does not reliably separate the meaningful abnormalities. This shows why the feature representation matters: a clinically important distinction may not be expressed as a clean separation in the space being clustered.
The authors describe the hyper-parameters as roughly tuned. They present clustering as evidence that automatic assistance can help in some cases, rather than as a mature procedure that guarantees discovery of all important subgroups.
Train or reuse the diagnostic system as appropriate
The medical experiments use different starting points. For pelvic radiographs, the authors analyze an existing DenseNet hip-fracture classifier that had already achieved a high overall result. For MURA, they train a DenseNet-169 using the original normal-or-abnormal labels. For CXR14, they use a pretrained DenseNet-121 supplied through Zech’s reproduce-chexnet work.
These choices keep the study focused on measurement. The authors do not need a common newly proposed architecture to demonstrate the problem. Hidden stratification appears across tasks with different labels and evaluation routes.
The MURA training split contains 13,942 cases, with 714 cases reserved for testing. The broad binary labels remain the training targets. Subclass information is used to interpret evaluation results, allowing the authors to ask what the original abnormality score conceals.
For the chest task, the reused classifier follows the procedure and results of the earlier chest radiograph work cited by the authors. Its overall pneumothorax result provides continuity with that earlier evaluation, while the drain-based analysis reveals information that the overall measure omitted.
Keep measurement separate from remediation
The paper investigates how to detect a problem, not how to guarantee its correction. Adding subclass labels to a test set reveals where performance differs. Reviewing mistakes can propose an overlooked category. Clustering can help organize examples for inspection. None of these actions alone retrains the classifier to handle the difficult cases.
That separation is useful for understanding the contribution. The authors establish that a favorable headline result can coexist with clinically important weaknesses and demonstrate ways to make those weaknesses visible. A later development effort might change labels, data composition, training objectives, or the intended use. Those remedies are not compared here.
The same distinction applies to the proposed use of clustering to check schema completion. Agreement between clusters and known categories can support an audit, but it cannot prove that every omitted category has been found. The measurement remains dependent on the annotations, representations, and human judgments brought to it.
Experiments and results
Pelvic radiographs: an exceptional overall result still leaves gaps
The hip-fracture experiment concerns a pelvic radiograph collection from the Royal Adelaide Hospital. The classifier had previously reported a ROC AUC of 0.994 for hip-fracture detection. This makes it an important test of the paper’s argument: the concern is present even when the aggregate result is extremely strong.
A board-certified radiologist annotated fracture subclasses by location and description. The authors then compared sensitivity across these clinically meaningful divisions. Sensitivity here measures how effectively the system identifies fractures within the evaluated group.
Hip-fracture sensitivity on pelvic radiographs
Subtle and cervical fractures are detected less reliably than fractures overall.
The numbers
| System or setting | sensitivity |
|---|---|
| Subtle fractures | 0.900 |
| Cervical fractures | 0.911 |
| Overall fracture task (this paper) | 0.981 |
Both subclass sensitivities were significantly below the overall sensitivity, with p < 0.01. The authors connect the subtle-fracture result to less conspicuous diagnostic features and the cervical-fracture result to low subclass prevalence.
These comparisons do not show that the earlier overall evaluation was numerically incorrect. They show that it was insufficiently specific for a claim about all clinically meaningful fracture presentations. The favorable overall ROC AUC and the weaker subclass sensitivities can coexist because they describe different aspects and levels of performance.
The result also illustrates why additional test labels can be valuable without changing the trained system. The classifier is held fixed while the evaluation schema becomes more informative. The newly visible problem was already part of its behavior.
The numerical subclass distributions and complete performance tables are not available in the paper’s narrative account. The reported sensitivity comparisons support the conclusion about these subclasses, but they do not justify reconstructing their counts or the full composition of the dataset.
MURA: the abnormal category combines different learning problems
MURA supplies a broad binary distinction between normal and abnormal musculoskeletal radiographs. The authors train a DenseNet-169 on that distinction, using 13,942 training cases and 714 test cases.
Radiologist-provided subclass annotations allow the abnormal category to be examined more closely. The relevant categories include fracture, hardware, and degenerative joint disease. They differ in prevalence, visual characteristics, and the reliability with which the broad abnormal label captures them.
MURA test ROC AUC by abnormality subclass
Hardware exceeds the aggregate result, while degenerative disease falls below it.
The numbers
| System or setting | ROC AUC |
|---|---|
| Degenerative disease | 0.76 |
| Overall abnormality task | 0.91 |
| Hardware (this paper) | 0.98 |
The hardware result is instructive because the subclass has low prevalence. A simple explanation in which uncommon cases necessarily produce poor performance would predict too much. Hardware offers conspicuous visual evidence, and the observed result shows that such evidence can accompany strong discrimination despite rarity.
Degenerative disease presents a different combination. The paper describes its visual cues as subtle and its broad abnormal labels as having low sensitivity. In other words, the original positive label fails to capture some cases recognized in specialist review. The classifier is consequently trained and evaluated in a setting where the broad label does not represent all abnormality types equally well.
This requires keeping annotation quality separate from diagnostic performance. The low sensitivity of the superclass labels concerns whether the dataset’s annotations identify the subclass reliably. The reported ROC AUC concerns the classifier’s discrimination. They are related aspects of the setup, but they are not interchangeable measurements.
The authors report that the subclass ROC AUCs differ significantly from the overall task result, with p < 0.05. The narrative gives numerical AUCs for hardware and degenerative disease; it does not supply all subclass values or the full annotation-quality table.
The experiment demonstrates hidden stratification even though the added schema remains incomplete. Exhaustively describing every abnormality is unnecessary to establish that the broad category conceals meaningful differences. A partial set of clinically grounded annotations already changes the interpretation of the aggregate result.
CXR14: treatment status changes the clinical meaning of performance
CXR14 contains 112,120 frontal chest radiographs from 30,805 patients. Images carry labels for 14 thoracic conditions. The paper focuses on the pneumothorax category and evaluates a pretrained DenseNet-121 obtained through Zech’s reproduce-chexnet work.
The discovery route is error auditing. During radiologist review of incorrect predictions, pneumothorax cases lacking drains were observed often among false negatives. The authors then annotated drain status to test whether this recurring pattern corresponded to a measurable performance disparity.
CXR14 pneumothorax ROC AUC by chest-drain status
Cases without drains perform worse than the aggregate result suggests.
The numbers
| System or setting | ROC AUC |
|---|---|
| Pneumothorax without a chest drain | 0.77 |
| Overall pneumothorax task | 0.87 |
| Pneumothorax with a chest drain (this paper) | 0.94 |
The overall pneumothorax ROC AUC closely matches the earlier result cited by the authors. The subclass analysis therefore changes the clinical interpretation without requiring the headline evaluation to be disputed.
Drain-containing images make up 80% of the pneumothorax cases in the test set. The broad result is consequently measured in a collection where already-treated cases are prominent. The authors also report positive predictive values of 0.90 for the drain-containing subclass and 0.60 for the subclass without a drain. These values add information about differences associated with drain status. The account does not specify enough about their operating conditions to justify reconstructing a threshold-specific clinical workflow from them.
The central concern is that the weak subclass has a more urgent clinical interpretation. A visible drain indicates that treatment has occurred. Cases without that device include the untreated presentations that motivated the authors’ warning about clinical harm.
This does not establish an observed harmful deployment. The study evaluates retrospective images and classifier outputs. It demonstrates that a potentially consequential distinction is obscured by the broad score, creating a reason to question what that score can support.
The statistical caption accompanying the ROC comparisons reports p < 0.05 for subclass differences from the overall task. Statistical separation supports the existence of the measured disparity. Clinical interpretation supplies the further reason that this particular disparity matters.
Clustering: useful assistance in some settings
The automatic experiment applies k-means to the learned test representations and selects high-error and low-error groups using the procedure described earlier. Its success is evaluated by examining how known subclasses are distributed across the selected groups.
On CXR14, the selected clusters differ in their proportions of drain-containing cases. That is useful because drain status had already emerged as a meaningful distinction through expert auditing. The clustering can therefore direct attention toward a feature that helps explain the performance pattern.
On MURA, the same approach does not consistently provide a meaningful separation. The result limits the claim that a simple unsupervised method can expose hidden subclasses automatically. A clinically relevant category need not become a distinct cluster in the chosen representation.
The paper refers to a table reporting subclass prevalence in the selected groups, but the numerical entries are not stated in its narrative account. The supported result is therefore qualitative: clustering exposes useful structure in the chest task and fails to do so reliably in MURA.
The clustering experiment is not a comparison against a broad collection of alternative discovery methods. Nor does it establish that automatic grouping matches the completeness of expert annotation. It is a demonstration that even a simple method can sometimes reduce the search burden for a human auditor.
What serves as the comparison
The main comparisons are within a diagnostic task. Subclass performance is compared with the overall result, and different clinically defined subclasses are compared with one another. The clustering analysis compares the composition of selected groups with known subclass annotations.
There is no newly proposed diagnostic classifier presented as a superior replacement across all tasks. The best-performing categories in the charts identify the strongest measured results within those comparisons. They are not new interventions introduced to improve treatment or recognition.
That structure matters for reading the paper. Its evidence concerns a weakness in aggregate evaluation, not a leaderboard gain. The practical outcome is a more precise description of where a system succeeds and where its apparent competence is less dependable.
What the ablations show
The paper does not report a conventional component-removal ablation study; it offers subclass comparisons, expert audits, and a clustering analysis that probe possible sources of hidden stratification.
Rarity contributes to the hypothesis but does not explain every result
The hip-fracture analysis supports concern about low-prevalence subclasses. Cervical fractures have lower sensitivity than the overall fracture task. The authors interpret this as evidence consistent with rarity contributing to weaker recognition.
The hardware finding on MURA prevents that observation from becoming a universal rule. Hardware is relatively uncommon, yet its ROC AUC exceeds the aggregate abnormality result. Its conspicuous appearance offers a plausible reason that a small subclass can still be easy to distinguish.
These are observational comparisons, not an experiment that varies subclass prevalence while keeping everything else fixed. The study does not establish how much additional training data would change cervical-fracture performance, nor does it isolate prevalence from appearance and label quality.
What the comparison shows is the need for a joint account. A subclass’s frequency is relevant, but frequency alone does not determine its difficulty. The useful evaluation question is which characteristics occur together in the weak subgroup.
Visual subtlety appears in different diagnostic settings
Subtle fractures and degenerative disease both support the authors’ concern about less conspicuous discriminative evidence. Their lower results occur in different tasks and with different broad labels, suggesting that the issue is not confined to a single diagnostic category.
Even so, visual subtlety is not manipulated directly. The authors do not construct matched images in which only the visibility of a finding changes. They use clinically meaningful subclasses whose appearances differ in ways relevant to diagnosis.
That makes the evidence clinically grounded while limiting causal precision. The study can show that difficult visual presentations are associated with weaker performance. It cannot assign an independent contribution to subtlety after removing all other differences between the cases.
This is an important distinction because the paper’s proposed contributors can overlap. A subtle finding may also be underrepresented or inconsistently labeled. Hidden stratification names the resulting concealed performance pattern; it does not by itself identify a single exclusive cause.
Label quality is uneven within a shared target
MURA shows why the broad abnormal label should not be treated as equally reliable for every subclass. The specialist review finds differences in how well those labels capture the underlying abnormalities. Degenerative disease combines low label sensitivity with weak classifier discrimination.
The comparison offers a plausible route from annotation practice to performance disparity. If some genuine subclass members are omitted from the broad positive category, the training signal for that subclass becomes less dependable. The same nominal target can therefore represent different levels of supervision.
The paper does not retrain with corrected subclass labels and compare the resulting diagnostic performance. Such an experiment would address how much of the weakness could be repaired through annotation changes. The current analysis establishes the coexistence of uneven label quality and uneven performance, with a clinically plausible relationship between them.
For a reader, the reusable lesson is that label noise need not be uniform. Inspecting only a dataset-wide estimate of annotation reliability could conceal the very variation that matters for a difficult subclass.
The drain comparison tests clinical relevance without isolating causation
The chest experiment is especially informative because the subclass definition has a clear interpretation outside the score. Drain status distinguishes images containing a treatment device from images without it. The high and low subclass results therefore connect prediction behavior to a stage in the care process.
However, the comparison does not hold all other case properties constant. Cases with drains may differ from cases without them in prevalence, label reliability, disease appearance, and other unmeasured respects. The authors themselves describe several contributing factors.
There is no intervention in which drains are removed from otherwise identical images, and no retraining comparison that eliminates access to treatment cues. The study therefore supports concern about a spurious correlate without measuring its isolated causal effect.
This limit does not erase the clinical finding. Even if several mechanisms produce the disparity, the system still performs less well on the clinically concerning subclass than the overall result suggests. Measurement of that disparity is the paper’s central purpose.
The clustering contrast probes the representation
CXR14 and MURA provide a comparison of what the chosen feature space makes accessible. The same broad search procedure reveals useful drain-related structure in the chest task but does not reliably reveal the relevant structure in MURA.
This suggests a limitation of representation-based auditing. An automatic grouping can only organize examples according to differences expressed in its input representation. A classifier may perform poorly on a meaningful subclass without representing that subclass as a compact, distinct group.
The paper’s unsuccessful case is therefore part of the result. It prevents the automatic method from being read as a general solution and motivates retaining clinical annotation and error review.
The roughly tuned hyper-parameters introduce additional uncertainty. The study does not establish whether a more extensive search would fix the MURA separation or introduce different problems. Its evidence supports selective usefulness, not dependable completeness.
Discovery and confirmation remain different activities
Schema completion begins with a pre-defined distinction. Error auditing and clustering are discovery procedures: they use observed behavior to suggest what should be measured.
The chest analysis moves from a discovered pattern to explicit annotations and subclass results. This gives the initial observation more structure than an informal error collection. It does not make the subclass a prospectively registered evaluation target.
The paper does not report confirmation of the audit-discovered distinction on an additional independent evaluation collection. A careful reading therefore treats the result as a well-motivated retrospective analysis. Its clinical coherence makes it compelling, while its discovery process remains part of the evidential context.
Limitations
The authors’ stated limits of schema completion
Schema completion depends on the knowledge and priorities of the person defining the schema. If that person omits an important distinction, adding labels for other distinctions does not protect the evaluation against the omission.
The authors also emphasize the practical burden. Medical cases can be subdivided by diagnosis, demographics, clinical context, and descriptive features. Attempting to annotate every potentially relevant combination can become prohibitively demanding.
The schema can also become outdated. New treatments can introduce new visual artifacts, and unfamiliar pathologies can create cases outside earlier expectations. A detailed evaluation scheme is therefore not permanently complete merely because experts agreed on it at one point.
These are limits the authors state directly. They support treating schema completion as a valuable method with a defined scope, rather than as a certification that hidden stratification has been eliminated.
The authors’ stated limits of error auditing
Auditing relies on an expert recognizing structure in the outputs. It can only reveal patterns that the inspection makes visible and the auditor notices.
Low-prevalence but clinically consequential failures are a particular concern. An auditor may encounter too few examples to recognize the commonality, even when those examples have very different predictions from the broad task.
The method is also non-exhaustive. Finding an important weakness does not establish that all important weaknesses have been found. An audit can improve understanding while leaving uncertainty about the unexamined remainder.
These limits follow from the method’s strength. By focusing on observed errors, auditing avoids an exhaustive prior taxonomy. It also inherits the incompleteness of a search guided by a finite collection of examples and human attention.
The authors’ stated limits of algorithmic measurement
The clustering approach depends on whether the relevant subclass can be separated in the feature space used for analysis. This is a substantive constraint, not just a matter of choosing a convenient algorithm.
The MURA outcome demonstrates the constraint directly. A meaningful performance problem exists, but the simple grouping procedure does not consistently reveal it.
Human review remains necessary because automatic groups do not arrive with established clinical meaning. The grouping can make an investigation easier; it cannot supply the clinical judgment that determines whether a distinction matters.
The authors also acknowledge that the clustering settings were only coarsely tuned. They regard improvement as possible, but the study does not establish an optimized procedure or a reliable rule for choosing those settings in new tasks.
What a careful reader should not infer about causation
The experiments identify associations among subclass characteristics, label quality, and diagnostic performance. They do not independently manipulate every proposed contributor.
Rarity, subtle appearance, inconsistent labels, and spurious correlates can occur together. A lower subclass score cannot be assigned entirely to one of these factors simply because that factor is plausible.
The drain example is strong evidence that treatment-related distinctions can matter to evaluation. It is not a complete causal account of how the classifier reaches each prediction. The study does not measure how performance would change if treatment information were absent while all other image properties remained unchanged.
This is a limitation visible in the setup instead of a reason to dismiss the findings. The paper needs to show that the hidden distinction changes the performance claim. It does not need to solve every causal question to demonstrate that the aggregate result is incomplete.
What a careful reader should not infer about clinical outcomes
The paper discusses potential harm, especially for untreated pneumothorax. It does not report a prospective clinical deployment in which those harms were measured.
No experiment follows the entire path from an image score to clinician action, treatment delay, or patient outcome. The safety concern is inferred from the clinical role of the subclass and the observed weakness in recognizing it.
That distinction matters when describing the result. The study demonstrates clinically meaningful performance disparities and explains why they could be dangerous. It does not establish a measured rate of deployment-related injury.
The authors themselves distinguish between the practical implications of the MURA and CXR14 findings. They consider degenerative disease less urgent in this context because it is rarely an unexpected major finding and rapid complications are unlikely. This reinforces the need to interpret a disparity through the task rather than attach the same severity to every numerical gap.
What the reported metrics leave unresolved
ROC AUC is useful for comparing discrimination, but it does not specify the operating threshold for a clinical workflow. A lower subclass AUC establishes weaker separation under that measure; it does not directly state the consequences of a particular decision rule.
The hip study reports sensitivity comparisons, which answer a different performance question. The study does not provide a unified threshold-based clinical analysis across all tasks.
A careful reader should therefore preserve the metric attached to each result. The hip sensitivities should not be compared numerically with the MURA or CXR14 AUCs as if they measured the same property.
The clustering procedure also selects groups using observed test errors. This is appropriate for exploratory auditing, but an especially weak selected cluster is not automatically an estimate of a fixed subgroup’s performance in a new population. The selection procedure and the clinical meaning of the resulting group both require consideration.
Breadth, generalization, and incomplete numerical detail
The paper studies several medical imaging settings, but they do not represent every imaging task or every possible hidden subclass. The evidence establishes that the problem can occur in important settings. It does not estimate how frequently it occurs across medicine.
The MURA schema is explicitly incomplete. The absence of a reported problem in an unannotated subclass therefore cannot count as evidence that the subclass is handled well.
Some of the paper’s supporting tables are referenced without numerical entries in the narrative account. This limits reconstruction of subclass counts, detailed label-quality estimates, and the magnitude of cluster enrichment. The qualitative conclusions can be discussed, but missing entries should not be inferred from captions or visual impressions.
Finally, the work does not compare remedies. It does not establish that balancing data, correcting labels, introducing subclass supervision, or changing an architecture would reliably solve the observed failures. Its strongest contribution is to clarify what needs to be measured before such interventions can be evaluated properly.
What came after
Later citations identify a wider conversation
The later citing works include On the Opportunities and Risks of Foundation Models, dated 2021. The citation establishes that the hidden-stratification paper became part of the literature referenced in a broader discussion of opportunities and risks. The title indicates a different scope from the medical radiograph experiments.
The available account does not specify which argument in that work uses hidden stratification. It therefore does not support claiming that the later paper adopted schema completion, reproduced the drain analysis, or implemented the clustering procedure. Those would be distinct forms of methodological uptake, and the citation alone does not establish them.
The conceptual connection is nonetheless clear as a question raised by the earlier work: what can a broad performance claim conceal about important parts of the population being evaluated? That question is portable beyond radiographs. Portability of the question should be distinguished from demonstrated transfer of the original experiment.
Evaluation of image understanding in another setting
A later citation appears in VLM@school — Evaluation of AI image understanding on German middle school knowledge, dated 2025. Its title identifies an evaluation setting involving image understanding and German middle-school knowledge.
The bibliographic information establishes that this work cites the hidden-stratification study. It does not describe a particular subclass analysis, report a reproduction, or explain how the citation is used. There is consequently no basis for attributing a specific hidden-stratification result to it.
As a conceptual comparison, the original paper suggests asking whether a broad image-understanding result conceals uneven performance across meaningful kinds of content. Whether the school evaluation makes that particular argument, and how it operationalizes any subdivisions, cannot be determined from the citation information.
What remains useful across these connections
The durable contribution is a standard for interpreting evaluation. A task category is not necessarily a uniform population, and a strong overall result does not establish equally strong behavior throughout it. Where failures have unequal consequences, the internal composition of the category becomes part of the evidence needed for a responsible performance claim.
The medical study makes that standard concrete. It shows how expert-defined annotations can expose a weakness, how inspection of errors can uncover a missing distinction, and how automatic grouping can sometimes assist the search. It also shows the limits of each route.
The later citations place this argument in conversations beyond the original clinical examples. They do not, by themselves, document a shared implementation or a particular experimental lineage. What the original work clearly contributes is the demand to examine which cases a score represents, which cases it obscures, and why the distinction matters.
Cite
Cite as Luke Oakden‐Rayner, Jared Dunnmon, Gustavo Carneiro and Christopher Ré. 2020. Hidden stratification causes clinically meaningful failures in machine learning for medical imaging. arXiv:1909.12475.
@misc{oakdenrayner2020hidden,
title = {{Hidden stratification causes clinically meaningful failures in machine learning for medical imaging}},
author = {Luke Oakden‐Rayner, Jared Dunnmon, Gustavo Carneiro and Christopher Ré},
year = {2020},
doi = {10.1145/3368555.3384468},
eprint = {1909.12475},
archivePrefix = {arXiv},
url = {https://doi.org/10.1145/3368555.3384468}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/rayner-2020-hidden-stratification-causes-clinically-meaningful/
References
- Andre Esteva, Alexandre Robicquet, Bharath Ramsundar, Volodymyr Kuleshov, Mark DePristo, Katherine Chou, Claire Cui, Greg Corrado, Sebastian Thrun, and Jeff Dean. A guide to deep learning in healthcare. Nature Medicine, 25(1):24, 2019. OpenAlex ↗ · Scholar ↗
- William Gale, Luke Oakden-Rayner, Gustavo Carneiro, Andrew Bradley, and Lyle Palmer. Detecting hip fractures with radiologist-level performance using deep neural networks. arXiv preprint arXiv:1711.06504, 2017. OpenAlex ↗ · Scholar ↗
- Luke Oakden-Rayner. Exploring large scale public medical image datasets. arXiv preprint arXiv:1907.12720, July 2019. OpenAlex ↗ · Scholar ↗
- Pranav Rajpurkar, Jeremy Irvin, Aarti Bagul, Daisy Ding, Tony Duan, Hershel Mehta, Brandon Yang, Kaylie Zhu, Dillon Laird, Robyn L Ball, et al. MURA: Large dataset for abnormality detection in musculoskeletal radiographs. arXiv preprint arXiv:1712.06957, 2017. OpenAlex ↗ · Scholar ↗
- Pranav Rajpurkar, Jeremy Irvin, Robyn L Ball, Kaylie Zhu, Brandon Yang, Hershel Mehta, Tony Duan, Daisy Ding, Aarti Bagul, Curtis P Langlotz, Bhavik N Patel, Kristen W Yeom, Katie Shpanskaya, Francis G Blankenberg, Jayne Seekins, Timothy J Amrhein, David A Mong, Safwan S Halabi, Evan J Zucker, Andrew Y Ng, and Matthew P Lungren. Deep learning for chest radiograph diagnosis: A retrospective comparison of the CheXNeXt algorithm to practicing radiologists. PLoS Medicine, 15(11):e1002686, November 2018. OpenAlex ↗ · Scholar ↗
- Pranav Rajpurkar, Jeremy Irvin, Kaylie Zhu, Brandon Yang, Hershel Mehta, Tony Duan, Daisy Ding, Aarti Bagul, Curtis Langlotz, Katie Shpanskaya, Matthew Lungren, and Andrew Ng. Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning. arXiv preprint arXiv:1711.05225, 2017. OpenAlex ↗ · Scholar ↗
- Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. Why should I trust you?: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1135–1144. ACM, 2016. our card
- Andrew D Selbst. Disparate impact in big data policing. Georgia Law Review, 52:109, 2017. OpenAlex ↗ · Scholar ↗
- Xiaosong Wang, Yifan Peng, Le Lu, Zhiyong Lu, Mohammadhadi Bagheri, and Ronald M Summers. Chest x-ray 8: Hospital-scale chest x-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3462–3471, 2017. OpenAlex ↗ · Scholar ↗
- John Zech. reproduce-chexnet, 2019. OpenAlex ↗ · Scholar ↗