Generative AI to Quantify Uncertainty in Weather Forecasting
Google Research introduces SEEDS (Scalable Ensemble Envelope Diffusion Sampler), a generative AI model that efficiently produces weather forecast ensembles using denoising diffusion probabilistic models. Traditional physics-based ensemble forecasting requires hours on supercomputers and typically yields only 10-50 members due to cost. SEEDS conditions on as few as one or two operational forecasts and generates 256 ensemble members in 3 minutes on TPUv3-32, achieving comparable or better skill scores (rank histogram, RMSE, CRPS) while accurately representing tail probabilities for extreme events. For the 2022 European heatwave, SEEDS' 16,384-member ensemble captured observed conditions that the 31-member operational ensemble missed entirely. This hybrid approach can free computational resources to improve physical model resolution or forecast frequency.
Accurate weather forecasts can have a direct impact on people's lives, from helping make routine decisions, like what to pack for a day's activities, to informing urgent actions, for example, protecting people in the face of hazardous weather conditions. The importance of accurate and timely weather forecasts will only increase as the climate changes. Recognizing this, we at Google have been investing in weather and climate research to help ensure that the forecasting technology of tomorrow can meet the demand for reliable weather information. Some of our recent innovations include MetNet-3, Google's high-resolution forecasts up to 24-hours into the future, and GraphCast, a weather model that can predict weather up to 10 days ahead.
Weather is inherently stochastic. To quantify the uncertainty, traditional methods rely on physics-based simulation to generate an ensemble of forecasts. However, it is computationally costly to generate a large ensemble so that rare and extreme weather events can be discerned and characterized accurately.
With that in mind, we are excited to announce our latest innovation designed to accelerate progress in weather forecasting, Scalable Ensemble Envelope Diffusion Sampler (SEEDS), recently published in Science Advances. SEEDS is a generative AI model that can efficiently generate ensembles of weather forecasts at scale at a small fraction of the cost of traditional physics-based forecasting models. This technology opens up novel opportunities for weather and climate science, and it represents one of the first applications to weather and climate forecasting of probabilistic diffusion models, a generative AI technology behind recent advances in media generation.
准确的天气预报直接影响人们的生活,既有助于做出日常决策(比如为一天活动准备什么物品),也能在危险天气条件下指导紧急行动(例如保护人员安全)。随着气候变化,准确及时的天气预报将变得更加重要。认识到这一点,Google 在天气和气候研究方面持续投入,确保未来的预报技术能满足对可靠气象信息的需求。我们近期的创新包括 MetNet-3(Google 的未来 24 小时高分辨率预报)和 GraphCast(可预报未来 10 天天气的模型)。
天气天生具有随机性。为量化不确定性,传统方法依赖基于物理的模拟生成集合预报。然而,要生成足够大的集合以准确识别和描述罕见极端天气事件,计算成本极高。
为此,我们高兴地宣布最新创新——可扩展集合包络扩散采样器(SEEDS),该成果近日发表在《科学进展》上。SEEDS 是一种生成式 AI 模型,能以远低于传统物理预报模型的成本,大规模高效生成集合预报。该技术为天气和气候科学开辟了新机遇,也是概率扩散模型(支撑近期媒体生成进步的技术)在天气预报中的首批应用之一。
The need for probabilistic forecasts: the butterfly effect
In December 1972, at the American Association for the Advancement of Science meeting in Washington, D.C., MIT meteorology professor Ed Lorenz gave a talk entitled, "Does the Flap of a Butterfly's Wings in Brazil Set Off a Tornado in Texas?", which contributed to the term "butterfly effect". He was building on his earlier, landmark 1963 paper where he examined the feasibility of "very-long-range weather prediction" and described how errors in initial conditions grow exponentially when integrated in time with numerical weather prediction models. This exponential error growth, known as chaos, results in a deterministic predictability limit that restricts the use of individual forecasts in decision making, because they do not quantify the inherent uncertainty of weather conditions. This is particularly problematic when forecasting extreme weather events, such as hurricanes, heatwaves, or floods.
Recognizing the limitations of deterministic forecasts, weather agencies around the world issue probabilistic forecasts. Such forecasts are based on ensembles of deterministic forecasts, each of which is generated by including synthetic noise in the initial conditions and stochasticity in the physical processes. Leveraging the fast error growth rate in weather models, the forecasts in an ensemble are purposefully different: the initial uncertainties are tuned to generate runs that are as different as possible and the stochastic processes in the weather model introduce additional differences during the model run. The error growth is mitigated by averaging all the forecasts in the ensemble and the variability in the ensemble of forecasts quantifies the uncertainty of the weather conditions.
While effective, generating these probabilistic forecasts is computationally costly. They require running highly complex numerical weather models on massive supercomputers multiple times. Consequently, many operational weather forecasts can only afford to generate ~10–50 ensemble members for each forecast cycle. This is a problem for users concerned with the likelihood of rare but high-impact weather events, which typically require much larger ensembles to assess beyond a few days. For instance, one would need a 10,000-member ensemble to forecast the likelihood of events with 1% probability of occurrence with a relative error less than 10%. Quantifying the probability of such extreme events could be useful, for example, for emergency management preparation or for energy traders.
概率预报的必要性:蝴蝶效应
1972 年 12 月,在华盛顿特区举行的美国科学促进会会议上,MIT 气象学教授 Ed Lorenz 发表了题为“巴西的蝴蝶扇动翅膀是否会在德克萨斯引发龙卷风?”的演讲,由此推动了“蝴蝶效应”一词的普及。该演讲基于他 1963 年具有里程碑意义的论文,在那篇论文中,他研究了“超长期天气预报”的可行性,并描述了初始误差如何在数值天气预报模型积分过程中呈指数增长。这种被称为混沌的指数误差增长导致存在确定性的可预报极限,使得单个预报无法用于决策,因为它们未能量化天气状况固有的不确定性。这在预报飓风、热浪或洪水等极端天气事件时尤为棘手。
认识到确定性预报的局限性后,世界各地的气象机构开始发布概率预报。这类预报基于确定性预报的集合,每个成员都通过加入初始条件中的合成噪声和物理过程中的随机性生成。利用天气模型中误差的快速增长率,集合中的预报被刻意设定为不同:初始不确定性被调整以生成尽可能不同的运行轨迹,而天气模型中的随机过程在运行过程中引入额外差异。通过对集合中所有预报取平均来减轻误差增长,而集合预报的变异性则量化了天气状况的不确定性。
尽管效果显著,但生成这些概率预报的计算成本高昂。它们需要在大型超级计算机上多次运行高度复杂的数值天气模型。因此,许多业务天气预报在每个预报周期只能生成约 10–50 个集合成员。这对于关心罕见但高影响天气事件可能性的用户来说是个问题,因为通常需要更大的集合来评估几天后的情况。例如,要预报发生概率为 1% 的事件(相对误差小于 10%),需要 10000 个集合成员。量化这类极端事件的概率可能很有用,例如用于应急管理准备或能源交易。
SEEDS: AI-enabled advances
In the aforementioned paper, we present the Scalable Ensemble Envelope Diffusion Sampler (SEEDS), a generative AI technology for weather forecast ensemble generation. SEEDS is based on denoising diffusion probabilistic models, a state-of-the-art generative AI method pioneered in part by Google Research.
SEEDS can generate a large ensemble conditioned on as few as one or two forecasts from an operational numerical weather prediction system. The generated ensembles not only yield plausible real-weather–like forecasts but also match or exceed physics-based ensembles in skill metrics such as the rank histogram, the root-mean-squared error (RMSE), and the continuous ranked probability score (CRPS). In particular, the generated ensembles assign more accurate likelihoods to the tail of the forecast distribution, such as ±2σ and ±3σ weather events. Most importantly, the computational cost of the model is negligible when compared to the hours of computational time needed by supercomputers to make a forecast. It has a throughput of 256 ensemble members (at 2° resolution) per 3 minutes on Google Cloud TPUv3-32 instances and can easily scale to higher throughput by deploying more accelerators.
SEEDS:AI 驱动的进步
在上述论文中,我们介绍了可扩展集合包络扩散采样器(SEEDS),一种用于天气预报集合生成的生成式 AI 技术。SEEDS 基于去噪扩散概率模型,这是由 Google Research 部分开创的最先进的生成式 AI 方法。
SEEDS 能够以业务数值天气预报系统中的一两个预报为条件,生成大规模集合。生成的集合不仅产生逼真的、与真实天气相似的预报,而且在技能指标(如秩直方图、均方根误差 RMSE 和连续排序概率评分 CRPS)上达到或超过基于物理的集合。特别是,生成的集合为预报分布的尾部(如 ±2σ 和 ±3σ 天气事件)赋予了更准确的似然。最重要的是,与超级计算机运行预报所需的数小时计算时间相比,该模型的计算成本可忽略不计。在 Google Cloud TPUv3-32 实例上,它每 3 分钟可实现 256 个集合成员(2° 分辨率)的吞吐量,并且可以通过部署更多加速器轻松提高吞吐量。
Generating plausible weather forecasts
Generative AI is known to generate very detailed images and videos. This property is especially useful for generating ensemble forecasts that are consistent with plausible weather patterns, which ultimately result in the most added value for downstream applications. As Lorenz points out, "The [weather forecast] maps which they produce should look like real weather maps." The figure below contrasts the forecasts from SEEDS to those from the operational U.S. weather prediction system (Global Ensemble Forecast System, GEFS) for a particular date during the 2022 European heat waves. We also compare the results to the forecasts from a Gaussian model that predicts the univariate mean and standard deviation of each atmospheric field at each location, a common and computationally efficient but less sophisticated data-driven approach. This Gaussian model is meant to characterize the output of pointwise post-processing, which ignores correlations and treats each grid point as an independent random variable. In contrast, a real weather map would have detailed correlational structures.
Because SEEDS directly models the joint distribution of the atmospheric state, it realistically captures both the spatial covariance and the correlation between mid-tropospheric geopotential and mean sea level pressure, both of which are closely related and are commonly used by weather forecasters for evaluation and verification of forecasts. Gradients in the mean sea level pressure are what drive winds at the surface, while gradients in mid-tropospheric geopotential create upper-level winds that move large-scale weather patterns.
The generated samples from SEEDS shown in the figure below (frames Ca–Ch) display a geopotential trough west of Portugal with spatial structure similar to that found in the operational U.S. forecasts or the reanalysis based on observations. Although the Gaussian model predicts the marginal univariate distributions adequately, it fails to capture cross-field or spatial correlations. This hinders the assessment of the effects that these anomalies may have on hot air intrusions from North Africa, which can exacerbate heat waves over Europe.
生成合理的气象预报
生成式 AI 以生成极其详细的图像和视频而闻名。这一特性对于生成与合理天气模式一致的集合预报特别有用,最终能为下游应用带来最大价值。正如 Lorenz 指出,“他们生成的(天气预报)图应该看起来像真实的气象图。”下图对比了 2022 年欧洲热浪期间某个特定日期,SEEDS 的预报与美国业务天气预报系统(全球集合预报系统 GEFS)的预报。我们还将结果与高斯模型的预报进行了比较,该模型预测每个位置每个大气场的单变量均值和标准差,这是一种常见且计算高效但不太复杂的数据驱动方法。这种高斯模型旨在表征逐点后处理的输出,但忽略了相关性,将每个网格点视为独立随机变量。相比之下,真实的气象图具有详细的相关结构。
由于 SEEDS 直接模拟大气状态的联合分布,它能够真实地捕捉空间协方差以及对流层中层位势高度与平均海平面气压之间的相关性,这两个变量密切相关,且常用于预报员的评估和验证。平均海平面气压的梯度驱动地面风,而对流层中层位势高度的梯度则产生推动大尺度天气模式的高层风。
下图(帧 Ca–Ch)中展示的 SEEDS 生成样本显示葡萄牙西侧有一个位势槽,其空间结构与美国业务预报或基于观测的再分析相似。尽管高斯模型能充分预测边缘单变量分布,但它未能捕捉跨场或空间相关性。这阻碍了对这些异常可能对来自北非的热空气入侵(可能加剧欧洲热浪)的影响进行评估。
Covering extreme events more accurately
Below we show the joint distributions of temperature at 2 meters and total column water vapor near Lisbon during the extreme heat event on 2022/07/14, at 1:00 local time. We used the 7-day forecasts issued on 2022/07/07. For each plot, we generate 16,384-member ensembles with SEEDS. The observed weather event from ERA5 is denoted by the star. The operational ensemble is also shown, with squares denoting the forecasts used to seed the generated ensembles, and triangles denoting the rest of ensemble members.
According to the U.S. operational ensemble, the observed event was so unlikely seven days prior that none of its 31 members predicted near-surface temperatures as warm as those observed. Indeed, the event probability computed from a Gaussian kernel density estimate is lower than 1%, which means that ensembles with less than 100 members are unlikely to contain forecasts as extreme as this event. In contrast, the SEEDS ensembles are able to extrapolate from the two seeding forecasts, providing an envelope of possible weather states with much better statistical coverage of the event. This allows both quantifying the probability of the event taking place and sampling weather regimes under which it would occur. Specifically, our highly scalable generative approach enables the creation of very large ensembles that can characterize very rare events by providing samples of weather states exceeding a given threshold for any user-defined diagnostic.
更准确地覆盖极端事件
下面我们展示了 2022 年 7 月 14 日当地时间 1:00,里斯本附近极端高温事件期间 2 米温度与总柱水汽的联合分布。我们使用了 2022 年 7 月 7 日发布的 7 天预报。对于每个图,我们使用 SEEDS 生成了 16384 个集合成员。来自 ERA5 的观测天气事件用星号表示。业务集合也已显示,其中方块表示用于生成集合的种子预报,三角形表示其余集合成员。
根据美国业务集合,观测事件在七天前如此不可能,以至于其 31 个成员中没有一个预测到接近地面温度如此之高。实际上,通过高斯核密度估计计算的事件概率低于 1%,这意味着少于 100 个成员的集合不太可能包含像该事件一样极端的预报。相比之下,SEEDS 集合能够从两个种子预报进行外推,提供一个可能天气状态的包络,对该事件有更好的统计覆盖。这既可以量化事件发生的概率,也可以对其发生时的天气状态进行抽样。具体来说,我们高度可扩展的生成方法能够创建非常大的集合,通过提供超过任何用户定义诊断阈值的天气状态样本来描述非常罕见的事件。
Conclusion and future outlook
SEEDS leverages the power of generative AI to produce ensemble forecasts comparable to those from the operational U.S. forecast system, but at an accelerated pace. The results reported in this paper need only 2 seeding forecasts from the operational system, which generates 31 forecasts in its current version. This leads to a hybrid forecasting system where a few weather trajectories computed with a physics-based model are used to seed a diffusion model that can generate additional forecasts much more efficiently. This methodology provides an alternative to the current operational weather forecasting paradigm, where the computational resources saved by the statistical emulator could be allocated to increasing the resolution of the physics-based model or issuing forecasts more frequently.
We believe that SEEDS represents just one of the many ways that AI will accelerate progress in operational numerical weather prediction in coming years. We hope this demonstration of the utility of generative AI for weather forecast emulation and post-processing will spur its application in research areas such as climate risk assessment, where generating a large number of ensembles of climate projections is crucial to accurately quantifying the uncertainty about future climate.
结论与未来展望
SEEDS 利用生成式 AI 的力量产生与美国业务预报系统相当的集合预报,但速度更快。本文报告的结果仅需业务系统(当前版本生成 31 个预报)的 2 个种子预报。这形成了一个混合预报系统,其中基于物理模型计算的少数天气轨迹用于为扩散模型提供种子,该模型可以更高效地生成额外预报。这种方法为当前的业务天气预报范式提供了替代方案:通过统计仿真器节省的计算资源,可以用于提高物理模型的分辨率或更频繁地发布预报。
我们相信,SEEDS 只是 AI 在未来几年加速业务数值天气预报进步的方式之一。我们希望生成式 AI 在天气预报仿真和后处理中的效用将推动其在气候风险评估等研究领域的应用,在这些领域中,生成大量气候预测集合对于准确量化未来气候的不确定性至关重要。
Acknowledgements
All SEEDS authors, Lizao Li, Rob Carver, Ignacio Lopez-Gomez, Fei Sha and John Anderson, co-authored this blog post, with Carla Bromberg as Program Lead. We also thank Tom Small who designed the animation. Our colleagues at Google Research have provided invaluable advice to the SEEDS work. Among them, we thank Leonardo Zepeda-Núñez, Zhong Yi Wan, Stephan Rasp, Stephan Hoyer, and Tapio Schneider for their inputs and useful discussion. We thank Tyler Russell for additional technical program management, as well as Alex Merose for data coordination and support. We also thank Cenk Gazen, Shreya Agrawal, and Jason Hickey for discussions in the early stage of the SEEDS work.
致谢
所有 SEEDS 作者 Lizao Li、Rob Carver、Ignacio Lopez-Gomez、Fei Sha 和 John Anderson 共同撰写了这篇博文,Carla Bromberg 担任项目负责人。我们还感谢设计动画的 Tom Small。Google Research 的同事们为 SEEDS 工作提供了宝贵的建议。其中,我们感谢 Leonardo Zepeda-Núñez、Zhong Yi Wan、Stephan Rasp、Stephan Hoyer 和 Tapio Schneider 的意见和有益讨论。感谢 Tyler Russell 提供的额外技术项目管理,以及 Alex Merose 的数据协调与支持。此外,还要感谢 Cenk Gazen、Shreya Agrawal 和 Jason Hickey 在 SEEDS 工作早期阶段的讨论。