Galaxy Morphology Classification with Counterfactual Explanation
Zhuo Cao, Lena Krieger, Hanno Scharr, Ira Assent
TL;DR
The paper addresses the interpretability gap in galaxy morphology classification by introducing an encoder–decoder augmented with an invertible flow to generate realistic counterfactual explanations. By splitting the latent space into class-dependent and class-independent components and enforcing an information bottleneck with an MMD-VAE objective, the approach learns compact, interpolable representations that enable controllable, minimal modifications across morphology classes. On Galaxy10 DECaLS with Galaxy Zoo 2 labels, the method achieves about 80% accuracy and produces high-quality counterfactuals (MSE around 0.006, SSIM around 0.96), while latent-space analyses reveal meaningful class separations and areas for data-quality assessment. The framework provides interpretable insights into which morphological features drive classifications and offers a practical tool for diagnosing model decisions and potential labeling issues in astronomical surveys.
Abstract
Galaxy morphologies play an essential role in the study of the evolution of galaxies. The determination of morphologies is laborious for a large amount of data giving rise to machine learning-based approaches. Unfortunately, most of these approaches offer no insight into how the model works and make the results difficult to understand and explain. We here propose to extend a classical encoder-decoder architecture with invertible flow, allowing us to not only obtain a good predictive performance but also provide additional information about the decision process with counterfactual explanations.
