Manuscript Offprint

arXiv:2610.35693

GNN-VIEW: Visual Inspection and Explanation of Graph-based Earth-System Models

Alessandro Lucatelli, Ferdinand Unterhuber, Katharina Krenzer, Mennatallah El-Assady, Benedikt Soja, Christina Humer, Joel Oskarsson

Abstract

Machine learning Earth-system models are becoming increasingly important, and so is their development. Graph-based models, one of the most prominent approaches, allow developers to constrain the learning process before training via graph connectivity. Yet, developing these models remains challenging: the graph is built algorithmically with little intuition about the final result beyond static plotting, which requires extra work and is often not detailed enough. Even after successful training, how the model arrives at forecasts remains obscure. We present GNN-VIEW, an interactive browser-based tool that supports the development of such systems. GNN-VIEW exposes the graph's information pathways, allowing model developers to debug the graph structure before training. After training, GNN-VIEW uses attribution-based explainability to reveal which input features are used by the trained model for a given forecast. This helps developers understand why a model fails. We showcase the usefulness of GNN-VIEW in the construction stage of a graph for an ocean forecasting model, and in explaining poorly predicted precipitation of a trained weather forecasting model during Hurricane Laura.

1 Introduction

Machine learning (ML) has opened up new possibilities for making good use of Earth Observation (EO) data in Earth-system modeling. ML models can learn an internal representation of the Earth system either from reanalysis datasets [1, 2, 3] derived from EO data, or by directly ingesting observations to produce forecasts [4]. A particularly effective and popular modeling paradigm has been graph-based Earth-system models using Graph Neural Networks (GNNs). Their graph structure encodes the spatial connectivity of the Earth system and creates a spatial inductive bias that constrains the representational capability of the model before training. This is essential for model generalization, and improper graph initialization can degrade forecast capabilities [3, 2]. These models follow an encoder-processor-decoder structure: physical states live on an input grid, while the computation happens on a coarser mesh graph. Three sets of edges tie these together: grid-to-mesh edges (G2M) encode inputs into the mesh, mesh-to-mesh edges (M2M) propagate information through message passing, and mesh-to-grid edges (M2G) decode the state back into the grid points (Fig. 1b). GNN-based weather models have matched and often surpassed the forecast ability of operational numerical prediction at a fraction of the inference cost [3, 5], and are increasingly adopted operationally [6]. The same design and development challenges extend beyond atmospheric modeling to domains such as ocean [2, 7], wildfire [8], hydrology [9] and ice sheet [10] modeling.

Despite its key role in these models, validation of graph construction remains challenging. Developers algorithmically construct large-scale graphs in which structural anomalies hide in raw tensor files and can silently degrade performance. To assess graph construction, developers currently rely on custom static plotting of specific graph regions [11, 12, 2], which is not scalable and domain-dependent.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: 2nd Workshop on Advances in Representation Learning for Earth Observation.

GNN-VIEW

Figure

Figure 1: GNN-VIEW follows a developer’s workflow. (a) Before training, it allows (b) exploration of the graph structure and its components (grid points, mesh nodes, edges), followed by (c) detailed inspection of the graph structure via (d-e) manual thresholding of graph statistics. (f) After model training, developers can get (i-k) attribution-based explanations for (g,h) predictions of interest to detect what lies behind model failure.

After successful graph initialization, the challenges continue in post-training. Assessing why a model produced a specific forecast is hard: aggregate metrics such as RMSE over a held-out period report how much and where a model fails, but not why the model made the inaccurate forecast. Understanding this is crucial for debugging the model and uncovering potential shortcut learning [13], ultimately enabling the development of more robust and trustworthy models.

In both development challenges, developers need the same: to see what aggregate metrics and raw tensors hide. Visual analytics is an established paradigm for gaining a better understanding of deep learning [14, 15, 16], and GNNs specifically [17]. These systems are model-agnostic and could in theory be applied to Earth-system models. Yet, they do not incorporate the geographic semantics needed here. The two closest works differ significantly: GNNLens [17] is for node classification tasks only, and CloudNine [18] addresses the data assimilation stage, rather than the forecast. Within the Earth-system GNN community, libraries such as Neural-LAM [19] and Anemoi [20] provide basic plotting utilities, yet they are insufficient to effectively inspect dense, multi-layer large-scale graphs.

Our contribution addresses this gap. We present GNN-VIEW 1^{1}: an interactive visual tool that supports the full development pipeline of Earth-system GNNs, from graph inspection to forecast explanation, across domains. We demonstrate its usefulness in two scenarios: identifying construction flaws in an ocean forecasting graph and explaining a mispredicted field during Hurricane Laura.

References (33)