MoGERNN: An Inductive Traffic Predictor for Unobserved Locations in Dynamic Sensing Networks

Qishen Zhou, Yifan Zhang, Michail A. Makridis, Anastasios Kouvelas, Yibing Wang, Simon Hu · OpenReview

TL;DR

This paper introduces MoGERNN, a novel deep learning model for predicting traffic conditions in areas without sensors. It tackles the practical challenge of dynamic sensor networks by being "inductive," meaning it can adapt to changes without full retraining, and excels at predicting traffic even in unobserved locations.

What Problem Does This Paper Address?

Predicting traffic flow is crucial for efficient transportation management. While deep learning models have shown great promise, they typically assume a complete sensor network, which is financially unfeasible. Moreover, these models are often "transductive," meaning they need to be retrained from scratch whenever the sensor network changes (e.g., sensors are added or fail). This paper addresses the problem of inductively forecasting unobserved nodes (iFun), where the goal is to predict traffic states at locations without sensors, and the model must be adaptable to dynamic sensor configurations without retraining.

Methods

MoGERNN is built on two key components:

  • Mixture of Graph Experts (MoGE): This novel module draws inspiration from Mixture-of-Experts (MoE) in Large Language Models. It uses multiple specialized "graph experts," each employing a different graph aggregation technique (e.g., distance-weighted, mean, max-pooling, diffusion convolution). A sparse gating network dynamically routes input features to the most relevant experts and combines their outputs. This allows MoGERNN to capture diverse spatial dependencies in traffic networks more effectively and efficiently.
  • Spatio-Temporal Graph Encoder-Decoder (STGED): This architecture takes the embeddings generated by MoGE and uses a GRU-based encoder-decoder to capture both spatial and temporal dependencies for multi-step traffic state prediction. The GRU's linear transformations are replaced with graph aggregators, further integrating graph-based reasoning into the prediction process.

The training strategy is also crucial: it uses random masking of nodes during training to simulate sensor failures and additions, making the model robust to dynamic sensor networks.

Datasets

The paper evaluates MoGERNN on two widely used, real-world traffic speed datasets:

  • METR-LA: Contains traffic speed data from 207 sensors.
  • PEMS-BAY: Contains traffic speed data from 325 sensors.

The authors do not introduce new datasets but focus on adapting existing methods to the iFun problem.

Key Insights and Ideas

  • Mixture of Experts for Graphs: Applying the MoE concept to graph neural networks, with a sparse gating mechanism, is a powerful way to handle heterogeneous spatial dependencies in traffic networks. It allows the model to dynamically select the best aggregation strategy for different situations.
  • Inductive Learning is Key for Dynamic Networks: The ability to adapt to sensor network changes without retraining is a significant practical advantage. MoGERNN's inductive nature makes it more deployable in real-world scenarios where sensor configurations are not static.
  • Unobserved Locations are Significantly Harder: The paper highlights that predicting traffic in unobserved locations is substantially more challenging than in observed ones, with error rates being 1.2-1.9 times higher. This underscores the importance of specialized methods like MoGERNN.
  • Sparse Gating Enhances Efficiency and Effectiveness: The sparse gating network not only reduces computational overhead by activating only a subset of experts but also acts as implicit regularization, preventing overfitting.

Key Results

  • Superior Prediction for Unobserved Locations: MoGERNN consistently outperforms baseline methods (including Kriging-based and other GNN approaches) on both METR-LA and PEMS-BAY datasets for predicting traffic states at unobserved locations. For example, on METR-LA, it achieved significant reductions in MAPE, MAE, and RMSE compared to the most competitive baseline.
  • Robustness to Sensor Changes: MoGERNN demonstrates strong adaptability to sensor network changes (e.g., sensor failures, new sensor additions), maintaining competitive performance even without retraining. Its performance with newly added sensors closely matches that of always-available sensors.
  • Accurate Congestion Prediction: The model accurately predicts congestion evolution, providing valuable information for traffic management even in areas without sensors.
  • Efficiency: While not the primary focus, the paper notes that the runtime increase with more activated experts is manageable and within real-time requirements.

Limitations and Future Work

  • Uncertainty Estimation: The authors identify uncertainty estimation as a crucial area for future work. Quantifying prediction uncertainty is vital for informed decision-making in traffic management, especially for unobserved locations where errors are harder to evaluate.
  • Sensor Deployment Analysis: Understanding the relationship between sensor deployment patterns and model performance could lead to better guidelines for practical sensor network design.
  • Multi-Source Data Fusion: For sparse sensor networks, incorporating data from other sources like connected vehicles could improve iFun problem-solving.
  • Multivariate Data Processing: Extending the model to handle multiple traffic variables (speed, flow, occupancy) simultaneously could further enhance its capabilities and potentially introduce regularization constraints.

Summary updated

Abstract

Given a partially observed road network, how can we predict the traffic state of unobserved locations? While deep learning approaches show exceptional performance in traffic prediction, most assume sensors at all locations of interest, which is impractical due to financial constraints. Furthermore, these methods typically require costly retraining when sensor configurations change. We propose MoGERNN, an inductive spatio-temporal graph representation model, to address these challenges. Inspired by the Mixture of Experts approach in Large Language Models, we introduce a Mixture of Graph Expert (MoGE) block to model complex spatial dependencies through multiple graph message aggregators and a sparse gating network. This block estimates initial states for unobserved locations, which are then processed by a GRU-based Encoder-Decoder that integrates a graph message aggregator to capture spatio-temporal dependencies and predict future states. Experiments on two real-world datasets show MoGERNN consistently outperforms baseline methods for both observed and unobserved locations. MoGERNN can accurately predict congestion evolution even in areas without sensors, offering valuable information for traffic management. Moreover, MoGERNN is adaptable to dynamic sensing networks, maintaining competitive performance even compared to its retrained counterpart. Tests with different numbers of available sensors confirm its consistent superiority, and ablation studies validate the effectiveness of its key modules.
BibTeX
@inproceedings{zhou2025mogernn,
  author = {Qishen Zhou and Yifan Zhang and Michail A. Makridis and Anastasios Kouvelas and Yibing Wang and Simon Hu},
  title = {{MoGERNN: An Inductive Traffic Predictor for Unobserved Locations in Dynamic Sensing Networks}},
  booktitle = {Transportation},
  year = {2025},
  doi = {10.1016/j.trc.2025.105080},
}
Figure