When a weather model misses a hurricane, this tool shows what it was looking at
A graph-based weather model could predict temperature near Hurricane Laura by leaning on the recent local atmosphere. For six-hour rainfall, it behaved differently: its explanation highlighted broad circulation and upper-air temperature, while familiar ingredients such as moisture and wind barely appeared. That does not prove why the forecast failed. But it gives developers a concrete lead—and a way to inspect whether the model’s internal map of the world is connected as intended before training even begins.
That is the promise of GNN-VIEW, an interactive browser tool from Alessandro Lucatelli and colleagues. It offers two kinds of visibility into machine-learning Earth-system models: a map of how information can travel through a graph, and an attribution view of which inputs influenced a particular forecast. The paper demonstrates the tool on an ocean-model graph with problematic links and on a poorly predicted rainfall field after Laura made landfall. Its contribution is not a new forecasting model, nor a claim that visual explanations make forecasts correct. It is a practical debugging instrument for models whose internal workings are otherwise hard to see.
The Science
Forecasting systems built with machine learning have become serious contenders in weather prediction. A graph neural network (GNN) represents locations and their relationships as a network: nodes stand for points or mesh elements, and edges specify which locations can pass information to which others. The arrangement is more than a convenient data format. It tells the model, before learning begins, what kinds of spatial relationships it is allowed to use.
Many Earth-system GNNs follow an encoder-processor-decoder design. The original weather or ocean state sits on a grid. An encoder transfers information from grid points to a coarser mesh, a processor passes messages among mesh nodes, and a decoder sends the result back to grid points. These stages use grid-to-mesh, mesh-to-mesh, and mesh-to-grid connections. A missing connection can leave a location’s state out of the computation; an inappropriate connection can join places that should remain separate.
The consequences can be subtle. The graph may contain millions of elements, assembled by algorithms and stored in tensor files. A developer can plot selected areas, but static snapshots make it difficult to inspect a dense global structure or connect a pattern to a numerical statistic. Errors in connectivity may survive until after training, when they can quietly limit what the model learns. The issue reaches beyond the atmosphere: similar graph approaches are used for oceans, floods, fire, and ice-sheet modeling.
GNN-VIEW organizes its assistance around three modes. Explore gives a broad map of the graph, including grid points, mesh nodes, and links. Inspect lets users zoom into regions and highlight graph elements using thresholds for node in-degree, node out-degree, and edge length. In-degree counts how many links enter a node; out-degree counts how many leave it. Edge length is the geographic distance between linked locations. By turning these quantities into map selections, the tool helps developers spot anomalies without scanning raw arrays.
The third mode, Explain, is for a trained model. A user selects a forecast target—time, variable, and grid point—and can inspect its error in context, then examine which inputs contributed to that specific prediction. The interface offers two attribution methods. Input × Gradient gives a quick, qualitative view; Integrated Gradients (IG) is slower and generally more carefully grounded in how the prediction changes from a baseline input. Attribution scores can be positive or negative: they indicate whether an input pushed the prediction upward or downward relative to that baseline. The tool also summarizes the relative share of attribution across input fields, while maps show where influential inputs occurred.
This distinction matters. An attribution is not a direct readout of the model’s reasoning in the human sense, and it cannot establish that a highlighted input caused the forecast error. It is a diagnostic clue—a way to form and test hypotheses. The authors also report completeness checks for their IG example, and note that future work could connect explanations more directly to graph structure and extend them to forecast rollouts and probabilistic ensembles.
The software accepts graph topologies in formats used by the Neural-LAM and Anemoi ecosystems, including flat and hierarchical graphs. For explanation, it also needs the trained model and dataset. The paper describes default weather and ocean datasets and a local deployment option. The tool is presented as model-agnostic with respect to how a graph was generated, but its use still depends on compatible inputs and a developer who can interpret the displays.
What They Found
The first demonstration concerns Njord, an ocean forecasting model. Ocean graphs are awkward to build because coastlines and land barriers matter: a model should cover water basins and connect sea-grid points to the mesh without making absurd shortcuts across land. Njord’s graph-building process uses a maximum edge length and a repair pass for isolated elements. Choosing those settings takes iteration, and a map view can reveal what a summary statistic alone cannot.
In the Kara Sea, the authors selected grid points with zero out-degree in the grid-to-mesh part of the graph. The display exposed isolated points whose ocean states therefore would not be encoded into the model. Elsewhere, thresholding edge length and mesh-node degree revealed an edge crossing Wales, joining water areas separated by land, and low-connectivity nodes near Denmark that left the Baltic Sea disconnected from the wider ocean graph. These are not forecasts that failed after the fact; they are structural defects visible before training, when the graph can still be repaired.
The threshold comparison also illustrates why a single cutoff is not enough. In the Welsh example, a 250-kilometer edge-length cutoff isolated the land-crossing connection, while a 200-kilometer cutoff also selected legitimate long-range links. The useful insight is not that one universal threshold is correct. It is that developers can see the geographic trade-off directly and choose a setting with the actual domain in view.
The second demonstration examines a GraphCast-style weather GNN forecasting conditions at 12:00 UTC on August 27, 2020, six hours after Hurricane Laura made landfall as a Category 4 storm. The model received atmospheric states from 00:00 and 06:00 UTC, when Laura was at peak intensity, and had to predict the storm’s transition from ocean to land. The researchers compared an accurately predicted temperature field at 925 hectopascals with a poorly predicted six-hour precipitation field at a target point near 31.5° N, 93.0° W.
For temperature, the strongest attribution came from the same field six hours earlier. Its spatial pattern was compact and centered near the target. In plain terms, the model’s successful temperature prediction drew heavily on the recent local state—a plausible and relatively legible pattern.
Rainfall looked less coherent. Its attribution ranking was comparatively flat. Higher-altitude geopotential and temperature—features that describe the broader atmospheric setting—ranked near the top, while known physical drivers such as moisture and winds ranked only marginally or not at all. The previous precipitation field did not appear among the top ten inputs, and its attribution map was weak and mixed in sign. The authors suggest that at this relatively coarse grid spacing, the model may be relying on large-scale correlations rather than representing the local processes that shape rainfall. They present that as a hypothesis consistent with the visualization, not a demonstrated causal explanation.
This contrast is the paper’s most arresting result: a model can look sensible for one variable and behave in a less physically intuitive way for another, even in the same event and at the same target location. Aggregate error measures can show where predictions went wrong. The attribution display helps ask what the model drew on when it got there.
Why This Changes Things
Machine-learning forecasts can matter because they may produce useful predictions at lower inference cost than conventional numerical weather prediction. But a forecast that is fast and accurate on average is not automatically robust in every region, variable, or extreme event. For scientists and forecasters, failures need to be diagnosed, not merely counted. A model that learns a shortcut—a correlation that works in familiar data but breaks under unusual conditions—can appear capable until the conditions change.
GNN-VIEW addresses two different points in that debugging cycle. Before training, developers can ask whether the graph encodes the intended geography: Are sea points connected? Do edges cross barriers? Are there isolated nodes? After training, they can ask what inputs influenced a particular prediction and compare that pattern with domain knowledge. Bringing both stages into one workflow matters because a puzzling forecast might arise from a bad graph, a learned shortcut, the data, or the inherent difficulty of the event. The tool cannot decide which explanation is right, but it can make some of those possibilities visible.
The tool’s value is therefore less like a dashboard declaring a model trustworthy and more like a microscope that guides the next experiment. A developer might alter a mesh parameter, repair disconnected components, retrain, and see whether the issue changes. Or they might test whether rainfall at finer resolution, with different inputs or training choices, draws more on moisture and wind. Such follow-up tests are essential: an appealing explanation map is not itself proof that a model has learned the right physics.
The ocean example also shows why geographic context is not decorative. A graph statistic can flag an unusually long edge, but the map reveals whether that edge crosses a peninsula, links two legitimate distant regions, or connects a basin that would otherwise be isolated. Earth-system models operate on a planet with coastlines, topography, and distinct physical regimes. A useful debugging view has to make those meanings visible, rather than treating a graph as an abstract network.
There are important limits. The paper presents two use cases, not a controlled study showing that GNN-VIEW improves forecast skill or reduces development time across teams. The authors explicitly identify user studies as valuable future work. Attribution methods also have known interpretive limits: different baselines and methods can produce different explanations, and an input receiving a large score does not establish that the model has learned a physically valid mechanism. The tool’s explanations are evidence for investigation, not a certificate of scientific understanding.
The reported performance detail is similarly practical rather than a claim about forecast quality: graph-rendering latency scales linearly with the number of graph elements in the reported tests, and edge rendering dominates. That suggests the visual interface can scale predictably, but it also identifies a bottleneck as graphs grow. It does not mean all graph sizes will feel instantaneous, nor does speed tell us whether the visual summaries are useful to every developer.
What’s Next
The next test is whether working scientists use these views to find and fix problems they would otherwise miss. A formal evaluation could track how quickly developers detect graph defects, whether their repairs improve forecasts, and how consistently different users interpret attribution patterns. That would move the work from a compelling demonstration toward evidence about day-to-day impact.
The authors point to several ways to extend the system. Structure-aware explanation methods could tie a prediction’s inputs to the graph pathways that carried them. Explanations across autoregressive forecast rollouts could show how a small error or shortcut compounds over time. Support for probabilistic ensembles could help developers inspect not just one forecast but a range of possible outcomes—especially important when uncertainty itself is consequential.
For Hurricane Laura, the key open question is whether precipitation’s reliance on broad atmospheric context reflects coarse resolution, a limitation in the model, the input data, or a combination. GNN-VIEW makes that question easier to formulate; answering it requires controlled experiments and comparisons with physical understanding and other models. Likewise, the ocean graph’s visible defects need to be repaired and tested to establish how much they affect forecast skill.
Earth-system machine learning is moving from research prototypes toward tools that inform decisions about weather, water, and hazards. That transition demands more than a good score: developers need ways to inspect the assumptions built into a model and the signals it uses when conditions become difficult. GNN-VIEW offers a map for that work—not a verdict on whether the model is right, but a clearer path from surprising failure to a testable explanation.