Who Gets the History Dividend? Prior-Exam Access and Underdiagnosis in Longitudinal Chest X-ray Models

Radiologists rarely read a chest X-ray alone. When a patch of lung looks hazy, the same image could mean new pneumonia, fluid from heart failure, collapsed lung tissue, or old scarring, and the usual way to tell them apart is to pull up the patient's earlier films and ask what changed. Recent vision-language models copy this habit. They compare the current image against a prior one and gain accuracy from doing so. That gain depends on something models usually treat as a given: the patient has a usable prior exam in the same hospital system, taken in a comparable way, with a correct report. If that condition holds unevenly across patients grouped by insurance, race, sex, or age, then moving to longitudinal models could widen the gaps already documented for single-image classifiers.

This note proposes measuring that "history dividend" per patient group on MIMIC-CXR, the public chest X-ray database whose linked patient records allow exactly this analysis. The work then separates three sources of any gap: how many priors a patient has, how comparable they are, and whether errors in old reports carry forward. Finally it tests a simple training change that makes a temporal model degrade gracefully when history is missing or poor. The question matters most for the ambiguous findings where history does its real work, so the analysis concentrates there.

Core Claim

The claim is testable. A longitudinal chest X-ray model's accuracy advantage over a single-image model is not uniform across patients. The advantage tracks access to comparable prior imaging, and once a single-image model is upgraded to a temporal one, differences in that access become a main driver of subgroup underdiagnosis. Underdiagnosis here means labeling a sick patient "no finding."

If the claim holds, two things follow. First, fairness audits of temporal models must condition on history availability, or they will confuse a data-access gap with a model defect. Second, the fix is about how the model is trained to use missing or mismatched history, not about scrubbing demographic information from its features.

Three findings from prior work motivate this. Seyyed-Kalantari and colleagues showed that DenseNet-121 classifiers trained on MIMIC-CXR, CheXpert, ChestX-ray14, and their pooled 700,000-image union consistently underdiagnosed female, Black, Hispanic, young, and Medicaid-insured patients (Underdiagnosis bias). Their analysis was strictly single-encounter. BioViL-T (Learning to Exploit Temporal Structure) and DeltaNet (DeltaNet) showed that conditioning on a prior image and report improves temporal reasoning and report factuality. Neither reports any subgroup breakdown.

The two lines of work have not met. The research file lists the absence of fairness audits for longitudinal models as an open problem. It also flags a second open problem directly relevant here: acquisition differences across a timeline, such as a portable bedside image taken front-to-back versus a standing image taken back-to-front, create visual differences that are not disease.

Two results constrain the design. Bernhardt and colleagues (Investigating underdiagnosis) showed two things about CheXpert. The "no finding" label has an F1 as low as 0.76 against the report text. Its prevalence also differs sharply by group, for example 7–9% in women over 40 versus 14–21% in women under 40. Under a single global threshold, these prevalence differences alone produce unequal false-positive rates, even for an unbiased model. Any disparity we report must therefore be measured with prevalence held fixed.

The shortcut-testing work (ShorT) showed that a model encoding a demographic attribute is not the same as the model using it. In dermatology, unfairness persisted after age information was removed. That result anticipates our hypothesis: some disparities live in the inputs available to the model, not in shortcut features.

The proposal deliberately leaves out host-response blood tests. The 45-gene expression panel of Ross et al. (host response strategies) and the TRAIL/IP-10/CRP protein panel of Oved et al. (host-proteome signature) are the strongest tools for separating bacterial from viral illness. However, they were validated in single-region cohorts at one time point, and no public dataset in the file pairs them with serial imaging and demographics. Joining them in would mean collecting new data rather than doing analysis. We return to this as a follow-on only.

Research Program

The first component is a history census of MIMIC-CXR (MIMIC-CXR). The database holds 377,110 images from 227,827 studies of 65,240 patients, with race/ethnicity, sex, age, and insurance type. For every study we record four things: the number of earlier studies for that patient, the time since the most recent one, whether the view of the prior matches the current view, and whether the prior report mentions the finding in question. We then describe how these quantities distribute across insurance, race, sex, and age groups.

This step is descriptive, but it is the precondition for everything else. If history access turns out to be equal across groups, the core claim is weakened at the outset and the program shifts to testing whether old-report errors carry forward, described below.

