Article Open Access

Revisiting Attention Modules for Still-Image Human Action Recognition: A Multi-Seed Evaluation on Stanford-40

Rokhmat Febrianto, Ayomi Sasmito

Abstract


Attention modules such as Squeeze-and-Excitation are often reported to improve convolutional neural networks for human action recognition in still images. Most of these reports, however, rely on a single training run, and published scores on the same benchmark are frequently obtained under different train–test splits. This study examines whether the reported benefit remains under a controlled evaluation. Four modules, namely Squeeze-and-Excitation (SE), the Convolutional Block Attention Module (CBAM), Efficient Channel Attention (ECA), and the parameter-free SimAM, were inserted into ResNet-34 at four positions and trained on the Stanford-40 Actions dataset under its official split with one fixed training recipe, giving 44 trained models. The four all-stage configurations were repeated with six random seeds and compared using a paired Wilcoxon signed-rank test and an exact McNemar test. Replacing the official split with a random 80/20 split increased test accuracy by 3.19 to 4.52 percentage points across four backbones, a larger change than any module produced. Across six seeds, SE changed macro-F1 by +0.06 points, within the seed-to-seed range of the unmodified baseline, whereas ECA and SimAM reduced it by 1.56 and 0.74 points. No module improved on the baseline by a statistically supported margin, yet every module increased single-image CPU latency by 4.3% to 18.3% while adding less than 0.02% in floating-point operations. The findings show that the evaluation protocol and run-to-run variance affect reported scores more than the modules themselves, and a reporting checklist is proposed for future evaluations of such modules

Keywords


Ablation Study, Attention Mechanism, Convolutional Neural Network, Human Action Recognition, Reproducibility

References


B. Yao, X. Jiang, A. Khosla, A. L. Lin, L. Guibas and L. Fei-Fei, “Human action recognition by learning bases of action attributes and parts”, Proceedings of the IEEE International Conference on Computer Vision (ICCV), (2011), pp. 1331–1338, https://doi.org/10.1109/ICCV.2011.6126386

K. Hirooka, M. A. M. Hasan, J. Shin and A. Y. Srizon, “Ensembled transfer learning based multichannel attention networks for human activity recognition in still images”, IEEE Access, Vol. 10, (2022), pp. 47051–47062, https://doi.org/10.1109/ACCESS.2022.3171263

X. Lu, H. Xing, C. Ye, X. Xie and Z. Liu, “A key-points-assisted network with transfer learning for precision human action recognition in still images”, Signal, Image and Video Processing, Vol. 18, No. 2, (2024), pp. 1561–1575, https://doi.org/10.1007/s11760-023-02862-y

J. Hu, L. Shen, S. Albanie, G. Sun and E. Wu, “Squeeze-and-excitation networks”, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 42, No. 8, (2020), pp. 2011–2023, https://doi.org/10.1109/TPAMI.2019.2913372

S. Woo, J. Park, J.-Y. Lee and I. S. Kweon, “CBAM: convolutional block attention module”, Proceedings of the European Conference on Computer Vision (ECCV), Lecture Notes in Computer Science, (2018), pp. 3–19, https://doi.org/10.1007/978-3-030-01234-2_1

Q. Wang, B. Wu, P. Zhu, P. Li, W. Zuo and Q. Hu, “ECA-Net: efficient channel attention for deep convolutional neural networks”, Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), (2020), pp. 11531–11539, https://doi.org/10.1109/CVPR42600.2020.01155

L. Yang, R.-Y. Zhang, L. Li and X. Xie, “SimAM: a simple, parameter-free attention module for convolutional neural networks”, Proceedings of the 38th International Conference on Machine Learning (ICML), PMLR Vol. 139, (2021), pp. 11863–11874

S. S. Ashrafi, S. B. Shokouhi and A. Ayatollahi, “Action recognition in still images using a multi-attention guided network with weakly supervised saliency detection”, Multimedia Tools and Applications, Vol. 80, No. 21, (2021), pp. 32567–32593, https://doi.org/10.1007/s11042-021-11215-1

A. Banerjee, S. Roy, R. Kundu, P. K. Singh, V. Bhateja and R. Sarkar, “An ensemble approach for still image-based human action recognition”, Neural Computing and Applications, Vol. 34, No. 21, (2022), pp. 19269–19282, https://doi.org/10.1007/s00521-022-07514-9

J. Åkesson, J. Töger and E. Heiberg, “Random effects during training: implications for deep learning-based medical image segmentation”, Computers in Biology and Medicine, Vol. 180, (2024), Art. no. 108944, https://doi.org/10.1016/j.compbiomed.2024.108944

K. L. Coakley and O. E. Gundersen, “Measuring deep learning performance – an empirical study of performance distributions across architectures and tasks”, Scientific Reports, Vol. 16, No. 1, (2026), Art. no. 20474, https://doi.org/10.1038/s41598-026-49656-z

H. Semmelrock, T. Ross-Hellauer, S. Kopeinik, D. Theiler, A. Haberl, S. Thalmann and D. Kowald, “Reproducibility in machine-learning-based research: overview, barriers, and drivers”, AI Magazine, Vol. 46, No. 2, (2025), Art. no. e70002, https://doi.org/10.1002/aaai.70002

S. R. Klomp, R. G. J. Wijnhoven and P. H. N. de With, “Performance-efficiency comparisons of channel attention modules for ResNets”, Neural Processing Letters, Vol. 55, No. 5, (2023), pp. 6797–6813, https://doi.org/10.1007/s11063-023-11161-z

N. R. Arpa, M. Newaz, M. M. I. Nibir, R. Lamya, D. S. Depto and M. R. C. Mahdy, “Understanding when attention helps: a systematic empirical study of attention mechanisms in medical image classification”, Engineering Reports, Vol. 8, No. 8, (2026), Art. no. e70957, https://doi.org/10.1002/eng2.70957

S. S. Ashrafi, S. B. Shokouhi and A. Ayatollahi, “Still image action recognition based on interactions between joints and objects”, Multimedia Tools and Applications, Vol. 82, No. 17, (2023), pp. 25945–25971, https://doi.org/10.1007/s11042-023-14350-z

X. Lu and H. Xing, “A hybrid convolutional and graph neural network for human action detection in static images”, Circuits, Systems, and Signal Processing, Vol. 43, No. 12, (2024), pp. 7820–7842, https://doi.org/10.1007/s00034-024-02815-x

S. Chakraborty, R. Mondal, P. K. Singh, R. Sarkar and D. Bhattacharjee, “Transfer learning with fine tuning for human action recognition from still images”, Multimedia Tools and Applications, Vol. 80, No. 13, (2021), pp. 20547–20578, https://doi.org/10.1007/s11042-021-10753-y

S. Liang, J. Wang and Z. Zhuang, “Patch excitation network for boxless action recognition in still images”, The Visual Computer, Vol. 40, No. 6, (2024), pp. 4099–4113, https://doi.org/10.1007/s00371-023-03071-x

A. Saber, M.-M. Hosseini, A. Fateh, M. Fateh and V. Abolghasemi, “Lightweight multi-scale framework for human pose and action classification”, Sensors, Vol. 26, No. 4, (2026), Art. no. 1102, https://doi.org/10.3390/s26041102

M.-H. Guo, T.-X. Xu, J.-J. Liu, Z.-N. Liu, P.-T. Jiang, T.-J. Mu, S.-H. Zhang, R. R. Martin, M.-M. Cheng and S.-M. Hu, “Attention mechanisms in computer vision: a survey”, Computational Visual Media, Vol. 8, No. 3, (2022), pp. 331–368, https://doi.org/10.1007/s41095-022-0271-y

G. Brauwers and F. Frasincar, “A general survey on attention mechanisms in deep learning”, IEEE Transactions on Knowledge and Data Engineering, Vol. 35, No. 4, (2023), pp. 3279–3298, https://doi.org/10.1109/TKDE.2021.3126456

Y. Cao, J. Xu, S. Lin, F. Wei and H. Hu, “Global context networks”, IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 45, No. 6, (2023), pp. 6881–6895, https://doi.org/10.1109/TPAMI.2020.3047209

M. Zolfaghari, M. Saniee Abadeh and H. Sajedi, “Channel-spatial attention modules in convolutional neural networks for image classification”, Scientific Reports, Vol. 16, No. 1, (2026), Art. no. 2348, https://doi.org/10.1038/s41598-025-32055-1

