Papers › PreDiff: Precipitation Nowcasting with Latent Diffusion Models

PreDiff: Precipitation Nowcasting with Latent Diffusion Models

19 Jul 2023NeurIPS 2023 11arXiv:2307.10422archive 2025-07-28

Zhihan Gao, Xingjian Shi, Boran Han, Hao Wang, Xiaoyong Jin, Danielle Maddix, Yi Zhu, Mu Li, Yuyang Wang

Earth system forecasting has traditionally relied on complex physical models that are computationally expensive and require significant domain expertise. In the past decade, the unprecedented increase in spatiotemporal Earth observation data has enabled data-driven forecasting models using deep learning techniques. These models have shown promise for diverse Earth system forecasting tasks but either struggle with handling uncertainty or neglect domain-specific prior knowledge, resulting in averaging possible futures to blurred forecasts or generating physically implausible predictions. To address these limitations, we propose a two-stage pipeline for probabilistic spatiotemporal forecasting: 1) We develop PreDiff, a conditional latent diffusion model capable of probabilistic forecasts. 2) We incorporate an explicit knowledge alignment mechanism to align forecasts with domain-specific physical constraints. This is achieved by estimating the deviation from imposed constraints at each denoising step and adjusting the transition distribution accordingly. We conduct empirical studies on two datasets: N-body MNIST, a synthetic dataset with chaotic behavior, and SEVIR, a real-world precipitation nowcasting dataset. Specifically, we impose the law of conservation of energy in N-body MNIST and anticipated precipitation intensity in SEVIR. Experiments demonstrate the effectiveness of PreDiff in handling uncertainty, incorporating domain-specific prior knowledge, and generating forecasts that exhibit high operational utility.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.10422")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: community (archive-listed): 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gaozhihan/PreDiff mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 2 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
2ran · fixture could not drive it
3ran
4unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gaozhihan/PreDiff. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

downsample_2d gaozhihan/PreDiff/src/prediff/taming/resnet.py community (archive-listed) ran Apache-2.0 (permissive) · f46bcb6099334fa6 · report
make_beta_schedule gaozhihan/PreDiff/src/prediff/diffusion/utils.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · 3bd7e0cdbd131fdb · report
make_ddim_sampling_parameters gaozhihan/PreDiff/src/prediff/diffusion/utils.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 3ee640131c9d4362 · report
make_ddim_timesteps gaozhihan/PreDiff/src/prediff/diffusion/utils.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · 0ea4e960ea54514c · report
normal_kl gaozhihan/PreDiff/src/prediff/utils/distributions.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 17eb0a31c91b671c · report
rearrange_dims gaozhihan/PreDiff/src/prediff/taming/resnet.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · a191f9f21d279753 · report
timestep_embedding gaozhihan/PreDiff/src/prediff/models/utils.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 7e83c65f054fb972 · report
zero_module gaozhihan/PreDiff/src/prediff/models/utils.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 129b804760b3115f · report
checkpoint gaozhihan/PreDiff/src/prediff/models/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 6fe195fcfd10e259 · report
get_down_block gaozhihan/PreDiff/src/prediff/taming/unet_2d_blocks.py community (archive-listed) unverified Apache-2.0 (permissive) · 333f0e96a20e3d88 · report
get_up_block gaozhihan/PreDiff/src/prediff/taming/unet_2d_blocks.py community (archive-listed) unverified Apache-2.0 (permissive) · 8f6fe233efb4c95a · report
upsample_2d gaozhihan/PreDiff/src/prediff/taming/resnet.py community (archive-listed) unverified Apache-2.0 (permissive) · 31e7ed79c46ee9a9 · report

Tasks

DenoisingEarth ObservationPrecipitation Forecasting

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Precipitation Forecasting SEVIR PreDiff CSI-pool16 0.6244 #1 of 1 Archive leaderboard report
Precipitation Forecasting SEVIR PreDiff CSI-pool4 0.4624 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

ALIGNDiffusionLatent Diffusion Model

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections