NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DynST: Dynamic Sparse Training for Resource-Constrained Spatio-Temporal Forecasting

Hao Wu, Haomin Wen, Guibin Zhang, Yutong Xia, Kai Wang, Yuxuan Liang, Yu Zheng, Kun Wang

TL;DR

This paper introduces DynST, a novel dynamic sparse training method that intelligently prunes spatio-temporal data to accelerate forecasting models without sacrificing accuracy. By adaptively identifying and deactivating less important sensor data regions, DynST significantly boosts inference efficiency, making resource-constrained spatio-temporal forecasting more practical for real-world applications.

What Problem Does This Paper Address?

The proliferation of sensor networks in earth science generates vast amounts of data, which is crucial for deep learning-based forecasting. However, deploying and operating these sensors at an industrial scale is costly and resource-intensive due to factors like power consumption and hardware wear. Traditional methods for optimizing sensor deployment often rely on static historical data or geographical features, which are insufficient for capturing the dynamic nature of spatio-temporal data. This leads to challenges in achieving comprehensive coverage and efficient data utilization. The paper aims to address this by developing a method that dynamically filters out less important sensor data, thereby reducing computational load and improving inference speed without compromising predictive performance.

Methods

The core of DynST is a dynamic sparse training approach that operates at the data level. It introduces a differentiable mask that is applied to the input data, allowing the model to learn which parts are crucial for future predictions.

  • Stream Morph Operator: To handle the temporal dimension effectively, DynST employs a "stream morph" operator. This operator merges spatial dimensions (height and width) with the temporal and channel dimensions, effectively creating a unified representation that simplifies processing and mitigates temporal interference.
  • Iterative Pruning: DynST uses an iterative pruning strategy. The model is trained, and then a mask is adjusted to identify and remove less important data regions. This process is repeated over multiple iterations, gradually increasing sparsity while ensuring that performance degradation is minimal.
  • Dynamic Sparse Training (DST): Between iterative pruning steps, DynST incorporates a dynamic sparse training phase. This involves selectively activating previously pruned regions and masking currently active ones. This "drop and regrow" mechanism, guided by gradients, allows for a more nuanced and adaptive identification of important data elements.
  • Model-Agnostic Design: DynST is designed to be model-agnostic, meaning it can be integrated with various spatio-temporal forecasting architectures (e.g., GNNs, Transformers) without requiring architectural modifications.

Datasets

The authors evaluated DynST on several real-world datasets:

  • WeatherBench: A dataset for meteorological forecasting, containing data for temperature, humidity, wind speed, and cloud cover.
  • FIT Dataset: Focuses on fire science, with data on temperature and visibility.
  • Taxibj+ Dataset: A large-scale dataset for urban traffic flow prediction, including inflow and outflow data.
  • EAGLE Dataset: A dataset for learning turbulent fluid dynamics, containing pressure and speed variables.

These datasets represent diverse spatio-temporal scenarios, including graph-type (e.g., Taxibj+, WeatherBench) and image-type (e.g., FIT) data.

Key Insights and Ideas

  • Data-Level Pruning for Spatio-Temporal Data: The paper pioneers the concept of applying dynamic sparse training directly to the input data for spatio-temporal forecasting, rather than just pruning model weights. This is a significant shift from traditional model pruning techniques.
  • Balancing Sparsity and Performance: DynST demonstrates that it's possible to achieve substantial data sparsity (up to 60%) without a noticeable drop in predictive accuracy, which is crucial for resource-constrained environments.
  • Accelerated Inference: The primary benefit of DynST is its ability to significantly speed up inference times, often by factors of 1.5x to 2x, making real-time applications more feasible.
  • Plug-and-Play Capability: DynST's model-agnostic nature makes it a versatile tool that can be easily integrated into existing forecasting pipelines, enhancing their efficiency.

Key Results

  • Significant Speedup: DynST consistently improved inference speeds across various backbones and datasets. For example, STGCN on WeatherBench saw a speedup of up to 1.721x, and ViT on Taxibj+ Outflow achieved a speedup of up to 1.987x.
  • Minimal Performance Degradation: Despite significant sparsity levels (e.g., 30-60%), DynST maintained comparable performance (MAE, RMSE) to the original models. In some cases, like ViT on Taxibj+ Outflow, DynST even slightly improved the MAE.
  • Effective Long-Term Prediction: DynST enabled long-term forecasting without compromising performance, even at higher sparsity levels.
  • Structural Integrity Maintained: Ablation studies using SSIM and PSNR metrics showed that DynST integration did not significantly impact the structural prediction quality of the models.

Limitations and Future Work

  • Trade-off between Sparsity and Performance: While DynST minimizes performance degradation, the paper acknowledges that there is a trade-off. As sparsity increases, SSIM values gradually decrease, suggesting that applications requiring absolute maximum accuracy might need to carefully tune the sparsity level.
  • Further Exploration of Training Schemes: The authors suggest exploring DynST in conjunction with other training schemes and architectures to further validate its versatility and effectiveness.
  • Real-world Deployment Optimization: The paper highlights the potential for DynST in optimizing sensor deployment in real-world scenarios, which could be a fruitful area for future research and development.

Summary updated

BibTeX
@inproceedings{wu2024dynst,
  author = {Hao Wu and Haomin Wen and Guibin Zhang and Yutong Xia and Kai Wang and Yuxuan Liang and Yu Zheng and Kun Wang},
  title = {{DynST: Dynamic Sparse Training for Resource-Constrained Spatio-Temporal Forecasting}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  url = {https://openreview.net/forum?id=MBZEnhXUwh},
}
Figure