Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region
Deep learning-based methods for predicting spatial-temporal data such as crowd flows need to consider both spatial dependency and temporal dependency. Previous research mainly focused on modeling spatial dependency, whereas studies on temporal dependency are few. Existing finite deep learning-based...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
IEEE
2019-01-01
|
Series: | IEEE Access |
Subjects: | |
Online Access: | https://ieeexplore.ieee.org/document/8854786/ |
id |
doaj-4c857843a1154b22b9edb73fc114b761 |
---|---|
record_format |
Article |
spelling |
doaj-4c857843a1154b22b9edb73fc114b7612021-04-05T17:34:17ZengIEEEIEEE Access2169-35362019-01-01714385514386510.1109/ACCESS.2019.29449908854786Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular RegionWenying Duan0https://orcid.org/0000-0003-4620-0465Liu Jiang1Ning Wang2Hong Rao3Information Engineering School, Nanchang University, Nanchang, ChinaCivil and Environmental Engineering, Stanford University, Stanford, CA, USAInformation Engineering School, Nanchang University, Nanchang, ChinaInformation Engineering School, Nanchang University, Nanchang, ChinaDeep learning-based methods for predicting spatial-temporal data such as crowd flows need to consider both spatial dependency and temporal dependency. Previous research mainly focused on modeling spatial dependency, whereas studies on temporal dependency are few. Existing finite deep learning-based methods for temporal dependency modeling can be divided into RNN-based methods and domain knowledge-based methods. However, RNN-based methods are hard to learn very long-term temporal dependency, and domain knowledge-based methods cannot model temporal dependency automatically, depending on data pre-processing based on prior knowledge. In view of the problem, crowd flows prediction in regular gridded regions are studied and a model called Pre-trained Bidirectional Temporal Representation (PBTR) based on Transformer encoder is proposed capable of modeling very long-term temporal dependency automatically. PBTR is simple, scalable, and can be combined with any other spatial component. Furthermore, we introduce Crowd Flows Prediction based on PBTR (CPPBTR) to form a Transformer based encoder-decoder framework. There are two decode stages in the proposed model. At decoder-stage 1, `draft' sequence is generated. At decoder-stage 2, each timestep of the `draft' sequence is masked and fed into PBTR to predict the refined flow for each masked position. Experiment results demonstrate that our method outperforms RNN-based methods and domain knowledge-based methods.https://ieeexplore.ieee.org/document/8854786/Traffic predictionneural networkstransformerbidirectional temporal representationvery long-term temporal dependency |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Wenying Duan Liu Jiang Ning Wang Hong Rao |
spellingShingle |
Wenying Duan Liu Jiang Ning Wang Hong Rao Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region IEEE Access Traffic prediction neural networks transformer bidirectional temporal representation very long-term temporal dependency |
author_facet |
Wenying Duan Liu Jiang Ning Wang Hong Rao |
author_sort |
Wenying Duan |
title |
Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region |
title_short |
Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region |
title_full |
Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region |
title_fullStr |
Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region |
title_full_unstemmed |
Pre-Trained Bidirectional Temporal Representation for Crowd Flows Prediction in Regular Region |
title_sort |
pre-trained bidirectional temporal representation for crowd flows prediction in regular region |
publisher |
IEEE |
series |
IEEE Access |
issn |
2169-3536 |
publishDate |
2019-01-01 |
description |
Deep learning-based methods for predicting spatial-temporal data such as crowd flows need to consider both spatial dependency and temporal dependency. Previous research mainly focused on modeling spatial dependency, whereas studies on temporal dependency are few. Existing finite deep learning-based methods for temporal dependency modeling can be divided into RNN-based methods and domain knowledge-based methods. However, RNN-based methods are hard to learn very long-term temporal dependency, and domain knowledge-based methods cannot model temporal dependency automatically, depending on data pre-processing based on prior knowledge. In view of the problem, crowd flows prediction in regular gridded regions are studied and a model called Pre-trained Bidirectional Temporal Representation (PBTR) based on Transformer encoder is proposed capable of modeling very long-term temporal dependency automatically. PBTR is simple, scalable, and can be combined with any other spatial component. Furthermore, we introduce Crowd Flows Prediction based on PBTR (CPPBTR) to form a Transformer based encoder-decoder framework. There are two decode stages in the proposed model. At decoder-stage 1, `draft' sequence is generated. At decoder-stage 2, each timestep of the `draft' sequence is masked and fed into PBTR to predict the refined flow for each masked position. Experiment results demonstrate that our method outperforms RNN-based methods and domain knowledge-based methods. |
topic |
Traffic prediction neural networks transformer bidirectional temporal representation very long-term temporal dependency |
url |
https://ieeexplore.ieee.org/document/8854786/ |
work_keys_str_mv |
AT wenyingduan pretrainedbidirectionaltemporalrepresentationforcrowdflowspredictioninregularregion AT liujiang pretrainedbidirectionaltemporalrepresentationforcrowdflowspredictioninregularregion AT ningwang pretrainedbidirectionaltemporalrepresentationforcrowdflowspredictioninregularregion AT hongrao pretrainedbidirectionaltemporalrepresentationforcrowdflowspredictioninregularregion |
_version_ |
1721539284127711232 |