Say Rare Findings Only When the Image Supports Them: Report Generation Across Hospitals

Automated chest X-ray report writers have a vocabulary problem. A small fraction of words (such as "normal," "clear," and "no acute") makes up most of the text, so a model trained the ordinary way learns to write fluent, generic reports and rarely names uncommon findings. Recent methods fix this by pushing the model toward rare words. Every one of them is tested on held-out images from the same hospital it was trained on. We argue this fix is fragile. When the model is deployed at a new hospital, with different scanners, patients, and disease rates, its visual evidence gets weaker. At that point, a model tuned to say rare words readily will start saying them without support in the image, and it will do so exactly where a false "mass" or "pneumothorax" matters most.

We propose to split report generation into two parts. The first decides what to report: a set of per-finding probabilities. It can be trained on many hospitals' labeled images, and it can be re-adjusted to a new hospital's disease rates using only that hospital's unlabeled images. The second decides how to say it: a biomedical pretrained text generator that turns the finding list into prose and is left close to its pretrained behavior. Rare findings then appear in the text because the finding-level model supports them at this site, not because a token-frequency penalty pushes them out. The central claim is that this separation preserves rare-finding recall across hospitals while sharply cutting hallucinated rare findings, compared with end-to-end rare-token promotion.

Where the literature stands

Two recent systems motivate the proposal. TIMER observes that about 20% of vocabulary accounts for over 82% of radiology tokens. It penalizes over-frequent tokens with an unlikelihood loss, a term that lowers the probability of chosen tokens, and schedules that penalty with a reinforcement-learning controller. It reports a clinical F1 of 94.40 on IU X-RAY and rare-token F1 gains above 100% on IU X-RAY and 41% on MIMIC-CXR. JIMA handles label and token imbalance jointly with a curriculum. It first predicts entities from the image and then generates the report conditioned on those predictions, gaining about 16% BLEU-4 on both datasets. Both train and test within one benchmark. JIMA's two-stage structure is the closest precedent to our design, but it neither trains its entity stage on other sites nor adapts it to a target site. It also keeps imbalance handling inside a curriculum over the whole pipeline.

A second body of work supplies the evidence that site shift is severe and partly fixable. Pooch et al. show a DenseNet-121 trained on ChestX-ray14 falling from 0.83 internal AUC to 0.68 on CheXpert. They also show that automated report labelers carry 10–30% error. Because CheXpert and MIMIC share a labeler, part of their apparent cross-site agreement reflects shared labeling rather than visual robustness. That finding constrains our evaluation: we cannot score cross-site reports only with the same automatic labeler that produced the training labels. Tetteh et al. show that drawing equal numbers of images from each source site per batch raises leave-one-dataset-out AUC from 0.82 to 0.86 on four common pathologies. We reuse this technique inside our finding module. It was never applied to report generation or to rare findings, and report-trained end-to-end models cannot use it, because most multi-site chest X-ray datasets have labels but no reports.

Domain-specific pretraining supplies the text generator, and it also warns against heavy-handed losses. BioBART pretrains BART on PubMed and finds that one pretraining corruption, sentence shuffling, damaged biomedical discourse. Removing it gave a Rouge-L of 53.15 versus 51.05 on MeQSum. BERTHop finds that swapping BERT for the clinical BlueBERT raised the rare "Mass" AUC from 0.64 to 0.99 on OpenI. Together these suggest that a biomedical decoder already knows how to phrase rare findings, and that TIMER-style token penalties may disturb exactly the structure pretraining built. Finally, CheXpert shows that hedged labels ("cannot exclude") carry useful signal. We therefore let the finding module output three states per finding (present, uncertain, absent), and the decoder renders the uncertain state as hedged language.

Core claim and mechanism

Suppose a finding classifier trained on source sites outputs $p_s(y_k=1\mid x)$ for finding $k$, and assume the image's appearance given the finding is roughly stable across sites. The posterior at a target site with finding prevalence $\pi_t(k)$ then follows from Bayes' rule by reweighting the odds:

$$ \frac{p_t(y_k=1\mid x)}{p_t(y_k=0\mid x)} = \frac{p_s(y_k=1\mid x)}{p_s(y_k=0\mid x)}\cdot\frac{\pi_t(k)\,/\,(1-\pi_t(k))}{\pi_s(k)\,/\,(1-\pi_s(k))}, $$

Here $\pi_s(k)$ is the prevalence in the balanced source training data. The unknown $\pi_t(k)$ is estimated from unlabeled target images by alternating two steps until the estimate stops changing: adjust the posteriors with the current prevalence guess, then set the guess to the average adjusted posterior. This is standard expectation-maximization for label shift.

The site-balanced training addresses the scanner side of the shift. The prior correction addresses the disease-rate side, which end-to-end rare-token promotion silently fixes at the source hospital's values. The generator receives the adjusted finding states as a short text prefix, and it is fine-tuned with plain cross-entropy on MIMIC-CXR reports. We do not claim the stability assumption holds exactly. Measuring how far it fails under real scanner shift is part of the study.

