On the Stable Integration of Neural Network Parameterization in Numerical Models
Abstract
1. Introduction
2. Methods
2.1. Generation of the Training Data
2.1.1. The Goal of the Neural Network Parameterization
2.1.2. Setup of the Large Eddy Simulation
2.1.3. Preprocessing of the Training Data
2.2. Structure and Training of the Neural Network
2.2.1. Structure of the Neural Network
2.2.2. Training of the Neural Network
3. Results
3.1. Performance of Neural Network on Validation Set
3.2. Performance of Neural Network Scheme in WRF Model
3.3. Influence of Neural Network Structure on Integration Instability
3.3.1. Output Sensibility of DeepBL–CNN on Instable Points
3.3.2. Feature Map Sensitivity to the Input Disturbance
3.4. Stable Integration of DeepBL–CNN in WRF Model
3.4.1. How to Stabilize Integration of DeepBL–CNN
3.4.2. Comparisons Between the Three Methods
4. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Bertoli, G.; Mohebi, S.; Ozdemir, F.; Jucker, J.; Rüdisühli, S.; Perez-Cruz, F.; Salzmann, M.; Schemm, S. Revisiting machine learning approaches for short-and longwave radiation inference in weather and climate models. J. Adv. Model. Earth Syst. 2025, 17, e2025MS004956. [Google Scholar] [CrossRef] [Scilit]
- Meyer, D.; Hogan, R.J.; Dueben, P.D.; Mason, S.L. Machine learning emulation of 3D cloud radiative effects. J. Adv. Model. Earth Syst. 2022, 14, e2021MS002550. [Google Scholar] [CrossRef] [Scilit]
- Roh, S.; Song, H.J. Evaluation of neural network emulations for radiation parameterization in cloud resolving model. Geophys. Res. Lett. 2020, 47, e2020GL089444. [Google Scholar] [CrossRef] [Scilit]
- Song, H.J.; Roh, S. Improved weather forecasting using neural network emulation for radiation parameterization. J. Adv. Model. Earth Syst. 2021, 13, e2021MS002609. [Google Scholar] [CrossRef] [Scilit]
- Ukkonen, P. Exploring pathways to more accurate machine learning emulation of atmospheric radiative transfer. J. Adv. Model. Earth Syst. 2022, 14, e2021MS002875. [Google Scholar] [CrossRef] [Scilit]
- Yao, Y.; Zhong, X.; Zheng, Y.; Wang, Z. A physics-incorporated deep learning framework for parameterization of atmospheric radiative transfer. J. Adv. Model. Earth Syst. 2023, 15, e2022MS003445. [Google Scholar] [CrossRef] [Scilit]
- Harder, P.; Watson-Parris, D.; Stier, P.; Strassel, D.; Gauger, N.R.; Keuper, J. Physics-informed learning of aerosol microphysics. Environ. Data Sci. 2022, 1, e20. [Google Scholar] [CrossRef] [Scilit]
- Gettelman, A.; Gagne, D.J.; Chen, C.C.; Christensen, M.W.; Lebo, Z.J.; Morrison, H.; Gantos, G. Machine learning the warm rain process. J. Adv. Model. Earth Syst. 2021, 13, e2020MS002268. [Google Scholar] [CrossRef] [Scilit]
- Seifert, A.; Siewert, C. An ML-based P3-like multimodal two-moment ice microphysics in the ICON model. J. Adv. Model. Earth Syst. 2024, 16, e2023MS004206. [Google Scholar] [CrossRef] [Scilit]
- Sharma, S.; Greenberg, D.S. SuperdropNet: A stable and accurate machine learning proxy for droplet-based cloud microphysics. J. Adv. Model. Earth Syst. 2025, 17, e2024MS004279. [Google Scholar] [CrossRef] [Scilit]
- Cheng, Y.; Giometto, M.G.; Kauffmann, P.; Lin, L.; Cao, C.; Zupnick, C.; Li, H.; Li, Q.; Huang, Y.; Abernathey, R.; et al. Deep learning for subgrid-scale turbulence modeling in large-eddy simulations of the convective atmospheric boundary layer. J. Adv. Model. Earth Syst. 2022, 14, e2021MS002847. [Google Scholar] [CrossRef] [Scilit]
- Pal, A. Deep learning emulation of subgrid-scale processes in turbulent shear flows. Geophys. Res. Lett. 2020, 47, e2020GL087005. [Google Scholar] [CrossRef] [Scilit]
- Subel, A.; Chattopadhyay, A.; Guan, Y.; Hassanzadeh, P. Data-driven subgrid-scale modeling of forced Burgers turbulence using deep learning with generalization to higher Reynolds numbers via transfer learning. Phys. Fluids 2021, 33, 031702. [Google Scholar] [CrossRef] [Scilit]
- Vinuesa, R.; Brunton, S.L. Enhancing computational fluid dynamics with machine learning. Nat. Comput. Sci. 2022, 2, 358–366. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.X.; Wu, J.L.; Xiao, H. Physics-informed machine learning approach for reconstructing Reynolds stress modeling discrepancies based on DNS data. Phys. Rev. Fluids 2017, 2, 034603. [Google Scholar] [CrossRef] [Scilit]
- Ling, J.; Kurzawski, A.; Templeton, J. Reynolds averaged turbulence modelling using deep neural networks with embedded invariance. J. Fluid Mech. 2016, 807, 155–166. [Google Scholar] [CrossRef] [Scilit]
- Brenowitz, N.D.; Bretherton, C.S. Prognostic validation of a neural network unified physics parameterization. Geophys. Res. Lett. 2018, 45, 6289–6298. [Google Scholar] [CrossRef] [Scilit]
- Gentine, P.; Pritchard, M.; Rasp, S.; Reinaudi, G.; Yacalis, G. Could machine learning break the convection parameterization deadlock? Geophys. Res. Lett. 2018, 45, 5742–5751. [Google Scholar] [CrossRef] [Scilit]
- Han, Y.; Zhang, G.J.; Huang, X.; Wang, Y. A moist physics parameterization based on deep learning. J. Adv. Model. Earth Syst. 2020, 12, e2020MS002076. [Google Scholar] [CrossRef] [Scilit]
- Rasp, S.; Pritchard, M.S.; Gentine, P. Deep learning to represent subgrid processes in climate models. Proc. Natl. Acad. Sci. USA 2018, 115, 9684–9689. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Han, Y.; Xue, W.; Yang, G.; Zhang, G.J. Stable climate simulations using a realistic general circulation model with neural network parameterizations for atmospheric moist physics and radiation processes. Geosci. Model. Dev. 2022, 15, 3923–3940. [Google Scholar] [CrossRef] [Scilit]
- Yuval, J.; O’Gorman, P.A. Stable machine-learning parameterization of subgrid processes for climate modeling at a range of resolutions. Nat. Commun. 2020, 11, 3295. [Google Scholar] [CrossRef] [Scilit]
- Yuval, J.; O’Gorman, P.A.; Hill, C.N. Use of neural networks for stable, accurate and physically consistent parameterization of subgrid atmospheric processes with good performance at reduced precision. Geophys. Res. Lett. 2021, 48, e2020GL091363. [Google Scholar] [CrossRef] [Scilit]
- Han, Y.; Zhang, G.J.; Wang, Y. An ensemble of neural networks for moist physics processes, its generalizability and stable integration. J. Adv. Model. Earth Syst. 2023, 15, e2022MS003508. [Google Scholar] [CrossRef] [Scilit]
- Mooers, G.; Pritchard, M.; Beucler, T.; Ott, J.; Yacalis, G.; Baldi, P.; Gentine, P. Assessing the potential of deep learning for emulating cloud superparameterization in climate models with real-geography boundary conditions. J. Adv. Model. Earth Syst. 2021, 13, e2020MS002385. [Google Scholar] [CrossRef] [Scilit]
- Watt-Meyer, O.; Brenowitz, N.D.; Clark, S.K.; Henn, B.; Kwa, A.; McGibbon, J.; Perkins, W.A.; Harris, L.; Bretherton, C.S. Neural network parameterization of subgrid-scale physics from a realistic geography global storm-resolving simulation. J. Adv. Model. Earth Syst. 2024, 16, e2023MS003668. [Google Scholar] [CrossRef] [Scilit]
- Brenowitz, N.D.; Bretherton, C.S. Spatially extended tests of a neural network parametrization trained by coarse-graining. J. Adv. Model. Earth Syst. 2019, 11, 2728–2744. [Google Scholar]
- Brenowitz, N.D.; Beucler, T.; Pritchard, M.; Bretherton, C.S. Interpreting and stabilizing machine-learning parametrizations of convection. J. Atmos. Sci. 2020, 77, 4357–4375. [Google Scholar] [CrossRef] [Scilit]
- Ott, J.; Pritchard, M.; Best, N.; Linstead, E.; Curcic, M.; Baldi, P. A fortran-keras deep learning bridge for scientific computing. Sci. Program. 2020, 2020, 8888811. [Google Scholar] [CrossRef] [Scilit]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Wang, L.-Y.; Tan, Z.-M. Deep learning parameterization of the tropical cyclone boundary layer. J. Adv. Model. Earth Syst. 2023, 15, e2022MS003034. [Google Scholar] [CrossRef] [Scilit]
- Skamarock, W.C.; Klemp, J.B.; Dudhia, J.; Gill, D.O.; Barker, D.M.; Duda, M.G.; Huang, X.-Y.; Wang, W.; Powers, J.G. A Description of the Advanced Research WRF Version 3; NCAR Technical Note; NCAR/TN-475+STR; National Center for Atmospheric Research: Boulder, CO, USA, 2008. [Google Scholar]
- Jordan, C.L. Mean soundings for the West Indies area. J. Meteorol. 1958, 15, 91–97. [Google Scholar]
- Rotunno, R.; Emanuel, K.A. An air-sea interaction theory for tropical cyclones. Part II: Evolutionary study using a nonhydrostatic axisymmetric numerical model. J. Atmos. Sci. 1987, 44, 542–561. [Google Scholar]
- Kain, J.S. The Kain-Fritsch convective parameterization: An update. J. Appl. Meteorol. 2004, 43, 170–181. [Google Scholar]
- Chen, S.-H.; Sun, W.-Y. A one-dimensional time-dependent cloud model. J. Meteorol. Soc. Jpn. Ser. II 2002, 80, 99–118. [Google Scholar] [CrossRef] [Scilit]
- Chou, M.; Suarez, M.J.; Liang, X.Z.; Yan, M.M.-H. A Thermal Infrared Radiation Parameterization for Atmospheric Studies; NASA Technical Report; NASA/TM-2001-104606/VOL19; National Center for Atmospheric Research: Boulder, CO, USA, 2001. [Google Scholar]
- Dudhia, J. Numerical study of convection observed during the winter monsoon experiment using a mesoscale two-dimensional model. J. Atmos. Sci. 1989, 46, 3077–3107. [Google Scholar]
- Jiménez, P.A.; Dudhia, J.; González-Rouco, J.F.; Navarro, J.; Montávez, J.P.; García-Bustamante, E. A revised scheme for the WRF surface layer formulation. Mon. Weather Rev. 2012, 140, 898–918. [Google Scholar] [CrossRef] [Scilit]
- Hong, S.Y.; Noh, Y.; Dudhia, J. A new vertical diffusion package with an explicit treatment of entrainment processes. Mon. Weather Rev. 2006, 134, 2318–2341. [Google Scholar] [CrossRef] [Scilit]
- Deardorff, J.W. Stratocumulus-capped mixed layers derived from a three-dimensional model. Boundary-Layer Meteorol. 1980, 18, 495–527. [Google Scholar] [CrossRef] [Scilit]
- Knievel, J.C.; Bryan, G.H.; Hacker, J.P. Explicit numerical diffusion in the WRF model. Mon. Weather Rev. 2007, 135, 3808–3824. [Google Scholar] [CrossRef] [Scilit]
- Klemp, J.B.; Dudhia, J.; Hassiotis, A.D. An upper gravity-wave absorbing layer for NWP applications. Mon. Weather Rev. 2008, 136, 3987–4004. [Google Scholar] [CrossRef] [Scilit]
- Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning (ICML 2015), Lille, France, 6–11 July 2015. [Google Scholar]
- Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; Chen, Z.; Citro, C.; Corrado, G.S.; Davis, A.; Dean, J.; Devin, M.; et al. TensorFlow: Large-scale machine learning on heterogeneous distributed systems. arXiv 2024, arXiv:1605.08695. [Google Scholar]
- Goodfellow, I.J.; Shlens, J.; Szegedy, C. Explaining and harnessing adversarial examples. arXiv 2014, arXiv:1412.6572. [Google Scholar]
- Yoshida, Y.; Miyato, T. Spectral norm regularization for improving the generalizability of deep learning. arXiv 2017, arXiv:1705.10941. [Google Scholar] [CrossRef] [Scilit]
- Gao, H.; Sun, L.; Wang, J.X. Super-resolution and denoising of fluid flow using physics-informed convolutional neural networks without high-resolution labels. Phys. Fluids 2021, 33, 073603. [Google Scholar] [CrossRef] [Scilit]
- Hammoud, M.A.E.R.; Titi, E.S.; Hoteit, I.; Knio, O. CDAnet: A physics-informed deep neural network for downscaling fluid flows. J. Adv. Model. Earth Syst. 2022, 14, e2022MS003051. [Google Scholar] [CrossRef] [Scilit]
- Lu, Y.; Xu, W. Generative downscaling of PDE solvers with physics-guided diffusion models. J. Sci. Comput. 2024, 101, 71. [Google Scholar] [CrossRef] [Scilit]
- Luo, Y.; Fang, S.; Wu, B.; Wen, Q.; Sun, L. Physics-guided learning of meteorological dynamics for weather downscaling and forecasting. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD 2025), Toronto, ON, Canada, 3–7 August 2025. [Google Scholar]
- Lupin-Jimenez, L.; Darman, M.; Hazarika, S.; Wu, T.; Gray, M.; He, R.; Wong, A.; Chattopadhyay, A. Simultaneous emulation and downscaling with physically consistent deep learning-based regional ocean emulators. J. Geophys. Res. Mach. Learn. Comput. 2025, 2, e2025JH000851. [Google Scholar] [CrossRef] [Scilit]












