Saved in:
Bibliographic Details
Main Authors: Gondhalekar, Yash, Moriwaki, Kana
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.14392
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916497343905792
author Gondhalekar, Yash
Moriwaki, Kana
author_facet Gondhalekar, Yash
Moriwaki, Kana
contents 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 $Ω_m$ and $σ_8$ cosmological parameters from simulated dark matter and halo fields. Our experiments indicate that the constraints on $Ω_m$ and $σ_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/}.
format Preprint
id arxiv_https___arxiv_org_abs_2411_14392
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Convolutional Vision Transformer for Cosmology Parameter Inference
Gondhalekar, Yash
Moriwaki, Kana
Instrumentation and Methods for Astrophysics
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 $Ω_m$ and $σ_8$ cosmological parameters from simulated dark matter and halo fields. Our experiments indicate that the constraints on $Ω_m$ and $σ_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/}.
title Convolutional Vision Transformer for Cosmology Parameter Inference
topic Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2411.14392