Physics-aware Difference Graph Networks for Sparsely-Observed Dynamics

Sungyong Seo, Chuizheng Meng, Yan LiuICLR 2020

Standard deep learning often struggles to model physical systems when data is sparse and irregularly distributed. Because traditional numerical methods rely on densely packed, regular grids to calculate derivatives, applying them to unstructured data causes numerical errors to explode. To address this, researchers have introduced Physics-aware Difference Graph Networks (PA-DGN), a novel architecture that uses graph neural networks to learn "physics-inspired" spatial and temporal differences. This approach significantly improves predictions for complex, sparsely observed systems like weather and fluid dynamics.

The Challenge of Sparse Physical Data

Most physical phenomena—from the flow of air over a wing to the changing temperature across a continent—are governed by Partial Differential Equations (PDEs). To model these systems computationally, scientists typically use "finite differences" to approximate derivatives. However, these approximations rely on a crucial assumption: that data points are densely packed on a regular grid, much like pixels in an image.

In the real world, observations are often sparse and irregularly distributed. For instance, weather stations are scattered unevenly across mountain ranges and valleys. On such "unstructured grids," standard numerical methods produce massive errors, and standard deep learning models like Convolutional Neural Networks (CNNs) cannot be directly applied. While Graph Neural Networks (GNNs) can handle irregular spacing, they are typically purely data-driven and ignore the underlying calculus of the physical system, leading to sub-optimal performance.

Introducing PA-DGN

The authors propose PA-DGN to bake physical inductive biases directly into the network architecture. The model consists of two main components:

  1. Spatial Difference Layer (SDL): Instead of using fixed mathematical formulas for gradients ($\nabla$) or Laplacians ($\Delta$), the SDL uses a Graph Network to learn these operators. It aggregates information from an $h$-hop neighborhood to compute "modulated" spatial differences. Essentially, it learns the best way to calculate a "slope" or "curvature" between irregular points based on the data itself.
Modulated gradients and signal processing in PA-DGN
  1. Recurrent Graph Network (RGN): The spatial differences computed by the SDL are concatenated with the raw signals to create a "Difference Graph." This graph is then fed into an RGN, which learns to predict the temporal evolution—the "time derivative"—of the system.

By combining these two components, the model learns to discover the underlying dynamical relations between spatial and temporal differences in an end-to-end fashion.

Key Insights and Performance

The core innovation of PA-DGN is bridging the gap between rigid physics formulas and "black-box" neural networks. By parameterizing the difference operators, the model can actively correct for the numerical errors introduced by data sparsity. Forcing the network to operate on differences (the building blocks of PDEs) rather than just raw values provides a powerful inductive bias that helps the model generalize to physical systems.

The researchers evaluated PA-DGN across several synthetic and real-world scenarios, including simulated convection-diffusion, NOAA climate data (hourly temperature observations), and NEMO Sea Surface Temperature datasets.

Key Results: * Superior Accuracy: In approximating directional derivatives on synthetic data, PA-DGN achieved a Mean Squared Error (MSE) of 0.97, a massive improvement over the 6.42 MSE of standard finite gradients (FinGrad). * Climate Forecasting: On the real-world NOAA dataset, PA-DGN consistently outperformed standard baselines like Vector Auto-Regression (VAR), MLPs, and Gated Recurrent Units (GRUs). For a 12-step ahead temperature prediction in the Western US, PA-DGN achieved a Mean Absolute Error (MAE) of 0.2439, significantly lower than the GRU baseline of 0.2707. * Robustness to Sparsity: Experiments demonstrated that as data becomes sparser (fewer nodes), the performance gap between PA-DGN and standard methods actually widens, proving its specific utility for "data-starved" physical modeling.

Limitations and Future Directions

While highly effective, PA-DGN has a few limitations. The model's performance is somewhat sensitive to how the initial graph is constructed (e.g., the choice of $k$ in a $k$-Nearest Neighbors graph). Additionally, graph-based operations are generally more computationally intensive than standard RNNs or CNNs, which might limit scaling to extremely large sensor networks without further optimization.

Finally, while the model successfully "discovers" dynamics to make accurate predictions, it does not output a human-readable PDE. Future work could involve integrating symbolic regression to extract the learned physical laws explicitly, turning the model into a tool for scientific discovery as well as prediction.

Summary updated

BibTeX
@inproceedings{seo2020physics,
  author = {Sungyong Seo and Chuizheng Meng and Yan Liu},
  title = {{Physics-aware Difference Graph Networks for Sparsely-Observed Dynamics}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=B9RTQ8psC6},
}
Figure