Open Access
Issue
A&A
Volume 698, June 2025
Article Number L12
Number of page(s) 6
Section Letters to the Editor
DOI https://doi.org/10.1051/0004-6361/202554722
Published online 03 June 2025

© The Authors 2025

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1. Introduction

Knowledge of stellar parameters and in particular, the chemical composition of stars in the Milky Way, is crucial for several areas of astrophysics. M dwarfs are the most common type of star in our Galaxy by far. They constitute over 75% of all stars (Henry et al. 2006; Winters et al. 2015; Reylé et al. 2021). Studies of the metallicity of these cool stars have been made regarding the chemical and dynamical evolution of our Galaxy (Bahcall & Soneira 1980; Reid et al. 1997; Chabrier 2003; Ferguson et al. 2017) and exoplanet discoveries and characterization (e.g. Nutzman & Charbonneau 2008; Shields et al. 2016; Reiners et al. 2018; Trifonov et al. 2018; Luque et al. 2019; Caballero et al. 2022).

Nevertheless, determining the metallicity of M dwarfs still remains a challenging task because their spectra are complex. They are dominated by strong molecular features that erode the stellar continuum (Allard et al. 1997; Van Eck et al. 2017; Passegger et al. 2018; Marfil et al. 2021). For this reason, several studies relied on photometric data to estimate the metallicity of these stars, using techniques such as frequentist or Bayesian statistics, k-nearest neighbors, or Gaussian-process regressors to provide photometric calibrations for the M-dwarf metallicities (e.g. Bonfils et al. 2005; Johnson & Apps 2009; Neves et al. 2012; Mann et al. 2013; Davenport & Dorn-Wallenstein 2019; Rains et al. 2021; Duque-Arribas et al. 2023).

Our study proposes a novel method for estimating photometric metallicities of M dwarfs using artificial neural networks (ANNs). The literature knows several ANNs that were applied to astrophysical studies, including the determination of stellar parameters from the Sloan Digital Sky Survey–III APOGEE1 spectra (Fabbro et al. 2018) or from CARMENES2 spectra (Passegger et al. 2020; Bello-García et al. 2023; Mas-Buitrago et al. 2024), evolutionary states of red giants from asteroseismology (Hon et al. 2017), star-galaxy classification (Kim & Brunner 2017), and a stellar spectral classification (Kheirdastan & Bazarghan 2016). Relatively few studies have explored the use of ANNs for deriving photometric metallicities, however. Whitten et al. (2019) estimated effective temperatures and metallicities for stars hotter than Teff > 4500 K using J-PLUS3 photometry (Cenarro et al. 2019). Fallows & Sanders (2022) estimated metallicities of red giant stars from Gaia EDR3 (Gaia Collaboration 2016, 2021) and the 2MASS4 (Skrutskie et al. 2006) and WISE5 (Wright et al. 2010) surveys, and Molina-Jorquera et al. (2024) relied on S-PLUS6 photometry (Mendes Oliveira et al. 2019) to classify giant and dwarf stars and to determine the metallicity of red giants. Finally, Ferreira Lopes et al. (2025) estimated the stellar parameters for about five million stars from S-PLUS multiband photometry, although the authors indicated that the results for stars with Teff < 4000 K should be interpreted with caution. Despite these advancements, no study to date has specifically focused on applying ANNs to estimate photometric metallicities for M dwarfs as a standalone population. We present an ANN that we used to estimate the metallicity of M-type dwarf stars based on their visible and infrared photometry.

2. Method

2.1. Data and preprocessing

The proposed approach was carried out on the stellar sample described by Duque-Arribas et al. (2023). They made use of the sample of 5875 early- and intermediate-type M dwarfs presented by Birky et al. (2020), with stellar parameters derived from APOGEE spectra (Majewski et al. 2017; Abolfathi et al. 2018) using The Cannon (Ness et al. 2015), and they cross-matched these stars with the Gaia DR3 (Gaia Collaboration 2023), 2MASS, and CatWISE2020 (Marocco et al. 2021) catalogs. Then, they filtered the resulting sample based on the photometric and astrometric quality criteria compiled in Table 1 while removing young and evolved objects. They obtained a final sample of 4919 M dwarfs.

Table 1.

Data-filtering criteria applied to astrophotometric data.

This sample was then randomly divided into three subsets: 60% for training, 20% for validation, and 20% for testing, that is, 2951, 984 and 984 stars, respectively. The first subset was used to train the ANN, the second subset to estimate its accuracy and tune the hyperparameters, and the third subset to test the ANN.

Following the approach of Duque-Arribas et al. (2023), we evaluated the predictive performance of the ANN using a separate dataset of FGK+M binary systems from Montes et al. (2018). The primary stars have well-determined stellar atmospheric parameters derived from high-resolution spectroscopy with the equivalent width method (Tabernero et al. 2019), and it is reasonable to assume that the M-dwarf companions share the same chemical composition (Desidera et al. 2006; Andrews et al. 2018).

To prepare the dataset, we cross-matched the M-dwarf companions with the Gaia DR3, 2MASS, and CatWISE2020 catalogs and identified 115 stars in common. We then applied the same data-filtering criteria as described earlier and constrained stars with parameters similar to the Birky et al. (2020) sample. Specifically, we limited the sample to stars with −0.45 ≤ [Fe/H] ≤ 0.45 dex, 1.85 mag ≤ G − J≤ 3.10 mag, and −0.10 mag ≤ W1 − W2 ≤ 0.24 mag, which correspond to early- and intermediate-M dwarfs (spectral types M0.0 V to M5.0 V approximately; Cifuentes et al. 2020). After applying these constraints, we obtained a final sample of 46 M-dwarf companions for testing the ANN on a completely independent dataset.

2.2. ANN architecture

We employed the Keras7 API, which operates on the TensorFlow8 framework, to build our model. Hyperparameter optimization, in our case, for the number of hidden layers, the number of neurons per layer, and the learning rate, was performed using the RandomizedSearchCV class from the scikit-learn9 library. This approach efficiently explores the hyperparameter space by sampling it randomly, allowing for the identification of near-optimal configurations in less time compared to exhaustive methods, such as the grid search. The optimization process used a k-fold cross-validation, with four folds in our implementation, and it evaluated the model based on a modified mean squared error (MSE) as the loss metric.

The modification of the MSE was included to mitigate the overabundance of solar-metallicity stars in the sample, as noted by Fallows & Sanders (2022). Otherwise, the ANN might inadvertently interpret this imbalance as a trend in the data, which would lead to biased predictions. To counteract this, we included a weighting factor W = 4 × |[Fe/H]|+0.5 as a linear multiplier on the MSE. This weighting reduced the influence of the stars with [Fe/H] ≈ 0 while it linearly increased the effect for objects with higher or lower metallicities. This ensured a more balanced contribution throughout the entire metallicity range. We tested alternative weighting strategies, including quadratic and exponential functions, but found that they did not improve the results. The linear form was chosen for its simplicity and effectiveness. The specific coefficients were determined empirically: The slope ensured a gradual yet sufficient increase in weight as the metallicity deviated from solar, while the intercept of 0.5 prevented complete suppression of the most abundant metallicities. This balance was found to stabilize training and improve model generalization, in particular, for stars at the extremes of our metallicity range.

The architecture of the neural network was chosen based on the empirical performance during the hyperparameter tuning. We explored a range of configurations that are summarized in Table 2. Our final architecture, with two hidden layers of 64 neurons each, consistently achieved the lowest validation loss without signs of overfitting. Simpler architectures showed higher validation errors, while more complex architectures offered no additional performance gain and occasionally led to overfitting.

Table 2.

Summary of the tested ANN hyperparameters.

The input layer incorporated eight features, each corresponding to an absolute magnitude using the Gaia parallaxes: MGBP, MG, and MGRP from Gaia, MJ, MH, and MKS from 2MASS, and MW1, and MW2 from CatWISE2020. The hidden layers, fully connected, contained 64 neurons per layer. The output layer consisted of a single neuron for regression. The network was trained using the Adam optimizer (a stochastic gradient descent method; Kingma & Ba 2017) with a learning rate of 2 ⋅ 10−4. For the learning rate, we sampled values from a reciprocal (log-uniform) distribution in the range [1 ⋅ 10−4, 1 ⋅ 10−2], as this approach gives greater weight to lower values, which are more likely to yield stable convergence during training. A schematic representation of the neural network is displayed in Fig. 1.

thumbnail Fig. 1.

Schematic representation of our ANN architecture. The red crosses indicate dropout neurons.

