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.

Strength 1280: box-max wind 14.3 m/s, above the 13.1 m/s threshold. 10 m wind, 0 to 20+ m/s · isobars every 2 hPa, interpolated for display · dashed: event box Event: 10 m wind above 13.1 m/s inside the dashed box. 111 of 11 698 plain September draws (0.95%) reach it.
guidance strength

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

  1. σ = 68

  2. σ = 20

    guidance acts here

  3. σ = 15

    guidance acts here

  4. σ = 4.0

  5. σ = 1.1

  6. σ = 0

strength 1280

  1. σ = 68

  2. σ = 20

    guidance acts here

  3. σ = 15

    guidance acts here

  4. σ = 4.0

  5. σ = 1.1

  6. σ = 0

Without guidance (top row) the draw ends below the event threshold in the box. With guidance at strength 1280, applied only inside the shaded window, the same draw ends above it (bottom row, whose last frame is the hero map). Each frame is the network's estimate of the clean field at noise level σ, the estimate the sampler steps towards, not the noisy state: 10 m wind, 0 to 20+ m/s, pressure contours every 2 hPa, event box dashed, north up, at the emulator's ~100 km grid, interpolated for display. cBottle's own September climate, not reality.

Without guidance, about 1 draw in 100 reaches the event.

0.01%0.1%1%10%share of plain September draws0246810121416182022box-max wind, m/sevent, 13.1 m/sthe tail

111 of 11 698 plain draws reach the event (0.95%).

guidance strength

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

The guided mean storms look close to the natural one (at 1280 the wind-pattern correlation is just below what natural storms reach at the same size, as the technical version explains). Each panel is a set's mean storm, centred on the pressure minimum (cross), 8 degrees either side, north up: 10 m wind, 0 to 20+ m/s, pressure anomaly contours every 2 hPa, at the emulator's ~100 km grid, interpolated for display.

natural storms, 5 to 95%natural mean, n = 111guided 640 mean, n = 9guided 1280 mean, n = 16

05101502468degrees from the centre10 m wind (m/s)−30−20−10002468degrees from the centrepressure anomaly (hPa)
The guided means stay inside the natural 5 to 95% band at every ring. Means over 1-degree rings around the pressure minimum, at the emulator's ~100 km grid.

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

1015202597098099010001010central pressure (hPa)peak wind (m/s)
Every guided storm lies inside the natural range of central pressure and of peak wind. One dot per storm, at the emulator's ~100 km grid. Peak wind is the strongest 10 m wind within 3 degrees of the pressure minimum, so it can exceed the box-max wind that defines the event.
1101001000area above 13.1 m/s (thousand km², log scale)naturaln = 111guided 640n = 9guided 1280n = 16
The guided storms overlap the natural spread but cover less area in the median. Area with 10 m wind above the event threshold at one instant, one dot per storm, within 8 degrees of its pressure minimum, at the emulator's ~100 km grid. The vertical bar marks each set's median.

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.

  1. 13.11 m/s

  2. 13.26 m/s

  3. 13.33 m/s

  4. 13.34 m/s

  5. 13.72 m/s

  6. 13.75 m/s

  7. 13.87 m/s

  8. 14.05 m/s

  9. 14.25 m/s

  10. 14.91 m/s

  11. 14.96 m/s

  12. 15.31 m/s

  13. 15.85 m/s

  14. 18.02 m/s

  15. 19.18 m/s

  16. 19.38 m/s

Scenario inputs with no frequency attached: the 16 strength-1280 draws that reach the event, ordered by box-max wind, which labels each map. They span 13.11 to 19.38 m/s box-max wind. Each is the wind field at one instant (15 September, 12 UTC): 10 m wind, 0 to 20+ m/s, pressure contours every 2 hPa, event box dashed, north up, at the emulator's ~100 km grid, interpolated for display. cBottle's own September climate, not reality.

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.