| Network Depth | Number of Feature Maps | ||||||
|---|---|---|---|---|---|---|---|
| 24 | 48 | 52 | 56 | 60 | 64 | 128 | |
| 6 | 0.520 | 0.484 | 0.463 | 0.474 | 0.449 | 0.455 | 0.450 |
| 8 | 0.478 | 0.415 | 0.425 | 0.418 | 0.424 | 0.411 | 0.410 |
| 10 | 0.433 | 0.421 | 0.390 | 0.422 | 0.405 | 0.421 | 0.385 |
| 12 | 0.423 | 0.401 | 0.400 | 0.392 | 0.411 | 0.400 | 0.387 |
| 14 | 0.429 | 0.411 | 0.390 | 0.399 | 0.393 | 0.402 | 0.378 |
| Network Depth | Number of Feature Maps | ||||||
|---|---|---|---|---|---|---|---|
| 64 | 112 | 128 | 144 | 160 | 176 | 256 | |
| 3 | 0.637 | 0.622 | 0.593 | 0.615 | 0.612 | 0.598 | 0.600 |
| 4 | 0.604 | 0.577 | 0.579 | 0.577 | 0.581 | 0.574 | 0.569 |
| 5 | 0.620 | 0.570 | 0.577 | 0.562 | 0.544 | 0.546 | 0.550 |
| 6 | 0.651 | 0.578 | 0.565 | 0.564 | 0.548 | 0.556 | 0.541 |
| 8 | 0.678 | 0.587 | 0.558 | 0.590 | 0.607 | 0.572 | 0.596 |
| 10 | 0.758 | 0.648 | 0.592 | 0.651 | 0.619 | 0.593 | 0.607 |
| 12 | 0.717 | 0.626 | 0.663 | 0.690 | 0.670 | 0.696 | 0.682 |
| Weighing Coefficients | Coefficient Value | ||||||
|---|---|---|---|---|---|---|---|
| 1 × 10−4 | 2 × 10−4 | 5 × 10−4 | 1 × 10−3 | 2 × 10−3 | 5 × 10−3 | 1 × 10−2 | |
| 2 × 10−5 | 5 × 10−5 | 1 × 10−4 | 1 × 10−3 | 1 × 10−2 | |||
| 1 × 10−6 | 1 × 10−5 | 1 × 10−4 | 1 × 10−3 | 1 × 10−2 | |||
| Neural Network | |||||
|---|---|---|---|---|---|
| 176 | 176 | 147 | 176 | ||
| 54 | 54 | 83 | 54 | ||
| mean | 4.75 × 10−2 | 8.61 × 10−2 | 2.23 × 10−2 | 1.33 × 10−2 | |
| 155 | 177 | 158 | 154 | ||
| 75 | 53 | 72 | 76 | ||
| mean | 3.16 × 10−2 | 8.77 × 10−2 | 2.17 × 10−2 | 9.34 × 10−3 | |
| 174 | 167 | 175 | 159 | ||
| 56 | 63 | 55 | 71 | ||
| mean | 4.02 × 10−2 | 6.85 × 10−2 | 3.14 × 10−2 | 8.72 × 10−3 | |
| 153 | 180 | 176 | 135 | ||
| 77 | 50 | 54 | 95 | ||
| mean | 4.68 × 10−2 | 8.38 × 10−2 | 3.11 × 10−2 | 6.12 × 10−3 | |
| 151 | 180 | 178 | 151 | ||
| 79 | 50 | 52 | 79 | ||
| mean | 2.91 × 10−2 | 6.73 × 10−2 | 3.03 × 10−2 | 8.41 × 10−2 | |
| 147 | 175 | 151 | 144 | ||
| 83 | 55 | 79 | 86 | ||
| mean | 3.09 × 10−2 | 7.57 × 10−2 | 2.40 × 10−2 | 7.55 × 10−2 | |
| 165 | 191 | 169 | 166 | ||
| 65 | 39 | 61 | 64 | ||
| mean | 5.41 × 10−2 | 9.35 × 10−2 | 2.84 × 10−2 | 1.10 × 10−2 | |
| 174 | 178 | 169 | 168 | ||
| 56 | 52 | 61 | 62 | ||
| mean | 4.75 × 10−2 | 7.45 × 10−2 | 2.63 × 10−2 | 1.00 × 10−2 | |
| 142 | 178 | 134 | 162 | ||
| 88 | 52 | 96 | 68 | ||
| mean | 3.20 × 10−2 | 8.75 × 10−2 | 9.83 × 10−3 | 1.19 × 10−2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, Y.; Huang, W.; Geng, H.; Ma, Y.; Wang, L. On the Stable Integration of Neural Network Parameterization in Numerical Models. Atmosphere 2026, 17, 306. https://doi.org/10.3390/atmos17030306
Wang Y, Huang W, Geng H, Ma Y, Wang L. On the Stable Integration of Neural Network Parameterization in Numerical Models. Atmosphere. 2026; 17(3):306. https://doi.org/10.3390/atmos17030306
Chicago/Turabian StyleWang, Yifan, Weizhi Huang, Hao Geng, Yi Ma, and Leyi Wang. 2026. "On the Stable Integration of Neural Network Parameterization in Numerical Models" Atmosphere 17, no. 3: 306. https://doi.org/10.3390/atmos17030306
APA StyleWang, Y., Huang, W., Geng, H., Ma, Y., & Wang, L. (2026). On the Stable Integration of Neural Network Parameterization in Numerical Models. Atmosphere, 17(3), 306. https://doi.org/10.3390/atmos17030306
