TL;DR
While contrastive learning (like CLIP) dominates medical vision-language pretraining, it yields "black box" models unable to articulate findings in natural text. RadTex demonstrates that bidirectional captioning pretraining matches or surpasses state-of-the-art contrastive models in downstream diagnostic accuracy while retaining the ability to generate detailed, clinically accurate, and interactively prompted radiology reports.
What Problem Does This Paper Address?
Dual-encoder contrastive learning (e.g., ConVIRT, CheXzero) is the prevailing recipe for self-supervised representation learning from paired chest X-rays and radiology reports. While effective for learning visual embeddings, contrastive approaches cannot naturally generate descriptive narratives or explain why a particular condition was detected.
Conversely, standalone radiology report generation models often struggle with clinical accuracy or fail to transfer effectively to downstream diagnostic tasks. This paper explores whether bidirectional image captioning (bicaptioning) can act as a unifying pretraining paradigm: producing top-tier visual encoders while directly outputting interpretable diagnostic text.
Methods
The authors introduce RadTex, adapting the VirTex framework to the radiology domain:
- Encoder-Decoder Architecture: A standard ResNet-50 extracts spatial visual features ($7 \times 7 \times 2048$). These features are fed into two parallel transformer decoders: one predicting tokens forward ($w_{<t}$) and one backward ($w_{>t}$).
- Bidirectional Objective: Both decoders share a classification head and are jointly optimized by minimizing the negative log-likelihood of predicting the masked report tokens conditioned on visual features and prior/subsequent text tokens.
- Radiology-Specific Adaptations:
- Extended Context: Context length is expanded from 30 to 170 tokens to accommodate 99% of clinical Findings and Impressions sections.
- SciBERT Tokenization: Uses
scibert_scivocab_uncasedinstead of general-domain SentencePiece tokenizers. - Prior Reference Removal: Sentences referencing prior studies (e.g., using "prior" or "compar") are scrubbed using regex to curb temporal hallucinations.
- Prompted & Iterative Prompted Captioning: Beyond unprompted generation, RadTex can take a user-specified pathology prefix (e.g.,
"pleural effusion"). In Iterative Prompting, the model generates forward text, then conditions a backward pass on that generation, naturally filling in clinical modifiers that usually precede the pathology name (e.g., producing"minimal atelectasis"or"interstitial edema").
Datasets
- Pretraining:
- MS-COCO (2017 split): 118K natural images used for initial visual representation warm-up.
- MIMIC-CXR / MIMIC-CXR-JPG: 377,110 chest radiographs and paired reports.
- Downstream Evaluation:
- Pathology9: A subset of 9 MIMIC-CXR CheXpert labels used for pretraining ablation studies.
- CheXpert Competition: 224,316 chest radiographs evaluated on five competition pathologies (Atelectasis, Cardiomegaly, Consolidation, Edema, Pleural Effusion).
- Edema Severity: 7,390 images graded 0–3 for pulmonary edema, evaluated on a radiologist-consensus test set ($n = 141$).
- RSNA Pneumonia: ~30,000 frontal radiographs from NIH CXR-8 labeled for binary pneumonia detection.
Key Insights and Ideas
- Captioning Competes with Contrastive Learning: Generative captioning pretraining matches or outperforms specialized contrastive models (including ViT-based architectures like CheXzero and BiomedCLIP) on linear probing downstream tasks, despite using a smaller ResNet-50 visual encoder (23.5M vs. 87.9M parameters).
- The "Prior Study" Hallucination Trap: Reports frequently refer to past patient history that is impossible to discern from a single static image. Filtering out sentences with comparative phrasing cut hallucinated references from 43.0% down to 0.1% and improved downstream frozen feature classification (AUC rose from 78.7% to 79.3%).
- Iterative Prompting Captures Clinical Linguistics: Radiology findings heavily rely on preceding modifiers (e.g., "mild interstitial", "loculated"). Running backward captioning on top of forward-prompted text allows the transformer to inject accurate modifiers, boosting RadGraph clinical efficacy F1 from 0.098 to 0.112.
- Representation Learning Precedes Fluent Reporting: Tracking performance over training epochs revealed that the model's ability to classify pathologies peaks earlier than its ability to structure entities and relationships into coherent text.
Key Results
- Downstream Classification (Frozen Linear Probe):
- CheXpert Competition: RadTex achieved 89.4% AUC (100% data), outperforming CheXzero (89.0%), BiomedCLIP (83.1%), and a fully supervised baseline (85.0%).
- Data Efficiency: At 1% labeled training data on CheXpert, RadTex reached 89.2% AUC, substantially outperforming fully supervised ResNet-50 (71.9%) and BiomedCLIP (77.2%).
- Edema Severity & RSNA Pneumonia: Consistently surpassed or remained competitive with CheXzero across varying data fractions.
- Report Quality & Clinical Efficacy:
- On the MIMIC-CXR test set, RadTex Prompted attained a CheXpert macro-F1 of 0.349, outperforming specialized report generation systems including M2 Trans (0.304), R2Gen (0.276), and CXR-RePaiR (0.256).
- RadTex Iterative Prompted tied the highest CheXpert macro-F1 (0.349) and achieved the top RadGraph F1 score (0.112) among all evaluated generative models.
Limitations and Future Work
- Decoder Visual Attention Invariance: Averaged cross-attention visualizations showed that the decoder consistently attends to relevant anatomical zones (e.g., central chest and heart), but the attention map does not dynamically adjust much across different predicted words.
- Spurious Correlations: An attending radiologist noted instances where generated text linked separate pathological findings that lacked true causal clinical relationships.
- Need for Explainability Metrics: Standard NLP metrics (BLEU, BERTScore) and label extractors fail to capture whether a generated explanation is clinically sound.
- Future Work: Integrating token-level classifiers to scrub complex historical priors, and aligning RadTex visual representations directly with Large Language Models (LLMs) to enhance visual question answering and interactive dialogue.
Summary updated