The second component is a paired comparison on identical studies. We train a single-image classifier and a temporal model on the same patient-level splits. The single-image model follows the DenseNet-121 recipe of Seyyed-Kalantari et al. The temporal model follows the BioViL-T design: a ResNet-50 image encoder followed by a transformer that attends across the current and prior image, with the prior report as a text prompt.

We evaluate both on the same test studies. For each patient group we compute the underdiagnosis rate, defined as the false-positive rate of the "no finding" label. We also report per-finding AUC. The history dividend for a group is the temporal model's improvement over the single-image model on that group's studies.

To respect Bernhardt et al.'s constraint, we report disparities at matched prevalence by reweighting test sets so that each group has the same "no finding" rate. We also report per-group calibration curves, so that threshold effects are visible.

The third component is a decomposition by intervention. Temporal models accept the prior as an input, so we can change the input directly. For each test study with history we run four conditions on the same trained model. In the first, we delete the prior entirely. In the second, we replace the prior with the patient's most view-mismatched earlier image. In the third, we replace it with the most recent same-view earlier image. In the fourth, we edit the prior report to remove a mention of the current finding, which simulates a missed finding in the old read.

The resulting changes in accuracy and underdiagnosis tell us how much of the dividend each history property carries. We then ask whether the between-group dividend gap shrinks once the groups are matched on these properties. The matching uses the census variables: prior count, recency, and view match.

The third condition, the edited report, tests a mechanism the file hints at but nobody has measured. DeltaNet built a text gate specifically to stop outdated findings from carrying forward. If old reports underdiagnose some groups more often, as Seyyed-Kalantari et al. suggest happens even with human labels, then a model trusting the prior report inherits that error. We measure how often a "normal" prior anchors a current "normal" prediction when the current label is abnormal, broken down by group.

The fourth component is a mitigation. During training we randomly hide the prior. We also replace it with a mismatched-view prior at rates drawn from the history distribution of the least-served group rather than the overall average. Each prior also carries a short token describing its view and its time gap.

The aim is a model that uses history when it is good and falls back to single-image behavior, rather than below it, when history is absent or poor. This is intentionally simple. The point of the program is to show whether the gap comes from history access, and if it does, whether a mitigation aimed at access closes it where demographic debiasing does not.

The ambiguity focus enters through subsetting. We repeat every analysis on studies whose reports carry CheXpert-style uncertain mentions ("possible," "cannot exclude") for the four look-alike findings: consolidation, pneumonia, atelectasis, and edema (CheXpert). On that subset, history should matter most, and so should unequal access to it.

Baselines

The do-nothing reference is the single-image DenseNet-121 classifier trained as in Seyyed-Kalantari et al. Its subgroup underdiagnosis rates define the disparity we are asking whether temporal models widen or narrow. The file gives no reported per-group number for this setup on Lacuna, so we reproduce it ourselves and confirm that we recover the qualitative ordering of groups they reported.

The strongest existing temporal method is BioViL-T. The file reports 87.7% accuracy on the MS-CXR-T paraphrase-versus-contradiction task, against roughly 78% for earlier methods. It also reports a CheXbert report-factuality score that rose from 29.3 to 35.86. We use BioViL-T's architecture and pretraining recipe, retrained on our patient-level MIMIC-CXR splits, so that it sees exactly the same data as the single-image baseline.

DeltaNet's image-difference model is a second temporal baseline. It reports a clinical-efficacy F1 of 0.406 on MIMIC-CXR report generation. We use it because its text gate is the only existing design aimed at stale prior findings, which makes it the natural competitor on the inherited-error question. For MS-CXR-T progression classification itself, the file says only that BioViL-T's zero-shot results beat earlier fully supervised models. No reported result was found on Lacuna for a specific progression accuracy number.

The demographic-debiasing baseline applies ShorT-style gradient reversal against race, sex, and insurance to the BioViL-T-style model. In ShorT's original study, gradient reversal halved an engineered age shortcut's unfairness at negligible accuracy cost.

The threshold baseline sets per-group decision thresholds on the temporal model, chosen on validation data to equalize the "no finding" false-positive rate.

All models share the same image encoder initialization, the same training studies, and the same budget of training compute and hyperparameter search. We use five random seeds and report group-level confidence intervals by bootstrapping over patients.

