[Paper Review] Spot the fake lungs: Generating Synthetic Medical Images using Neural Diffusion Models
This study explores the use of neural diffusion models for generating synthetic lung X-ray and CT images, demonstrating that fine-tuned stable diffusion models can produce images indistinguishable from real medical scans to radiologists. Despite some images being flagged as fake due to anatomical inconsistencies, a subset was correctly identified as real, indicating strong potential for medical image synthesis with diffusion models.
Generative models are becoming popular for the synthesis of medical images. Recently, neural diffusion models have demonstrated the potential to generate photo-realistic images of objects. However, their potential to generate medical images is not explored yet. In this work, we explore the possibilities of synthesis of medical images using neural diffusion models. First, we use a pre-trained DALLE2 model to generate lungs X-Ray and CT images from an input text prompt. Second, we train a stable diffusion model with 3165 X-Ray images and generate synthetic images. We evaluate the synthetic image data through a qualitative analysis where two independent radiologists label randomly chosen samples from the generated data as real, fake, or unsure. Results demonstrate that images generated with the diffusion model can translate characteristics that are otherwise very specific to certain medical conditions in chest X-Ray or CT images. Careful tuning of the model can be very promising. To the best of our knowledge, this is the first attempt to generate lungs X-Ray and CT images using neural diffusion models. This work aims to introduce a new dimension in artificial intelligence for medical imaging. Given that this is a new topic, the paper will serve as an introduction and motivation for the research community to explore the potential of diffusion models for medical image synthesis. We have released the synthetic images on https://www.kaggle.com/datasets/hazrat/awesomelungs.
Motivation & Objective
- To investigate the feasibility of using neural diffusion models for generating synthetic medical images of lungs.
- To evaluate the realism and diagnostic plausibility of generated X-ray and CT images through radiologist assessment.
- To explore the potential of diffusion models as a data augmentation tool in medical imaging, especially for rare conditions.
- To identify limitations and biases in generated data to guide future model development.
Proposed method
- Fine-tuned a stable diffusion model on a dataset of 3,165 real lung X-ray images to generate synthetic images.
- Used a pre-trained DALL-E 2 model to generate images from text prompts for comparison.
- Trained the diffusion model using a denoising autoencoder-like process, learning to reverse a forward diffusion process that adds Gaussian noise to images.
- Evaluated generated images via a qualitative assessment by two independent radiologists who classified images as real, fake, or unsure.
- Applied conditional generation techniques to guide image synthesis based on latent representations and text prompts.
- Used a two-stage process: forward diffusion (data to noise) and reverse denoising (noise to data), with neural networks learning the reverse transition.
Experimental results
Research questions
- RQ1Can neural diffusion models generate synthetic lung X-ray and CT images that are visually realistic and diagnostically plausible?
- RQ2How do radiologists distinguish between real and synthetic medical images in a blinded evaluation?
- RQ3What anatomical features in generated images are most likely to be identified as fake by radiologists?
- RQ4To what extent do generated images reflect specific pathological conditions such as pneumonia or effusions?
- RQ5What are the key limitations and biases in diffusion-generated medical images?
Key findings
- Radiologists correctly identified 14 X-ray and 3 CT images as real, indicating that some synthetic images closely resemble real medical scans.
- A significant number of CT images (17 out of 20) were labeled as fake by at least one radiologist, suggesting greater difficulty in generating realistic CT anatomy.
- The trachea appearing behind the heart shadow was a key indicator used by radiologists to identify fake X-ray images.
- Some generated images were described by radiologists as showing signs of pneumonia or effusions, indicating that the model learned to generate disease-specific features.
- The model struggled with fine anatomical details such as rib and clavicle appearance, which were frequently cited as signs of synthetic origin.
- Despite limitations, the results demonstrate that diffusion models can learn complex representations of lung pathology and generate diagnostically plausible images.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.