ELIXR: Towards a general purpose X-ray artificial intelligence system through alignment of large language models and radiology vision encoders
Shawn Xu, Lin Yang, Christopher Kelly, Marcin Sieniek, Timo Kohlberger, Martin Ma, Wei-Hung Weng, Attila Kiraly, Sahar Kazemzadeh, Zakkai Melamed, Jungyeon Park, Patricia Strachan, Yun Liu, Chuck Lau, Preeti Singh, Christina Chen, Mozziyar Etemadi, Sreenivasa Raju Kalidindi, Yossi Matias, Katherine Chou, Gregory S. Corrado, Shravya Shetty, Daniel Tse, Shruthi Prabhakara, Daniel Golden, Rory Pilgrim, Krish Eswaran, Andrew SellergrenarXiv2023 · DOI
ELIXR is a multimodal AI system designed to overcome the limitations of narrow, task-specific medical imaging models. By "grafting" a specialized X-ray vision encoder onto a frozen Large Language Model (PaLM 2) via a lightweight adapter, ELIXR aligns medical images with the rich semantic information found in free-text radiology reports. This approach enables state-of-the-art performance in zero-shot diagnosis, semantic search, and complex multimodal reasoning tasks, such as report quality assurance, while requiring significantly less labeled data than traditional supervised methods.
Introduction
Artificial intelligence in medical imaging has traditionally focused on narrow, highly specific tasks, such as detecting a single pathology. These models typically require massive amounts of expertly labeled data, which is both costly and time-consuming to acquire. Furthermore, such models often lack the general reasoning capabilities required for complex clinical workflows and struggle to generalize across different institutions or rare conditions. ELIXR addresses these challenges by creating a general-purpose system that leverages the reasoning power of Large Language Models (LLMs) and the wealth of existing, uncurated radiology reports.
Methodology
The core innovation of ELIXR is its "grafting" architecture, where a vision encoder is connected to a frozen LLM using a lightweight adapter. This avoids the high computational cost and potential knowledge loss associated with fine-tuning large models. The training process consists of two primary stages:
ELIXR-C: Contrastive Alignment
In the first stage, ELIXR-C uses a contrastive learning approach (similar to CLIP) to align X-ray image representations with their corresponding free-text radiology reports. This step ensures that the vision encoder learns to map medical images into a shared semantic space with medical language.
The second stage, ELIXR-B, builds upon the BLIP-2 architecture by introducing a Q-Former (Querying Transformer). This component extracts location-aware features from the X-ray and maps them into the LLM’s token space, effectively teaching the LLM (PaLM 2-S) to "see" and describe the image content.
The system was trained on over one million chest X-ray (CXR) images, primarily from the MIMIC-CXR dataset and two private datasets (IND1 and US1). Evaluation was conducted across several benchmarks, including CheXpert and ChestX-ray14 for classification, VQA-RAD for visual question answering, and the MIMIC-CXR test set for semantic search and report quality assurance.
Results and Discussion
ELIXR demonstrated remarkable performance across a variety of tasks:
Zero-Shot Classification: Achieved a mean AUC of 0.850 on CheXpert without explicit labels during training.
Data Efficiency: Matched supervised model performance using only 1% of the training data (~2,200 images), representing a 100x reduction in labeled data requirements.
Semantic Search: Achieved a 0.76 NDCG across complex queries, with perfect retrieval on tasks like identifying correctly positioned nasogastric tubes.
Multimodal Reasoning: Successfully identified inconsistencies in radiology reports with 62.5% accuracy, a task impossible for vision-only models.
Conclusion and Future Directions
ELIXR represents a significant step toward general-purpose medical AI. While it inherits some LLM limitations, such as sensitivity to prompt engineering and potential hallucinations, its versatility and data efficiency are promising. Future work will focus on expanding this "adapter" approach to other modalities (CT, Ultrasound), incorporating temporal data for longitudinal analysis, and testing on broader outpatient datasets.
Summary updated
Abstract
In this work, we present an approach, which we call Embeddings for Language/Image-aligned X-Rays, or ELIXR, that leverages a language-aligned image encoder combined or grafted onto a fixed LLM, PaLM 2, to perform a broad range of chest X-ray tasks. We train this lightweight adapter architecture using images paired with corresponding free-text radiology reports from the MIMIC-CXR dataset. ELIXR achieved state-of-the-art performance on zero-shot chest X-ray (CXR) classification (mean AUC of 0.850 across 13 findings), data-efficient CXR classification (mean AUCs of 0.893 and 0.898 across five findings (atelectasis, cardiomegaly, consolidation, pleural effusion, and pulmonary edema) for 1% (~2,200 images) and 10% (~22,000 images) training data), and semantic search (0.76 normalized discounted cumulative gain (NDCG) across nineteen queries, including perfect retrieval on twelve of them). Compared to existing data-efficient methods including supervised contrastive learning (SupCon), ELIXR required two orders of magnitude less data to reach similar performance. ELIXR also showed promise on CXR vision-language tasks, demonstrating overall accuracies of 58.7% and 62.5% on visual question answering and report quality assurance tasks, respectively. These results suggest that ELIXR is a robust and versatile approach to CXR AI.
L25: AUCs of 0.893 and 0.898 across five findings (atelectasis, cardiomegaly, consolidation, pleural effusion, and pulmonary edema) for 1% (~2,200 images) and 10% (~22,000 images) training data), and semantic search (0.76 normalized discounted cumulative gain (NDCG) across nineteen queries, including perfect retrieval on twelve of them). Compared to existing data-efficient methods including supervised contrastive learning (SupCon), ELIXR required two orders of magnitude less data to reach similar performance. ELIXR also showed promise on CXR vision-language tasks, demonstrating overall accuracies of 58.7% and 62.5% on visual question answering and report quality assurance tasks, respectively. These results suggest that ELIXR is a robust and versatile approach to CXR AI.
L557: On more challenging text-generation tasks, ELIXR-B demonstrated overall accuracies of 58.7% and 54.8% on two visual question answering (VQA) datasets, VQA-RAD (CXR-only questions) (Table 5) and MIMIC-CXR test (Table 6), as well as 62.5% on report quality assurance (QA) on
L557: On more challenging text-generation tasks, ELIXR-B demonstrated overall accuracies of 58.7% and 54.8% on two visual question answering (VQA) datasets, VQA-RAD (CXR-only questions) (Table 5) and MIMIC-CXR test (Table 6), as well as 62.5% on report quality assurance (QA) on
@misc{xu2023elixr,
author = {Shawn Xu and Lin Yang and Christopher Kelly and Marcin Sieniek and Timo Kohlberger and Martin Ma and Wei-Hung Weng and Attila Kiraly and Sahar Kazemzadeh and Zakkai Melamed and Jungyeon Park and Patricia Strachan and Yun Liu and Chuck Lau and Preeti Singh and Christina Chen and Mozziyar Etemadi and Sreenivasa Raju Kalidindi and Yossi Matias and Katherine Chou and Gregory S. Corrado and Shravya Shetty and Daniel Tse and Shruthi Prabhakara and Daniel Golden and Rory Pilgrim and Krish Eswaran and Andrew Sellergren},
title = {{ELIXR: Towards a general purpose X-ray artificial intelligence system through alignment of large language models and radiology vision encoders}},
year = {2023},
eprint = {2308.01317},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2308.01317},
}