Unifying spatiotemporal and frequential attention for traffic prediction.

Sci Rep

College of Computer and Information Engineering, Nanjing Tech University, Nanjing, Jiangsu, China.

Published: January 2025

Intelligent transportation systems heavily rely on forecasting urban traffic flow, and a variety of approaches have been developed for this purpose. However, most current methods focus on exploring spatial and temporal dependencies in historical traffic data, while often overlooking the inherent spectral characteristics hidden in traffic time series. In this paper, we introduce an approach to analyzing traffic flow in the frequency domain. By integrating attention mechanisms, we comprehensively capture the hidden correlations among space, time, and frequency dimensions. By leveraging deep learning to capture spatial correlations in traffic flow and applying spectral analysis to fuse time series data with underlying periodic correlations in both the time and frequency domains, we develop an innovative traffic prediction model called the Space-Time-Frequency Attention Network (STFAN). The core of this network lies in the application of attention mechanisms, which project the hidden states of current traffic features across the space, time, and frequency domains onto future hidden states. This approach enables a comprehensive learning of the relationships between each dimension and the future states, ultimately allowing for accurate predictions of future traffic flow. We carry out experiments on two publicly available datasets from the California Department of Transportation, PeMS04 and PeMS08, to assess the performance of the proposed model. The results demonstrate that the proposed model outperforms existing baseline models in terms of predictive accuracy, particularly for mid- and long-term traffic flow forecasting. Finally, the ablation study confirmed that the frequency domain characteristics of traffic flow significantly influence future traffic conditions, demonstrating the practical effectiveness of the model.

Download full-text PDF

Source
http://dx.doi.org/10.1038/s41598-024-82759-zDOI Listing

Publication Analysis

Top Keywords

traffic flow
24
traffic
12
time frequency
12
traffic prediction
8
time series
8
frequency domain
8
attention mechanisms
8
space time
8
frequency domains
8
hidden states
8

Similar Publications

Unifying spatiotemporal and frequential attention for traffic prediction.

Sci Rep

January 2025

College of Computer and Information Engineering, Nanjing Tech University, Nanjing, Jiangsu, China.

Intelligent transportation systems heavily rely on forecasting urban traffic flow, and a variety of approaches have been developed for this purpose. However, most current methods focus on exploring spatial and temporal dependencies in historical traffic data, while often overlooking the inherent spectral characteristics hidden in traffic time series. In this paper, we introduce an approach to analyzing traffic flow in the frequency domain.

View Article and Find Full Text PDF

Can we realize seamless traffic safety at smart intersections by predicting and preventing impending crashes?

Accid Anal Prev

December 2024

UCF Smart & Safe Transportation Lab, Department of Civil, Environmental and Construction Engineering, University of Central Florida, 12800 Pegasus Drive, Orlando, FL 32816, United States. Electronic address:

Intersections are frequently identified as crash hotspots for roadways in major cities, leading to significant human casualties. We propose crash likelihood prediction as an effective strategy to proactively prevent intersection crashes. So far, no reliable models have been developed for intersections that effectively account for the variation in crash types and the cyclical nature of Signal Phasing and Timing (SPaT) and traffic flow.

View Article and Find Full Text PDF

Deep Learning-Based Method for Detecting Traffic Flow Parameters Under Snowfall.

J Imaging

November 2024

Jiangsu Province Collaborative Innovation Center of Modern Urban Traffic Technologies, Southeast University, Nanjing 211189, China.

In recent years, advancements in computer vision have yielded new prospects for intelligent transportation applications, specifically in the realm of automated traffic flow data collection. Within this emerging trend, the ability to swiftly and accurately detect vehicles and extract traffic flow parameters from videos captured during snowfall conditions has become imperative for numerous future applications. This paper proposes a new analytical framework designed to extract traffic flow parameters from traffic flow videos recorded under snowfall conditions.

View Article and Find Full Text PDF

The COVID-19 lockdown created a unique opportunity to study the impact of reduced human activities on water quality. This study aimed to explore how changes in human activities, specifically reduced traffic emissions, influenced water quality in the San Francisco Bay Area from 2019 to 2021. Using chlorophyll-a (Chl-a) concentration as an indicator of water quality and NO₂ concentration as a proxy for traffic emissions, we analyzed the effects of reduced emissions on water quality across different regions of the Bay.

View Article and Find Full Text PDF

The field of traffic forecasting has been the subject of considerable attention as a critical component in alleviating traffic congestion and improving urban services. Given the regular patterns of human activities, it is evident that traffic flow is inherently periodic. However, most of existing studies restrict themselves to recent historical observations and typically yield structurally and computationally complex models, which greatly limits the forecasting accuracy and hinders the application of models in realistic situations.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!