tailtwist · guided generation of rare weather
Guidance Finds the Storm, Not Its Odds
A diffusion weather emulator can be guided while it generates, so that a rare tropical cyclone appears in 16 of 40 draws at the strongest setting. tailtwist measures what guidance buys on NVIDIA's cBottle, and what it costs to recover the storm's odds in the model's own climate.
one · the problem
The Expensive Part of Climate Risk
A rare event is rare in the emulator too. The event on this page happens in 0.95% of plain September draws, so twenty events take about 2100 draws.
Guided generation is one shortcut: a classifier steers the model while it generates, so the event appears in a large share of the draws. Each guided draw then needs a correction weight (an odds ratio) before averages over the guided sample estimate the model's own climate again. Computing the weight takes two further passes through the diffusion model with second derivatives. A guided draw without the weight is far cheaper. Step 4 of the explainer compares plain sampling with guided draws, with and without that cost.
two · how guided sampling works
How Guided Sampling Works
cBottle is a diffusion model: it starts from pure noise and removes it in a series of steps, each time predicting the clean weather field and stepping towards that prediction. Guidance adds the gradient of a tropical-cyclone classifier during a band of high-noise steps, and at strong settings that is enough to make the event appear. The strip follows the prediction for one draw from noise to the final field, without guidance and with it.
no guidance
σ = 68
σ = 20
guidance acts here
σ = 15
guidance acts here
σ = 4.0
σ = 1.1
σ = 0
strength 1280
σ = 68
σ = 20
guidance acts here
σ = 15
guidance acts here
σ = 4.0
σ = 1.1
σ = 0
Without guidance, about 1 draw in 100 reaches the event.
111 of 11 698 plain draws reach the event (0.95%).
Box-max wind: the strongest 10 m wind in the event box at one instant, at the emulator's ~100 km grid. Event: above 13.1 m/s. Histogram of plain September draws, log scale. The bars in the threshold's colour hold the 89 events in bins wholly above it; the bar the threshold cuts holds the other 22 events.
three · storm structure
the technical version
The threshold, 13.09 m/s, is the 99th percentile of the box-max wind in plain August to October draws, and events are counted in September draws. Each storm is centred on its pressure minimum before averaging. Rings are 1 degree wide, about the emulator's 100 km grid spacing, so nothing here resolves an eye or an eyewall, and the threshold is a strong breeze on the flank (Beaufort 6), below tropical-storm force. Peak wind is the strongest 10 m wind within 3 degrees of the pressure minimum. The null sets are plain non-event draws, re-centred the same way, at the guided set's own size (50 repeats). The natural ceiling draws the same number of natural events, 2000 times, and correlates their composite with that of the remaining natural events. Guided intervals are 90% bootstrap over events, and the natural range is the 5th to 95th percentile over those draws.
At 640 the guided wind-pattern correlation, 0.95 (90% 0.87 to 0.97), sits inside the natural range for 9 storms (0.93 to 0.98). At 1280, 0.93 (0.87 to 0.95), it falls just below the range for 16 storms (0.96 to 0.99), its interval included, though it stays far above the null. Those hits are a little weaker than the natural storms, but natural storms picked to match their strength leave the same gap (a difference of −0.05, 90% range −0.06 to −0.01), so weakness does not explain it. They also sit elsewhere in the box, but that cannot be tested cleanly here: natural storms picked from other clusters of positions, away from where the hits sit, close the gap as well.
Guided vs Natural Storm Structure
Centred on its own pressure minimum, a guided storm looks like one of the model's own: a similar wind pattern and a central pressure inside the natural range, though the winds fall off a little faster away from the centre.
The natural storms are the plain September draws that cross the threshold, and the guided ones are the hits at strengths 640 and 1280. Re-centring each storm on its pressure minimum before averaging separates its structure from where it sits.
natural · n = 111
guided 640 · n = 9
guided 1280 · n = 16
natural storms, 5 to 95%natural mean, n = 111guided 640 mean, n = 9guided 1280 mean, n = 16
The wind pattern around the guided storms correlates with the natural mean storm at 0.95 (strength 640) and 0.93 (1280), close to natural storms against themselves at the same size (0.93 to 0.98 and 0.96 to 0.99) and far above plain draws with no event, re-centred the same way (a median of 0.44 at both sizes).
natural, n = 111guided 640, n = 9guided 1280, n = 16
The median storm centre sits 4.1 degrees from the box centre for the natural storms, and 3.5 and 3.2 degrees for the guided hits at 640 and 1280, so the box catches the storm's flank, which is why the box-max wind that defines the event is usually below the storm's peak wind.
four · scenarios
Scenarios, Not Odds
Stress tests and realistic-disaster scenarios fix the event and ask what it does to a portfolio. They need a plausible wind field, and the sixteen guided storms in the gallery could supply one. Before such use, each would still need a track and a duration rather than a single instant, and winds resolved finely enough for damage. An event set or a layer price also needs the event's annual frequency, which the weights in section two do not supply.
13.11 m/s
13.26 m/s
13.33 m/s
13.34 m/s
13.72 m/s
13.75 m/s
13.87 m/s
14.05 m/s
14.25 m/s
14.91 m/s
14.96 m/s
15.31 m/s
15.85 m/s
18.02 m/s
19.18 m/s
19.38 m/s
tailspec measures the emulator's own tail against ERA5: tailspec.wienkers.com.
next
Code and Contact
The emulator here is NVIDIA's cBottle, run through earth2studio, and the same measurement should transfer to other diffusion emulators with a guidance term (untested here).
The code is private while the work is written up. Questions are welcome at hello@wienkers.com.
How This Was Built
Built as two quarantined environments: a GPU sampling side that only writes zarr, and a CPU evaluation side that never imports the emulator. Evidence base: 11 698 plain September draws for the natural storms, and 304 guided draws with correction weights across 7 guidance strengths. Dashboard numbers generated 2026-10-12, revision 5af60b8. Reproduce the numbers with scripts/app_tc_patterns.py, scripts/app_tc_storms.py, scripts/app_weight_budget.py and scripts/run_denoise_trace.py.