DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism
The accurate prediction of crowd flow in urban areas is becoming more and more important in many fields such as traffic management and public safety. However, the complex spatiotemporal relationship of the traffic data and the influence of events, weather, and other factors makes it very difficult t...
Main Authors: | , , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2021-01-01
|
Series: | Mathematical Problems in Engineering |
Online Access: | http://dx.doi.org/10.1155/2021/8867776 |
id |
doaj-b0dd856305034850a738e76ffe64d2d9 |
---|---|
record_format |
Article |
spelling |
doaj-b0dd856305034850a738e76ffe64d2d92021-03-08T02:00:53ZengHindawi LimitedMathematical Problems in Engineering1563-51472021-01-01202110.1155/2021/8867776DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention MechanismLiyan Xiong0Lei Zhang1Xiaohui Huang2Xiaofei Yang3Weichun Huang4Hui Zeng5Hong Tang6School of Information EngineeringSchool of Information EngineeringSchool of Information EngineeringSchool of Faculty of Science and TechnologySchool of Information EngineeringSchool of Information EngineeringSchool of Information EngineeringThe accurate prediction of crowd flow in urban areas is becoming more and more important in many fields such as traffic management and public safety. However, the complex spatiotemporal relationship of the traffic data and the influence of events, weather, and other factors makes it very difficult to accurately predict the crowd flow. In this study, we propose a spatiotemporal prediction model that is based on densely connected convolutional networks and gated recurrent units (GRU) with the attention mechanism to predict the inflow and outflow of the crowds in regions within a specific area. The DCAST model divides the time axis into three parts: short-term dependence, period rule, and long-term dependence. For each part, we employ densely connected convolutional networks to extract spatial characteristics. Attention-based GRU module is used to capture the temporal features. And then, the outputs of the three parts are fused by weighting elementwise addition. At last, we combine the results of the fusion and external factors to predict the crowd flow in each region. The root mean square errors of the DCAST model in two real datasets of taxis in Beijing (TaxiBJ) and bikes in New York (BikeNYC) are 15.70 and 5.53, respectively. The experimental results show that the results are more accurate and reliable than that of the baseline model.http://dx.doi.org/10.1155/2021/8867776 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Liyan Xiong Lei Zhang Xiaohui Huang Xiaofei Yang Weichun Huang Hui Zeng Hong Tang |
spellingShingle |
Liyan Xiong Lei Zhang Xiaohui Huang Xiaofei Yang Weichun Huang Hui Zeng Hong Tang DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism Mathematical Problems in Engineering |
author_facet |
Liyan Xiong Lei Zhang Xiaohui Huang Xiaofei Yang Weichun Huang Hui Zeng Hong Tang |
author_sort |
Liyan Xiong |
title |
DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism |
title_short |
DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism |
title_full |
DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism |
title_fullStr |
DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism |
title_full_unstemmed |
DCAST: A Spatiotemporal Model with DenseNet and GRU Based on Attention Mechanism |
title_sort |
dcast: a spatiotemporal model with densenet and gru based on attention mechanism |
publisher |
Hindawi Limited |
series |
Mathematical Problems in Engineering |
issn |
1563-5147 |
publishDate |
2021-01-01 |
description |
The accurate prediction of crowd flow in urban areas is becoming more and more important in many fields such as traffic management and public safety. However, the complex spatiotemporal relationship of the traffic data and the influence of events, weather, and other factors makes it very difficult to accurately predict the crowd flow. In this study, we propose a spatiotemporal prediction model that is based on densely connected convolutional networks and gated recurrent units (GRU) with the attention mechanism to predict the inflow and outflow of the crowds in regions within a specific area. The DCAST model divides the time axis into three parts: short-term dependence, period rule, and long-term dependence. For each part, we employ densely connected convolutional networks to extract spatial characteristics. Attention-based GRU module is used to capture the temporal features. And then, the outputs of the three parts are fused by weighting elementwise addition. At last, we combine the results of the fusion and external factors to predict the crowd flow in each region. The root mean square errors of the DCAST model in two real datasets of taxis in Beijing (TaxiBJ) and bikes in New York (BikeNYC) are 15.70 and 5.53, respectively. The experimental results show that the results are more accurate and reliable than that of the baseline model. |
url |
http://dx.doi.org/10.1155/2021/8867776 |
work_keys_str_mv |
AT liyanxiong dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT leizhang dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT xiaohuihuang dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT xiaofeiyang dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT weichunhuang dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT huizeng dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism AT hongtang dcastaspatiotemporalmodelwithdensenetandgrubasedonattentionmechanism |
_version_ |
1714797289079308288 |