HyperAIHyperAI

Command Palette

Search for a command to run...

딥러닝

해석 가능한 프로토타입 조건부 적응 기반 기상 예측

Zhixuan Li Hao Jiang Chen Hui Kai Geng Weisi Lin

초록

데이터 기반 기상 예측은 국지적 상태와 그 시간적 변화를 구분해야 한다. 그러나 신경망 예측 모델에서 학습된 패턴은 암묵적으로 남아 있어 그 영향을 해석하기 어렵다. 국지적 변화를 구분하지 못하면 서로 다르게 전개되는 위치에 대해 유사한 예측이 생성되어 예측 오차가 커질 수 있다. 이는 국지적 패턴을 구분하고 해석하기 위한 명시적 참조의 필요성을 부각한다. 프로토타입은 명시적 패턴 참조를 제공하지만, 표본 또는 과업 수준의 조건화만으로는 서로 다른 위치와 변수 그룹에 적응하는 문제가 해결되지 않는다. 이 문제를 해결하기 위해 우리는 그룹별 프로토타입 뱅크를 사용하여 교차 변수 의존성을 고려하면서 국지적 특징을 적응시키는 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×WX \in \mathbb{R}^{T_{\text{in}} \times C \times H \times W}X∈RTin​×C×H×W, the model predicts future observations Y^=fθ,ϕ(X)∈RTout×C×H×W\widehat{Y} = f_{\theta, \phi}(X) \in \mathbb{R}^{T_{\text{out}} \times C \times H \times W}Y=fθ,ϕ​(X)∈RTout​×C×H×W. The input is split into GGG 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 DDD-dimensional space, incorporating temporal and spatial positional encodings:

U(g)=T(Eg(Patch(X(g)))+Pt+Ps)U^{(g)} = \mathcal{T} \Big(E_g(\text{Patch}(X^{(g)})) + P_t + P_s \Big)U(g)=T(Eg​(Patch(X(g)))+Pt​+Ps​) V(g)=S1:L−1(Πt(U(g)))V^{(g)} = \mathcal{S}_{1:L-1} \Big(\Pi_t(U^{(g)}) \Big)V(g)=S1:L−1​(Πt​(U(g)))

where U(g)U^{(g)}U(g) represents the temporally encoded historical patch features and V(g)V^{(g)}V(g) contains the forecast patch features. A first cross-variable attention block Vpre\mathcal{V}_{\text{pre}}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)\alpha_n^{(g)}α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\mathcal{V}_{\text{post}}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.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp