Chest X-ray report generators are judged by whether they get the findings right: is there a pneumothorax or not, is the effusion present, absent, or uncertain. The most widely used automatic judge of this, CheXbert, is itself a neural network. It reads a report and outputs, for each of 14 conditions, whether that condition is stated as positive, negative, uncertain, or not mentioned. Because the judge is differentiable everywhere except at the point where the generator picks discrete words, one trick can in principle let the generator learn directly from the judge's error signal. That trick is the straight-through estimator: in the forward pass it makes a hard word choice, and in the backward pass it pretends that choice was a smooth function of the word probabilities. Today the field instead treats clinical judges as black-box rewards and optimizes them with reinforcement learning, which is roughly ten times slower than ordinary training. It also either collapses into telegraphic lists or inflates length to please the judge.
We propose to train a report generator with a loss computed by a frozen CheXbert reading the generator's own free-running output, with gradients passed through the sampled words by the straight-through estimator. The proposal has two halves, and they matter equally. The first is a training method that should deliver reinforcement-learning-level clinical gains at close to supervised-training cost. The second is a built-in audit of whether optimizing a clinical metric by gradient makes reports clinically better or only teaches the generator what that metric "likes to read." To make the second question answerable, every model is scored with metrics it was not trained against.
Core Claim
The claim is that dense, condition-level gradients from a frozen clinical labeler improve clinical correctness more per unit of compute than sequence-level rewards. It further claims that these gains transfer to independent clinical metrics (RadGraph F1, RadCliQ, and a second labeler) rather than staying confined to CheXbert. If they do not transfer, the same experiment becomes a clean, quantitative demonstration that CheXbert-F1 is unsafe as a training target, which is itself useful to the evaluation community.
Where This Sits
The mechanism comes from What do Deep Networks Like to Read?. That work connected an LSTM autoencoder to a frozen text classifier through straight-through Gumbel-Softmax and fine-tuned the decoder to change the classifier's output. It was an interpretability probe, and it constrains our design as much as it supplies it. Unanchored, the generator learned to repeat polarized words ("hate hate hate") and to exploit dataset artifacts, flipping SNLI entailment predictions 70% of the time. We reuse the estimator, but move it to a multi-label clinical judge, a transformer decoder, and an alignment goal. Most importantly, we measure success with judges the generator never sees, which that work had no reason to do.
The motivating prior work optimizes clinical metrics without gradients. Improving the Factual Correctness of Radiology Report Generation with Semantic Rewards used self-critical sequence training, a policy-gradient method that rewards each sampled report with one scalar score. With RadGraph-based rewards it reported a 9.7% CheXbert-F1 gain and a 14.2% factENTNLI gain on MIMIC-CXR. It also reported 7–10 hours per epoch against 50 minutes for supervised training, and ROUGE-L fell as outputs became list-like. CheXalign scored pre-generated reports with automated judges and trained on the resulting preference pairs. This gave CheXagent-8B a 14% CheXbert gain, but the model learned to inflate length until a length-controlled judge was introduced.
Two further lines build clinical structure into the model rather than into the loss. DRRG biases a discrete diffusion model's masking toward clinical entities and adds a 14-concept predictor, reaching RadGraph-F1 0.281 and CheXpert-F1 0.549. Style-aware generation generates a discrete graph and then verbalizes it with an LLM, reaching RadGraph F1 0.228. Neither backpropagates the evaluator itself.
The label definitions come from CheXbert, which reports average F1 0.798 against a radiologist benchmark of 0.805. The held-out metrics come from RadGraph and RadCliQ. RadCliQ correlates with radiologist error counts at Kendall tau-b 0.522, and it found prior generators only 5.5% better than random retrieval.
Research Program
The generator is the image-encoder plus BERT-style decoder replicated in vilmedic. We choose it because it is the exact backbone of the reinforcement-learning baseline. The comparison then isolates the optimizer rather than the architecture.
During training the generator decodes a report freely, without being fed the reference words. At each step it selects a hard token by Gumbel-max sampling, and the straight-through estimator routes gradients to the softmax probabilities. The hard one-hot tokens multiply CheXbert's frozen embedding matrix. This keeps the judge on the manifold of real text, which avoids the off-manifold problem of feeding it averaged embeddings. The loss is
$$\mathcal{L} = \mathcal{L}_{\text{MLE}}(y^*) + \lambda \sum_{c=1}^{14} \mathrm{CE}\big(f_c(\hat y),\, f_c(y^*)\big),$$
where $y^*$ is the reference report, $\hat y$ is the generated report, and $\mathcal{L}_{\text{MLE}}$ is ordinary teacher-forced cross-entropy. The term $f_c(\cdot)$ is CheXbert's four-way distribution for condition $c$, so the target $f_c(y^*)$ is the soft label CheXbert assigns to the reference. Finally, $\lambda$ trades fluency anchoring against clinical signal.
The likelihood term is the defense against the degeneration SIFT observed. We sweep $\lambda$ to trace the trade-off curve rather than pick one point.
One engineering constraint must be settled first: the straight-through path requires the generator's vocabulary to index CheXbert's embedding table. We will use a decoder sharing CheXbert's wordpiece vocabulary, or, failing that, a fixed token-mapping matrix. We report which was used, because a learned mapping would add a channel for gaming.
Memory scales with report length times vocabulary size. For chest X-ray reports this should fit on a single GPU, and we will measure it. We also compare two gradient paths. In one, gradients flow both into the labeler and back through the decoder's own earlier predictions. In the cheaper variant, gradients reach only the labeler.
Baselines
The do-nothing reference is the supervised model trained with cross-entropy alone on the same MIMIC-CXR split. It is the starting checkpoint for every other method, and the floor any clinical loss must clear. Random retrieval from the training set is reported alongside, since RadCliQ showed published generators barely beat it.
The strongest gradient-free competitor is self-critical sequence training as in Delbrouck et al.. The reported number to beat on this backbone is the 9.7% relative CheXbert-F1 improvement. We run it twice: once with their RadGraph reward, and once with a reward equal to our CheXbert loss, so reward content is held fixed and only the optimizer differs. Both runs start from the same checkpoint, get the same hyperparameter search budget, and are compared at equal GPU-hours as well as at convergence. Beating it means matching or exceeding its CheXbert-F1 gain in a fraction of its wall-clock time. It also means doing at least as well on the held-out metrics, RadGraph F1 and RadCliQ, which neither variant trains on.
The offline-preference competitor is DPO following CheXalign. We run it with its public code, but on our backbone with CheXbert agreement as the judge, so data and judge match. CheXalign's own 14% CheXbert gain was on an 8B model and is not directly comparable; we cite it only as context.
The ablation that isolates the key ingredient is an auxiliary 14-condition classification head on the generator's hidden states, trained on reference labels, analogous to DRRG's concept module. It gives the generator clinical supervision without any gradient passing through generated text. If it matches our method, the straight-through path adds nothing.
A second ablation feeds CheXbert soft expected embeddings instead of hard straight-through tokens, testing whether on-manifold inputs matter. DRRG's 0.281 RadGraph-F1 and 0.549 CheXpert-F1 are reported as an external reference from a different architecture, not as a controlled baseline.
Why not just…?
Why not just run self-critical training with the CheXbert reward? This is the most serious alternative. A scalar reward per report may be enough when the reward has only 14 slots, so we include exactly this run with matched reward content and compute. Variance and cost argue in our favor: the 7–10 hour versus 50 minute epoch figure comes from that paper. But variance is a property of the problem, not a proof. If self-critical training matches us at equal GPU-hours, we will report that dense gradients bought nothing.
Why not just add a clinical classification head and keep cross-entropy? It is simpler, has no estimator bias, and DRRG suggests concept supervision helps. The weakness is that the head supervises internal states, not the words the model emits. A model can encode "no pneumothorax" internally and still write "pneumothorax," which is exactly the negation failure clinical metrics exist to catch. The auxiliary-head ablation settles this directly by comparing label agreement measured on the generated text.
Why not just reweight cross-entropy on clinical entity tokens? Upweighting RadGraph entity tokens, as DRRG does through its masking, is cheap and stable. It cannot express that "mild" for "small" is harmless while dropping "no" is catastrophic, because it still scores token identity against one reference phrasing. We include it as a lightweight variant of the do-nothing baseline. If it closes most of the gap, the case for the straight-through path weakens accordingly.
Why not just use preference optimization as CheXalign did? It is a proven, simple recipe. However, it learns only from reports sampled before training, and it already showed length gaming against its judge. Our run with matched judge and backbone, plus length and repetition statistics for every method, shows whether online gradients game more or less.
Decisive Checks
All methods are trained on MIMIC-CXR, scored on its test split, and scored zero-shot on Open-i for cross-institution transfer.
Three outcomes decide the proposal. The first is efficiency: straight-through training should reach the self-critical CheXbert-F1 gain in a fraction of the GPU-hours. The second is transfer: improvement in RadGraph F1 and RadCliQ should be comparable to the CheXbert improvement. We also score with a second CheXbert-style labeler retrained with a different seed and the backtranslation augmentation removed, so its exploitable quirks should differ. A gain on the training labeler that vanishes on this one is direct evidence of gaming. The third is the auxiliary-head ablation, which says whether gradients through text are what matters.
Alongside, we run the unanchored setting ($\lambda$ large, no likelihood term) as a SIFT-style audit of CheXbert. We catalogue which rewrites push its labels toward the reference while RadGraph disagrees, and have a radiologist review a sample of those cases. That catalogue is a deliverable for anyone using CheXbert-F1 as a reward.
References
- What do Deep Networks Like to Read?
- Improving the Factual Correctness of Radiology Report Generation with Semantic Rewards
- CheXalign: Preference fine-tuning in chest X-ray interpretation models without human feedback
- DRRG: A Discrete Diffusion Framework for Radiology Report Generation
- Style-Aware Radiology Report Generation with RadGraph and Few-Shot Prompting
- Combining Automatic Labelers and Expert Annotations for Accurate Radiology Report Labeling Using BERT
- RadGraph: Extracting Clinical Entities and Relations from Radiology Reports
- Evaluating progress in automatic chest X-ray radiology report generation