- Access by Xinjiang University
Robustness of neural networks for CMB polarization foreground removal
Phys. Rev. D 114, 103512 – Published 6 November, 2026
DOI: https://doi.org/10.1103/sc5q-q33b
Abstract
The detection of cosmic microwave background primordial -mode polarization would constitute a “smoking gun” signal of primordial gravitational waves. However, this measurement requires accurate removal of polarized Galactic foregrounds to avoid systematic biases when estimating the tensor-to-scalar ratio. Methods based on machine learning (ML) techniques, such as convolutional neural networks (CNNs), have recently been proposed as alternative foreground cleaning techniques, but their applicability to real data relies on their ability to generalize beyond the models assumed during training. In this work, we focus on a variety of foreground models (FMs) used for training and conduct a systematic study of the generalization properties of a CNN-based method. We train two CNN architectures on simulations generated from different Galactic FMs, and test their performance on models not used during the training. By characterizing the pixel-to-pixel statistical properties of the FMs using variance, skewness, and Shannon entropy, we define a marginal statistical complexity hierarchy among them. The morphology diversity of the models is also incorporated in the hierarchy established. We show that training on the more complex FMs reduces bias and improves precision when testing on unseen template-based FMs, whereas training on the simplest model could introduce systematic errors, reaching a residual equivalent to on both models used only for testing. We further test this picture by constructing controlled modifications of the simplest FM with progressively broader marginal distributions. While their marginal statistics grow beyond those of the most morphologically diverse model, their generalization improves only up to a point and none of them matches the robustness across test models of the more complex model, showing that marginal variability alone is not sufficient for generalization. These results evidence that a lack of generalization is a relevant source of systematic uncertainty, and emphasize the importance of understanding the impact of the models assumed during training in ML-based methods before applying them to real data.
Physics Subject Headings (PhySH)
Article Text
References (70)
- A. H. Guth, Phys. Rev. D 23, 347 (1981).
- A. Linde, Phys. Lett. 108B, 389 (1982).
- P. A. Ade, Z. Ahmed, M. Amiri, D. Barkats, R. B. Thakur, C. Bischoff, D. Beck, J. Bock, H. Boenish, E. Bullock et al., Phys. Rev. Lett. 127, 151301 (2021).
- M. Tristram, A. J. Banday, K. M. Gorski, R. Keskitalo, C. R. Lawrence, K. J. Andersen, R. B. Barreiro, J. Borrill, L. P. L. Colombo, H. K. Eriksen, R. Fernandez-Cobos, T. S. Kisner, E. Martinez-Gonzalez, B. Partridge, D. Scott, T. L. Svalheim, and I. K. Wehus, Phys. Rev. D 105, 083524 (2022).
- M. Tegmark and G. Efstathiou, Mon. Not. R. Astron. Soc. 281, 1297 (1996).
- W. Hu, M. M. Hedman, and M. Zaldarriaga, Phys. Rev. D 67, 043004 (2003).
- S. Stellati, F. Piacentini, S. Micheli, A. Novelli, F. Columbro, A. Coppolecchia, P. de Bernardis, S. Masi, M. Najafi, A. Occhiuzzi et al., J. Cosmol. Astropart. Phys. 02 (2026) 003.
- A. Lewis and A. Challinor, Phys. Rep. 429, 1 (2006).
- S. Belkner, J. Carron, L. Legrand, C. Umiltà, C. Pryke, C. Bischoff, and CMB-S4 Collaboration, Astrophys. J. 964, 148 (2024).
- P. A. Ade, N. Aghanim, Z. Ahmed, R. W. Aikin, K. D. Alexander, M. Arnaud, J. Aumont, C. Baccigalupi, A. J. Banday, D. Barkats et al., Phys. Rev. Lett. 114, 101301 (2015).
- Y. Akrami, M. Ashdown, J. Aumont, C. Baccigalupi, M. Ballardini, A. J. Banday, R. Barreiro, N. Bartolo, S. Basak, K. Benabed et al., Astron. Astrophys. 641, A11 (2020).
- F. A. Martire, R. B. Barreiro, and E. Martínez-González, J. Cosmol. Astropart. Phys. 04 (2022) 003.
- S. K. Choi and L. A. Page, J. Cosmol. Astropart. Phys. 12 (2015) 020.
- F. Bianchini, D. Beck, W. K. Wu, Z. Ahmed, S. Belkner, J. Carron, B. S. Hensley, C. L. Pryke, C. Umiltá, and CMB-S4 Collaboration, Astrophys. J. 993, 105 (2025).
- R. Stompor, S. Leach, F. Stivoli, and C. Baccigalupi, Mon. Not. R. Astron. Soc. 392, 216 (2009).
- D. Poletti and J. Errard, FGBuster: Parametric component separation for Cosmic Microwave Background observations, Astrophysics Source Code Library, record ascl:2307.021 (2023).
- K. Abazajian, G. E. Addison, P. Adshead, Z. Ahmed, D. Akerib, A. Ali, S. W. Allen, D. Alonso, M. Alvarez, M. A. Amin et al., Astrophys. J. 926, 54 (2022).
- C. Bennett, G. Smoot, G. Hinshaw, E. Wright, A. Kogut, G. De Amici, S. Meyer, R. Weiss, D. Wilkinson, S. Gulkis et al., Astrophys. J. 396, L7 (1992).
- C. L. Bennett, R. S. Hill, G. Hinshaw, M. Nolta, N. Odegard, L. Page, D. Spergel, J. Weiland, E. Wright, M. Halpern et al., Astrophys. J. Suppl. Ser. 148, 97 (2003).
- M. Tegmark, A. de Oliveira-Costa, and A. J. Hamilton, Phys. Rev. D 68, 123523 (2003).
- H. K. Eriksen, A. Banday, K. Górski, and P. Lilje, Astrophys. J. 612, 633 (2004).
- J. Delabrouille, J.-F. Cardoso, M. Le Jeune, M. Betoule, G. Fay, and F. Guilloux, Astron. Astrophys. 493, 835 (2009).
- M. Remazeilles, J. Delabrouille, and J.-F. Cardoso, Mon. Not. R. Astron. Soc. 410, 2481 (2011).
- C. Leloup, J. Errard, and R. Stompor, Phys. Rev. D 108, 123547 (2023).
- L. Gomez Bachar, A. T. Chantada, S. J. Landau, C. G. Scoccola, and P. Protopapas, Phys. Rev. D 112, 063515 (2025).
- S. Kannan, T. Qiu, C. Cuesta-Lazaro, and H. Jeong, Mach. Learn. Sci. Tech. 7, 055019 (2026).
- J. Zeghal, D. Lanzieri, F. Lanusse, A. Boucaud, G. Louppe, E. Aubourg, and A. E. Bayer, Astron. Astrophys. 699, A327 (2025).
- S.-F. Chen, K.-F. Chen, and C. Dvorkin, J. Cosmol. Astropart. Phys. 11 (2025) 082.
- A. Akhmetzhanova, S. Mishra-Sharma, and C. Dvorkin, Mon. Not. R. Astron. Soc. 527, 7459 (2024).
- G. Zhang, A. C. Sengul, and C. Dvorkin, Mon. Not. R. Astron. Soc. 527, 4183 (2023).
- T.-Y. Sun, T.-N. Li, H. Wang, J.-F. Zhang, and X. Zhang, Phys. Rev. D 114, 043547 (2026).
- J. Casas, L. Bonavera, J. González-Nuevo, C. Baccigalupi, M. Cueli, D. Crespo, E. Goitia, J. Santos, M. Sánchez, and F. de Cos, Astron. Astrophys. 666, A89 (2022).
- G.-J. Wang, H.-L. Shi, Y.-P. Yan, J.-Q. Xia, Y.-Y. Zhao, S.-Y. Li, and J.-F. Li, Astrophys. J. Suppl. Ser. 260, 13 (2022).
- Y.-P. Yan, G.-J. Wang, S.-Y. Li, and J.-Q. Xia, Astrophys. J. 947, 29 (2023).
- Y.-P. Yan, S.-Y. Li, G.-J. Wang, Z. Zhang, and J.-Q. Xia, Astrophys. J. Suppl. Ser. 274, 4 (2024).
- D. Heurtel-Depeiges, B. Burkhart, R. Ohana, and B. R.-S. Blancard, arXiv:2310.16285.
- F. McCarthy, J. C. Hill, W. R. Coulton, and D. W. Hogg, Phys. Rev. D 111, 063549 (2025).
- S. K. Yadav, arXiv:2411.01233.
- A. J. Duivenvoorden, K. Surrao, A. E. Bayer, A. E. Adler, N. Dachlythra, S. Azzoni, and J. C. Hill, arXiv:2512.16869.
- M. H. Abitbol, Z. Ahmed, D. Barron, R. B. Thakur, A. N. Bender, B. A. Benson, C. A. Bischoff, S. A. Bryan, J. E. Carlstrom, C. L. Chang et al., 10.2172/1414402 (2017).
- K. N. Abazajian, P. Adshead, Z. Ahmed, S. W. Allen, D. Alonso, K. S. Arnold, C. Baccigalupi, J. G. Bartlett, N. Battaglia, B. A. Benson et al., arXiv:1610.02743.
- K. M. Górski, E. Hivon, A. J. Banday, B. D. Wandelt, F. K. Hansen, M. Reinecke, and M. Bartelmann, Astrophys. J. 622, 759 (2005).
- A. Zonca, L. Singer, D. Lenz, M. Reinecke, C. Rosset, E. Hivon, and K. Gorski, J. Open Source Software 4, 1298 (2019).
- A. Lewis, A. Challinor, and A. Lasenby, Astrophys. J. 538, 473 (2000).
- N. Aghanim et al. (Planck Collaboration), Astron. Astrophys. 641, A6 (2020).
- M. Reinecke, S. Belkner, and J. Carron, Astron. Astrophys. 678, A165 (2023).
- D. Alonso, J. Sanchez, and A. Slosar (LSST Dark Energy Science Collaboration), Mon. Not. R. Astron. Soc. 484, 4127 (2019).
- J. Grain, M. Tristram, and R. Stompor, Phys. Rev. D 79, 123515 (2009).
- N. Galitzki, T. Tsan, J. Spisak, M. Randall, M. Silva-Feaver, J. Seibert, J. Lashner, S. Adachi, S. M. Adkins, T. Alford et al., Astrophys. J. Suppl. Ser. 274, 33 (2024).
- K. W. Yoon, P. A. Ade, D. Barkats, J. Battle, E. Bierman, J. Bock, J. Brevik, H. Chiang, A. Crites, C. Dowell et al., in Millimeter and Submillimeter Detectors and Instrumentation for Astronomy III (SPIE, Bellingham, WA, 2006), Vol. 6275, pp. 508–525.
- A. Schillaci, P. Ade, Z. Ahmed, M. Amiri, D. Barkats, R. B. Thakur, C. Bischoff, J. Bock, H. Boenish, E. Bullock et al., J. Low Temp. Phys. 199, 976 (2020).
- J.-C. Hamilton, L. Mousset, E. Battistelli, P. De Bernardis, M.-A. Bigot-Sazy, P. Chanial, R. Charlassier, G. D’Alessandro, M. De Petris, M. G. Lerena et al., J. Cosmol. Astropart. Phys. 04 (2022) 034.
- L. Mousset, M. G. Lerena, E. Battistelli, P. De Bernardis, P. Chanial, G. d’Alessandro, G. Dashyan, M. De Petris, L. Grandsire, J.-C. Hamilton et al., J. Cosmol. Astropart. Phys. 04 (2022) 035.
- S. Torchinsky, J.-C. Hamilton, M. Piat, E. Battistelli, P. De Bernardis, C. Chapron, G. d’Alessandro, M. De Petris, M. G. Lerena, M. González et al., J. Cosmol. Astropart. Phys. 04 (2022) 036.
- A. Zonca, B. Thorne, N. Krachmalnicoff, and J. Borrill, J. Open Source Software 6, 3783 (2021).
- R. Adam et al. (Planck Collaboration), Astron. Astrophys. 594, A10 (2016).
- C. L. Bennett, D. Larson, J. L. Weiland, N. Jarosik, G. Hinshaw, N. Odegard, K. Smith, R. Hill, B. Gold, M. Halpern et al., Astrophys. J. Suppl. Ser. 208, 20 (2013).
- D. P. Finkbeiner, M. Davis, and D. J. Schlegel, Astrophys. J. 524, 867 (1999).
- G. Martínez-Solaeche, A. Karakci, and J. Delabrouille, Mon. Not. R. Astron. Soc. 476, 1310 (2018).
- A. Kogut, Astrophys. J. 753, 110 (2012).
- R. Fernandez-Cobos, A. Marcos-Caballero, P. Vielva, E. Martinez-Gonzalez, and R. B. Barreiro, Mon. Not. R. Astron. Soc. 459, 441 (2016).
- Z. Zhang, Y. Liu, S.-Y. Li, D.-L. Wu, H. Li, and H. Li, J. Cosmol. Astropart. Phys. 07 (2022) 044.
- J. Kim, P. Naselsky, and P. R. Christensen, Phys. Rev. D 79, 023003 (2009).
- S. Basak and J. Delabrouille, Mon. Not. R. Astron. Soc. 435, 18 (2013).
- G. M. Morton, A Computer Oriented Geodetic Data Base and a New Technique in File Sequencing (International Business Machines Company, Ottawa, Canada, 1966).
- I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning (MIT Press, Cambridge, MA, 2016), Sec. 7.8, “Early Stopping”.
- O. Ronneberger, P. Fischer, and T. Brox, arXiv:1505.04597.
- C. E. Shannon, Bell Syst. Tech. J. 27, 379 (1948).
- http://iaifi.org/.
- L. Gomez Bachar, C. Dvorkin, and A. D. Supanitsky, cNNbP, GitHub, https://github.com/LucaGomez/cNNbP (2026).