Abstract
This paper introduces Spatio-Temporal Forecast with Chosen Variables (STCV), a novel problem setting where a model must select the most informative $m$-out-of-$n$ sensors to maximize forecasting accuracy for an entire system under budget constraints. We propose the Variable-Parameter Iterative Pruning (VIP) framework, which jointly optimizes sensor selection and model compression. VIP employs masked pruning, dynamic extrapolation, and prioritized replay to outperform state-of-the-art baselines by up to 30% in accuracy while remaining significantly more memory-efficient.
Introduction
In real-world spatio-temporal sensing—such as monitoring city-wide traffic or air quality—budget constraints often prevent the deployment of high-quality sensors at every location. While full data might be available during a training phase, only $m$ permanent sensors ($m \ll n$) can be afforded for ongoing forecasting. Existing research typically treats missing variables as a nuisance to be managed. This paper introduces the STCV problem: if only $m$ locations can be chosen, which ones provide the most predictive power for the entire network?
As illustrated in Figure 2, STCV allows for the strategic selection of input variables, unlike standard missing-data scenarios where sensor locations are fixed.
Methodology: The VIP Framework
The Variable-Parameter Iterative Pruning (VIP) framework integrates sensor selection into the learning process through three novel components:
- Masked Variable-Parameter Pruning: The model uses learnable importance vectors for both input variables and internal attention parameters. It progressively prunes the least informative ones using quantile-based masking, simultaneously selecting sensors and compressing the model.
- Dynamic Extrapolation: To forecast values for unselected locations, VIP uses a learned global information bridge. It leverages graph structures and node embeddings to propagate features from the $m$ chosen variables to the $n-m$ unchosen ones.
- Prioritized Variable-Parameter Replay (PVR): To prevent "catastrophic forgetting" during pruning, VIP maintains a buffer of "low-loss" past samples. Replaying these stable patterns ensures the model retains critical knowledge as variables are removed.
Experimental Evaluation
The framework was evaluated on five public spatio-temporal datasets: METR-LA, PEMSBAY, PEMS04, PEMS08 (traffic), and AQI (air quality). Models were tested under a strict 10% deployment ratio.
Key Results
- Accuracy: VIP consistently outperformed all baselines. On the PEMSBAY dataset, it achieved a significant improvement in RMSE compared to the best-performing baseline, GinAR.
- Efficiency: VIP is remarkably lightweight. At a scale of 100,000 variables, where baselines like GinAR suffer from out-of-memory errors (requiring >20 GB), VIP requires only ~1 GB of memory and maintains an inference latency of 188ms.
- Interpretability: Visual analysis of VIP’s selections showed a preference for major junctions and high-variability corridors, confirming the model identifies topologically and dynamically significant locations.
Conclusion
VIP demonstrates that joint optimization of sensor placement and model parameters leads to superior forecasting performance and scalability. By treating sensor selection as a learnable pruning task, VIP provides a robust solution for budget-constrained spatio-temporal monitoring. Future work will explore adaptive real-time sensing and cold-start scenarios.
Summary updated