| Literature DB >> 31940830 |
Shangyu Sun1, Huayi Wu1, Longgang Xiang1.
Abstract
City-wide traffic flow forecasting is a significant function of the Intelligent Transport System (ITS), which plays an important role in city traffic management and public travel safety. However, this remains a very challenging task that is affected by many complex factors, such as road network distribution and external factors (e.g., weather, accidents, and holidays). In this paper, we propose a deep-learning-based multi-branch model called TFFNet (Traffic Flow Forecasting Network) to forecast the short-term traffic status (flow) throughout a city. The model uses spatiotemporal traffic flow matrices and external factors as its input and then infers and outputs the future short-term traffic status (flow) of the whole road network. For modelling the spatial correlations of the traffic flows between current and adjacent road segments, we employ a multi-layer fully convolutional framework to perform cross-correlation calculation and extract the hierarchical spatial dependencies from local to global scales. Also, we extract the temporal closeness and periodicity of traffic flow from historical observations by constructing a high-dimensional tensor comprised of traffic flow matrices from three fragments of the time axis: recent time, near history, and distant history. External factors are also considered and trained with a fully connected neural network and then fused with the output of the main component of TFFNet. The multi-branch model is automatically trained to fit complex patterns hidden in the traffic flow matrices until reaching pre-defined convergent criteria via the back-propagation method. By constructing a rational model input and network architecture, TFFNet can capture spatial and temporal dependencies simultaneously from traffic flow matrices during model training and outperforms other typical traffic flow forecasting methods in the experimental dataset.Entities:
Keywords: city-wide traffic flow forecasting; deep learning; external factors fusion; multi-branch prediction network; taxicabs GPS trajectories
Year: 2020 PMID: 31940830 PMCID: PMC7014408 DOI: 10.3390/s20020421
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Data pre-processing procedure. (a) GPS trajectory slicing; (b) matching trajectory maps; (c) spatial intersection operation.
Figure 2Sample traffic flow matrix. (a) Traffic flow volume at 12:00, 5 January 2015; (b) detailed view of the traffic flow matrix of (a).
Figure 3TFFNet architecture. Conv: convolution layer; FC: fully-connected layer.
Figure 4Location of the urban area in Wuhan, China.
Original dataset details (holidays include adjacent weekends).
| Dataset | Details | |
|---|---|---|
| Wuhan dataset | Time span | 1 April to 30 June 2017 |
| Trajectories | From a government-sponsored program | |
| External factors | From open-access official websites | |
| Part I: Trajectories | Sampling rate | 60 s |
| Floating cars | 7 thousand | |
| Floating car types | Taxi, Bus, and Private car | |
| Trajectories | 14 million | |
| Trajectory points | 14 billion | |
| Part II: External Factors | Weather conditions | 16 types (e.g., Sunny, Rainy) |
| Weekdays | 65 days | |
| Weekends | 26 days | |
| Holidays | 9 days | |
Figure 5Traffic flow matrices of Hongshan Square on 1 May 2017.
Training dataset details.
| Dataset | Details | |
|---|---|---|
| Wuhan training dataset | Time span | 90 days |
| Time interval | 15 min | |
| Traffic flow matrices | 8640 (90 days × 96/day) | |
| Training instances | 7968 (8640 − 7 × 96/day) | |
| Traffic flow matrix size | (200, 200) | |
| External factor feature vector size | (1, 8) | |
Detailed structure of TFFNet with 4 residual units.
| Layer Name | Input Size | Output Size | Filter Size |
|---|---|---|---|
| Conv 1 |
|
|
|
| ResUnit 1 |
|
|
|
| ResUnit 2 |
|
|
|
| ResUnit 3 |
|
|
|
| ResUnit 4 |
|
|
|
| Conv 2 |
|
|
|
Comparison of the different methods in the testing dataset.
| Models | RMSE |
|---|---|
| HA | 48.77 |
| ARIMA | 24.88 |
| SAE | 32.66 |
| LSTM | 20.38 |
| TFFNet | 18.34 |
Note: There are 4 residual units in standard TFFNet. The external fusion component is used. The model input incorporates 3 dependent sequences: temporal closeness, period, and trend.
Comparison of the different model depths of TFFNet.
| Models | Description | RMSE | Training Time (Minutes) |
|---|---|---|---|
| TFFNet_4 | 4 Residual Units | 18.34 | 67.5 |
| TFFNet_8 | 8 Residual Units | 17.69 | 88.0 |
| TFFNet_12 | 12 Residual Units | 14.20 | 109.8 |
| TFFNet_16 | 16 Residual Units | 14.07 | 135.0 |
| TFFNet_20 | 20 Residual Units | 14.06 | 166.5 |
| TFFNet_24 | 24 Residual Units | 14.12 | 201.3 |
| TFFNet_30 | 30 Residual Units | 14.56 | 238.9 |
| TFFNet_34 | 34 Residual Units | 15.09 | 279.5 |
Note: TFFNet_* represent how many residual units are stacked in constructing the TFFNet model.
Comparison of the different fusion policies of TFFNet.
| Models | Description | RMSE | Training Time (Minutes) |
|---|---|---|---|
| TFFNet_16 | With external fusion | 14.07 | 135.0 |
| TFFNet_16_noFusion | Without external fusion | 15.77 | 128.7 |
Comparison of the different input structure of TFFNet.
| Models | Input Data Structure | RMSE | Training Time (Minutes) | ||
|---|---|---|---|---|---|
| Temporal Closeness | Period | Trend | |||
| TFFNet_16 | ✓ | ✓ | ✓ | 14.07 | 135.0 |
| TFFNet_16_CP | ✓ | ✓ | ✕ | 18.29 | 132.7 |
| TFFNet_16_C | ✓ | ✕ | ✕ | 19.64 | 130.2 |