LoGoAN: Local–global Attention-based Group Activity Recognition in Crowded Scenes under Simulated Missing-Person Conditions
Main Article Content
Abstract
Group Activity Recognition (GAR) is a key component of intelligent vision systems used in surveillance, crowd monitoring, sports analytics, and human–robot interaction. Recognizing group activities is harder than classifying individual actions, particularly in crowded scenes with inter-person occlusion and complex spatial-temporal dependencies. We propose the Local–Global Attention Network (LoGoAN), a hybrid architecture that integrates Convolutional Neural Networks (CNNs) with Transformer-based self-attention. The CNN backbone extracts fine-grained local features such as appearance and posture, while the Transformer encoder models pairwise relationships among group members within each frame through multi-head self-attention. A Feature Embedding Module maps per-person CNN feature vectors into tokenized sequences with positional encodings, enabling local–global feature fusion. Evaluated on the Collective Activity Dataset (CAD) across five random seeds, LoGoAN achieves 89.47 ± 0.23% accuracy and 89.88 ± 0.21% macro F1-score on a validation-controlled 31/6/7 video-level split, and 90.34 ± 0.26% accuracy and 90.71 ± 0.24% macro F1-score on the standard 32/12 split. Queuing (F1-score: 97.21%) and Talking (F1-score: 93.93%) obtain the highest class-level F1-scores, whereas the largest share of misclassifications (166 of 368 errors, 45.1%) occurs between Crossing and Walking. Over a matched CNN-only baseline, LoGoAN improves accuracy by 4.12 and 4.22 percentage points on the two splits, respectively. Under simulated missing-person conditions, in which features of selected people are masked, and for larger groups, LoGoAN degrades less than the CNN-only baseline, indicating the contribution of self-attention to scene-level relational modeling.
Downloads
Article Details
Section
How to Cite
References
Al Farid, F., Bari, A., Miah, A.S.M., Mansor, S., Uddin, J. and Kumaresan, S.P., 2025. A structured and methodological review on multi-view human activity recognition for ambient assisted living. Journal of Imaging, 11(6), P. 182. https://doi.org/10.3390/jimaging11060182
Amer, M.R., Todorovic, S., Fern, A. and Zhu, S.-C., 2014. HiRF: Hierarchical random field for collective activity recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA, pp. 2280–2287. https://doi.org/10.1109/CVPR.2014.292
Azar, S.M., Atigh, M.G., Nickabadi, A. and Alahi, A., 2019. Convolutional relational machine for group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long
Beach, CA, USA, pp. 7892–7901. https://doi.org/10.1109/CVPR.2019.00808
Azorin-Lopez, J., Saval-Calvo, M., Fuster-Guillo, A., Garcia-Rodriguez, J., Cazorla, M. and Signes-Pont, M.T., 2016. Group activity description and recognition based on trajectory analysis and neural networks. In: 2016 International Joint Conference on Neural Networks (IJCNN), Vancouver, BC, Canada, pp. 1585–1592. https://doi.org/10.1109/IJCNN.2016.7727387
Ba, J.L., Kiros, J.R. and Hinton, G.E., 2016. Layer normalization. arXiv preprint, arXiv:1607.06450. https://doi.org/10.48550/arXiv.1607.06450
Bagautdinov, T., Alahi, A., Fleuret, F., Fua, P. and Savarese, S., 2017. Social scene understanding: End-to-end multi-person action localization and collective activity recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, pp. 4321–4330. https://doi.org/10.1109/CVPR.2017.365
Chappa, N.V.S.R., Nguyen, P., Nelson, A.H., Seo, H.-S., Li, X., Dobbs, P.D. and Luu, K., 2023a. SoGAR: Self-supervised spatiotemporal attention-based social group activity recognition. IEEE Access, 11. pp. 139754–139766. https://doi.org/10.1109/ACCESS.2023.3340144
Chappa, N.V.S.R., Nguyen, P., Nelson, A.H., Seo, H.-S., Li, X., Dobbs, P.D. and Luu, K., 2023b. SPARTAN: Self-supervised spatiotemporal transformers approach to group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pp. 5158–5168. https://doi.org/10.1109/CVPRW59228.2023.00544
Choi, W., Shahid, K. and Savarese, S., 2009. What are they doing?: Collective activity classification using spatio-temporal relationship among people. In: 2009 IEEE 12th International Conference on Computer Vision Workshops (ICCV Workshops), Kyoto, Japan, pp. 1282–1289. https://doi.org/10.1109/ICCVW.2009.5457461
Choi, W. and Savarese, S., 2014. Understanding collective activities of people from videos. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(6), pp. 1242–1257. https://doi.org/10.1109/TPAMI.2013.220
Cui, Y., Jia, M., Lin, T.-Y., Song, Y. and Belongie, S., 2019. Class-balanced loss based on effective number of samples. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, pp. 9268–9277. https://doi.org/10.1109/CVPR.2019.00949
Deng, Z., Vahdat, A., Hu, H. and Mori, G., 2016. Structure inference machines: Recurrent neural networks for analyzing relations in group activity recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, pp. 4772–4781. https://doi.org/10.1109/CVPR.2016.516
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J. and Houlsby, N., 2021. An image is worth 16×16 words: Transformers for image recognition at scale. In: International Conference on Learning Representations (ICLR). https://doi.org/10.48550/arXiv.2010.11929
Gavrilyuk, K., Sanford, R., Javan, M. and Snoek, C.G.M., 2020. Actor-Transformers for group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, pp. 839–848. https://doi.org/10.1109/CVPR42600.2020.00092
Goodfellow, I., Bengio, Y. and Courville, A., 2016. Deep learning. Cambridge, MA: MIT Press, Chapter 9 (Convolutional networks). https://www.deeplearningbook.org
Han, M., Zhang, D.J., Wang, Y., Yan, R., Yao, L., Chang, X. and Qiao, Y., 2022. Dual-AI: Dual-path actor interaction learning for group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 2990–2999. https://doi.org/10.1109/CVPR52688.2022.00300
He, K., Zhang, X., Ren, S. and Sun, J., 2016. Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, pp. 770–778. https://doi.org/10.1109/CVPR.2016.90
Hu, G., Cui, B., He, Y. and Yu, S., 2020. Progressive relation learning for group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, pp. 977–986. https://doi.org/10.1109/CVPR42600.2020.00106
Ibrahim, M.S. and Mori, G., 2018. Hierarchical relational networks for group activity recognition and retrieval. In: Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, pp. 721–736. https://doi.org/10.1007/978-3-030-01219-9_44
Ibrahim, M.S., Muralidharan, S., Deng, Z., Vahdat, A. and Mori, G., 2016. A hierarchical deep temporal model for group activity recognition. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, pp. 1971–1980. https://doi.org/10.1109/CVPR.2016.217
Ioffe, S. and Szegedy, C., 2015. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In: Proceedings of the 32nd International Conference on Machine Learning (ICML), Lille, France, pp. 448–456. https://doi.org/10.48550/arXiv.1502.03167
Lan, X., Zhang, J. and Zhou, J., 2025. Dual-branch skeleton–RGB fusion for human action recognition with spatio-temporal attention. Alexandria Engineering Journal, 129, pp. 205–215. https://doi.org/10.1016/j.aej.2025.05.083
Li, S., Cao, Q., Liu, L., Yang, K., Liu, S., Hou, J. and Yi, S., 2021. GroupFormer: Group activity recognition with clustered spatial-temporal transformer. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 13668–13677. https://doi.org/10.1109/ICCV48922.2021.01341
Lin, M., Chen, Q. and Yan, S., 2014. Network in network. In: International Conference on Learning Representations (ICLR), Banff, Canada. https://doi.org/10.48550/arXiv.1312.4400
Liu, F., Tian, C., Wang, J., Jin, Y., Cui, L. and Lee, I., 2023. STAB-GCN: A spatio-temporal attention-based graph convolutional network for group activity recognition. Mathematics, 11, P. 3074. https://doi.org/10.3390/math11143074
Loshchilov, I. and Hutter, F., 2019. Decoupled weight decay regularization. In: International Conference on Learning Representations (ICLR), New Orleans, LA, USA. https://doi.org/10.48550/arXiv.1711.05101
Nair, V. and Hinton, G.E., 2010. Rectified linear units improve restricted Boltzmann machines. In: Proceedings of the 27th International Conference on Machine Learning (ICML), Haifa, Israel, pp. 807–814. https://doi.org/10.48550/arXiv.1003.0358
Nakatani, C., Sendo, K. and Ukita, N., 2021. Group activity recognition using joint learning of individual action recognition and people grouping. In: 2021 17th International Conference on Machine Vision and Applications (MVA), Aichi, Japan, pp. 1–5. https://doi.org/10.23919/MVA51890.2021.9511390
Pramono, R.R.A., Chen, Y.T. and Fang, W.H., 2020. Empowering actor relation graph with multi-scale feature map for group activity recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3262–3271. https://doi.org/10.1109/CVPR42600.2020.00333
Qi, M., Qin, J., Li, A., Wang, Y., Luo, J. and Van Gool, L., 2018. STAGNet: An attentive semantic RNN for group activity recognition. In: Computer Vision – ECCV 2018, Munich, Germany, pp. 101–117. https://doi.org/10.1007/978-3-030-01249-6_7
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł. and Polosukhin, I., 2017. Attention is all you need. In: Advances in Neural Information Processing Systems (NeurIPS), 30, Long Beach, CA, USA, pp. 5998–6008. https://doi.org/10.48550/arXiv.1706.03762
Wang, X. and Gupta, A., 2018. Videos as space-time region graphs. In: Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, pp. 413–431. https://doi.org/10.1007/978-3-030-01228-1_25
Wu, J., Wang, L., Wang, L., Guo, J. and Wu, G., 2019. Learning actor relation graphs for group activity recognition. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, pp. 9964–9974. https://doi.org/10.1109/CVPR.2019.01020
Xie, Z., Gao, T., Wu, K. and Chang, J., 2023. An actor-centric causality graph for asynchronous temporal inference in group activity. In: 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, pp. 6652–6661. https://doi.org/10.1109/CVPR52729.2023.00643
Yan, R., Xie, L., Tang, J., Shu, X. and Tian, Q., 2020. Social adaptive module for group activity recognition. IEEE Transactions on Image Processing, 29, pp. 7471–7483. https://doi.org/10.1109/TIP.2020.3003227
Yuan, H., Ni, D. and Wang, M., 2021. Spatio-temporal dynamic inference network for group activity recognition. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 7476–7485. https://doi.org/10.1109/ICCV48922.2021.00738
Zappardino, F., Uricchio, T., Seidenari, L. and Del Bimbo, A., 2021. Learning group activities from skeletons without individual action labels. In: 2020 25th International Conference on Pattern Recognition (ICPR), Milan, Italy, pp. 10412–10417. https://doi.org/10.1109/ICPR48806.2021.9413195
Zhai, X., Hu, Z., Yang, D., Zhou, L. and Liu, J., 2022. Spatial temporal network for image and skeleton based group activity recognition. In: Proceedings of the Asian Conference on Computer Vision, pp. 20–38. https://doi.org/10.1007/978-3-031-26319-4_2
