Deep Learning-Based Segmentation Frameworks for Comprehensive Galaxy Morphology Analysis
Abstract
Understanding the morphological components of galaxies, such as spiral arms, central bars, and stellar regions, is vital for tracing their formation and evolutionary histories. This study investigates multi-label segmentation of galaxy structures using deep learning models trained on a curated subset of the Galaxy Zoo 3D dataset. The task is challenging due to severe class imbalance, overlapping morphologies, and observational artifacts. We sys tematically compare five encoder–decoder architectures: a baseline U-Net, Attention U-Net, a U-Net with class-specific decoder branches, UNet++, and our proposed Galaxy-Aware Attention UNet (GalaUNet). GalaUNet in tegrates attention gates, spatial attention, and a Global Context Block to enhance spatial feature selection and long-range contextual representation. All models were trained using a weighted Dice–Focal loss to mitigate class im balance and evaluated using the Dice coefficient and Intersection over Union (IoU). GalaUNet achieved the highest validation performance, obtaining a Dice coefficient of 0.6842 and an IoU of 0.5487, with per-class Dice scores of 0.65, 0.78, and 0.58 for stars, spiral arms, and bars, respectively. Qualitative inspection further demonstrated effective preservation of fine-grained galac tic structures. These results indicate that combining spatial attention and global contextual modeling can improve multi-label segmentation of complex galactic structures. The proposed framework provides a promising founda tion for automated galaxy morphology analysis and large-scale astronomical morphology studies.