The neurons in the input and hidden layers incorporated linear activation functions, whereas the output layer adopted a hyperbolic tangent (tanh) activation function. This choice constrained the predictions to the range ( − 1, +1) dex. Because the training sample spans a narrower metallicity range (−0.45 dex to +0.45 dex), this activation ensured that predictions remained bounded within a safe interval during training. It also implies a limitation, however: The model is not suited for extrapolating beyond the training range. For stars with true metallicities outside this domain, the output will saturate toward ±1, reflecting the asymptotic behaviour of the tanh function. These predictions should not be interpreted as accurate estimates, but rather as an indication that the input is outside the reliable operating range of the model.

We also incorporated batch normalization after the input and hidden layers. This technique normalizes activations during training, stabilizing and accelerating convergence by mitigating internal covariate shifts (Ioffe & Szegedy 2015). Additionally, dropout was implemented after the hidden layers, with the dropout rate included as a tunable hyperparameter. This technique is discussed in greater detail in the following subsection.

2.3. Monte Carlo dropout

Dropout is one of the most popular regularization techniques for neural networks that aims at mitigating overfitting during the training stage by randomly dropping a fraction of the neurons (Hinton et al. 2012; Srivastava et al. 2014). During every training step, each neuron has a certain probability that is included as a tuneable hyperparameter of being ignored but being active during the next step. By applying this technique, the ANN learns as a cohesive unit and avoids over-reliance on any particular neuron. We applied dropout to the layers of our neural network and set the dropout rate at 20%.

In the classical dropout, neurons are no longer dropped after the training stage. Gal & Ghahramani (2016) introduced a technique called Monte Carlo (MC) dropout, however, which enhances the performance of a trained dropout model and provides a more accurate measure of the model uncertainty. This is achieved by ensuring that the dropout layers remain active after the training, which produces a distribution of predictions instead of a single estimate. Averaging over these multiple predictions with dropout provides a Monte Carlo estimate that is more reliable than a single prediction. Gal & Ghahramani (2016) also established a deep connection between dropout networks and the approximate Bayesian inference.

3. Results and discussion

After training the ANN and optimizing its hyperparameters using the training and validation datasets, we evaluated its performance on the test sample. As outlined in the previous section, we applied MC dropout to generate 100 stochastic forward passes per star. This provided more robust estimates and an uncertainty measure for these predictions. We also generated 500 samples, but the predictions did not change.

In Fig. 2 we compare the spectroscopic metallicity values reported by Birky et al. (2020) and the photometric metallicity predictions generated by our ANN for the test subsample, color-coded by GBP − GRP, which is a proxy for the stellar effective temperature Cifuentes et al. (2020). Most of the estimated metallicities closely align with the one-to-one relation. This indicates the reliability of the model. Furthermore, as expected, no significant correlation is observed between the predicted metallicities and effective temperature. The prediction residuals exhibit a standard deviation of 0.08 dex, which is compatible with the values reported by Duque-Arribas et al. (2023) using a Bayesian approach.

thumbnail Fig. 2.

Comparison between spectroscopic metallicities reported by Birky et al. (2020) and photometric estimates by our ANN. The 984 stars from the test sample and their corresponding residuals are color-coded by GBP − GRP color (darker symbols show cooler stars, and lighter symbols show warmer stars). The solid lines denote the 1:1 relation, and the residuals are zero. In the bottom right corner we represent the histogram of the residuals.

In Fig. 3 we present the color-magnitude diagram for the test subsample, color-coded by metallicity estimates from our ANN. The diagram shows the clear recovery of the expected metallicity gradient along the main sequence. This alignment underscores the ability of the ANN to capture and reproduce well-known trends in stellar populations. For a detailed discussion of metallicity gradients in the color–color and color–magnitude diagrams, we refer to Duque-Arribas et al. (2023).

thumbnail Fig. 3.

Color–magnitude diagram of the 984 stars from the test sample, color-coded by the metallicity estimates provided by our ANN.

Finally, as an additional test, we applied our ANN to the M-dwarf secondaries in wide binary systems reported by Montes et al. (2018). In Fig. 4 we compare the spectroscopic metallicities of the primary stars reported by Montes et al. (2018) and the photometrically estimated values for the M-dwarf companions using our ANN. The statistics of the residuals between the spectroscopic and photometric metallicities for the 46 stars with good-quality data, obtained with previous photometric studies found in the literature and with our ANN, are reported in Table 3. We achieved a strong correlation between photometric and spectroscopic metallicities of the M dwarfs compared with these previous results, as illustrated by Fig. A.1.

thumbnail Fig. 4.

Comparison between spectroscopic metallicity of the FGK-type primary stars measured by Montes et al. (2018) and the photometric metallicity estimated for the M-dwarf companions by this work using an ANN. The filled circles represent the 46 good-quality subsample.

