IDEAS home Printed from https://ideas.repec.org/a/wsi/ijmpcx/v36y2025i07ns0129183124502589.html
   My bibliography  Save this article

Sparse spatial–temporal attention forecasting network: A new model for time series forecasting

Author

Listed:
  • Mi Wen

    (Shanghai University of Electric Power, Shanghai, P. R. China)

  • Junjie Huan

    (Shanghai University of Electric Power, Shanghai, P. R. China)

  • Minjie Wei

    (Shanghai University of Electric Power, Shanghai, P. R. China)

  • Yun Su

    (State Grid Electric Power Research Institute, Nanjing, P. R. China)

  • Naiwang Guo

    (State Grid Electric Power Research Institute, Nanjing, P. R. China)

Abstract

Time series forecasting has practical applications in many fields such as power load forecasting and traffic flow prediction. However, current time series forecasting methods focus more on temporal correlations, with less consideration given to the impact of spatial dimensions on time series predictions. Today, complex spatial–temporal coupling relationships significantly influence time series forecasting. Existing works mostly model time series predictions purely based on temporal correlations, without modeling spatial–temporal correlations, leading to insufficient prediction accuracy in time series forecasting. Inspired by the recent success of Transformers in the graph domain and their successful application in forecasting, we propose a new model for time series prediction called the Sparse Spatial–Temporal Attention Forecasting Network. This network performs adaptive spatial–temporal attention modeling on spatial–temporal graphs and incorporates a sparsity measure function, MLP, and average pooling into the traditional Transformer’s multi-head self-attention mechanism to better weight the attention scores. To improve prediction accuracy, the Sparse Spatial–Temporal Attention Forecasting Network constructs a weighted adjacency matrix based on the topological relationships between spatially adjacent nodes and information such as latitude and longitude. It then builds an adaptive graph using this weighted adjacency matrix to capture hidden spatial–temporal coupling relationships. Simultaneously, it employs a sequence decomposition algorithm based on average pooling to divide the data into two main blocks for separate prediction, thereby enhancing prediction accuracy. The Sparse Spatial–Temporal Attention Forecasting Network’s superior performance is demonstrated through experimental results on the Shanghai Pudong power load dataset and the public dataset PEMS-BAY.

Suggested Citation

  • Mi Wen & Junjie Huan & Minjie Wei & Yun Su & Naiwang Guo, 2025. "Sparse spatial–temporal attention forecasting network: A new model for time series forecasting," International Journal of Modern Physics C (IJMPC), World Scientific Publishing Co. Pte. Ltd., vol. 36(07), pages 1-21, July.
  • Handle: RePEc:wsi:ijmpcx:v:36:y:2025:i:07:n:s0129183124502589
    DOI: 10.1142/S0129183124502589
    as

    Download full text from publisher

    File URL: http://www.worldscientific.com/doi/abs/10.1142/S0129183124502589
    Download Restriction: Access to full text is restricted to subscribers

    File URL: https://libkey.io/10.1142/S0129183124502589?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wsi:ijmpcx:v:36:y:2025:i:07:n:s0129183124502589. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscinet.com/ijmpc/ijmpc.shtml .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.