Back to search

State University of New York at Buffalo

Synthesizing Chest X-ray Images Conditioned on Radiological Reports

Abstract

dc:description.abstract

Image synthesis has seen tremendous growth in the field of computer vision, with the increase in the capabilities of models to generate realistic images. These are often used in augmenting datasets with synthetic samples which mimics the distribution of the original data. Generally used in case of paucity of the data required for downstream tasks. Generative Adversarial Network (GAN), Variational Autoencoder (VAE) and Autoregressive based models have shown good performance in generating high quality images. Class conditioned synthesis using these architectures has been used in class-based sample generation but has a limitation on the degree of control on contextual features being captured in synthesized images other than overall class. The advent of multi-modal models transcended these limitations by making models conditioned on textual description. Textual conditioning of models allowed to capture finer contextual details and synthesize with more detailed variability using free form text. The diffusion probabilistic models defined by Markov chains of diffusion steps have shown great success in generating high-quality data but were computationally expensive. The introduction of Latent Diffusion based generative models solved the problem of heavy computations and has shown good performance in generating images with a variety of contextual features conditioned on the free-form textual description. These models are more often trained on large datasets of natural image-caption pairs and do not generalize well to medical domain based data which has structurally different distributions in contrast to that of natural images. The process to obtain a large quality dataset in order to train the models for downstream tasks is difficult due to a variety of reasons such as maintaining the data privacy of individuals as the sample may contain unique biometrics, the rare occurrence of particular symptoms resulting in an imbalanced class distribution of the dataset and also typically due to unorganized maintenance of individually generated and fragmented electronic health records. In such a scenario, having a medical domain based generative model capable of synthesizing samples with desired clinical context can alleviate this problem. The synthetic samples generated using textual description can be used in the process of domain-based data augmentation for downstream deep learning tasks. Text-conditioned synthesis can solve the issue of paucity of samples with less or rare occurring symptoms in order to create a balanced dataset with desired variety of required contextual features using text prompts. In this study, we explore expanding text-conditioned image synthesis to the medical domain by leveraging the diffusion-based model by generating chest X-rays using their associated radiology reports. To synthesize chest X-ray samples, we use the open source Vector Quantized diffusion model which is a latent diffusion-based Discrete Variational Autoencoder architecture, conditioning the discrete latent space of the VAE model with a textual description through the diffusion process. For training the model, we have used the MIMIC-CXR dataset, which is a large publicly available de-identified dataset of chest X-rays with free-text radiology reports. We train the model on the dataset in two stages. The first stage includes training VAE architecture for image-to-image translation, followed by training diffusion architecture for text-to-image synthesis. For image-to-image translation, we train the VAE in GAN based approach with a discriminator. For text-to-image translation, the diffusion part is trained to predict the latent space of the associated chest X-ray image from textual descriptions obtained from associated radiology reports. After our training process, we show that this model can generate a set of diverse high-quality chest X-ray images using textual prompts. We assess the reconstructed images quantitatively through image quality analysis.

Degree

thesis:*
Grantor dc:publisher
State University of New York at Buffalo
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Janrao, Aniket
Contributors dc:contributor
  • Ratha, Nalini
  • Engineering Science

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/10477/89488

Chain of custody

source
Harvested from
Buffalo
Base URL
ubir.buffalo.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Janrao, Aniket. Synthesizing Chest X-ray Images Conditioned on Radiological Reports. State University of New York at Buffalo, 2023. http://hdl.handle.net/10477/89488