Estimating Galactic Distances From Images Using Self-supervised Representation Learning

Md Abul Hayat, Peter Harrington, George Stein, Zarija Lukic, Mustafa MustafaarXiv 2021

TL;DR

This paper introduces a self-supervised learning approach to estimate galaxy distances from their images, achieving state-of-the-art results. By pre-training on vast amounts of unlabeled galaxy images, their method significantly reduces the need for expensive spectroscopic data, outperforming fully-supervised models and requiring 2-4x less labeled data for comparable accuracy.

What Problem Does This Paper Address?

Determining the 3D positions of galaxies is crucial for understanding the universe's evolution. While spectroscopic measurements (spec-z) provide precise distances, they are time-consuming and costly, meaning most galaxies lack this data. Photometric redshifts (photo-z), estimated from galaxy images across different color bands, are a more accessible alternative. However, traditional photo-z methods often struggle with accuracy, and even advanced deep learning approaches typically require large amounts of labeled spectroscopic data. This paper tackles the challenge of improving photo-z accuracy while minimizing reliance on expensive spectroscopic labels, leveraging the abundance of unlabeled photometric data available from sky surveys.

Methods

The core of this work is a contrastive self-supervised learning framework, specifically inspired by the MoCo v2 architecture. The key idea is to train a neural network (an encoder) to learn meaningful representations of galaxy images without explicit labels. This is achieved by presenting the network with two augmented versions of the same galaxy image (a "positive pair") and teaching it to maximize the similarity between their learned representations, while simultaneously minimizing similarity with representations of other galaxies ("negative examples").

To make these representations useful for the specific task of estimating galaxy distances (redshifts), the pre-trained encoder is then "fine-tuned" on a smaller set of labeled data. The authors also introduce an application-specific data augmentation technique to account for galactic dust, which can affect the observed colors of galaxies. Standard computer vision augmentations like random rotations and cropping are also employed. The encoder network is a ResNet50, with modifications to handle the 5-channel input (ugriz passbands) of the galaxy images.

Datasets

The primary dataset used is from the Sloan Digital Sky Survey (SDSS).

  • Labeled Training Data: Approximately 400,000 galaxies with both photometric images and spectroscopic redshifts (spec-z).
  • Unlabeled Pre-training Data: Over 1 million additional galaxies with photometric images, used for the self-supervised pre-training phase.
  • Validation Data: Around 100,000 galaxies from SDSS.

The authors follow a process similar to previous work [13] to construct their labeled dataset, ensuring comparability. They also impose cuts on galactic latitude and estimated photometric redshift to curate a cleaner dataset.

Key Insights and Ideas

  • Self-supervised learning is powerful for astronomical data: The paper demonstrates that self-supervised learning can extract semantically useful visual features from galaxy images, even without explicit labels. This is a significant step towards leveraging the vast amounts of unlabeled astronomical data.
  • Reduced reliance on expensive labels: The most impactful insight is that pre-training with self-supervised learning dramatically reduces the amount of labeled data needed to achieve high accuracy. This has direct implications for future large-scale sky surveys where acquiring spectroscopic data for billions of objects is infeasible.
  • Galactic dust augmentation is crucial: Incorporating an augmentation that simulates the effect of galactic dust proves to be an important factor in improving the robustness and accuracy of the learned representations for photometric redshift estimation.
  • Similarity search reveals interesting patterns: The learned representations enable effective similarity searches, allowing the identification of galaxies with similar visual characteristics. This capability can be used for tasks beyond redshift estimation, such as anomaly detection or identifying observational artifacts.

Key Results

  • State-of-the-art performance: The fine-tuned self-supervised model, when trained on the full labeled dataset, achieves a new state-of-the-art photometric redshift estimation accuracy, outperforming previous supervised methods.
  • Improved data efficiency: For comparable accuracy, the self-supervised approach requires 2-4 times less labeled data than a fully-supervised model. This is visualized in Figure 2, showing the trade-off between labeled data percentage and accuracy.
  • Competitive with fully-supervised models: Even with a fraction of the labeled data (e.g., 2.5% to 12.5%), the fine-tuned self-supervised model achieves accuracy comparable to or better than a fully-supervised model trained on the same limited data.
  • Low prediction bias: The model exhibits a negligibly small prediction bias (∆z < 10⁻⁴), indicating that it does not systematically overestimate or underestimate redshifts.

Limitations and Future Work

  • Observational errors: The paper notes that their similarity search can identify potential observational errors or artifacts in the data, suggesting that further work could focus on automated anomaly detection.
  • Future surveys: The authors highlight the potential of their approach for upcoming large-scale sky surveys like the Vera C. Rubin Observatory and Euclid, which will generate unprecedented amounts of data. Their method offers a promising path to efficiently extract scientific insights from these future datasets.
  • Broader applications: While focused on photometric redshifts, the learned representations are semantically rich and could be applied to other tasks in galaxy morphology analysis or classification.

Summary updated

BibTeX
@misc{hayat2021estimating,
  author = {Md Abul Hayat and Peter Harrington and George Stein and Zarija Lukic and Mustafa Mustafa},
  title = {{Estimating Galactic Distances From Images Using Self-supervised Representation Learning}},
  year = {2021},
  eprint = {2101.04293},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.04293},
}
Figure