Table 3.

Statistics of the differences between the primary [Fe/H]spec and the secondary [Fe/H]phot.

Among the most recent studies, both Rains et al. (2021) and Duque-Arribas et al. (2023) employed polynomial fits to the main sequence to estimate the photometric metallicities of M dwarfs. The model by Rains et al. (2021) relied on Gaia and 2MASS photometry alone and omitted the W1−W2 color index, which is a known metallicity-sensitive feature (Schmidt et al. 2016). This omission likely contributes to its slightly larger dispersion compared to the model by Duque-Arribas et al. (2023) and the present work. Our results are similar to those of Duque-Arribas et al. (2023), as expected because both studies used the same underlying dataset. The modest improvement achieved here can probably be attributed to the greater flexibility of the ANN relative to the polynomial fitting approach.

4. Conclusions

We presented a machine-learning framework for estimating the photometric metallicities of M dwarfs, for which we exploited the capabilities of ANNs combined with the accuracy and homogeneity of the visible and infrared photometry from the Gaia DR3, 2MASS, and CatWISE surveys. By employing robust techniques such as weighting adjustments in the loss function to mitigate the effects of sample imbalances, MC dropout for the uncertainty estimation, and hyperparameter optimization, we demonstrated that our ANN with two hidden layers can achieve highly accurate and reliable predictions.

We trained the model with the sample presented by Birky et al. (2020). Its performance on the test sample showed a mean residual of 0.00 ± 0.08 dex. Additionally, the results confirmed that the predicted metallicities closely match spectroscopic values and exhibit no correlation with the effective temperature. This validated the ability of the model to generalize without introducing biases. The validation on an independent dataset of 46 M dwarfs in FGK+M binary systems from Montes et al. (2018) further reinforced the predictive accuracy of the ANN and underscored its versatility when applied to new data. These results agree well with those presented by Duque-Arribas et al. (2023) using a Bayesian linear regression approach.

This ANN-based approach provides a scalable and efficient alternative for processing large photometric datasets. Its ability to infer stellar metallicities using only broadband photometry significantly reduces the reliance on time-intensive spectroscopic observations. This framework can be extended to incorporate additional features or input data to enhance the accuracy and applicability of the predictions. Furthermore, the model could be adapted to other stellar types or parameter determinations, which would broaden its applicability in stellar astrophysics. The Python code is publicly available at GitHub10.

In summary, this work highlights the potential of machine learning, particularly ANNs, in advancing our ability to determine the stellar metallicity efficiently and accurately. It paves the way for transformative applications in the era of large-scale astronomical surveys.


1

Apache Point Observatory Galactic Evolution Experiment.

2

Calar Alto high-Resolution search for M dwarfs with Exoearths with Near-infrared and optical Echelle Spectrographs; https://carmenes.caha.es/index.html

3

Javalambre-Photometric Local Universe Survey.

4

Two Micron All-Sky Survey.

5

Wide-field Infrared Survey Explorer.

6

Southern Photometric Local Universe Survey.

Acknowledgments

We thank the anonymous referee for the instructive and detailed report, which clearly improved our manuscript. We acknowledge financial support from the Universidad Complutense de Madrid and the Agencia Estatal de Investigación (AEI/10.13039/501100011033) of the Ministerio de Ciencia e Innovación and the ERDF “A way of making Europe” through projects PID2019-107427GB-C31, PID2022-137241NB-C4 Allard et al. (1997), Bahcall & Soneira (1980), and PID2022-138855NB-C31, and the European Research Council (ERC) under the European Union’s Horizon Europe programme (ERC Advanced Grant SPOTLESS; no. 101140786).

