UniChest: Conquer-and-Divide Pre-Training for Multi-Source Chest X-Ray Classification

Tianjie Dai, Ruipeng Zhang, Feng Hong, Jiangchao Yao, Ya Zhang, Yanfeng Wang

TL;DR

UniChest is a novel vision-language pre-training (VLP) framework designed to harness large-scale, multi-source chest X-ray (CXR) datasets. By employing a two-stage "Conquer-and-Divide" strategy, it successfully learns universal medical features while isolating source-specific noise, setting new state-of-the-art benchmarks for zero-shot disease diagnosis across multiple clinical datasets.

What Problem Does This Paper Address?

Vision-Language Pre-training has revolutionized medical imaging by aligning X-ray images with their corresponding radiological reports. However, most existing models are trained on single-source datasets (like MIMIC-CXR). While scaling up by pooling data from multiple hospitals or countries seems logical, it introduces source heterogeneity.

Differences in radiation equipment, imaging standards, and patient populations create distinct data distributions. The authors demonstrate that simply "blending" these sources can actually degrade performance on specific diseases because the model struggles to reconcile these conflicting patterns.

Source heterogeneity visualized via t-SNE and class distributions across datasets.

As shown in the figure above, different datasets occupy distinct regions in the feature space, and as seen below, naive multi-source training (KAD-multi) can significantly underperform compared to single-source training on certain pathologies.

Naive multi-source training often leads to inconsistent performance gains.

Methods

UniChest addresses this via a two-stage pre-training pipeline:

  1. The "Conquer" Stage: The model (ResNet-50 visual backbone and PubMedBERT text encoder) is trained on the pooled multi-source data using standard bidirectional contrastive loss and supervised cross-entropy. The goal here is to "conquer" the common medical patterns shared across all sources, such as the general appearance of a lung nodule.
  2. The "Divide" Stage: The encoders are frozen to preserve the learned universal features. The authors then introduce a Mixture of Experts Query Network (MoE-QN). A novel Source Contrastive Learning (SCL) loss is used to guide these experts, "squeezing" source-specific nuances (like imaging artifacts unique to one hospital's equipment) into separate components. This prevents interference between sources during the final diagnostic prediction.
The UniChest framework: Conquer stage for common patterns, Divide stage for source-specific expertise.

Datasets

The authors utilized a massive "Multi-CXR" pool for pre-training, totaling 685,951 images:

  • Pre-training: MIMIC-CXR, ChestX-ray14, CheXpert, and VinDr-CXR.
  • Downstream Evaluation: Shenzhen, Open-I, SIIM-ACR Pneumothorax, PadChest, and ChestX-Det10 (for lesion grounding).

Key Insights and Ideas

  • Data Quantity $\neq$ Quality: Simply adding more data from different sources can be counterproductive if the model isn't designed to handle the resulting distribution shifts.
  • Guided Specialization: The "Divide" stage isn't just a standard Mixture-of-Experts. The Source Contrastive Learning (SCL) loss is critical; it forces the model to recognize which source a sample belongs to, ensuring that experts actually specialize rather than remaining redundant.
  • Zero-Shot Prowess: One of the most striking findings is that UniChest’s zero-shot performance (evaluating on a new dataset without any further training) is often comparable to or better than other models that have been fully fine-tuned on that specific data.

Key Results

UniChest achieved significant performance gains across all major benchmarks:

  • In-domain: On ChestX-ray14, it improved the average AUC (aAUC) by 6.51% and mean Average Precision (mAP) by 10.51% over the previous state-of-the-art (KAD).
  • Zero-shot: On the Shenzhen dataset, UniChest outperformed the best baseline by 6.43% in AUC and a staggering 14.57% in AP.
  • Generalization: The radar charts below illustrate how UniChest (orange) consistently maintains a larger "area" of high performance across diverse disease categories compared to other VLP methods.
Radar charts showing UniChest's superior per-category performance on ChestX-ray14 and Open-I.

Limitations and Future Work

The authors acknowledge two primary limitations:

  1. Coarse Grounding: While UniChest can generate heatmaps to show where it's "looking," these are based on cross-attention maps and are relatively coarse. They do not yet meet the requirements for precise, pixel-level medical segmentation.
  2. Framework Exploration: While the Conquer-and-Divide philosophy proved successful, the authors suggest there is room to explore other architectural implementations of this principle beyond the specific MoE-QN design used here.

Future work will likely focus on moving toward a "universal CXR model" that integrates both high-level classification and fine-grained, pixel-perfect lesion segmentation.

Summary updated

BibTeX
@article{dai2024unichest,
  author = {Tianjie Dai and Ruipeng Zhang and Feng Hong and Jiangchao Yao and Ya Zhang and Yanfeng Wang},
  title = {{UniChest: Conquer-and-Divide Pre-Training for Multi-Source Chest X-Ray Classification}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2024},
  doi = {10.1109/tmi.2024.3381123},
}
Figure