journal article·2024-06-05Open access

Lightweight Violence Detection Model Based on 2D CNN with Bi-Directional Motion Attention

Jingwen Wang, Daqi Zhao, Haoming Li, Deqiang Wang

Applied Sciences· Volume 14· Issue 11

Abstract

With the widespread deployment of surveillance cameras, automatic violence detection has attracted extensive attention from industry and academia. Though researchers have made great progress in video-based violence detection, it is still a challenging task to realize accurate violence detection in real time, especially with limited computing resources. In this paper, we propose a lightweight 2D CNN-based violence detection scheme, which takes advantage of frame-grouping to reduce data redundancy greatly and, meanwhile, enable short-term temporal modeling. In particular, a lightweight 2D CNN, named improved EfficientNet-B0, is constructed by integrating our proposed bi-directional long-term motion attention (Bi-LTMA) module and a temporal shift module (TSM) into the original EfficientNet-B0. The Bi-LTMA takes both spatial and channel dimensions into consideration and captures motion features in both forward and backward directions. The TSM is adopted to realize temporal feature interaction. Moreover, an auxiliary classifier is designed and employed to improve the classification capability and generalization performance of the proposed model. Experiment results demonstrate that the computational cost of the proposed model is 1.21 GFLOPS. Moreover, the proposed scheme achieves accuracies of 100%, 98.5%, 91.67%, and 90.25% on the Movie Fight dataset, the Hockey Fight dataset, the Surveillance Camera dataset, and the RWF-2000 dataset, respectively.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Human Pose and Action Recognition · Anomaly Detection Techniques and Applications · Video Surveillance and Tracking Methods

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Information Science and Engineering, Shandong University, Qingdao 266237, China

Funding

National Key Research and Development Program of China

References (50)

