Abstract
Predicting discrete probability distributions over time is a critical task in domains like epidemiology and seismology, where categories are often linked by spatial or logical structures. This paper introduces GOPHER, a framework that integrates Graph Neural Networks (GNNs) with Neural Ordinary Differential Equations (ODEs) to model these dynamics. Our findings reveal a significant "inductive bias" hierarchy: while incorporating graph structure leads to a 10x improvement in accuracy, the additional complexity of continuous-time ODE modeling offers marginal gains over simpler graph-based architectures.
Introduction
Many real-world forecasting problems involve categories that are not independent but are linked by a physical or logical structure. For example, an earthquake at one location changes the probability of an earthquake at a neighboring fault line, and COVID-19 cases in one county are highly predictive of cases in the next. Standard probabilistic forecasting often ignores this "local connectivity."
GOPHER (Graph-structured Categorical Probabilistic Forecasting) addresses this challenge by baking two inductive biases into a model: spatial bias (the idea that a node is influenced by its neighbors) and temporal bias (the idea that probability evolves according to continuous-time differential equations).
Methodology
To ensure the model always outputs a valid probability distribution, GOPHER models dynamics in a latent space rather than directly in the probability space:
- Latent Dynamics: Each node is represented as an embedding in a continuous-time space.
- Neural ODE: A GNN defines the derivative of these embeddings over time: $dZ/dt = g(Z, G, t)$.
- Projection: A shared projection layer and a Softmax function map these evolving embeddings back into probability space.
To evaluate the impact of these components, the authors compared GOPHER against two baselines: NaiveMLP (no graph, no ODE) and NaiveGNN (uses graph structure but maps embeddings directly to probabilities at any time $t$ without an ODE).
Key Findings
The Power of Graph Structure
The most significant insight was that simply incorporating graph connectivity provides a massive advantage. Graph-aware models (GOPHER and NaiveGNN) were 10x more accurate and significantly more sample-efficient than the MLP baseline on synthetic datasets like Ring and Geometric graphs.
Real-World Dynamics
In the NJ COVID-19 dataset, which tracks daily cases across 21 counties, the NaiveMLP completely failed to capture temporal variations, essentially predicting a flat line. In contrast, the graph-based models successfully tracked the rising and falling "waves" of the distribution, demonstrating the necessity of spatial context in real-world forecasting.
The ODE Paradox
Theoretically, because the underlying data follows continuous-time dynamics, a Neural ODE should be the ideal fit. However, the NaiveGNN performed nearly identically to the complex ODE model. This suggests that the continuous-time inductive bias may be less critical than the spatial bias, or that learning dynamics in an embedding space masks the physical constraints of the probability space.
Discussion and Limitations
GOPHER's performance proved brittle when graph edges were removed during testing, suggesting it may be interpolating training data rather than learning fundamental physical laws. Additionally, all models struggled with distribution shifts in real-world data, where the virus behaved differently in the test period than during training. Future work is needed to better align latent embedding dynamics with the physical constraints of probability mass conservation to improve extrapolation and robustness.
Summary updated