In this work, we demonstrate how Low-Rank Adaptation (LoRA) can be used to combine different galaxy imaging datasets to improve redshift estimation with CNN models for cosmology. LoRA is an established technique for large language models that adds adapter networks to adjust model weights and biases to efficiently fine-tune large base models without retraining. We train a base model using a photometric redshift ground truth dataset, which contains broad galaxy types but is less accurate. We then fine-tune using LoRA on a spectroscopic redshift ground truth dataset. These redshifts are more accurate but limited to bright galaxies and take orders of magnitude more time to obtain, so are less available for large surveys. Ideally, the combination of the two datasets would yield more accurate models that generalize well. The LoRA model performs better than a traditional transfer learning method, with $\sim2.5\times$ less bias and $\sim$2.2$\times$ less scatter. Retraining the model on a combined dataset yields a model that generalizes better than LoRA but at a cost of greater computation time. Our work shows that LoRA is useful for fine-tuning regression models in astrophysics by providing a middle ground between full retraining and no retraining. LoRA shows potential in allowing us to leverage existing pretrained astrophysical models, especially for data sparse tasks.
Improving Generalization and Uncertainty Quantification of Photometric Redshift Models
Department of Physics and Astronomy, UCLA, Los Angeles, CA 90095, USA(物理与天文学系,UCLA);Computer Science Department, Southern Oregon University, Ashland, OR 97520, USA(计算机科学系,索纳德奥尔大学);Department of Physics, University of Richmond, Richmond, VA 23173, USA(物理系,里奇蒙大学)
The Domain Adaptation problem in photometric redshift estimation: a solution applied to the HSC Survey
Aix Marseille Université(艾克斯-马赛大学);AMIS, Université Montpellier Paul-Valéry(AMIS,蒙彼利埃保罗-瓦莱里大学);TETIS - Inrae, AgroParisTech, Cirad, CNRS, Univ. Montpellier(TETIS - 法国国家农业食品与环境研究院,巴黎高科农学院,Cirad,法国国家科学研究中心,蒙彼利埃大学);Université Paris-Saclay(巴黎萨克雷大学);Kapteyn Astronomical Institute, University of Groningen(卡普坦天文研究所,格罗宁根大学);The California Institute of Technology(加州理工学院);Department of Astronomy & Physics and Institute for Computational Astrophysics, Saint Mary’s University(圣玛丽大学天文学与物理系及计算天体物理研究所)
Preliminary Report on Mantis Shrimp: a Multi-Survey Computer Vision Photometric Redshift Model
Pacific Northwest National Laboratory(西北太平洋国家实验室);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);National Center for Supercomputing Applications(国家超级计算应用中心);Illinois Center for Advanced Studies of the Universe(伊利诺伊大学宇宙高级研究中心)