Cargando…

DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection

In recent years, with the diversification of people’s modes of transportation, a large amount of traffic data is generated when people travel every day, and this data can help transportation mode detection to be of great use in a variety of applications. Although transportation mode detection has be...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Pu, Jiang, Yongguo
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9655380/
https://www.ncbi.nlm.nih.gov/pubmed/36366195
http://dx.doi.org/10.3390/s22218499
_version_ 1784829171646595072
author Wang, Pu
Jiang, Yongguo
author_facet Wang, Pu
Jiang, Yongguo
author_sort Wang, Pu
collection PubMed
description In recent years, with the diversification of people’s modes of transportation, a large amount of traffic data is generated when people travel every day, and this data can help transportation mode detection to be of great use in a variety of applications. Although transportation mode detection has been investigated, there are still challenges in terms of accuracy and robustness. This paper presents a novel transportation mode detection algorithm, DFTrans, which is based on Temporal Block and Attention Block. Low- and high-frequency components of traffic sequences are obtained using discrete wavelet transforms. A two-channel encoder is carefully designed to accurately capture the temporal and spatial correlation between low- and high-frequency components in both long- and short-term patterns. With the Temporal Block, the inductive bias of the CNN is introduced at high frequencies to improve generalization performance. At the same time, the network is generated with the same length as the input, ensuring a long effective history. Low frequencies are passed through Attention Block, which has fewer parameters to capture the global focus and solves the problem that RNNs cannot be computed in parallel. After fusing the output of the feature by Temporal Block and Attention Block, the classification results are output by MLP. Extensive experimental results show that the DFTrans algorithm achieves macro F1 scores of 86.34% on the real-world SHL dataset and 87.64% on the HTC dataset. Our model can better identify eight modes of transportation, including stationary, walking, running, cycling, bus, car, underground, and train, and has better performance in transportation mode detection than other baseline algorithms.
format Online
Article
Text
id pubmed-9655380
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-96553802022-11-15 DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection Wang, Pu Jiang, Yongguo Sensors (Basel) Article In recent years, with the diversification of people’s modes of transportation, a large amount of traffic data is generated when people travel every day, and this data can help transportation mode detection to be of great use in a variety of applications. Although transportation mode detection has been investigated, there are still challenges in terms of accuracy and robustness. This paper presents a novel transportation mode detection algorithm, DFTrans, which is based on Temporal Block and Attention Block. Low- and high-frequency components of traffic sequences are obtained using discrete wavelet transforms. A two-channel encoder is carefully designed to accurately capture the temporal and spatial correlation between low- and high-frequency components in both long- and short-term patterns. With the Temporal Block, the inductive bias of the CNN is introduced at high frequencies to improve generalization performance. At the same time, the network is generated with the same length as the input, ensuring a long effective history. Low frequencies are passed through Attention Block, which has fewer parameters to capture the global focus and solves the problem that RNNs cannot be computed in parallel. After fusing the output of the feature by Temporal Block and Attention Block, the classification results are output by MLP. Extensive experimental results show that the DFTrans algorithm achieves macro F1 scores of 86.34% on the real-world SHL dataset and 87.64% on the HTC dataset. Our model can better identify eight modes of transportation, including stationary, walking, running, cycling, bus, car, underground, and train, and has better performance in transportation mode detection than other baseline algorithms. MDPI 2022-11-04 /pmc/articles/PMC9655380/ /pubmed/36366195 http://dx.doi.org/10.3390/s22218499 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Wang, Pu
Jiang, Yongguo
DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title_full DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title_fullStr DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title_full_unstemmed DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title_short DFTrans: Dual Frequency Temporal Attention Mechanism-Based Transportation Mode Detection
title_sort dftrans: dual frequency temporal attention mechanism-based transportation mode detection
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9655380/
https://www.ncbi.nlm.nih.gov/pubmed/36366195
http://dx.doi.org/10.3390/s22218499
work_keys_str_mv AT wangpu dftransdualfrequencytemporalattentionmechanismbasedtransportationmodedetection
AT jiangyongguo dftransdualfrequencytemporalattentionmechanismbasedtransportationmodedetection