References

  1. Abolfathi, B., Aguado, D. S., Aguilar, G., et al. 2018, ApJS, 235, 42 [NASA ADS] [CrossRef] [Google Scholar]
  2. Allard, F., Hauschildt, P. H., Alexander, D. R., & Starrfield, S. 1997, ARA&A, 35, 137 [Google Scholar]
  3. Andrews, J. J., Chanamé, J., & Agüeros, M. A. 2018, MNRAS, 473, 5393 [NASA ADS] [CrossRef] [Google Scholar]
  4. Bahcall, J. N., & Soneira, R. M. 1980, ApJS, 44, 73 [NASA ADS] [CrossRef] [Google Scholar]
  5. Bello-García, A., Passegger, V. M., Ordieres-Meré, J., et al. 2023, A&A, 673, A105 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Birky, J., Hogg, D. W., Mann, A. W., & Burgasser, A. 2020, ApJ, 892, 31 [Google Scholar]
  7. Bonfils, X., Delfosse, X., Udry, S., et al. 2005, A&A, 442, 635 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Caballero, J. A., González-Álvarez, E., Brady, M., et al. 2022, A&A, 665, A120 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  9. Cenarro, A. J., Moles, M., Cristóbal-Hornillos, D., et al. 2019, A&A, 622, A176 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Chabrier, G. 2003, PASP, 115, 763 [Google Scholar]
  11. Cifuentes, C., Caballero, J. A., Cortés-Contreras, M., et al. 2020, A&A, 642, A115 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  12. Davenport, J. R. A., & Dorn-Wallenstein, T. Z. 2019, Res. Notes Am. Astron. Soc., 3, 54 [Google Scholar]
  13. Desidera, S., Gratton, R. G., Lucatello, S., & Claudi, R. U. 2006, A&A, 454, 581 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  14. Duque-Arribas, C., Montes, D., Tabernero, H. M., et al. 2023, ApJ, 944, 106 [NASA ADS] [CrossRef] [Google Scholar]
  15. Fabbro, S., Venn, K. A., O’Briain, T., et al. 2018, MNRAS, 475, 2978 [Google Scholar]
  16. Fallows, C. P., & Sanders, J. L. 2022, MNRAS, 516, 5521 [NASA ADS] [CrossRef] [Google Scholar]
  17. Ferguson, D., Gardner, S., & Yanny, B. 2017, ApJ, 843, 141 [NASA ADS] [CrossRef] [Google Scholar]
  18. Ferreira Lopes, C. E., Gutiérrez-Soto, L. A., Ferreira Alberice, V. S., et al. 2025, A&A, 693, A306 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  19. Gaia Collaboration (Prusti, T., et al.) 2016, A&A, 595, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  20. Gaia Collaboration (Brown, A. G. A., et al.) 2021, A&A, 649, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  21. Gaia Collaboration (Vallenari, A., et al.) 2023, A&A, 674, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  22. Gal, Y., & Ghahramani, Z. 2016, in Proceedings of The 33rd International Conference on Machine Learning, eds. M. F. Balcan, & K. Q. Weinberger (New York: PMLR), Proceedings of Machine Learning Research, 48, 1050 [Google Scholar]
  23. Henry, T. J., Jao, W.-C., Subasavage, J. P., et al. 2006, AJ, 132, 2360 [Google Scholar]
  24. Hinton, G. E., Krizhevsky, A., Sutskever, I., & Salakhutdinov, R. R. 2012, ArXiv e-prints [arXiv:1207.0580] [Google Scholar]
  25. Hon, M., Stello, D., & Yu, J. 2017, MNRAS, 469, 4578 [NASA ADS] [CrossRef] [Google Scholar]
  26. Ioffe, S., & Szegedy, C. 2015, ArXiv e-prints [arXiv:1502.03167] [Google Scholar]
  27. Johnson, J. A., & Apps, K. 2009, ApJ, 699, 933 [NASA ADS] [CrossRef] [Google Scholar]
  28. Kheirdastan, S., & Bazarghan, M. 2016, Ap&SS, 361, 304 [NASA ADS] [CrossRef] [Google Scholar]
  29. Kim, E. J., & Brunner, R. J. 2017, MNRAS, 464, 4463 [Google Scholar]
  30. Kingma, D. P., & Ba, J. 2017, arXiv e-prints [arXiv:1412.6980] [Google Scholar]
  31. Luque, R., Pallé, E., Kossakowski, D., et al. 2019, A&A, 628, A39 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  32. Majewski, S. R., Schiavon, R. P., Frinchaboy, P. M., et al. 2017, AJ, 154, 94 [NASA ADS] [CrossRef] [Google Scholar]
  33. Mann, A. W., Brewer, J. M., Gaidos, E., Lépine, S., & Hilton, E. J. 2013, AJ, 145, 52 [Google Scholar]
  34. Marfil, E., Tabernero, H. M., Montes, D., et al. 2021, A&A, 656, A162 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  35. Marocco, F., Eisenhardt, P. R. M., Fowler, J. W., et al. 2021, ApJS, 253, 8 [Google Scholar]
  36. Mas-Buitrago, P., González-Marcos, A., Solano, E., et al. 2024, A&A, 687, A205 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  37. Mendes Oliveira, C., Ribeiro, T., Schoenell, W., et al. 2019, MNRAS, 489, 241 [NASA ADS] [CrossRef] [Google Scholar]
  38. Molina-Jorquera, F., Damke, G., Fernández-Olivares, D., et al. 2024, A&A, 691, A144 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  39. Montes, D., González-Peinado, R., Tabernero, H. M., et al. 2018, MNRAS, 479, 1332 [Google Scholar]
  40. Ness, M., Hogg, D. W., Rix, H. W., Ho, A. Y. Q., & Zasowski, G. 2015, ApJ, 808, 16 [NASA ADS] [CrossRef] [Google Scholar]
  41. Neves, V., Bonfils, X., Santos, N. C., et al. 2012, A&A, 538, A25 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  42. Nutzman, P., & Charbonneau, D. 2008, PASP, 120, 317 [Google Scholar]
  43. Passegger, V. M., Reiners, A., Jeffers, S. V., et al. 2018, A&A, 615, A6 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  44. Passegger, V. M., Bello-García, A., Ordieres-Meré, J., et al. 2020, A&A, 642, A22 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  45. Rains, A. D., Žerjal, M., Ireland, M. J., et al. 2021, MNRAS, 504, 5788 [NASA ADS] [CrossRef] [Google Scholar]
  46. Reid, I. N., Gizis, J. E., Cohen, J. G., et al. 1997, PASP, 109, 559 [NASA ADS] [CrossRef] [Google Scholar]
  47. Reiners, A., Ribas, I., Zechmeister, M., et al. 2018, A&A, 609, L5 [EDP Sciences] [Google Scholar]
  48. Reylé, C., Jardine, K., Fouqué, P., et al. 2021, A&A, 650, A201 [Google Scholar]
  49. Schmidt, S. J., Wagoner, E. L., Johnson, J. A., et al. 2016, MNRAS, 460, 2611 [Google Scholar]
  50. Shields, A. L., Ballard, S., & Johnson, J. A. 2016, Phys. Rep., 663, 1 [NASA ADS] [CrossRef] [Google Scholar]
  51. Skrutskie, M. F., Cutri, R. M., Stiening, R., et al. 2006, AJ, 131, 1163 [NASA ADS] [CrossRef] [Google Scholar]
  52. Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., & Salakhutdinov, R. 2014, J. Mach. Learn. Res., 15, 1929 [Google Scholar]
  53. Tabernero, H. M., Marfil, E., Montes, D., & González Hernández, J. I. 2019, A&A, 628, A131 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  54. Trifonov, T., Kürster, M., Zechmeister, M., et al. 2018, A&A, 609, A117 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  55. Van Eck, S., Neyskens, P., Jorissen, A., et al. 2017, A&A, 601, A10 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  56. Whitten, D. D., Placco, V. M., Beers, T. C., et al. 2019, A&A, 622, A182 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  57. Winters, J. G., Henry, T. J., Lurie, J. C., et al. 2015, AJ, 149, 5 [Google Scholar]
  58. Wright, E. L., Eisenhardt, P. R. M., Mainzer, A. K., et al. 2010, AJ, 140, 1868 [Google Scholar]

Appendix A: Additional figure

All Tables

Table 1.

Data-filtering criteria applied to astrophotometric data.

Table 2.

Summary of the tested ANN hyperparameters.

Table 3.

Statistics of the differences between the primary [Fe/H]spec and the secondary [Fe/H]phot.

All Figures

thumbnail Fig. 1.

Schematic representation of our ANN architecture. The red crosses indicate dropout neurons.

In the text
thumbnail Fig. 2.

Comparison between spectroscopic metallicities reported by Birky et al. (2020) and photometric estimates by our ANN. The 984 stars from the test sample and their corresponding residuals are color-coded by GBP − GRP color (darker symbols show cooler stars, and lighter symbols show warmer stars). The solid lines denote the 1:1 relation, and the residuals are zero. In the bottom right corner we represent the histogram of the residuals.

In the text
thumbnail Fig. 3.

Color–magnitude diagram of the 984 stars from the test sample, color-coded by the metallicity estimates provided by our ANN.

In the text
thumbnail Fig. 4.

Comparison between spectroscopic metallicity of the FGK-type primary stars measured by Montes et al. (2018) and the photometric metallicity estimated for the M-dwarf companions by this work using an ANN. The filled circles represent the 46 good-quality subsample.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.