Synthetic Lung X-ray Generation through Cross-Attention and Affinity Transformation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pi, Ruochen, Shan, Lianlei
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910867179700224
author Pi, Ruochen
Shan, Lianlei
author_facet Pi, Ruochen
Shan, Lianlei
contents Collecting and annotating medical images is a time-consuming and resource-intensive task. However, generating synthetic data through models such as Diffusion offers a cost-effective alternative. This paper introduces a new method for the automatic generation of accurate semantic masks from synthetic lung X-ray images based on a stable diffusion model trained on text-image pairs. This method uses cross-attention mapping between text and image to extend text-driven image synthesis to semantic mask generation. It employs text-guided cross-attention information to identify specific areas in an image and combines this with innovative techniques to produce high-resolution, class-differentiated pixel masks. This approach significantly reduces the costs associated with data collection and annotation. The experimental results demonstrate that segmentation models trained on synthetic data generated using the method are comparable to, and in some cases even better than, models trained on real datasets. This shows the effectiveness of the method and its potential to revolutionize medical image analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2503_07209
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Synthetic Lung X-ray Generation through Cross-Attention and Affinity Transformation
Pi, Ruochen
Shan, Lianlei
Computer Vision and Pattern Recognition
Machine Learning
Collecting and annotating medical images is a time-consuming and resource-intensive task. However, generating synthetic data through models such as Diffusion offers a cost-effective alternative. This paper introduces a new method for the automatic generation of accurate semantic masks from synthetic lung X-ray images based on a stable diffusion model trained on text-image pairs. This method uses cross-attention mapping between text and image to extend text-driven image synthesis to semantic mask generation. It employs text-guided cross-attention information to identify specific areas in an image and combines this with innovative techniques to produce high-resolution, class-differentiated pixel masks. This approach significantly reduces the costs associated with data collection and annotation. The experimental results demonstrate that segmentation models trained on synthetic data generated using the method are comparable to, and in some cases even better than, models trained on real datasets. This shows the effectiveness of the method and its potential to revolutionize medical image analysis.
title Synthetic Lung X-ray Generation through Cross-Attention and Affinity Transformation
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2503.07209