Learning A Multi-Task Transformer Via Unified And Customized Instruction Tuning For Chest Radiograph Interpretation

Lijian Xu, Ziyu Ni, Xinglong Liu, Xiaosong Wang, Hongsheng Li, Shaoting Zhang

TL;DR

OmniFM-DR is a unified multi-modal transformer designed to interpret chest radiographs by treating clinical diagnosis as a multi-task instruction-following problem. By training on a massive dataset of 13.4 million instruction-ground truth pairs, the model bridges the gap between high-level report generation and pixel-level tasks like disease localization and segmentation, often outperforming state-of-the-art specialist models and producing reports that radiologists find comparable to human-written ones.

What Problem Does This Paper Address?

In a clinical setting, interpreting a chest X-ray (CXR) isn't just about picking a label; it’s a multi-step process involving identifying abnormalities, localizing them, assessing their severity, and synthesizing these findings into a coherent report.

However, most medical AI models are "single-taskers." A model might be great at classifying a disease but unable to pinpoint its location, or it might generate a report without providing the underlying visual evidence. This lack of "pixel-level" grounding limits the explainability and clinical utility of AI. Furthermore, existing multi-modal models often struggle to unify disparate tasks—like segmentation (drawing contours) and natural language generation—into a single, cohesive framework.

Methods

The authors introduce OmniFM-DR, a transformer-based model that utilizes a unified sequence-to-sequence learning paradigm.

Key technical highlights include:

  • Unified Input/Output: To handle diverse tasks, the authors convert everything into a homogeneous format. Bounding boxes for localization and polygon vertices for segmentation are transformed into discrete tokens, allowing the model to "speak" in both natural language and spatial coordinates.
  • Customized Instruction Tuning: The model is trained using specific "instructions" (e.g., "What is the level of cardiomegaly?" or "Please segment the heart"). This allows a single model to switch elegantly between different vision-centric and language-centric tasks.
  • Architecture: The system uses a ResNet-152 image encoder and a BERT language encoder. These features are fused and passed to a BART-based multi-modality module, which generates the output sequence autoregressively.
  • Evidence-Based Prompting: During report generation, the model can incorporate its own findings from classification and localization tasks as additional prompts, ensuring the final report is grounded in specific visual evidence.
Figure 1: (a) Overview performance of the proposed method OmniFM-DR on multiple datasets across multi-tasks (i.e., disease classification, localization, segmentation, and report generation). OmniFM-DR’s metrics exceed the circle indicates better performance, while being inside the circle indicates performance lower than the benchmark. (b) Training dataset DR-VQA. The attribute classification extracts disease phrases and related attributes (severity level and location) from the report. (c) Typical VQA examples of instruction set.

Datasets

The researchers compiled a massive multi-task training dataset comprising 13.4 million instruction pairs and approximately one million radiographs. They leveraged several public datasets to cover different tasks:

  • Classification & Report Generation: MIMIC-CXR, Padchest.
  • Localization: CXR-AL14, VinDr-CXR, ChestX-Det, and an in-house dataset.
  • Segmentation: CheXmask, SIIM.
  • Evaluation Benchmarks: MS-CXR, RSNA Pneumonia, JSRT, and MS-PS.

Key Insights and Ideas

  • Multi-Task Synergy: The paper demonstrates that training on pixel-level tasks (localization/segmentation) actually helps the model perform better on high-level language tasks (report generation). The spatial awareness gained from "drawing" the disease leads to more accurate descriptions.
  • Closing the Explainability Gap: By providing the "evidence" (bounding boxes and severity scores) alongside the diagnosis, the model moves away from the "black box" nature of traditional AI.
  • Human-Centric Evaluation: Beyond standard metrics like AUC or F1-score, the authors employed three experienced radiologists to perform blinded comparisons. This provides a much stronger signal of clinical utility than automated metrics alone.

Key Results

OmniFM-DR achieved superior performance across nine datasets in both direct inference and fine-tuning settings:

  • Radiologist Preference: In a blinded study of 160 cases, radiologists rated the quality of OmniFM-DR’s reports as equal to or better than human physician reports in 66% of cases.
  • Clinical Accuracy: The model showed an impressively low omission rate (1.87%) and error rate (2.24%) per report, which are remarkably close to the rates of radiologist-provided reference reports (1.25% and 2.00%, respectively).
  • SOTA Performance: In disease localization, OmniFM-DR outperformed existing visual grounding models by significant margins (7% to 25% improvement in accuracy). In segmentation, it achieved a Dice score of ~90% for heart and lung contours, matching specialized pixel-based models.

Limitations and Future Work

While powerful, the authors note several challenges:

  • Generalization: The model still faces hurdles when generalizing to entirely unseen disease categories or highly unusual instructions not covered in the training set.
  • Task Inconsistency: Occasionally, the model’s predictions across different tasks for the same image might conflict (e.g., localizing a disease in one spot but describing it elsewhere in the report).
  • Future Directions: The team plans to refine the model to improve consistency and explore even larger-scale multimodal datasets to further align the vision and language encoders. They also aim to expand the variety of biomedical data types the model can handle.

Summary updated

BibTeX
@misc{xu2023learning,
  author = {Lijian Xu and Ziyu Ni and Xinglong Liu and Xiaosong Wang and Hongsheng Li and Shaoting Zhang},
  title = {{Learning A Multi-Task Transformer Via Unified And Customized Instruction Tuning For Chest Radiograph Interpretation}},
  year = {2023},
  eprint = {2311.01092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.01092},
}
Figure