Construction of a traffic flow prediction model based on neural ordinary differential equations and Spatiotemporal adaptive networks
Abstract To address the issue of spatiotemporal illusion in short-term traffic flow prediction and deeply explore the underlying short-term traffic flow network characteristics, a traffic flow prediction model that combines long-term spatiotemporal heterogeneity with short-term spatiotemporal featur...
Saved in:
| Main Authors: | , , , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
Nature Portfolio
2025-03-01
|
| Series: | Scientific Reports |
| Subjects: | |
| Online Access: | https://doi.org/10.1038/s41598-025-92859-z |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | Abstract To address the issue of spatiotemporal illusion in short-term traffic flow prediction and deeply explore the underlying short-term traffic flow network characteristics, a traffic flow prediction model that combines long-term spatiotemporal heterogeneity with short-term spatiotemporal features is proposed. In the long-term spatiotemporal branch, the Transformer structure is employed, and a self-supervised masking mechanism is utilized to pretrain the heterogeneity in long-term temporal and spatial dimensions separately. Additionally, a spatiotemporal adaptive module is designed, which adapts to and guides short-term traffic flow prediction across time series and traffic flow networks. In the short-term spatiotemporal branch, a recurrent neural ordinary differential equation (ODE) module is devised. This module is capable of continuously and dynamically adjusting short-term spatiotemporal features, better capturing and exploring potential short-term spatiotemporal characteristics. Through multiple cycles, this module gradually and accurately extracts and compresses road network features, integrates the adapted spatiotemporal heterogeneity, and reconstructs future short-term traffic flows in the decoder. Experiments are conducted on four traffic flow and two traffic speed datasets, showing that compared to traditional time series models, the proposed model’s prediction accuracy indicators have relatively improved by 45.09%, 39.14%, and 0.47% on average; compared to recurrent neural network (RNN) series models, the improvements are 18.91%, 15.77%, and 0.18% on average; compared to graph convolution series models, the improvements are 21.31%, 16.65%, and 0.21% on average; and compared to Transformer series models, the improvements are 6.57%, 6.23%, and 0.05% on average. The model’s general applicability and good performance in transportation speed scenarios were verified through a multi-step experiment conducted on the transportation speed dataset. |
|---|---|
| ISSN: | 2045-2322 |