RR Lyrae stars are useful chemical tracers thanks to the empirical relationship between their heavy-element abundance and the shape of their light curves. However, the consistent and accurate calibration of this relation across multiple photometric wave bands has been lacking. We have devised a new method for the metallicity estimation of fundamental-mode RR Lyrae stars in the Gaia optical G and near-infrared VISTA Ks wave bands by deep learning. First, an existing metallicity prediction method is applied to large photometric data sets, which are then used to train long short-term memory recurrent neural networks for the regression of the [Fe/H] to the light curves in other wave bands. This approach allows an unbiased transfer of our accurate, spectroscopically calibrated I-band formula to additional bands at the expense of minimal additional noise. We achieve a low mean absolute error of 0.1 dex and high R2 regression performance of 0.84 and 0.93 for the Ks and G bands, respectively, measured by cross-validation. The resulting predictive models are deployed on the Gaia DR2 and VVV inner bulge RR Lyrae catalogs. We estimate mean metallicities of -1.35dex for the inner bulge and -1.7dex for the halo, which are significantly less than the values obtained by earlier photometric prediction methods. Using our results, we establish a public catalog of photometric metallicities of over 60,000 Galactic RR Lyrae stars and provide an all-sky map of the resulting RR Lyrae metallicity distribution. The software code used for training and deploying our recurrent neural networks is made publicly available in the open-source domain.
Cone search capability for table J/ApJS/261/33/table1 (*I-band photometric parameters and metallicities of RRab stars in the bulge and disk areas of the OGLE Collection of Variable Stars (OCVS))
Cone search capability for table J/ApJS/261/33/table4 (G-band photometric metallicity estimates and basic light-curve attributes of Gaia DR2 RRab stars)
Cone search capability for table J/ApJS/261/33/table5 (K_S_-band photometric metallicity estimates and basic light-curve attributes of the VVV bulge RRab stars discovered by Dekany & Grebel (2020, J/ApJ/898/46))