Proceedings

CoDiCast: Conditional Diffusion Model for Global Weather Forecasting with Uncertainty Quantification

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. AI and Social Good. Pages 9853-9861.

https://doi.org/10.24963/ijcai.2025/1095

Abstract

Accurate weather forecasting is critical for science and society. However, existing methods have not achieved the combination of high accuracy, low uncertainty, and high computational efficiency simultaneously. On one hand, traditional numerical weather prediction (NWP) models are computationally intensive because of their complexity. On the other hand, most machine learning-based weather prediction (MLWP) approaches offer efficiency and accuracy but remain deterministic, lacking the ability to capture forecast uncertainty. To tackle these challenges, we propose a conditional diffusion model, CoDiCast, to generate global weather prediction, integrating accuracy and uncertainty quantification at a modest computational cost. The key idea behind the prediction task is to generate realistic weather scenarios at a future time point, conditioned on observations from the recent past. Due to the probabilistic nature of diffusion models, they can be properly applied to capture the uncertainty of weather predictions. Therefore, we accomplish uncertainty quantifications by repeatedly sampling from stochastic Gaussian noise for each initial weather state and running the denoising process multiple times. Experimental results demonstrate that CoDiCast outperforms several existing MLWP methods in accuracy, and is faster than NWP models in inference speed. Our model can generate 6-day global weather forecasts, at 6-hour steps and 5.625-degree latitude-longitude resolutions, for over 5 variables, in about 12 minutes on a commodity A100 GPU machine with 80GB memory. The source code is available at https://github.com/JimengShi/CoDiCast.

  1. [Ali et al., 2014] Peshawa Jamal Muhammad Ali, Rezhna Hassan Faraj, Erbil Koya, Peshawa J Muhammad Ali, and Rezhna H Faraj. Data normalization and stan- dardization: a technical report. Mach Learn Tech Rep, 1(1):1-6, 2014.
  2. [Asperti et al., 2023] Andrea Asperti, Fabio Merizzi, Al- berto Paparella, Giorgio Pedrazzi, Matteo Angelinelli, and Stefano Colamonaco. Precipitation nowcasting with generative diffusion models. arXiv preprint arXiv:2308.06733, 2023.
  3. [Balaji et al., 2022] V Balaji, Fleur Couvreux, Julie De- shayes, Jacques Gautrais, Frédéric Hourdin, and Cather- ine Rio. Are general circulation models obsolete? Proceedings of the National Academy of Sciences, 119(47):e2202075119, 2022.
  4. [Baldi, 2012] Pierre Baldi. Autoencoders, unsupervised learning, and deep architectures. In Proceedings of ICML workshop on unsupervised and transfer learning, pages 37-49, Edinburgh, Scotland, 2012. JMLR Workshop and Conference Proceedings.
  5. [Bauer et al., 2015] Peter Bauer, Alan Thorpe, and Gilbert Brunet. The quiet revolution of numerical weather pre- diction. Nature, 525(7567):47-55, 2015.
  6. [Ben Bouallègue et al., 2024] Zied Ben Bouallègue, Mar- iana CA Clare, Linus Magnusson, Estibaliz Gascon, Michael Maier-Gerber, Martin Janoušek, Mark Rodwell, Florian Pinault, Jesper S Dramsch, Simon TK Lang, et al. The rise of data-driven weather forecasting: A first statis- tical assessment of machine learning-based weather fore- casts in an operational-like context. Bulletin of the Ameri- can Meteorological Society, 105(6):E864-E883, 2024.
  7. [Bi et al., 2023] Kaifeng Bi, Lingxi Xie, Hengheng Zhang, Xin Chen, Xiaotao Gu, and Qi Tian. Accurate medium- range global weather forecasting with 3d neural networks. Nature, 619(7970):533-538, 2023.
  8. [Brempong et al., 2022] Emmanuel Asiedu Brempong, Si- mon Kornblith, Ting Chen, Niki Parmar, Matthias Min- derer, and Mohammad Norouzi. Denoising pretraining for semantic segmentation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4175-4186, 2022.
  9. [Buizza, 2008] Roberto Buizza. Comparison of a 51- member low-resolution (t l 399l62) ensemble with a 6- member high-resolution (t l 799l91) lagged-forecast en- semble. Monthly weather review, 136(9):3343-3362, 2008.
  10. [Bülte et al., 2024] Christopher Bülte, Nina Horat, Julian Quinting, and Sebastian Lerch. Uncertainty quantifi- cation for data-driven weather models. arXiv preprint arXiv:2403.13458, 2024.
  11. [Chen et al., 2018] Ricky TQ Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary dif- ferential equations. Advances in neural information pro- cessing systems, 31, 2018.
  12. [Chen et al., 2023a] Kang Chen, Tao Han, Junchao Gong, Lei Bai, Fenghua Ling, Jing-Jia Luo, Xi Chen, Leiming Ma, Tianning Zhang, Rui Su, et al. Fengwu: Pushing the skillful global medium-range weather forecast beyond 10 days lead. arXiv preprint arXiv:2304.02948, 2023.
  13. [Chen et al., 2023b] Lei Chen, Xiaohui Zhong, Feng Zhang, Yuan Cheng, Yinghui Xu, Yuan Qi, and Hao Li. Fuxi: A cascade machine learning forecasting system for 15-day global weather forecast. npj Climate and Atmospheric Sci- ence, 6(1):190, 2023.
  14. [ECMWF, 2023] ECMWF. Medium-range forecasts, 2023.
  15. [Gal and Ghahramani, 2016] Yarin Gal and Zoubin Ghahra- mani. Dropout as a bayesian approximation: Representing model uncertainty in deep learning. In international con- ference on machine learning, pages 1050-1059. PMLR, 2016.
  16. [Gao et al., 2024] Zhihan Gao, Xingjian Shi, Boran Han, Hao Wang, Xiaoyong Jin, Danielle Maddix, Yi Zhu, Mu Li, and Yuyang Bernie Wang. Prediff: Precipitation nowcasting with latent diffusion models. Advances in Neu- ral Information Processing Systems, 36, 2024.
  17. [Hersbach et al., 2020] Hans Hersbach, Bill Bell, Paul Berrisford, Shoji Hirahara, András Horányi, Joaquín Muñoz-Sabater, Julien Nicolas, Carole Peubey, Raluca Radu, Dinand Schepers, et al. The era5 global reanaly- sis. Quarterly Journal of the Royal Meteorological Soci- ety, 146(730):1999-2049, 2020.
  18. [Hertz et al., 2022] Amir Hertz, Ron Mokady, Jay Tenen- baum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention con- trol. arXiv preprint arXiv:2208.01626, 2022.
  19. [Hewage et al., 2021] Pradeep Hewage, Marcello Trovati, Ella Pereira, and Ardhendu Behera. Deep learning-based effective fine-grained weather forecasting model. Pattern Analysis and Applications, 24(1):343-366, 2021.
  20. [Ho and Salimans, 2022] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
  21. [Ho et al., 2020] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840-6851, 2020.
  22. [Jaseena and Kovoor, 2022] KU Jaseena and Binsu C Kovoor. Deterministic weather forecasting models based on intelligent predictors: A survey. Journal of king saud university-computer and information sciences, 34(6):3393-3412, 2022.
  23. [Keisler, 2022] Ryan Keisler. Forecasting global weather with graph neural networks. arXiv preprint arXiv:2202.07575, 2022.
  24. [Kochkov et al., 2024] Dmitrii Kochkov, Janni Yuval, Ian Langmore, Peter Norgaard, Jamie Smith, Griffin Mooers, Milan Klöwer, James Lottes, Stephan Rasp, Peter Düben, et al. Neural general circulation models for weather and climate. Nature, pages 1-7, 2024.
  25. [Lam et al., 2023] Remi Lam, Alvaro Sanchez-Gonzalez, Matthew Willson, Peter Wirnsberger, Meire Fortunato, Ferran Alet, Suman Ravuri, Timo Ewalds, Zach Eaton- Rosen, Weihua Hu, et al. Learning skillful medium-range global weather forecasting. Science, 382(6677):1416- 1421, 2023.
  26. [Leinonen et al., 2023] Jussi Leinonen, Ulrich Hamann, Daniele Nerini, Urs Germann, and Gabriele Franch. Latent diffusion models for generative precipitation nowcasting with accurate uncertainty quantification. arXiv preprint arXiv:2304.12891, 2023.
  27. [Li et al., 2022] Haoying Li, Yifan Yang, Meng Chang, Shiqi Chen, Huajun Feng, Zhihai Xu, Qi Li, and Yueting Chen. Srdiff: Single image super-resolution with diffusion prob- abilistic models. Neurocomputing, 479:47-59, 2022.
  28. [Luo and Hu, 2021] Shitong Luo and Wei Hu. Diffusion probabilistic models for 3d point cloud generation. In Pro- ceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2837-2845, 2021.
  29. [Morley et al., 2018] SK Morley, DT Welling, and JR Woodroffe. Perturbed input ensemble modeling with the space weather modeling framework. Space Weather, 16(9):1330-1347, 2018.
  30. [Nguyen et al., 2023] Tung Nguyen, Johannes Brandstetter, Ashish Kapoor, Jayesh K Gupta, and Aditya Grover. Cli- max: A foundation model for weather and climate. arXiv preprint arXiv:2301.10343, 2023.
  31. [Nichol et al., 2021] Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob McGrew, Ilya Sutskever, and Mark Chen. Glide: Towards photore- alistic image generation and editing with text-guided dif- fusion models. arXiv preprint arXiv:2112.10741, 2021.
  32. [Palmer, 2012] TN Palmer. Towards the probabilistic earth- system simulator: A vision for the future of climate and weather prediction. Quarterly Journal of the Royal Mete- orological Society, 138(665):841-861, 2012.
  33. [Palmer, 2019] Tim Palmer. The ecmwf ensemble prediction system: Looking back (more than) 25 years and projecting forward 25 years. Quarterly Journal of the Royal Meteo- rological Society, 145:12-24, 2019.
  34. [Pathak et al., 2022] Jaideep Pathak, Shashank Subrama- nian, Peter Harrington, Sanjeev Raja, Ashesh Chattopad- hyay, Morteza Mardani, Thorsten Kurth, David Hall, Zongyi Li, Kamyar Azizzadenesheli, et al. Fourcast- net: A global data-driven high-resolution weather model using adaptive fourier neural operators. arXiv preprint arXiv:2202.11214, 2022.
  35. Price et al., May 2024] Ilan Price, Alvaro Sanchez- Gonzalez, Ferran Alet, Timo Ewalds, Andrew El-Kadi, Jacklynn Stott, Shakir Mohamed, Peter Battaglia, Remi Lam, and Matthew Willson. Gencast: Diffusion-based ensemble forecasting for medium-range weather. arXiv preprint arXiv:2312.15796, May 2024.
  36. [Rasp et al., 2020] Stephan Rasp, Peter D Dueben, Sebastian Scher, Jonathan A Weyn, Soukayna Mouatadid, and Nils Thuerey. Weatherbench: a benchmark data set for data- driven weather forecasting. Journal of Advances in Mod- eling Earth Systems, 12(11):e2020MS002203, 2020.
  37. [Rodwell and Palmer, 2007] MJ Rodwell and TN Palmer. Using numerical weather prediction to assess climate mod- els. Quarterly Journal of the Royal Meteorological Soci- ety: A journal of the atmospheric sciences, applied me- teorology and physical oceanography, 133(622):129-146, 2007.
  38. [Ronneberger et al., 2015] Olaf Ronneberger, Philipp Fis- cher, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical image computing and computer-assisted intervention-MICCAI 2015: 18th international conference, October 5-9, 2015, proceedings, part III 18, pages 234-241, 2015.
  39. [Shi et al., 2023] Jimeng Shi, Rukmangadh Myana, Vitalii Stebliankin, Azam Shirali, and Giri Narasimhan. Explain- able parallel rcnn with novel feature representation for time series forecasting. In International Workshop on Ad- vanced Analytics and Learning on Temporal Data, pages 56-75, Torino, Italy, 2023. Springer.
  40. [Shi et al., 2025] Jimeng Shi, Zeda Yin, Arturo Leon, Jayan- tha Obeysekera, and Giri Narasimhan. Fidlar: Forecast- informed deep learning architecture for flood mitigation. In Proceedings of the AAAI Conference on Artificial Intel- ligence, volume 39, pages 28377-28385, 2025.
  41. [Siddique et al., 2022] Talha Siddique, Md Shaad Mahmud, Amy M Keesee, Chigomezyo M Ngwira, and Hyunju Connor. A survey of uncertainty quantification in ma- chine learning for space weather prediction. Geosciences, 12(1):27, 2022.
  42. [Slingo and Palmer, 2011] Julia Slingo and Tim Palmer. Un- certainty in weather and climate prediction. Philosoph- ical Transactions of the Royal Society A: Mathemati- cal, Physical and Engineering Sciences, 369(1956):4751- 4767, 2011.
  43. [Verma et al., 2024] Yogesh Verma, Markus Heinonen, and Vikas Garg. Climode: Climate and weather forecast- ing with physics-informed neural odes. arXiv preprint arXiv:2404.10024, 2024.
  44. [Zhang et al., 2023] Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. Adding conditional control to text-to-image dif- fusion models. In Proceedings of the IEEE/CVF Interna- tional Conference on Computer Vision, pages 3836-3847, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards