TL;DR
This paper introduces a novel probabilistic framework for learning sparse graph structures from spatiotemporal time series data. By leveraging score-based gradient estimators and variance reduction techniques, the method efficiently learns relational dependencies for improved forecasting performance while maintaining computational scalability.
What Problem Does This Paper Address?
Spatiotemporal time series data, such as sensor readings or traffic flow, often exhibit complex dependencies across both time and space. Graph Neural Networks (GNNs) are powerful tools for modeling these spatial relationships, but they typically require a predefined graph structure. In many real-world scenarios, this graph is unknown and must be inferred from the data. Traditional graph learning methods often lead to dense graphs, negating the benefits of sparsity and locality that GNNs offer, or they struggle with computational complexity and gradient estimation for discrete graph structures. This paper addresses the challenge of learning sparse, meaningful graph structures directly from spatiotemporal time series data in a principled and computationally efficient manner, enabling better forecasting performance.
Methods
The core of the proposed method lies in a probabilistic graph learning framework that models the relational dependencies as distributions over graphs. Instead of directly optimizing for a specific graph, the authors learn a probability distribution $p_\theta$ from which graphs can be sampled.
Key techniques include:
- Score-Function (SF) Gradient Estimators: The authors adopt SF estimators to handle the discrete nature of graph structures. This approach avoids the need for continuous relaxations, which can lead to dense computations and quadratic complexity in the number of nodes. SF estimators allow for learning gradients without requiring a full evaluation of all stochastic nodes in the computational graph.
- Probabilistic Graph Distributions: Two specific graph distributions are proposed:
- Binary Edge Sampler (BES): Each edge is sampled independently from a Bernoulli distribution, parameterized by learnable weights. This is a simple and parallelizable approach.
- Subset Neighborhood Sampler (SNS): This method embeds structural priors about graph sparsity by sampling a fixed number of neighbors for each node. It utilizes the Gumbel-top-k trick for efficient sampling and provides a way to incorporate adaptive node degrees by using dummy nodes.
- Variance Reduction Techniques: To improve the stability and efficiency of the Monte Carlo gradient estimation, the authors employ control variates. They derive analytical solutions for baselines for both BES and SNS, significantly reducing the variance of the estimators with minimal computational overhead.
- Surrogate Objective Function: A novel surrogate loss function is derived, which reweights the contributions of local and global costs, leading to faster convergence.
Datasets
The paper evaluates its approach on a combination of synthetic and real-world datasets:
- GPVAR: A synthetic dataset generated from a polynomial Graph VAR filter, allowing for controlled spatiotemporal dynamics.
- AQI (Beijing & Tianjin): Real-world Air Quality Index data from monitoring stations, previously used for time series imputation.
- METR-LA & PEMS-BAY: Popular real-world traffic forecasting benchmarks, containing traffic speed measurements from crossroads.
Key Insights and Ideas
- Score-based estimation is crucial for sparse graph learning: By avoiding continuous relaxations, score-based methods enable learning sparse graphs while maintaining computational efficiency, which is critical for large-scale spatiotemporal data.
- Probabilistic graph distributions offer flexibility: Modeling graph learning as learning a distribution allows for principled uncertainty quantification and the embedding of prior knowledge (like sparsity).
- Variance reduction is key to practical score-based methods: The proposed control variate baselines significantly improve the stability and speed of learning, making the score-based approach competitive.
- Surrogate objective accelerates convergence: The proposed surrogate loss function, which balances local and global costs, demonstrably speeds up the training process.
- SNS with dummy nodes handles variable degrees effectively: The Subset Neighborhood Sampler, augmented with dummy nodes, can adapt to varying node degrees without sacrificing performance, a common limitation of fixed-neighbor samplers.
Key Results
- State-of-the-art performance: The proposed method achieves competitive, and in some cases superior, performance on time series forecasting tasks compared to existing methods, including those based on path-wise estimators.
- Faster convergence: The use of the surrogate objective and variance reduction techniques leads to significantly faster learning, as evidenced by validation MAE curves.
- Effective graph identification: The method can accurately recover ground-truth graph structures, demonstrating its utility as a standalone graph identification procedure.
- Computational scalability: The sparse nature of the learned graphs and the efficient message-passing operations result in favorable time and memory complexity, especially compared to dense approaches. For instance, the training time complexity is $O(LTE)$ compared to $O(LTN^2)$ for dense methods.
- Comparison with estimators: In harder settings, the score-based approach outperforms path-wise and straight-through estimators, which are shown to converge to sub-optimal solutions due to their inherent bias.
Limitations and Future Work
- Limitations:
- The paper notes that overestimating the number of neighbors ($K$) in the SNS sampler can lead to slower convergence.
- While the method is computationally efficient, the complexity of sampling and likelihood evaluation for SNS can still be a factor for very large graphs.
- Future Work:
- Investigating dynamic adjacency matrices that change over time.
- Developing distribution-agnostic variance reduction methods.
- Designing advanced forecasting architectures that leverage the learned sparse graphs.
- Exploring the combination of proposed estimators with orthogonal variance reduction techniques and data-driven baselines.
- Applying implicit maximum likelihood estimators to this problem setting.
Summary updated