Introduction
Forecasting demand and supply in complex urban networks—such as bike-sharing systems or cellular traffic—is a critical task for resource optimization. However, these systems are influenced by a myriad of "hidden" factors, particularly dynamic environmental contexts like weather. Traditional models often struggle to integrate these external variables effectively. This paper introduces the Context Integrated Graph Neural Network (CIGNN), a novel framework that treats environmental factors as dynamic, time-evolving graphs to capture spatial, temporal, and contextual dependencies simultaneously.
The Challenge: Beyond Static Context
Predicting demand (e.g., mobile call volume) or supply (e.g., bike availability) is notoriously difficult because locations are rarely independent. Modern approaches utilize Graph Neural Networks (GNNs) to account for spatial proximity and relational patterns. Yet, most existing models treat "context"—external factors like weather—as a fixed or static impact.
In reality, the influence of weather is highly dynamic. Rain at 8:00 AM on a Monday affects bike usage differently than rain at 2:00 PM on a Sunday. CIGNN addresses this by modeling dynamic contextual dependencies, allowing the network to learn how environmental fluctuations propagate through the target system over time.
Methodology: The CIGNN Architecture
The core innovation is the CIGNN unit, which adapts the Gated Recurrent Unit (GRU) architecture by replacing standard linear operations with graph-based counterparts.
1. Multi-Graph Representation
CIGNN maintains a "demand graph" alongside several "context graphs" (e.g., temperature, humidity). By treating weather stations as nodes in their own graph, the model learns spatial patterns within the environment itself and correlates them with the target network.
2. Graph Convolutions and Relational Construction
To aggregate information efficiently, the model employs graph convolutions with Chebyshev polynomial approximation. Unlike models that rely solely on physical distance, CIGNN uses Detrended Cross-Correlation Analysis (DCCA) to build relational graphs. This identifies functional correlations between distant nodes—such as two bike stations linked by commuting patterns—that proximity-based models would overlook.
3. The Fusion Layer ($\Phi$)
The "secret sauce" of CIGNN is the interleaved fusion mechanism. This layer jointly learns the hidden states of the demand and context graphs, capturing how fluctuations in external factors propagate to impact demand/supply values.
Experimental Evaluation
The model was evaluated on two distinct real-world datasets:
- CallMi (Mobile Call Demand in Milan): 162 nodes with temperature and humidity context. This dataset exhibits high periodicity.
- BikeBay (Bike-sharing Supply in the Bay Area): 70 stations with five context types (temperature, humidity, dew point, sea level, and wind speed). This dataset is more irregular and challenging.
Results and Key Insights
CIGNN consistently outperformed state-of-the-art baselines, including DCRNN, STGCN, and Graph WaveNet.
- Performance Gains: On the CallMi dataset, CIGNN achieved a 5.7% improvement in MAE and 9.4% in RMSE. For BikeBay, it saw improvements of 4.4% in MAE and 2.3% in RMSE.
- Ablation Studies: Removing the fusion layer led to slower convergence and significantly higher loss, validating the importance of the dynamic context integration.
- Functional Connectivity: The results confirmed that "distance is deceptive"; functional relationships captured via DCCA are often more predictive than simple spatial proximity.
Conclusion and Future Directions
CIGNN represents a significant step forward in integrating multi-source dynamic context into spatio-temporal forecasting. While powerful, the model's complexity suggests future work in optimizing for larger networks. Additionally, moving toward "latent graph learning"—where the model discovers graph structures entirely from data—could further enhance its flexibility across diverse domains like power grid management or logistics.
Summary updated