Show source-provided references
1. Sudhakaran, S., and Lanz, O. (September, January 29). Learning to Detect Violent Videos Using Convolutional Long Short-Term Memory. Proceedings of the 2017 14th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Lecce, Italy.10.1109/AVSS.2017.8078468 ↗
2. CNN-BiLSTM Model for Violence Detection in Smart Surveillance10.1007/s42979-020-00207-x ↗
3. A Combination of Light Pre-Trained Convolutional Neural Networks and Long Short-Term Memory for Real-Time Violence Detection in Videos10.14716/ijtech.v14i6.6655 ↗
4. Tran, D., Bourdev, L., Fergus, R., Torresani, L., and Paluri, M. (2015, January 7–13). Learning Spatiotemporal Features with 3D Convolutional Networks. Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.510 ↗
5. Feichtenhofer, C., Pinz, A., and Wildes, R.P. (2016). Spatiotemporal Residual Networks for Video Action Recognition. arXiv.10.1109/CVPR.2017.787 ↗
6. Carreira, J., and Zisserman, A. (2017, January 21–26). Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.502 ↗
7. Feichtenhofer, C., Fan, H., Malik, J., and He, K. (November, January 27). Slowfast Networks for Video Recognition. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea.10.1109/ICCV.2019.00630 ↗
8. Temporal Segment Networks: Towards Good Practices for Deep Action Recognition10.1007/978-3-319-46484-8_2 ↗
9. Cheng, M., Cai, K., and Li, M. (2021, January 10–15). RWF-2000: An Open Large Scale Video Database for Violence Detection. Proceedings of the 2020 25th International Conference on Pattern Recognition (ICPR), Milan, Italy.10.1109/ICPR48806.2021.9412502 ↗
10. Semantic Multimodal Violence Detection Based on Local-to-Global Embedding10.1016/j.neucom.2022.09.090 ↗
11. Ciampi, L., Santiago, C., Costeira, J., Falchi, F., Gennaro, C., and Amato, G. (2023, January 21–23). Unsupervised Domain Adaptation for Video Violence Detection in the Wild. Proceedings of the 3rd International Conference on Image Processing and Vision Engineering, Prague, Czech Republic.10.5220/0011965300003497 ↗
12. Two-Stage Complex Action Recognition Framework for Real-Time Surveillance Automatic Violence Detection10.1007/s12652-023-04679-6 ↗
13. Human Interaction Learning on 3D Skeleton Point Clouds for Video Violence Recognition10.1007/978-3-030-58548-8_5 ↗
14. Li, M., Chen, S., Chen, X., Zhang, Y., Wang, Y., and Tian, Q. (2019, January 15–20). Actional-Structural Graph Convolutional Networks for Skeleton-Based Action Recognition. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00371 ↗
15. Efficient Spatio-Temporal Modeling Methods for Real-Time Violence Recognition10.1109/ACCESS.2021.3083273 ↗
16. Vijeikis, R., Raudonis, V., and Dervinis, G. (2022). Efficient Violence Detection in Surveillance. Sensors, 22.10.3390/s22062216 ↗
17. VD-Net: An Edge Vision-Based Surveillance System for Violence Detection10.1109/ACCESS.2024.3380192 ↗
18. Efficientnet: Rethinking Model Scaling for Convolutional Neural Networks
19. Li, D., and Chen, Q. (2020, January 13–19). Dynamic Hierarchical Mimicking towards Consistent Optimization Objectives. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00766 ↗
20. Lin, J., Gan, C., and Han, S. (November, January 27). TSM: Temporal Shift Module for Efficient Video Understanding. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00718 ↗
21. Violence Detection in Video Using Computer Vision Techniques10.1007/978-3-642-23678-5_39 ↗
22. Akti, S., Tataroglu, G.A., and Ekenel, H.K. (2019, January 6–9). Vision-Based Fight Detection from Surveillance Cameras. Proceedings of the 2019 Ninth International Conference on Image Processing Theory, Tools and Applications (IPTA), Istanbul, Turkey.10.1109/IPTA.2019.8936070 ↗
23. Dalal, N., and Triggs, B. (2005, January 20–26). Histograms of Oriented Gradients for Human Detection. Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), San Diego, CA, USA.
24. On Space-Time Interest Points10.1007/s11263-005-1838-7 ↗
25. SURF: Speeded up Robust Features10.1007/11744023_32 ↗
26. Hassner, T., Itcher, Y., and Kliper-Gross, O. (2012, January 16–21). Violent Flows: Real-Time Detection of Violent Crowd Behavior. Proceedings of the 2012 IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops, Providence, RI, USA.10.1109/CVPRW.2012.6239348 ↗
27. Violence Detection Using Oriented Violent Flows10.1016/j.imavis.2016.01.006 ↗
28. Wang, H., and Schmid, C. (2013, January 1–8). Action Recognition with Improved Trajectories. Proceedings of the 2013 IEEE International Conference on Computer Vision, Sydney, Australia.10.1109/ICCV.2013.441 ↗
29. Guedes, A.R.M., and Chavez, G.C. (2020, January 19–23). Real-Time Violence Detection in Videos Using Dynamic Images. Proceedings of the 2020 XLVI Latin American Computing Conference (CLEI), Loja, Ecuador.10.1109/CLEI52000.2020.00065 ↗
30. Fight Recognition in Video Using Hough Forests and 2d Convolutional Neural Network10.1109/TIP.2018.2845742 ↗
31. Leutenegger, S., Chli, M., and Siegwart, R.Y. (2011, January 6–13). BRISK: Binary Robust Invariant Scalable Keypoints. Proceedings of the 2011 International Conference on Computer Vision, Barcelona, Spain.10.1109/ICCV.2011.6126542 ↗
32. Rosten, E., and Drummond, T. (2005, January 17–21). Fusing Points and Lines for High Performance Tracking. Proceedings of the Tenth IEEE International Conference on Computer Vision (ICCV’05), Beijing, China.10.1109/ICCV.2005.104 ↗
33. Tran, D., Wang, H., Torresani, L., Ray, J., LeCun, Y., and Paluri, M. (2018, January 18–23). A Closer Look at Spatiotemporal Convolutions for Action Recognition. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00675 ↗
34. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
35. Wang, L., Tong, Z., Ji, B., and Wu, G. (2021, January 20–25). TDN: Temporal Difference Networks for Efficient Action Recognition. Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.00193 ↗
36. Violence Behavior Recognition of Two-Cascade Temporal Shift Module with Attention Mechanism10.1117/1.JEI.30.4.043009 ↗
37. Wang, X., Girshick, R., Gupta, A., and He, K. (2018, January 18–23). Non-Local Neural Networks. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00813 ↗
38. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2021). An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale. arXiv.
39. He, D., Zhou, Z., Gan, C., Li, F., Liu, X., Li, Y., Wang, L., and Wen, S. (February, January 27). StNet: Local and Global Spatial-Temporal Modeling for Action Recognition. Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19), Honolulu, HI, USA.
40. Jiang, B., Wang, M., Gan, W., Wu, W., and Yan, J. (November, January 27). STM: Spatiotemporal and Motion Encoding for Action Recognition. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00209 ↗
41. Li, Y., Ji, B., Shi, X., Zhang, J., Kang, B., and Wang, L. (2020, January 13–19). TEA: Temporal Excitation and Aggregation for Action Recognition. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00099 ↗
42. Deeply-Supervised Nets
43. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going Deeper with Convolutions. Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
44. Huang, G., Chen, D., Li, T., Wu, F., van der Maaten, L., and Weinberger, K.Q. (2018). Multi-Scale Dense Networks for Resource Efficient Image Classification. arXiv.
45. Yang, C., Xu, Y., Shi, J., Dai, B., and Zhou, B. (2020, January 13–19). Temporal Pyramid Network for Action Recognition. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00067 ↗
46. Romero, A., Ballas, N., Kahou, S.E., Chassang, A., Gatta, C., and Bengio, Y. (2015). FitNets: Hints for Thin Deep Nets. arXiv.
47. Zhao, H., Shi, J., Qi, X., Wang, X., and Jia, J. (2017, January 21–26). Pyramid Scene Parsing Network. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.660 ↗
48. Howard, A., Sandler, M., Chen, B., Wang, W., Chen, L.-C., Tan, M., Chu, G., Vasudevan, V., Zhu, Y., and Pang, R. (November, January 27). Searching for Mobilenetv3. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00140 ↗
49. Regularization of Neural Networks Using Dropconnect
50. Selvaraju, R.R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017, January 22–29). Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.74 ↗