Galaxy classification: a deep learning approach for classifying Sloan Digital Sky Survey images

Sarvesh Gharat, Yogesh DandawateMonthly Notices of the Royal Astronomical Society 2022

TL;DR

This paper introduces a deep learning model for classifying galaxies into 10 distinct morphological classes, a significant increase from the typical 3-6 classes found in previous studies. By leveraging convolutional neural networks and a carefully curated dataset, the model achieves a promising 84.73% accuracy, enabling more detailed astronomical analysis.

What Problem Does This Paper Address?

Classifying galaxies by their morphology is crucial for understanding their formation, evolution, and internal properties. However, the sheer volume of data generated by modern sky surveys like the Sloan Digital Sky Survey (SDSS) makes manual classification by astronomers an insurmountable task. While citizen science projects like Galaxy Zoo have helped, and various automated algorithms exist, most current methods classify galaxies into a limited number of classes (typically less than 6). This paper argues that the subtle differences and minute features within galaxies necessitate a more granular classification scheme, proposing a model capable of distinguishing between 10 classes derived from an extended Hubble Tuning Fork.

Methods

The core of this work is a deep learning model built using convolutional neural networks (CNNs). The architecture is divided into two main parts:

  • Feature Extraction Model: This section employs multiple convolution layers to automatically extract high-level features from galaxy images. Convolutional layers apply filters to the input image, creating feature maps that capture patterns. Max-pooling layers are used to downsample these feature maps, reducing dimensionality and noise. A Rectified Linear Unit (ReLU) activation function is used to introduce non-linearity. After feature extraction, the maps are flattened into a 1D array.
  • Classifier Model: The flattened feature array serves as input to a classifier consisting of two dense layers with ReLU activation, followed by an output layer with 10 neurons (one for each class) using a Softmax activation function. Softmax outputs the probability of an image belonging to each class. To prevent overfitting, a dropout regularization technique is applied to the dense layers.

The model was implemented using Keras and trained on Google Collaboratory with an NVIDIA K80 GPU.

Datasets

The study utilizes data from the Sloan Digital Sky Survey (SDSS) through a Python package called astroNN. The dataset comprises 21,785 visually classified galaxy images from the Galaxy Zoo project. To ensure data quality, only images where at least 55% of volunteers agreed on a classification were selected. The original images were preprocessed by cropping to 207x207 pixels, then downscaled to 69x69 pixels using bilinear interpolation. The dataset was split into training (70%), testing (15%), and validation (15%) sets.

Key Insights and Ideas

  • The Need for Granular Classification: The paper strongly advocates for classifying galaxies into more than the typical 3-6 classes. It highlights that subtle morphological differences, often overlooked, can reveal significant insights into a galaxy's properties and evolutionary history.
  • CNNs for Automatic Feature Extraction: The study demonstrates the effectiveness of CNNs in automatically learning complex features from raw image data, eliminating the need for manual feature engineering.
  • Balancing Precision and Recall: The use of F1 scores in addition to accuracy underscores the importance of balancing false positives and false negatives, especially when dealing with fine-grained classification where misclassifications can occur between similar classes.
  • Early Stopping for Efficient Training: The implementation of early stopping during training is crucial for preventing overfitting and optimizing computational resources by halting training when validation performance plateaus.

Key Results

The proposed deep learning model achieved a test accuracy of 84.73%. The paper also reports precision, recall, and F1 scores for each of the 10 classes, with average values of 0.782, 0.760, and 0.769 respectively. The confusion matrix reveals that some classes, particularly those with subtle structural differences (e.g., different types of spirals or edge-on disks), are more prone to misclassification. The authors note that the algorithm can classify a large volume of data in under 10 minutes, a significant improvement over manual methods.

Limitations and Future Work

  • Limitations: The authors acknowledge that some classes, particularly those with very similar morphologies (e.g., classes 0, 7, 8, and 9), contribute to lower F1 scores due to higher probabilities of misclassification. They also note that a significant number of images were misclassified as class 0 (Disk, Face-on, No Spiral), suggesting this class might be a common "catch-all" for certain morphologies.
  • Future Work: The paper suggests that further research could focus on improving the classification accuracy for these more challenging classes. The code for the proposed model will be made available after publication.

Summary updated

BibTeX
@inproceedings{gharat2022galaxy,
  author = {Sarvesh Gharat and Yogesh Dandawate},
  title = {{Galaxy classification: a deep learning approach for classifying Sloan Digital Sky Survey images}},
  booktitle = {Monthly Notices of the Royal Astronomical Society},
  year = {2022},
  url = {https://openreview.net/forum?id=eI8WFI7Y5K},
}
Figure