Abstract
The recovery of time-varying graph signals is a fundamental problem with numerous applications in sensor networks and forecasting in time series. Effectively capturing the spatiotemporal information in these signals is essential for the downstream tasks. Previous studies have used the smoothness of the temporal differences of such graph signals as an initial assumption. Nevertheless, this smoothness assumption could result in a degradation of performance in the corresponding application when the prior does not hold. In this work, we relax the requirement of this hypothesis by including a learning module. We propose a Time Graph Neural Network (TimeGNN) for the recovery of time-varying graph signals. Our algorithm uses an encoder-decoder architecture with a specialized loss composed of a mean squared error function and a Sobolev smoothness operator. TimeGNN shows competitive performance against previous methods in real datasets.
Introduction
In many real-world scenarios—such as sensor networks monitoring air quality or ocean temperatures—data is often incomplete due to sensor failure or sparse sampling. Recovering this missing data is a classic problem in Graph Signal Processing (GSP). Traditionally, researchers have solved this using optimization techniques that assume "smoothness": the idea that a node's value should be similar to its neighbors' values and shouldn't change drastically from one time step to the next.
However, these mathematical "priors" are often too rigid. If the real-world data doesn't perfectly follow these smoothness rules, traditional models fail. This research aims to bridge this gap by replacing rigid optimization with a learnable Graph Neural Network (GNN) that can adapt to the nuances of real data while still respecting the underlying graph structure.
Methods
The authors propose TimeGNN, which utilizes an encoder-decoder architecture to capture complex spatiotemporal patterns.
The core components of the architecture include:
- Spatio-Temporal Encoding: The model takes a sampled (incomplete) time-varying signal and passes it through a cascade of Chebyshev graph convolutions. These convolutions are effective at capturing local patterns within the graph.
- Learnable Modules: Unlike traditional methods that use fixed mathematical solvers, TimeGNN includes learnable linear combination layers and parameters ($\mu$) that allow the network to "learn" the best way to aggregate information across different graph scales.
- Sobolev Smoothness Loss: This is the "secret sauce." The loss function isn't just Mean Squared Error (MSE). It includes a Sobolev smoothness operator that specifically looks at the temporal differences between graph signals. This encourages the model to produce reconstructions that are physically plausible (i.e., they don't jitter wildly over time) without being as restrictive as older methods.
Datasets
The model was evaluated on four distinct datasets to test its versatility:
- Synthetic Graph: A controlled environment where signals are generated to be perfectly smooth (used as a baseline).
- PM 2.5 Concentration: Daily air quality data from 93 sensors across California over 220 days.
- Sea-surface Temperature: Monthly measurements from 100 locations in the Pacific Ocean spanning 600 months.
- Intel Lab Data: Temperature readings from 54 sensors in a laboratory setting.
Key Results and Insights
TimeGNN demonstrated superior performance on the most complex real-world datasets. In PM 2.5 Concentration tasks, TimeGNN achieved the lowest error across all metrics (RMSE: 3.809, MAE: 2.172), outperforming the next best method, GraphTRSS. In Sea-surface Temperature recovery, it reduced the Mean Absolute Error (MAE) to 0.203 compared to 0.260 for traditional GSP methods.
A primary insight is the "Synthetic Paradox": traditional methods (like TGSR) performed better on the synthetic dataset because that data was mathematically engineered to be perfectly smooth. In the "messy" real world, TimeGNN’s flexibility allowed it to take the lead. Furthermore, once trained, GNNs are typically much faster at inference than iterative optimization solvers, which can be slow to converge on ill-conditioned real-world data.
Conclusion and Future Work
TimeGNN represents a shift from assuming smoothness to learning it. By making the recovery process learnable, the model handles noisy real-world data more effectively than pure optimization. Future work may involve incorporating Transformers or more compact operators to scale the model to even more dynamic, high-dimensional "4D" datasets, as well as refining graph construction methods to further improve performance.
Summary updated