1. Convolutional Vision Transformer for Cosmology Parameter Inference
- Author
-
Gondhalekar, Yash and Moriwaki, Kana
- Subjects
Astrophysics - Instrumentation and Methods for Astrophysics - Abstract
Parameter inference is a crucial task in modern cosmology that requires accurate and fast computational methods to handle the high precision and volume of observational datasets. In this study, we explore a hybrid vision transformer, the Convolution vision Transformer (CvT), which combines the benefits of vision transformers (ViTs) and convolutional neural networks (CNNs). We use this approach to infer the $\Omega_m$ and $\sigma_8$ cosmological parameters from simulated dark matter and halo fields. Our experiments indicate that the constraints on $\Omega_m$ and $\sigma_8$ obtained using CvT are better than ViT and CNN, using either dark matter or halo fields. For CvT, pretraining on dark matter fields proves advantageous for improving constraints using halo fields compared to training a model from the beginning. However, ViT and CNN do not show these benefits. The CvT is more efficient than ViT since, despite having more parameters, it requires a training time similar to that of ViT and has similar inference times. The code is available at \url{https://github.com/Yash-10/cvt-cosmo-inference/}., Comment: Accepted at the NeurIPS ML4PS Workshop 2024. The code is available at https://github.com/Yash-10/cvt-cosmo-inference/
- Published
- 2024