---
id: 18673
lang: en
title: "Yandex Weather Replaced a Chain of Neural Networks with One Model and Now Computes the Precipitation Map in 2 Minutes Instead of 10"
published_at: "2026-11-30 08:31:19"
source_name: "Хабр: Машинное обучение"
source_url: "https://habr.com/ru/companies/yandex/articles/1113172/?utm_campaign=1113172&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18673"
categories: ["research", "business"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Yandex Weather Replaced a Chain of Neural Networks with One Model and Now Computes the Precipitation Map in 2 Minutes Instead of 10

> **Краткая суть (BLUF):** Yandex Weather used to compute its two-hour precipitation map (nowcasting) with a chain of neural networks, where each model saw only the output of the previous one. Now a single model takes radar, satellite and forecast data at once, and the map is built in 2 minutes instead of 10, five times faster. Quality measured by F1, which accounts for both missed precipitation and false alarms, improved at all horizons. If later models cannot see the original data, the chain is worth replacing with one network.  • F1 for light precipitation rose by 16.5% on average and by 26.2% at the 10-minute horizon • Heavy rain at the 40–70 minute horizons is predicted slightly worse than before • The model was trained with the radar hidden, so it works without it too

Open the precipitation map in Yandex Weather and it shows where rain or snow will fall in the next two hours, in ten-minute steps, that is, twelve frames in a row. This short-term forecast is called nowcasting. It used to be produced by a chain of several neural networks, and the full map took about ten minutes to prepare. Now a single model does the work, and the same calculation takes two minutes: five times faster. At the same time, the forecast became more accurate by the F1 metric, which accounts for both missed precipitation and false alarms. The engineers described this on Habr, and the lesson applies to any team whose product is built from models running one after another.

## What Was Wrong with the Cascade

The previous system worked like an assembly line. The first model, satellite segmentation, used satellite images and numerical weather prediction data to classify precipitation into three classes: light, moderate and heavy. The second, Meteum 2.0, estimated the probability that precipitation was falling at a given point in the current ten-minute interval, but its map could not determine the intensity. After that, two separate forecasting models ran: one for areas covered by radars (in Russia, mainly the European part) and another for the rest.

The assembly line had two problems. First, each model waited for the previous one to finish its calculation and pass on the result. Second, each subsequent stage saw only the finished output of the one before it, not the raw input data. Imagine satellite segmentation missed a cloud carrying precipitation. The forecasting model could no longer look at the image to correct the miss, so the error simply carried forward. Moreover, the intermediate models complicated experiments: they could hide an improvement or amplify an error, and it was hard to evaluate a fix by looking at the final forecast.

## How the Unified Model Works

Nowcasting can be treated as video continuation: from four past frames, you need to draw twelve future frames. The new model is built on convolutional encoders and Temporal Attention Unit (TAU) blocks. They track how the precipitation field moves, strengthens and decays, with different behavior in different parts of the map. All twelve horizons are computed in a single pass.

The input comes from five sources: radar, satellite, two numerical weather forecasts, and user reports of precipitation. Each source has its own encoder, after which a Fusion block combines the features on a shared grid. Along with the data, the model receives an availability mask. It distinguishes "no precipitation" from "no observations": zeros in the radar field can mean either dry weather or a lack of coverage.

Simply adding radar and satellite features did not work: precipitation boundaries blurred already at the first horizon. Radar shows well where and how heavily precipitation falls, while satellite mainly sees cloud cover. So the fusion was made asymmetric. Where radar is available, it serves as the backbone, and the other sources complement the picture through cross-attention. Where there is no radar, the backbone is built from a learnable vector.

To keep the model from becoming dependent on radar, two augmentations were added during training. The first randomly disables one or more sources entirely. The second masks a rectangular area of the radar map to simulate partial coverage. The correct answer remains the actual radar observations for the next two hours. As a result, one model works where there are no radars and during a temporary source outage.

## Numbers and Honest Limitations

Calculation time dropped from ten minutes to two. The speedup came not only from eliminating the launch of several models. Previously each model had its own preprocessing, and the forecasts from individual radars were stitched together manually. Now everything is computed on a single spatial grid, and its regions can be processed in parallel.

Quality was compared using the F1 metric. Averaged across the twelve horizons, it rose by 16.5% for light precipitation, 7.5% for moderate and 4.8% for heavy. The best result is at ten minutes: plus 26.2%, 14.3% and 37.8% respectively. The advantage shrinks further out.

There is a downside. For heavy precipitation at horizons from 40 to 70 minutes, the new model is worse than the old one: at 50 minutes, F1 fell from 0.2032 to 0.1749. Heavy precipitation is the rarest and hardest class overall, which is why its F1 is noticeably lower. The model currently estimates the probability of exceeding three intensity thresholds, not the intensity itself in mm/h.

## What This Means for Practitioners

If you have a chain of models where later stages see only the output of earlier ones, check whether information is being lost at the joints. A unified model with availability masks and training on deliberately hidden sources simplifies production: fewer stages, fewer intermediate stores. A/B tests are also easier, because you compare versions of a single network on the final result. The price is careful verification of rare and difficult cases, such as heavy precipitation in this story.

---
- **Первоисточник:** [Хабр: Машинное обучение](https://habr.com/ru/companies/yandex/articles/1113172/?utm_campaign=1113172&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18673
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
