English

AstroCLIP: A Cross-Modal Foundation Model for Galaxies

Instrumentation and Methods for Astrophysics 2024-06-17 v2 Artificial Intelligence Machine Learning

Abstract

We present AstroCLIP, a single, versatile model that can embed both galaxy images and spectra into a shared, physically meaningful latent space. These embeddings can then be used - without any model fine-tuning - for a variety of downstream tasks including (1) accurate in-modality and cross-modality semantic similarity search, (2) photometric redshift estimation, (3) galaxy property estimation from both images and spectra, and (4) morphology classification. Our approach to implementing AstroCLIP consists of two parts. First, we embed galaxy images and spectra separately by pretraining separate transformer-based image and spectrum encoders in self-supervised settings. We then align the encoders using a contrastive loss. We apply our method to spectra from the Dark Energy Spectroscopic Instrument and images from its corresponding Legacy Imaging Survey. Overall, we find remarkable performance on all downstream tasks, even relative to supervised baselines. For example, for a task like photometric redshift prediction, we find similar performance to a specifically-trained ResNet18, and for additional tasks like physical property estimation (stellar mass, age, metallicity, and sSFR), we beat this supervised baseline by 19\% in terms of R2R^2. We also compare our results to a state-of-the-art self-supervised single-modal model for galaxy images, and find that our approach outperforms this benchmark by roughly a factor of two on photometric redshift estimation and physical property prediction in terms of R2R^2, while remaining roughly in-line in terms of morphology classification. Ultimately, our approach represents the first cross-modal self-supervised model for galaxies, and the first self-supervised transformer-based architectures for galaxy images and spectra.

Keywords

Cite

@article{arxiv.2310.03024,
  title  = {AstroCLIP: A Cross-Modal Foundation Model for Galaxies},
  author = {Liam Parker and Francois Lanusse and Siavash Golkar and Leopoldo Sarra and Miles Cranmer and Alberto Bietti and Michael Eickenberg and Geraud Krawezik and Michael McCabe and Ruben Ohana and Mariel Pettee and Bruno Regaldo-Saint Blancard and Tiberiu Tesileanu and Kyunghyun Cho and Shirley Ho},
  journal= {arXiv preprint arXiv:2310.03024},
  year   = {2024}
}

Comments

18 pages, accepted in Monthly Notices of the Royal Astronomical Society, Presented at the NeurIPS 2023 AI4Science Workshop

R2 v1 2026-06-28T12:40:42.782Z