[Paper Review] Towards Galaxy Foundation Models with Hybrid Contrastive Learning
This paper proposes a hybrid contrastive learning framework that combines self-supervised representation learning with supervised pretraining on 96.5 million galaxy morphology labels from the Galaxy Zoo project (GZ-Evo v0.1). By adapting BYOL to jointly optimize contrastive and regression losses, the method achieves +6% downstream accuracy with only 750 labels, significantly outperforming standard pretraining or contrastive learning alone in low-data regimes.
New astronomical tasks are often related to earlier tasks for which labels have already been collected. We adapt the contrastive framework BYOL to leverage those labels as a pretraining task while also enforcing augmentation invariance. For large-scale pretraining, we introduce GZ-Evo v0.1, a set of 96.5M volunteer responses for 552k galaxy images plus a further 1.34M comparable unlabelled galaxies. Most of the 206 GZ-Evo answers are unknown for any given galaxy, and so our pretraining task uses a Dirichlet loss that naturally handles unknown answers. GZ-Evo pretraining, with or without hybrid learning, improves on direct training even with plentiful downstream labels (+4% accuracy with 44k labels). Our hybrid pretraining/contrastive method further improves downstream accuracy vs. pretraining or contrastive learning, especially in the low-label transfer regime (+6% accuracy with 750 labels).
Motivation & Objective
- To develop a foundation model for galaxy morphology that leverages existing, diverse citizen science labels from multiple Galaxy Zoo campaigns.
- To improve zero-shot and few-shot transfer performance in downstream galaxy morphology tasks using hybrid self-supervised and supervised pretraining.
- To address distribution shifts across Galaxy Zoo campaigns by modeling non-exchangeable volunteer responses.
- To create a scalable, general-purpose representation learning framework applicable to future, unknown galaxy morphology tasks.
- To demonstrate that combining contrastive invariance with supervised signal yields superior performance, especially under label scarcity.
Proposed method
- Adapt the BYOL contrastive learning framework to include a supervised regression loss for 206 distinct galaxy morphology tasks.
- Use a Dirichlet loss to handle missing or unknown answers in the 96.5M volunteer responses, enabling robust training on sparse labels.
- Train on GZ-Evo v0.1, a dataset of 552k labeled and 1.34M unlabeled galaxies from five telescopes and four Galaxy Zoo campaigns.
- Apply data augmentations to contrastive views while preserving supervised signal for the same image in the regression head.
- Use a shared backbone network to extract features for both contrastive and supervised objectives, sharing representations across tasks.
- Fine-tune the hybrid model on downstream tasks using limited labeled data, evaluating performance under low-shot regimes.
Experimental results
Research questions
- RQ1Can combining contrastive self-supervision with supervised pretraining on existing galaxy morphology labels improve downstream performance in new, related tasks?
- RQ2How does the hybrid approach compare to pure contrastive learning or pure supervised pretraining in low-label regimes?
- RQ3Can a Dirichlet loss effectively handle the sparsity and non-exchangeability of volunteer responses across different Galaxy Zoo campaigns?
- RQ4Does pretraining on a broad, multi-campaign dataset of galaxy morphology labels lead to more generalizable representations than task-specific pretraining?
- RQ5To what extent does the hybrid method improve few-shot transfer performance in galaxy morphology classification?
Key findings
- GZ-Evo pretraining, even without hybrid learning, improves downstream accuracy by +4% when using 44k labeled examples compared to direct training.
- The hybrid pretraining/contrastive method achieves a +6% accuracy gain over standard pretraining or contrastive learning alone when fine-tuned with only 750 labels.
- The model demonstrates strong generalization to new tasks, such as ring detection in Galaxy Zoo Rings, which was not part of the pretraining campaigns.
- The Dirichlet loss effectively handles the high sparsity of volunteer responses, where most of the 206 answers are unknown per galaxy.
- The method outperforms baseline approaches in low-label regimes, indicating strong transferability of the learned representations.
- The framework supports the creation of foundation models for galaxy morphology that can be fine-tuned for future, previously unseen tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.