The key ablation separates the two ingredients of our mitigation. One version hides priors at a uniform rate. The other hides and mismatches them at the history distribution of the least-served group.

Beating the baselines has a specific meaning. The mitigated temporal model must narrow the matched-prevalence underdiagnosis gap between the best- and worst-served groups by more than gradient reversal or per-group thresholds do. Its overall "no finding" AUC must stay within the seed-to-seed spread of the unmitigated BioViL-T-style model. Its accuracy on patients without priors must be no worse than the single-image baseline.

Why not just…?

Why not just stratify the existing temporal model's results by number of priors? Simple stratification is part of the census, but on its own it is confounded. Patients with many priors are sicker and more often have a positive label. Bernhardt et al. showed that prevalence differences alone produce unequal false-positive rates. A raw breakdown by prior count would therefore mix the history effect with a prevalence effect. The intervention design avoids this by holding the patient fixed and changing only the prior. Matched-prevalence reweighting handles the remaining confounding.

Why not just apply gradient reversal against demographic attributes? ShorT itself shows when this fails: when unfairness comes from what is in the input rather than from a demographic shortcut. In its dermatology case, removing age encoding left the unfairness intact. If our hypothesis is right, gradient reversal will leave the history gap untouched, because nothing demographic is being exploited. A missing prior is just a missing prior. The debiasing baseline is included precisely so the experiment can show this. If gradient reversal closes the gap as well as our mitigation does, then the gap was a shortcut after all and our central claim is wrong.

Why not just use per-group thresholds? Seyyed-Kalantari et al. found that post-hoc threshold adjustment lowered overall diagnostic performance. Per-group thresholds also need the sensitive attribute at deployment and cannot respond to whether a given patient has a usable prior. This alternative is a real threat on the narrow metric of equalized false-positive rate, so we report it head to head. What we expect it to lose on is AUC within patients who have no history, which our mitigation targets directly.

Why not just adapt the counterfactual deconfounder for longitudinal health records? That model (FLMD) learns hidden stand-ins for unrecorded confounders from sequences of structured billing and procedure codes. It then penalizes predictions that would change under a counterfactual change in the sensitive attribute. It works on code tables rather than images. More fundamentally, it intervenes on the demographic attribute, whereas our question intervenes on the history itself. A counterfactual-fairness penalty would push predictions to look the same across groups even when one group truly has less information. That hides the data-access gap rather than measuring it. We treat it as related work rather than a baseline because no image version exists in the file.

Proposed Experiments and Decisive Checks

The first decisive check is the census together with the paired comparison. If the temporal model's history dividend is significantly smaller for Medicaid-insured patients and for the groups Seyyed-Kalantari et al. found underdiagnosed, and the matched-prevalence underdiagnosis gap is larger under the temporal model than under the single-image one, the core claim is supported. If the dividend is uniform, the claim fails cleanly and we report that.

The second check is the matching test. Among patients matched on prior count, recency, and view match, the between-group dividend gap should mostly disappear if history access is the cause. If a large gap remains after matching, the cause lies elsewhere. Candidates include differences in how disease presents or in label quality, echoing ShorT's dermatology finding. We would then investigate label quality using the 687 manually labeled MIMIC-CXR reports described by Johnson et al.

The third check is the inherited-error test. We measure how often an edited prior report that omits a finding causes the current finding to be missed, by group. We also measure how often an observed normal prior precedes a current abnormal label that the model calls normal. If both rates are higher for underserved groups, report-prompting is a pathway for carrying earlier underdiagnosis forward. We would then test whether DeltaNet's text gate reduces it.

The fourth check is the mitigation comparison described under Baselines, run both on all studies and on the uncertain-mention subset for the four look-alike findings. We expect the clearest separation on that subset.

Where demographic linkage to MS-CXR-T's 1,326 progression-labeled image pairs is possible, we report per-group progression accuracy there as well. These pairs come from the same source as MIMIC-CXR, which should make the linkage feasible. This gives a fairness reading on the one public benchmark built specifically for temporal reasoning.

The natural follow-on would collect serial host-response measurements alongside imaging in a multi-site respiratory illness cohort. It would test whether the same history-access logic applies to repeated blood tests. That requires new data and sits outside this note.