Vision Transformer-Based Tailing Detection in Videos
Source abstract
Abstract
Tailing is defined as an event where a suspicious person follows someone closely. We define the problem of tailing detection from videos as an anomaly detection problem, where the goal is to find abnormalities in the walking pattern of the pedestrians (victim and follower). We, therefore, propose a modified Time-Series Vision Transformer (TSViT), a method for anomaly detection in video, specifically for tailing detection with a small dataset. We introduce an effective way to train TSViT with a small dataset by regularizing the prediction model. To do so, we first encode the spatial information of the pedestrians into 2D patterns and then pass them as tokens to the TSViT. Through a series of experiments, we show that the tailing detection on a small dataset using TSViT outperforms popular CNN-based architectures, as the CNN architectures tend to overfit with a small dataset of time-series images. We also show that when using time-series images, the performance of CNN-based architecture gradually drops, as the network depth is increased, to increase its capacity. On the other hand, a decreasing number of heads in Vision Transformer architecture shows good performance on time-series images, and the performance is further increased as the input resolution of the images is increased. Experimental results demonstrate that the TSViT performs better than the handcrafted rule-based method and CNN-based method for tailing detection. TSViT can be used in many applications for video anomaly detection, even with a small dataset.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Anomaly Detection Techniques and Applications · Video Surveillance and Tracking Methods · Human Pose and Action Recognition
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Engineering, Sogang University, Mapo-gu, Seoul 04107, Korea
Funding
Korea Agency for Infrastructure Technology Advancement
References (50)
Show source-provided references
1. (2021, September 13). Data-Kidnapping-United Nations Office on Drugs and Crime. Available online: https://www.unodc.org/documents/data-and-analysis/Crime-statistics/Kidnapping.xls.
2. Learning Normal Patterns via Adversarial Attention-Based Autoencoder for Abnormal Event Detection in Videos10.1109/TMM.2019.2950530 ↗
3. Vats, K., Fani, M., Walters, P., Clausi, D., and Zelek, J. (2020). Event Detection in Coarsely Annotated Sports Videos Via Parallel Multi Receptive Field 1D Convolutions, CVPR Workshop.10.1109/CVPRW50498.2020.00449 ↗
4. Gabeur, V., Sun, C., Alahari, K., and Schmid, C. (2020). Multi-Modal Transformer for Video Retrieval, ECCV.10.1007/978-3-030-58548-8_13 ↗
5. Kanafani, H., Ghauri, J.A., Hakimov, S., and Ewerth, R. (2021, January 21–24). Unsupervised Video Summarization via Multi-source Features. Proceedings of the ACM International Conference on Multimedia Retrieval (ICMR), Taipei, Taiwan.10.1145/3460426.3463597 ↗
6. Ye, F., Zheng, H., Huang, C., and Zhang, Y. (2021, January 19–22). Deep Unsupervised Image Anomaly Detection: An Information Theoretic Framework. Proceedings of the IEEE International Conference on Image Processing (ICIP), Anchorage, AK, USA.10.1109/ICIP42928.2021.9506079 ↗
7. Lu, C., Shi, J., and Jia, J. (2013). Abnormal Event Detection at 150 FPS in MATLAB, ICCV.10.1109/ICCV.2013.338 ↗
8. Abnormal Event Detection in Crowded Scenes Using Sparse Representation10.1016/j.patcog.2012.11.021 ↗
9. Online Anomaly Detection in Crowd Scenes via Structure Analysis10.1109/TCYB.2014.2330853 ↗
10. Chan, A.B., and Vasconcelos, N. (2005). Mixture of Dynamic Textures, ICCV.10.1109/ICCV.2005.151 ↗
11. Bera, A., Kim, S., and Manocha, D. (2016). Realtime Anomaly Detection Using Trajectory-Level Crowd Behavior Learning, CVPR Workshops.10.1109/CVPRW.2016.163 ↗
12. Chen, Z., Li, W., Fei, C., Liu, B., and Yu, N. (2018, January 9–12). Robust Anomaly Detection via Fusion of Appearance and Motion Features. Proceedings of the IEEE Visual Communications and Image Processing (VCIP), Taichung, Taiwan.10.1109/VCIP.2018.8698703 ↗
13. A Unified Framework for Event Summarization and Rare Event Detection from Multiple Views10.1109/TPAMI.2014.2385695 ↗
14. Anomaly Detection and Localization in Crowded Scenes10.1109/TPAMI.2013.111 ↗
15. Zhao, B., Fei-Fei, L., and Xing, E.P. (2011). Online Detection of Unusual Events in Videos via Dynamic Sparse Coding, CVPR.10.1109/CVPR.2011.5995524 ↗
16. Trichet, R., Nevatia, R., and Burns, B. (2015, January 25–28). Video Event Classification with Temporal Partitioning. Proceedings of the IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Karlsruhe, Germany.10.1109/AVSS.2015.7301782 ↗
17. Hierarchical Long Short-Term Concurrent Memory for Human Interaction Recognition10.1109/TPAMI.2019.2942030 ↗
18. Lee, D.G., and Lee, S.W. (2021). Human Interaction Recognition Framework based on Interacting Body Part Attention. arXiv.10.1016/j.patcog.2022.108645 ↗
19. Anomaly Detection and Localization in Crowded Scenes Using Connected Component Analysis10.1007/s11042-017-5061-7 ↗
20. An Adaptive Training-less Framework for Anomaly Detection in Crowd Scenes10.1016/j.neucom.2020.07.058 ↗
21. Combining Motion and Appearance Cues for Anomaly Detection10.1016/j.patcog.2015.09.005 ↗
22. Abnormal Event Detection in Videos Based on Deep Neural Networks
23. Xu, M., Zhang, Z., Hu, H., Wang, J., Wang, L., Wei, F., Bai, X., and Liu, Z. (2021). End-to-End Semi-Supervised Object Detection with Soft Teacher, ICCV.10.1109/ICCV48922.2021.00305 ↗
24. Yuan, Y., Fu, R., Huang, L., Zhang, C., Chen, X., and Wang, J. (2021). HRT: High-Resolution Transformer for Dense Prediction. arXiv.
25. Intermediate Fused Network with Multiple Timescales for Anomaly Detection10.1016/j.neucom.2020.12.025 ↗
26. Ilg, E., Mayer, N., Saikia, T., Keuper, M., Dosovitskiy, A., and Brox, T. (2017). FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks, CVPR.10.1109/CVPR.2017.179 ↗
27. Zhao, Y., Deng, B., Shen, C., Liu, Y., Lu, H., and Hua, X.S. (2017, January 23–27). Spatio-Temporal AutoEncoder for Video Anomaly Detection. Proceedings of the 25th ACM International Conference on Multimedia. Association for Computing Machinery, Mountain View, CA, USA.10.1145/3123266.3123451 ↗
28. Learning Patterns of Activity Using Real-Time Tracking10.1109/34.868677 ↗
29. Zhang, T., Lu, H., and Li, S. (2009). Learning Semantic Scene Models by Object Classification and Trajectory Clustering, CVPR.10.1109/CVPR.2009.5206809 ↗
30. Basharat, A., Gritai, A., and Shah, M. (2008). Learning Object Motion Patterns for Anomaly Detection and Improved Object Detection, CVPR.10.1109/CVPR.2008.4587510 ↗
31. Cui, X., Liu, Q., Gao, M., and Metaxas, D.N. (2011). Abnormal Detection Using Interaction Energy Potentials, CVPR.10.1109/CVPR.2011.5995558 ↗
32. Anomalous Video Event Detection Using Spatiotemporal Context10.1016/j.cviu.2010.10.008 ↗
33. Gradient-Based Learning Applied to Document Recognition10.1109/5.726791 ↗
34. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. arXiv.
35. Hasan, M., Choi, J., Neumann, J., Chowdhury, A.K.R., and Davis, L.S. (2016). Learning Temporal Regularity in Video Sequences, CVPR.10.1109/CVPR.2016.86 ↗
36. (2021, October 15). Are You Being Followed on Foot or By Car? What to, Do. Available online: https://www.huffpost.com/entry/are-you-being-followed-on_b_5096448.
37. Time Series Prediction and Neural Networks10.1023/A:1012074215150 ↗
38. Magdy, N., Sakr, M.A., Mostafa, T., and El-Bahnasy, K. (2015, January 12–14). Review on Trajectory Similarity Measures. Proceedings of the IEEE Seventh International Conference on Intelligent Computing and Information Systems (ICICIS), Cairo, Egypt.10.1109/IntelCIS.2015.7397286 ↗
39. Eiter, T., and Mannila, H. (1994). Computing Discrete Fréchet Distance, Citeseer. Technical Report.
40. Lahitani, A.R., Permanasari, A.E., and Setiawan, N.A. (2016, January 26–27). Cosine Similarity to Determine Similarity Measure: Study Case in Online Essay Assessment. Proceedings of the 4th International Conference on Cyber and IT Service Management, Bandung, Indonesia.10.1109/CITSM.2016.7577578 ↗
41. Imagenet Classification with Deep Convolutional Neural Networks
42. He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep Residual Learning for Image Recognition, CVPR.10.1109/CVPR.2016.90 ↗
43. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention is All You Need. Advances in Neural Information Processing Systems, The MIT Press.
44. Mahadevan, V., Li, W., Bhalodia, V., and Vasconcelos, N. (2010). Anomaly Detection in Crowded Scenes, CVPR.10.1109/CVPR.2010.5539872 ↗
45. A Stochastic Approximation Method10.1214/aoms/1177729586 ↗
46. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
47. Loshchilov, I., and Hutter, F. (2017). Decoupled Weight Decay Regularization. arXiv.
48. Goyal, P., Dollár, P., Girshick, R., Noordhuis, P., Wesolowski, L., Kyrola, A., Tulloch, A., Jia, Y., and He, K. (2017). Accurate, Large Minibatch SGD: Training Imagenet in 1 h. arXiv.
49. Loshchilov, I., and Hutter, F. (2016). SGDR: Stochastic Gradient Descent with Warm Restarts. arXiv.
50. Effects of Varying Resolution on Performance of CNN Based Image Classification: An Experimental Study