IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i9p1290-d1382034.html
   My bibliography  Save this article

Traffic Prediction with Self-Supervised Learning: A Heterogeneity-Aware Model for Urban Traffic Flow Prediction Based on Self-Supervised Learning

Author

Listed:
  • Min Gao

    (College of Systems Engineering, National University of Defense Technology, No. 137 Yanwachi Street, Changsha 410073, China)

  • Yingmei Wei

    (College of Systems Engineering, National University of Defense Technology, No. 137 Yanwachi Street, Changsha 410073, China)

  • Yuxiang Xie

    (College of Systems Engineering, National University of Defense Technology, No. 137 Yanwachi Street, Changsha 410073, China)

  • Yitong Zhang

    (College of Systems Engineering, National University of Defense Technology, No. 137 Yanwachi Street, Changsha 410073, China)

Abstract

Accurate traffic prediction is pivotal when constructing intelligent cities to enhance urban mobility and to efficiently manage traffic flows. Traditional deep learning-based traffic prediction models primarily focus on capturing spatial and temporal dependencies, thus overlooking the existence of spatial and temporal heterogeneities. Heterogeneity is a crucial inherent characteristic of traffic data for the practical applications of traffic prediction. Spatial heterogeneities refer to the differences in traffic patterns across different regions, e.g., variations in traffic flow between office and commercial areas. Temporal heterogeneities refer to the changes in traffic patterns across different time steps, e.g., from morning to evening. Although existing models attempt to capture heterogeneities through predefined handcrafted features, multiple sets of parameters, and the fusion of spatial–temporal graphs, there are still some limitations. We propose a self-supervised learning-based traffic prediction framework called Traffic Prediction with Self-Supervised Learning (TPSSL) to address this issue. This framework leverages a spatial–temporal encoder for the prediction task and introduces adaptive data masking to enhance the robustness of the model against noise disturbances. Moreover, we introduce two auxiliary self-supervised learning paradigms to capture spatial heterogeneities and temporal heterogeneities, which also enrich the embeddings of the primary prediction task. We conduct experiments on four widely used traffic flow datasets, and the results demonstrate that TPSSL achieves state-of-the-art performance in traffic prediction tasks.

Suggested Citation

  • Min Gao & Yingmei Wei & Yuxiang Xie & Yitong Zhang, 2024. "Traffic Prediction with Self-Supervised Learning: A Heterogeneity-Aware Model for Urban Traffic Flow Prediction Based on Self-Supervised Learning," Mathematics, MDPI, vol. 12(9), pages 1-18, April.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:9:p:1290-:d:1382034
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/9/1290/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/9/1290/
    Download Restriction: no
    ---><---

    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:gam:jmathe:v:12:y:2024:i:9:p:1290-:d:1382034. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.