Command Palette
Search for a command to run...
気象予報のための解釈可能なプロトタイプ条件付き適応
気象予報のための解釈可能なプロトタイプ条件付き適応
Zhixuan Li Hao Jiang Chen Hui Kai Geng Weisi Lin
概要
データ駆動型気象予報では、局所的な状態とその時間発展を区別することが求められる。しかし、学習されたパターンはニューラル予報モデル内に暗黙的に埋め込まれたままであり、その影響を解釈することは難しい。局所的な発展を区別できないと、異なる発展を示す地点に対して類似した予報が生成され、予測誤差が増大する可能性がある。このことが、局所パターンを区別し解釈するための明示的な参照の必要性を動機づける。プロトタイプは明示的なパターン参照を提供するが、サンプルレベルやタスクレベルの条件付けでは、異なる地点や変数群にどのように適応するかという問題が未解決のまま残る。この問題に対処するため、我々はProtoCastを設計する。ProtoCastは、群固有のプロトタイプバンクを用いて局所特徴を適応させるとともに、変数間の依存関係を考慮する。具体的には、(1) 各群の履歴特徴と時間変化を、変数間注意機構からの予報文脈と組み合わせ、発展を考慮したプロトタイプ照合を行う。(2) プロトタイプ固有の低ランク作用素のスパース混合により、各群・各地点に合わせた補正を施す。その後、ゲート付き注意ブロックが補正済み特徴を群間で交換してから予測を行う。各群の補正は、この融合の前に明示的なプロトタイプ寄与へと分解される。(3) 予報ネットワークと作用素をゼロから共同訓練し、各訓練エポックの前に各群のプロトタイプを再適合させる。スロット追跡によりプロトタイプと作用素の対応関係が保持され、各プロトタイプの局所補正への寄与がより解釈可能になる。GlobalForecastおよびTyphoonTrackingを用いた実験により予報精度の向上が示され、プロトタイプ削除実験により局所特徴の寄与と予測誤差の変化が関連づけられる。本研究は、より高精度かつ解釈可能なデータ駆動型気象予報モデルの開発を前進させるものである。
One-sentence Summary
Researchers from Nanyang Technological University and Nanjing University of Information Science and Technology propose ProtoCast, a weather forecasting model that uses group-specific prototype banks, evolution-aware matching, sparse mixtures of prototype-specific low-rank operators, and gated cross-group attention to produce interpretable local corrections; trained end-to-end with per-epoch prototype refitting and slot tracking, it improves forecasting accuracy on GlobalForecast and TyphoonTracking while prototype deletion links local feature contributions to changes in prediction error.
Key Contributions
- ProtoCast is a forecasting architecture in which each variable group maintains its own prototype bank and local features are corrected through evolution-aware prototype matching that combines historical features, temporal changes, and cross-variable forecast context.
- Sparse mixtures of prototype-specific low-rank operators with gated cross-group attention produce corrections that decompose into explicit prototype contributions; slot tracking during epoch-wise prototype refitting preserves prototype-operator associations.
- Experiments on GlobalForecast and TyphoonTracking show ProtoCast ranks first on 13 of 16 metrics for GlobalForecast and all 16 metrics for TyphoonTracking, while prototype deletion and ablations link local prototype contributions to changes in forecast error.
Introduction
Data-driven weather forecasting must capture both spatial structure and local temporal evolution, since different locations and meteorological variables can follow distinct trajectories even under similar current states. Representative Transformer forecasters learn spatiotemporal patterns implicitly, making it difficult to trace which patterns drive a prediction and potentially producing similar forecasts for differently evolving weather. Prior prototype-based methods often use references at the sample or task level, leaving position-specific and variable-specific adaptation unresolved. The authors introduce ProtoCast, which maintains separate prototype banks for meteorological variable groups and uses evolution-aware matching to apply sparse, low-rank residual corrections with cross-variable interactions, making local forecast updates more adaptive and interpretable.
Method
The authors propose ProtoCast, a framework that combines shared spatiotemporal modeling with group-specific prototype corrections for weather forecasting. Given historical weather fields X∈RTin×C×H×W, the model predicts future observations Y=fθ,ϕ(X)∈RTout×C×H×W. The input is split into G variable groups, each processed through independent encoders to extract patch features.
Refer to the framework diagram
As shown in the figure, the architecture processes these group-specific features through shared temporal encoding, a learned forecast projection, and shared spatial blocks. The temporal encoding maps flattened patches to a D-dimensional space, incorporating temporal and spatial positional encodings:
U(g)=T(Eg(Patch(X(g)))+Pt+Ps) V(g)=S1:L−1(Πt(U(g)))where U(g) represents the temporally encoded historical patch features and V(g) contains the forecast patch features. A first cross-variable attention block Vpre then exchanges information across variable groups at each patch and forecast lead to provide matching context.
To account for distinct local trajectories, the authors introduce an evolution-aware prototype matching module. For each patch, a descriptor is constructed by combining the mean historical feature, its temporal endpoint change, and the cross-variable forecast context. These descriptors are standardized, projected via principal component analysis, and normalized to form queries. The model computes cosine-based similarity scores against a group-specific prototype bank and applies entmax to generate sparse, patch-specific prototype weights αn(g) that are shared across all forecast leads.
These sparse weights drive a prototype-conditioned low-rank correction branch. Each prototype key indexes a learned up-projection matrix, while the group shares a down-projection, layer normalization, and lead embeddings. The shared down-projection is applied to the normalized forecast features, combined with lead embeddings, and passed through a SiLU activation to yield low-rank features. The prototype weights then mix the up-projections to form a patch-specific operator, which maps the low-rank features to a residual update. This residual is added to the original forecast features to produce corrected representations.
Following the group-specific corrections, a second gated cross-variable fusion block Vpost integrates the updated features to capture dependencies among the corrected variables. The fused features pass through a final shared spatial block and group-specific decoders. The decoders predict the changes from the last observed input fields, which are then added back to reconstruct the final forecast.
During training, the forecasting network, cross-variable interactions, and correction operators are optimized jointly using normalized-space MSE. Because the learned feature representations evolve during training, the authors employ a tracked prototype refitting process. Before each epoch, the prototype banks are refitted using fixed training samples without gradients. The refitting process initializes each prototype center from the queries assigned to its slot in the previous epoch, preserving the association between the prototype keys and their corresponding correction operators as the PCA coordinates update. At inference, the prototype banks remain fixed.
Experiment
The experiments evaluate ProtoCast on global WeatherBench and regional ERA5 forecasting benchmarks across multiple meteorological variables with 1 to 12 hour lead predictions, using standard error metrics and retrained baselines. ProtoCast achieves the best overall ranking on global metrics and the best results on all regional metrics, with consistent gains in error maps and typhoon track forecasting. Ablations confirm the contributions of prototype correction, cross-variable attention, and gated fusion, while prototype contribution analysis shows that removing influential prototype corrections degrades accuracy, supporting the interpretability of the approach.
ProtoCast leads global multivariate forecasting on GlobalForecast, ranking first on most metrics across temperature, humidity, wind, and cloud cover. It shows the largest relative gains for temperature while also improving humidity, wind, and cloud cover metrics compared with strong baselines. Qualitative full-field comparisons align with the quantitative results, with ProtoCast achieving the lowest mean absolute error for all four variables. ProtoCast has the highest first-place count and ranks first on 13 of 16 global metrics. It reduces T2M errors substantially compared with Met2Net, with MSE and MAE falling by about 18% and 17%. It improves R and UV10 MSE over PredFormer and achieves the lowest TCC MAE while ranking second on TCC MSE, RMSE, and R2. In full-field qualitative comparisons, ProtoCast records the lowest MAE for UV10, T2M, TCC, and R.
Core ablations on TyphoonTracking show that the full ProtoCast configuration performs best on mean sea-level pressure, zonal wind, and meridional wind, while a fixed-gate variant performs best on 2-meter temperature. Removing pre-attention degrades pressure and temperature most, and removing prototype correction or post-fusion generally increases error. The full model achieves the lowest MSE for mean sea-level pressure, zonal wind, and meridional wind, while the fixed-gate variant achieves the lowest 2-meter temperature error. Removing pre-attention leads to the largest pressure and temperature errors among the ablations, and removing prototype correction or post-fusion generally worsens performance.
ProtoCast ranks first on all reported regional forecasting metrics for MSL, U10, V10, and T2M on TyphoonTracking. Its improvements are largest for T2M relative to TAU, while MSL and wind errors also decline relative to Met2Net. None of the listed baseline models records a first-place metric count. ProtoCast achieves the best score on every reported MSL, U10, V10, and T2M metric. T2M shows the largest relative gain, with MSE reduced by roughly 26 percent and MAE by roughly 20 percent compared with TAU. MSL, U10, and V10 errors also improve relative to Met2Net, with MSL MSE reduced by roughly 15 percent. All listed baseline methods have a first-place metric count of zero.
ProtoCast is evaluated on global multivariate forecasting and regional typhoon tracking. On GlobalForecast it leads most metrics across temperature, humidity, wind, and cloud cover, with the largest relative gains for temperature. Ablations on TyphoonTracking confirm that the full configuration, especially pre-attention, prototype correction, and post-fusion, is important for pressure and wind accuracy, while regional results show ProtoCast ranks first on all mean sea-level pressure, zonal wind, meridional wind, and temperature metrics, with temperature improving most.