Towards mechanistic understanding in a data-driven weather model: internal activations reveal interpretable physical features
Theodore MacMillan, Nicholas T. Ouellette
TL;DR
This paper tackles the opacity of data-driven weather models by seeking mechanistic interpretations of GraphCast's internal representations. It applies sparse autoencoders to hidden activations, uncovering interpretable features across diurnal, seasonal, and large-scale weather phenomena, including sea-ice extent, tropical cyclones, and atmospheric rivers. The authors demonstrate causal control by perturbing a tropical cyclone feature and showing physically consistent changes in predictions, supported by hydrostatic balance and mass-conservation diagnostics. The work provides a path toward trustworthy, scientifically valuable use of data-driven weather models and suggests avenues for discovering novel physical pathways.
Abstract
Large data-driven physics models like DeepMind's weather model GraphCast have empirically succeeded in parameterizing time operators for complex dynamical systems with an accuracy reaching or in some cases exceeding that of traditional physics-based solvers. Unfortunately, how these data-driven models perform computations is largely unknown and whether their internal representations are interpretable or physically consistent is an open question. Here, we adapt tools from interpretability research in Large Language Models to analyze intermediate computational layers in GraphCast, leveraging sparse autoencoders to discover interpretable features in the neuron space of the model. We uncover distinct features on a wide range of length and time scales that correspond to tropical cyclones, atmospheric rivers, diurnal and seasonal behavior, large-scale precipitation patterns, specific geographical coding, and sea-ice extent, among others. We further demonstrate how the precise abstraction of these features can be probed via interventions on the prediction steps of the model. As a case study, we sparsely modify a feature corresponding to tropical cyclones in GraphCast and observe interpretable and physically consistent modifications to evolving hurricanes. Such methods offer a window into the black-box behavior of data-driven physics models and are a step towards realizing their potential as trustworthy predictors and scientifically valuable tools for discovery.
