Skip to main navigation Skip to search Skip to main content

Category-based Galaxy Image Generation via Diffusion Models

  • Xi'an Jiaotong-Liverpool University
  • University of Illinois at Urbana-Champaign
  • Chinese University of Hong Kong

Research output: Contribution to journalArticlepeer-review

Abstract

Conventional galaxy image generation methods rely on semianalytical models and hydrodynamic simulations, which are highly dependent on physical assumptions and parameter tuning. In contrast, data-driven generative models do not have explicit physical parameters predetermined and instead learn them efficiently from observational data, making them alternative solutions to galaxy generation. Among these, diffusion models outperform variational autoencoders and generative adversarial networks in quality and diversity. Embedding generalized physical features, such as category information, further enhances their generative capabilities. In this work, we present GalCatDiff, the first framework in astronomy to leverage both galaxy image features and astrophysical properties in the network design of diffusion models. GalCatDiff incorporates an enhanced U-Net and a novel block entitled Astro-RAB (Residual Attention Block), which dynamically combines attention mechanisms with convolution operations to ensure global consistency and local feature fidelity. Moreover, GalCatDiff uses category embeddings for class-specific galaxy generation, avoiding the high computational costs of training separate models for each category. Our experimental results demonstrate that GalCatDiff significantly outperforms existing methods in terms of the consistency of sample color and size distributions, and the generated galaxies are both visually realistic and physically consistent. This framework will enhance the reliability of galaxy simulations and can potentially serve as a data augmentor to support future galaxy classification algorithm development.

Original languageEnglish
Article number268
JournalAstronomical Journal
Volume171
Issue number5
DOIs
Publication statusPublished - 1 May 2026

Cite this