EWE: An Agentic Framework for Extreme Weather Analysis

Zhe Jiang, Jiong Wang, Xiaoyu Yue, Zijie Guo, Wenlong Zhang, Fenghua Ling, Wanli Ouyang, Lei Bai · Submission to ICLR 2026 · Rejected

TL;DR

While AI has transformed weather forecasting, diagnosing why extreme weather events happen still relies on labor-intensive, manual analysis by human specialists. Extreme Weather Expert (EWE) is the first autonomous, multimodal agent framework that formulates analytical plans, executes meteorological Python tools on raw ERA5 data, audits its own code and synoptic visualizations, and reasons through atmospheric physics. Alongside EWE, the authors introduce a curated benchmark of 103 global extreme weather events to standardize evaluation in automated Earth science discovery.

What Problem Does This Paper Address?

Modern data-driven foundation models (such as Pangu-Weather and GraphCast) excel at numerical weather prediction, but they act as "black boxes" that offer little explanatory insight. Post-event diagnostic analysis—understanding the thermodynamic processes, potential vorticity dynamics, and large-scale atmospheric circulations driving an event—remains bottlenecked by human expert availability.

Generalist Large Language Models (LLMs) possess vast domain knowledge, but they are traditionally unmoored from observational data: they cannot autonomously query terabytes of multi-dimensional atmospheric datasets, and they struggle with subtle coding bugs, visual clutter, and scientific hallucinations when tasked with end-to-end meteorological analysis.

Methods

EWE formalizes extreme weather analysis into an iterative loop of Thought $\to$ Action $\to$ Observation $\to$ Interpretation:

  • Knowledge-Enhanced Planning: Employs Chain-of-Thought (CoT) prompting anchored in expert-annotated exemplars. Complex inquiries are decomposed into structured, multi-scale stages (e.g., synoptic circulation, mesoscale analysis, thermodynamics), explicitly citing governing physical laws.
  • Meteorological Toolkit: Supplies pre-verified, expert-validated Python functions for canonical diagnostics (e.g., Integrated Vapor Transport, potential vorticity calculations) alongside a data-retrieval pipeline querying $>300\,\text{TB}$ of $0.25^\circ$ ERA5 reanalysis and 30-year climatology baselines.
  • Self-Evolving Closed-Loop Reasoning & Dual Auditors:
  • Code Auditor: Uses static analysis to catch latent bugs (such as flawed slicing or improper parameter usage) that run without syntax errors but corrupt physical conclusions.
  • Content/Figure Auditor: An MLLM critic inspects rendered synoptic charts for perceptual readability, enforcing fixes for issues like over-plotted wind vector fields or illegible colormaps.
  • Dynamic Memory Pruning: Summarizes findings after each sub-task while discarding intermediate variables and logs to keep long-context execution tractable.
       [ User Query: Analyze Extreme Event ]
                        │
                        ▼
            ┌─── Think & Plan (CoT) ◄──────────────┐
            │           │                          │
            │           ▼                          │
            │      Act (Code / Tools)              │ (Iterative
            │           │                          │  Feedback)
            │           ▼                          │
            │    Observe (Data / Maps)             │
            │           │                          │
            │           ▼                          │
            └──► Interpret & Dual Audit ───────────┘
                 (Code & Visual Quality)
                        │
                        ▼
            [ Multi-Faceted Diagnostic Report ]

Datasets

The authors established a new benchmark featuring 103 high-impact extreme weather events from the past decade, curated from the EM-DAT disaster database and World Meteorological Organization (WMO) reports.

  • Coverage: Spans six IPCC AR6 event categories—tropical cyclones (17.5%), extratropical cyclones (8.7%), extreme precipitation (23.3%), heatwaves (17.5%), cold waves (16.5%), and droughts (15.5%).
  • Geography: Globally distributed across Asia (32.0%), Europe (24.3%), North America (21.4%), Africa (9.7%), South America (7.8%), and Oceania (4.9%).
  • Ground Truth & Data Source: ERA5 hourly gridded reanalysis, annotated with localized event time zones and verified start/end boundaries.

Key Insights and Ideas

  • Comparative Grading is far more discriminative than Single-Response Grading: In an isolated evaluation, most leading frontier LLMs score moderately well. However, when an MLLM-as-a-judge directly compares outputs head-to-head on the same event, the performance gap between top and bottom models widens substantially (e.g., from a $0.255$ spread to $0.360$ in synoptic analysis).
  • Physical tools make or break thermodynamic reasoning: LLMs can generate standard plotting scripts, but removing domain-specific scientific tools drops thermodynamic diagnostic scores dramatically (from $0.679$ to $0.537$).
  • Figure auditing prevents scientific misinterpretation: Without visual self-auditing, agents frequently generate dense, overlapping vector plots that mask meteorological features. The Content Auditor forces vector downsampling and cleaner contours, allowing the agent to correctly identify low-pressure troughs and jet streams.

Key Results

The framework was benchmarked across proprietary and open-weight models (GPT-4.1, Claude-4-Sonnet, Gemini-2.5-Pro, o4-mini, and Llama-4-Maverick) evaluated across seven pipeline stages:

  • Claude-4-Sonnet emerged as the strongest overall diagnostic reasoner under Comparative Grading, winning across event identification ($0.832$), synoptic dynamics ($0.837$), mesoscale analysis ($0.782$), thermodynamics ($0.750$), and final synthesis ($0.950$).
  • GPT-4.1 proved strongest in upstream execution, specifically analytical planning ($0.832$) and data processing ($0.624$).
  • Ablation Studies:
  • Removing all agentic scaffolding (the baseline model) caused analytical collapse across synoptic ($0.548$ vs. $0.787$), mesoscale ($0.467$ vs. $0.680$), and thermodynamic stages ($0.502$ vs. $0.679$).
  • Removing the auditor module noticeably degrades mesoscale reasoning ($0.636$ vs. $0.680$), showing that visual and code validation are critical to downstream interpretation.

Limitations and Future Work

  • Ablation Scale: Detailed component ablations were carried out on a smaller subset of event cases rather than the complete 103-event corpus.
  • Offline vs. Real-Time Data: The system currently operates offline on ERA5 reanalysis data; integrating real-time observational data streams, satellite imagery, and radar feeds remains an open frontier.
  • Event Representation: Expanding the framework to cover composite, cascading, or localized events beyond the six primary IPCC categories.
  • Evaluator Reliability: The authors noted that Gemini-2.5-Pro tended to penalize functionally correct code during evaluation, requiring GPT-4.1 as the primary judge to ensure scoring consistency.

Summary updated

BibTeX
@misc{jiang2025ewe,
  author = {Zhe Jiang and Jiong WANG and Xiaoyu Yue and Zijie Guo and Wenlong Zhang and Fenghua Ling and Wanli Ouyang and LEI BAI},
  title = {{EWE: An Agentic Framework for Extreme Weather Analysis}},
  year = {2025},
  eprint = {2511.21444},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.21444},
}
Figure