X. Xu, H. Wang, M. Miao, W. Zhang, Y. Zhang, H. Dai, Z. Zheng and X. Zhang, “Cucumber flower detection based on YOLOv5s-SE7 within greenhouse environments”, IEEE Access, Vol. 11, (2023), pp. 64358–64369, https://doi.org/10.1109/ACCESS.2023.3286545

E. M. Bakr, A. El-Sallab and M. Rashwan, “EMCA: efficient multiscale channel attention module”, IEEE Access, Vol. 10, (2022), pp. 103447–103461, https://doi.org/10.1109/ACCESS.2022.3205602

S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science”, Patterns, Vol. 4, No. 9, (2023), Art. no. 100804, https://doi.org/10.1016/j.patter.2023.100804

G. Varoquaux and V. Cheplygina, “Machine learning for medical imaging: methodological failures and recommendations for the future”, npj Digital Medicine, Vol. 5, No. 1, (2022), Art. no. 48, https://doi.org/10.1038/s41746-022-00592-y

O. E. Gundersen, S. Shamsaliei and R. J. Isdahl, “Do machine learning platforms provide out-of-the-box reproducibility?”, Future Generation Computer Systems, Vol. 126, (2022), pp. 34–47, https://doi.org/10.1016/j.future.2021.06.014

N. McGreivy and A. Hakim, “Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations”, Nature Machine Intelligence, Vol. 6, No. 10, (2024), pp. 1256–1269, https://doi.org/10.1038/s42256-024-00897-5

S. Chakraborty, R. Krishna, Y. Ding and B. Ray, “Deep learning based vulnerability detection: are we there yet?”, IEEE Transactions on Software Engineering, Vol. 48, No. 9, (2022), pp. 3280–3296, https://doi.org/10.1109/TSE.2021.3087402

M. A. Lones, “Avoiding common machine learning pitfalls”, Patterns, Vol. 5, No. 10, (2024), Art. no. 101046, https://doi.org/10.1016/j.patter.2024.101046

S. Kapoor et al., “REFORMS: consensus-based recommendations for machine-learning-based science”, Science Advances, Vol. 10, No. 18, (2024), Art. no. eadk3452, https://doi.org/10.1126/sciadv.adk3452

O. Rainio, J. Teuho and R. Klén, “Evaluation metrics and statistical tests for machine learning”, Scientific Reports, Vol. 14, No. 1, (2024), Art. no. 6086, https://doi.org/10.1038/s41598-024-56706-x

D. Berrar, “Using p-values for the comparison of classifiers: pitfalls and alternatives”, Data Mining and Knowledge Discovery, Vol. 36, No. 3, (2022), pp. 1102–1139, https://doi.org/10.1007/s10618-022-00828-1

K. He, X. Zhang, S. Ren and J. Sun, “Deep residual learning for image recognition”, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), (2016), pp. 770–778

I. E. Tampu, A. Eklund and N. Haj-Hosseini, “Inflation of test accuracy due to data leakage in deep learning-based classification of OCT images”, Scientific Data, Vol. 9, No. 1, (2022), Art. no. 580, https://doi.org/10.1038/s41597-022-01618-6

M. Rosenblatt, L. Tejavibulya, R. Jiang, S. Noble and D. Scheinost, “Data leakage inflates prediction performance in connectome-based machine learning models”, Nature Communications, Vol. 15, No. 1, (2024), Art. no. 1829, https://doi.org/10.1038/s41467-024-46150-w

O. E. Korkmaz, “Revisiting convolutional design for efficient CNN architectures in edge-aware applications”, Scientific Reports, Vol. 15, No. 1, (2025), Art. no. 44351, https://doi.org/10.1038/s41598-025-27856-3

C. Kong, F. Li, X. Yan, J. Yang, P. Mo, Q. Luo and R. Mao, “Object detection on low-compute edge SoCs: a reproducible benchmark and deployment guidelines”, Scientific Reports, Vol. 16, No. 1, (2026), Art. no. 5875, https://doi.org/10.1038/s41598-026-36862-y




DOI: https://doi.org/10.52088/ijesty.v6i4.1989

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Rokhmat Febrianto, Ayomi Sasmito

International Journal of Engineering, Science, and Information Technology (IJESTY) eISSN 2775-2674