T-CPAD: A Transformer-Based Approach for Crowd Flow Prediction and Anomaly Detection

Crowd flow prediction and anomaly are critical issues in urban planning and public safety. However, existing research lacks a comprehensive analysis of crowd flow-related information and fails to address the high variability of crowd flow effectively. Therefore, this study proposes T-CPAD, a Transformer-based approach for crowd flow prediction and anomaly detection, to improve the accuracy of both crowd flow prediction and anomaly detection. Specifically, the Transformer encoder is used to perform a deep and comprehensive analysis of the external features related to crowd flow, achieving precise flow predictions. On this basis, a regularized anomaly discrimination function is designed, the parameters of which are adaptively optimized using gradient descent, enabling accurate anomaly detection and alarms. In practical applications, using an electronic fence dataset provided by a Hi-Tech Park, T-CPAD achieves a mean squared error of 12.5 for crowd flow prediction, a recall and an accuracy of 0.99 and 0.98 in anomaly detection experiments, significantly outperforming traditional methods. These results demonstrate the superior performance and reliability of the T-CPAD approach for crowd flow prediction and anomaly detection.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3598696
Citations
1
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

T-CPAD: A Transformer-Based Approach for Crowd Flow Prediction and Anomaly Detection

Zikang Zhang, Fei Yang, Junkai Yi
1 citations
IEEE Access
Anomaly Detection Techniques and Applications
2.48
article

T-CPAD: A Transformer-Based Approach for Crowd Flow Prediction and Anomaly Detection

Zikang Zhang, Fei Yang, Junkai Yi
article en
1 citations

Abstract

Crowd flow prediction and anomaly are critical issues in urban planning and public safety. However, existing research lacks a comprehensive analysis of crowd flow-related information and fails to address the high variability of crowd flow effectively. Therefore, this study proposes T-CPAD, a Transformer-based approach for crowd flow prediction and anomaly detection, to improve the accuracy of both crowd flow prediction and anomaly detection. Specifically, the Transformer encoder is used to perform a deep and comprehensive analysis of the external features related to crowd flow, achieving precise flow predictions. On this basis, a regularized anomaly discrimination function is designed, the parameters of which are adaptively optimized using gradient descent, enabling accurate anomaly detection and alarms. In practical applications, using an electronic fence dataset provided by a Hi-Tech Park, T-CPAD achieves a mean squared error of 12.5 for crowd flow prediction, a recall and an accuracy of 0.99 and 0.98 in anomaly detection experiments, significantly outperforming traditional methods. These results demonstrate the superior performance and reliability of the T-CPAD approach for crowd flow prediction and anomaly detection.

IEEE AccessVol. 13
Institute of Automation (CN), Beijing Information Science & Technology University (CN)
Openalex Percentile: Top 9%
Anomaly Detection Techniques and Applications
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

T-CPAD: A Transformer-Based Approach for Crowd Flow Prediction and Anomaly Detection — Zikang Zhang, Fei Yang, et al. · IEEE Access (2025) | TGRS Research Map | TGRS