Scaling Laws for Galaxy Images
Abstract: We present the first systematic investigation of supervised scaling laws outside of an ImageNet-like context - on images of galaxies. We use 840k galaxy images and over 100M annotations by Galaxy Zoo volunteers, comparable in scale to Imagenet-1K. We find that adding annotated galaxy images provides a power law improvement in performance across all architectures and all tasks, while adding trainable parameters is effective only for some (typically more subjectively challenging) tasks. We then compare the downstream performance of finetuned models pretrained on either ImageNet-12k alone vs. additionally pretrained on our galaxy images. We achieve an average relative error rate reduction of 31% across 5 downstream tasks of scientific interest. Our finetuned models are more label-efficient and, unlike their ImageNet-12k-pretrained equivalents, often achieve linear transfer performance equal to that of end-to-end finetuning. We find relatively modest additional downstream benefits from scaling model size, implying that scaling alone is not sufficient to address our domain gap, and suggest that practitioners with qualitatively different images might benefit more from in-domain adaption followed by targeted downstream labelling.
- Deep Learning Scaling is Predictable, Empirically, December 2017. URL http://arxiv.org/abs/1712.00409. arXiv:1712.00409 [cs, stat].
- A Constructive Prediction of the Generalization Error Across Scales, December 2019. URL http://arxiv.org/abs/1909.12673. arXiv:1909.12673 [cs, stat].
- Scaling laws from the data manifold dimension. The Journal of Machine Learning Research, 23(1):9:343–9:376, January 2022. ISSN 1532-4435.
- Scaling Vision Transformers, June 2022. URL http://arxiv.org/abs/2106.04560. arXiv:2106.04560 [cs].
- Karen L. Masters. Twelve years of Galaxy Zoo. In Proceedings of the International Astronomical Union, volume 14, pages 205–212, October 2019. doi: 10.1017/S1743921319008615. URL http://arxiv.org/abs/1910.08177. arXiv: 1910.08177 Issue: S353 ISSN: 17439221.
- ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, June 2009. doi: 10.1109/CVPR.2009.5206848. URL https://ieeexplore.ieee.org/document/5206848. ISSN: 1063-6919.
- Learning Transferable Visual Models From Natural Language Supervision. OpenAI, page 47, 2021. URL http://arxiv.org/abs/2103.00020. arXiv: 2103.00020.
- Scaling Laws of Synthetic Images for Model Training … for Now, December 2023. URL http://arxiv.org/abs/2312.04567. arXiv:2312.04567 [cs].
- Assaying Out-Of-Distribution Generalization in Transfer Learning. 2022. doi: 10.48550/ARXIV.2207.09239. URL https://arxiv.org/abs/2207.09239. Publisher: [object Object] Version Number: 2.
- Effect of scale on catastrophic forgetting in neural networks. October 2021. URL https://openreview.net/forum?id=GhVS8_yPeEa.
- On the Opportunities and Risks of Foundation Models, August 2021. URL http://arxiv.org/abs/2108.07258. arXiv: 2108.07258.
- Rethinking pre-training on medical imaging. Journal of Visual Communication and Image Representation, 78:103145, July 2021. ISSN 1047-3203. doi: 10.1016/j.jvcir.2021.103145. URL https://www.sciencedirect.com/science/article/pii/S1047320321000894.
- Transfusion: Understanding Transfer Learning for Medical Imaging. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/hash/eb1e78328c46506b46a4ac4a1e378b91-Abstract.html.
- Supervised Transfer Learning at Scale for Medical Imaging. ArXiv, January 2021. URL https://www.semanticscholar.org/paper/Supervised-Transfer-Learning-at-Scale-for-Medical-Mustafa-Loh/f37e3d82823fae4acad83706512297fc6a77fe19.
- Mehdi Cherti and J. Jitsev. Effect of large-scale pre-training on full and few-shot transfer learning for natural and medical images. ArXiv, 2021. URL https://www.semanticscholar.org/paper/Effect-of-large-scale-pre-training-on-full-and-for-Cherti-Jitsev/f1362000a1561924a3a07d7b9ab3d8cc3fd4e96d.
- What Makes Transfer Learning Work for Medical Images: Feature Reuse & Other Factors. 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9215–9224, June 2022. doi: 10.1109/CVPR52688.2022.00901. URL https://ieeexplore.ieee.org/document/9878482/. Conference Name: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) ISBN: 9781665469463 Place: New Orleans, LA, USA Publisher: IEEE.
- What is being transferred in transfer learning? In Advances in Neural Information Processing Systems, volume 33, pages 512–523. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/hash/0607f4c705595b911a4f3e7a127b44e0-Abstract.html.
- A Systematic Benchmarking Analysis of Transfer Learning for Medical Image Analysis. 12968:3–13, 2021. doi: 10.1007/978-3-030-87722-4_1. URL https://link.springer.com/10.1007/978-3-030-87722-4_1. Book Title: Domain Adaptation and Representation Transfer, and Affordable Healthcare and AI for Resource Diverse Global Health ISBN: 9783030877217 9783030877224 Place: Cham Publisher: Springer International Publishing.
- Ross Wightman. Pytorch image models. https://github.com/rwightman/pytorch-image-models, 2019.
- Rishit Dagli. Astroformer: More Data Might not be all you need for Classification. 2023. doi: 10.48550/ARXIV.2304.05350. URL https://arxiv.org/abs/2304.05350. Publisher: arXiv Version Number: 2.
- Gaia Data Release 3 - Summary of the content and survey properties. Astronomy & Astrophysics, 674:A1, June 2023. ISSN 0004-6361, 1432-0746. doi: 10.1051/0004-6361/202243940. URL https://www.aanda.org/articles/aa/abs/2023/06/aa43940-22/aa43940-22.html. Publisher: EDP Sciences.
- Rotation-invariant convolutional neural networks for galaxy morphology prediction. Monthly Notices of the Royal Astronomical Society, 450(2):1441–1459, 2015. ISSN 0035-8711. doi: 10.1093/mnras/stv632. URL http://arxiv.org/abs/1503.07077. arXiv: 1503.07077.
- Euclid preparation. Measuring detailed galaxy morphologies for Euclid with Machine Learning, February 2024. URL http://arxiv.org/abs/2402.10187. arXiv:2402.10187 [astro-ph].
- Transfer learning for galaxy morphology from one survey to another. Monthly Notices of the Royal Astronomical Society, 484(1):93–100, March 2019. ISSN 13652966. doi: 10.1093/mnras/sty3497. URL https://academic.oup.com/mnras/article/484/1/93/5266389. arXiv: 1807.00807 Publisher: Oxford University Press.
- Transfer learning for radio galaxy classification. Monthly Notices of the Royal Astronomical Society, 488(3):3358–3375, September 2019. doi: 10.1093/mnras/stz1883.
- Learning useful representations for radio astronomy "in the wild" with contrastive learning. In Machine Learning for Astrophysics Workshop at the Thirty Ninth International Conference on Machine Learning (ICML 2022), July 2022. doi: 10.48550/arxiv.2207.08666. URL http://arxiv.org/abs/2207.08666. arXiv: 2207.08666.
- Galaxy Zoo DESI: Detailed Morphology Measurements for 8.7M Galaxies in the DESI Legacy Imaging Surveys. MNRAS, 000:1–18, September 2023. URL http://arxiv.org/abs/2309.11425. arXiv: 2309.11425 ISBN: 2309.11425v1.
- Galaxy Zoo DECaLS: Detailed visual morphology measurements from volunteers and deep learning for 314 000 galaxies. Monthly Notices of the Royal Astronomical Society, 509(3):3966–3988, December 2022a. ISSN 13652966. doi: 10.1093/mnras/stab2093. URL https://doi.org/10.1093/mnras/stab2093. arXiv: 2102.08414.
- Galaxy Morphology Network: A Convolutional Neural Network Used to Study Morphology and Quenching in  100,000 SDSS and  20,000 CANDELS Galaxies. The Astrophysical Journal, 895(2):112, June 2020. ISSN 15384357. doi: 10.3847/1538-4357/ab8a47. URL https://doi.org/10.3847/1538-4357/ab8a47. arXiv: 2006.14639 Publisher: American Astronomical Society.
- Are Emergent Abilities of Large Language Models a Mirage?, May 2023a. URL http://arxiv.org/abs/2304.15004. arXiv:2304.15004 [cs].
- Deep residual learning for image recognition. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, volume 2016-Decem, pages 770–778. IEEE, June 2016. ISBN 978-1-4673-8850-4. doi: 10.1109/CVPR.2016.90. URL http://ieeexplore.ieee.org/document/7780459/. arXiv: 1512.03385 ISSN: 10636919.
- EfficientNet: Rethinking model scaling for convolutional neural networks. In 36th International Conference on Machine Learning, ICML 2019, pages 10691–10700, Long Beach, CA, May 2019. Proceedings of Machine Learning Research. ISBN 978-1-5108-8698-8. URL http://arxiv.org/abs/1905.11946. arXiv: 1905.11946.
- EfficientNetV2: Smaller Models and Faster Training. April 2021. URL http://arxiv.org/abs/2104.00298. arXiv: 2104.00298.
- MaxViT: Multi-axis Vision Transformer. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), volume 13684 LNCS, pages 459–479, April 2022. ISBN 978-3-031-20052-6. doi: 10.1007/978-3-031-20053-3_27. URL https://arxiv.org/abs/2204.01697v4. arXiv: 2204.01697 ISSN: 16113349.
- A ConvNet for the 2020s. January 2022. URL http://arxiv.org/abs/2201.03545. arXiv: 2201.03545.
- Jonathan S Rosenfeld. Scaling Laws for Deep Learning.
- Double Descent Demystified: Identifying, Interpreting & Ablating the Sources of a Deep Learning Puzzle, March 2023b. URL http://arxiv.org/abs/2303.14151. arXiv:2303.14151 [cs, stat].
- Reproducible scaling laws for contrastive language-image learning, December 2022. URL http://arxiv.org/abs/2212.07143. arXiv:2212.07143 [cs].
- Self-supervised similarity search for large scientific datasets. arXiv preprint, October 2021. URL http://arxiv.org/abs/2110.13151. arXiv: 2110.13151.
- AstroCLIP: Cross-Modal Pre-Training for Astronomical Foundation Models, October 2023. URL http://arxiv.org/abs/2310.03024. arXiv:2310.03024 [astro-ph].
- Towards Galaxy Foundation Models with Hybrid Contrastive Learning. Machine Learning for Astrophysics Workshop at the Thirty Ninth International Conference on Machine Learning (ICML 2022), June 2022b. doi: 10.48550/arxiv.2206.11927. arXiv: 2206.11927.
- emcee v3: A Python ensemble sampling toolkit for affine-invariant MCMC, November 2019. URL http://dx.doi.org/10.21105/joss.01864. arXiv: 1911.07688 Pages: 1864 Publication Title: Journal of Open Source Software Volume: 4 Issue: 43 ISSN: 2475-9066.
- Decoupled Weight Decay Regularization, January 2019. URL http://arxiv.org/abs/1711.05101. arXiv:1711.05101 [cs, math].
- Galaxy Zoo 2: Detailed morphological classifications for 304 122 galaxies from the sloan digital sky survey. Monthly Notices of the Royal Astronomical Society, 435(4):2835–2860, 2013. ISSN 00358711. doi: 10.1093/mnras/stt1458. arXiv: 1308.3496v2 ISBN: doi:10.1093/mnras/stt1458.
- Galaxy Zoo: Morphological classifications for 120 000 galaxies in HST legacy imaging. Monthly Notices of the Royal Astronomical Society, 464(4):4176–4203, February 2017. ISSN 13652966. doi: 10.1093/mnras/stw2568. URL https://academic.oup.com/mnras/article-lookup/doi/10.1093/mnras/stw2568. arXiv: 1610.03068 Publisher: Oxford University Press.
- Galaxy Zoo: Quantitative visual morphological classifications for 48 000 galaxies from CANDELS. Monthly Notices of the Royal Astronomical Society, 464(4):4420–4447, 2017. ISSN 13652966. doi: 10.1093/mnras/stw2587. arXiv: 1610.03070v1.
- The UKIRT infrared deep sky survey (UKIDSS). Monthly Notices of the Royal Astronomical Society, 379(4):1599–1617, August 2007. ISSN 13652966. doi: 10.1111/j.1365-2966.2007.12040.x. URL https://academic.oup.com/mnras/article-lookup/doi/10.1111/j.1365-2966.2007.12040.x. arXiv: astro-ph/0604426 Publisher: Oxford University Press ISBN: 0035-8711.
- Shape asymmetry: A morphological indicator for automatic detection of galaxies in the post-coalescence merger stages. Monthly Notices of the Royal Astronomical Society, 456(3):3032–3052, 2016. ISSN 13652966. doi: 10.1093/mnras/stv2878. arXiv: 1512.02000.
- Deep learning predictions of galaxy merger stage and the importance of observational realism. Monthly Notices of the Royal Astronomical Society, 490(4):5390–5413, October 2019. ISSN 13652966. doi: 10.1093/mnras/stz2934. URL http://arxiv.org/abs/1910.07031. arXiv: 1910.07031.
- Identifying Galaxy Mergers in Observations and Simulations with Deep Learning. Astronomy & Astrophysics, 626(49), February 2019. ISSN 0004-6361. doi: 10.1051/0004-6361/201935355. arXiv: 1902.10626 Publisher: arXiv.
- Overview of the DESI Legacy Imaging Surveys. The Astronomical Journal, 157(5):168, April 2019. ISSN 00046256. doi: 10.3847/1538-3881/ab089d. URL http://arxiv.org/abs/1804.08657. arXiv: 1804.08657.
- Faint tidal features in galaxies within the Canada-France-Hawaii telescope legacy survey wide fields. Astrophysical Journal, 765(1), 2013. ISSN 15384357. doi: 10.1088/0004-637X/765/1/28. arXiv: 1301.4275.
- Ronald J. Buta. Galactic rings revisited - I. CVRHS classifications of 3962 ringed galaxies from the Galaxy Zoo 2 Database. Monthly Notices of the Royal Astronomical Society, 471(4):4027–4046, November 2017. ISSN 13652966. doi: 10.1093/MNRAS/STX1829. URL http://s3.amazonaws.com/zoo2/filen.jpg,. arXiv: 1707.06589 Publisher: Oxford University Press.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.