Research Program

We will build three things. The first is a cross-hospital report-generation benchmark. The main direction trains on MIMIC-CXR reports and tests on IU X-RAY, which is English, from a different institution, and has an expert-annotated subset of 3,684 image-text pairs used by BERTHop. The finding module can additionally train on CheXpert and ChestX-ray14 labels. PadChest serves as a finding-level-only test site, because its reports are Spanish. The second is the two-part generator, with a DenseNet-121 or ViT finding module and a BioBART-Base decoder. The third is an analysis that separates three sources of cross-site error: missed visual evidence, prior mismatch, and labeler disagreement. For the third source, we compare automatic-labeler scores with scores against IU's expert annotations and CheXpert's 500-study radiologist consensus panel.

Baselines

The naive reference is a standard encoder-decoder report generator trained with cross-entropy on MIMIC-CXR and applied unchanged to IU X-RAY. It fixes the floor for both rare-finding recall and hallucination.

The strongest existing competitor is TIMER, because it is the method most directly built to raise rare-finding output. Its in-distribution clinical F1 of 94.40 on IU X-RAY and 41% rare-token F1 gain on MIMIC-CXR are the numbers to take seriously. JIMA is a second strong competitor, since its entity-then-report structure most resembles ours. For MIMIC-CXR fluency, ChestXGen ChestXGen reports BLEU-4 0.129 and METEOR 0.152. We found no reported result on Lacuna for any report generator trained on MIMIC-CXR and evaluated on IU X-RAY or another external site.

We will retrain TIMER and JIMA from their described procedures on MIMIC-CXR with the same visual backbone, the same image resolution, a matched GPU-hour budget, and the same number of hyperparameter trials tuned on a MIMIC validation split. None of the three methods sees target labels.

Beating TIMER means two things on IU X-RAY. First, rare-finding recall must be statistically indistinguishable from or higher than TIMER's, with bootstrap confidence intervals over studies. Second, the rate of asserted rare findings absent from the expert reference must be substantially lower. Both are scored against expert annotations, not only the automatic labeler. Matching in-distribution MIMIC-CXR scores within a small margin is a secondary requirement.

Ablations isolate each ingredient. We remove the prior correction, remove site-balanced multi-dataset training, swap BioBART for general-domain BART, and add TIMER's unlikelihood loss on top of our decoder. The last ablation tests whether token penalties still help once the finding plan exists, or instead hurt fluency as BioBART's findings suggest.

Why not just…?

Why not just apply balanced multi-site sampling to an end-to-end report generator with TIMER? Tetteh et al.'s sampling needs several source sites with the training target. For reports, we effectively have one large English source, MIMIC-CXR, because IU X-RAY is small and is our test site. The sampling therefore cannot be applied to the text-generating model at the scale where it helped. Our decomposition is what lets site-balanced training reach report generation, through the label-only datasets. If an end-to-end TIMER model with balanced sampling over MIMIC plus IU-train matched us on external hallucination, that would weaken the claim. We will run that comparison with IU folds held out.

Why not just use a biomedical pretrained decoder and skip imbalance handling? This is a real threat, given BERTHop's jump on "Mass" from domain pretraining alone. The general-BART-versus-BioBART ablation, combined with a no-plan BioBART baseline, measures it directly. If BioBART alone recovers rare-finding recall across sites, the finding module's contribution shrinks to hallucination control. We would report that honestly.

Why not just recalibrate thresholds on a few labeled target studies? With labeled target data, per-finding threshold tuning is simple and probably strong. We will include it as a label-using upper reference with 50 and 200 labeled IU studies. Our claim concerns the label-free case typical of first deployment. The question is how much of that labeled-calibration gain unlabeled prior estimation recovers.

Why not just use static class-weighted loss? TIMER argues that static token penalties fail because which tokens dominate depends on context. However, a static per-finding weight in a classifier is exactly the setting where static weights are well understood. We include weighted cross-entropy as the finding module's default and compare it against unweighted training.

Proposed Experiments

The decisive check is a controlled prevalence test. We resample the IU X-RAY expert-labeled test set to raise and lower the prevalence of rare findings while keeping images fixed. Our model's estimated $\pi_t$ should track the true prevalence, and its hallucination rate should stay flat. End-to-end rare-token promotion should hallucinate more as true prevalence falls. If that pattern does not appear, the core mechanism is wrong.

The second check is on PadChest, where we compare finding-level AUC and rare-finding recall for the finding module with and without prior correction. This probes whether the stability assumption survives a stronger scanner and population shift. It also quantifies how much error the correction cannot remove.

The third check addresses labeler confounding. For every system, we report rare-finding scores under the automatic labeler and under expert labels. We treat as suspect any method whose ranking flips between the two, since that pattern would suggest it is exploiting the labeler rather than the image.

Text quality (BLEU-4, METEOR, Rouge-L) on both MIMIC-CXR and IU X-RAY is reported to confirm that the plan-conditioned decoder does not buy safety with generic prose.