Event-Driven Highlight Generation in Football Broadcasts: A Context-Aware Temporal Framework for Six-Class Action Spotting
Source abstract
Abstract
This paper presents an end-to-end system for the automatic summarization of football matches through temporally accurate event spotting across six action categories: goal, card, substitution, kick-off, direct free-kick, and corner. These six classes were selected from the SoccerNet-v2 annotation taxonomy as a non-standard evaluation subset: the three standard SoccerNet-v2 classes (goal, card, substitution) are retained and extended with three additional context-dependent set-piece classes (kick-off, direct free-kick, and corner) that represent the primary unresolved challenge in temporal action spotting. We developed and empirically evaluated a framework based on a Temporal Convolutional Network (TCN) with capsule-based relational encoding applied to class-specific Time-Shift Encoded (TSE) labels using a composite segmentation-detection loss. Evaluated on the SoccerNet-v2 benchmark (300/100/100 train/validation/test splits) using the official PCA-compressed ResNet-152 features sampled at 2 FPS, the implemented TCN-Capsule baseline achieved a test-set mean Average Precision (mAP) of 58.16% at a 10 s tolerance threshold (δ = 20 frames), with a validation mAP of 58.55%, indicating strong generalization with only a 0.39 pp performance gap. The six per-class AP values underlying this result are Goal: 75.6%, Corner: 78.0%, Substitution: 56.9%, Card: 53.9%, Direct Free-kick: 52.8%, and Kick-off: 34.3%; the headline mAP is computed by the official SoccerNet area-under-precision-recall-curve script and is not a simple arithmetic average of these six values. In addition, five complementary evaluation metrics are introduced: Average Temporal Error (ATE), Temporal Recall@K (TR@K), Latency-to-Event (L2E), Temporal Causality Consistency (TCC), and Annotation Noise Sensitivity. The analysis reveals that visually salient events such as goals and corners are detected with high accuracy (AP > 75%, ATE < 5 s, AUC > 0.95 at frame-level), whereas context-dependent events, including kick-offs and direct free-kicks, remain challenging (AP < 55%, ATE > 8 s, AUC = 0.68–0.72). As future work, two architectural extensions are formally specified but not empirically evaluated: a Temporal Segment Network with Non-Local Blocks and a hybrid Transformer-CNN framework with optical flow fusion. Furthermore, an OpenCV-based highlight generation prototype is implemented; formal quality evaluation is planned as future work.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Video Analysis and Summarization · Human Pose and Action Recognition · Human Motion and Animation
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Information Technology, Al-Ahliyya Amman University, Amman 19328, Jordan
Systems and Computers Engineering Department, Faculty of Engineering, Al-Azhar University, Nasr City, Cairo 11765, Egypt
References (50)
Show source-provided references
1. ImageNet classification with deep convolutional neural networks10.1145/3065386 ↗
2. A review of artificial intelligence for sports: Technologies and applications10.1016/j.ish.2025.05.001 ↗
3. International youth football research developments: A CiteSpace-based bibliometric analysis10.1016/j.heliyon.2025.e41663 ↗
4. Jiang, Y.-G., Ye, G., Chang, S.-F., Ellis, D., and Loui, A.C. (2011). Consumer video understanding: A benchmark database and an evaluation of human and machine performance. Proceedings of the 1st ACM International Conference on Multimedia Retrieval, Association for Computing Machinery.10.1145/1991996.1992025 ↗
5. Automatic soccer video analysis and summarization10.1109/TIP.2003.812758 ↗
6. Event detection and summarization in soccer videos using Bayesian network and copula10.1109/TCSVT.2013.2243640 ↗
7. Temporal action localization in the deep learning era: A survey10.1109/TPAMI.2023.3330794 ↗
8. Ferraz, A., Duarte-Mendes, P., Sarmento, H., Valente-Dos-Santos, J., and Travassos, B. (2023). Tracking devices and physical performance analysis in team sports. Front. Sports Act. Living, 5.10.3389/fspor.2023.1284086 ↗
9. A survey on player tracking in soccer videos10.1016/j.cviu.2017.02.002 ↗
10. A deep learning ball tracking system in soccer videos10.1016/j.opelre.2019.02.003 ↗
11. Motion entropy feature and its applications to event-based segmentation of sports video10.1155/2008/460913 ↗
12. Rafiq, M., Rafiq, G., Agyeman, R., Choi, G.S., and Jin, S.-I. (2020). Scene classification for sports video summarization using transfer learning. Sensors, 20.10.3390/s20061702 ↗
13. Giancola, S., Amine, M., Dghaily, T., and Ghanem, B. (2018, January 18–22). SoccerNet: A scalable dataset for action spotting in soccer videos. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Salt Lake City, UT, USA.10.1109/CVPRW.2018.00223 ↗
14. Cioppa, A., Deliege, A., Giancola, S., Ghanem, B., Van Droogenbroeck, M., Gade, R., and Moeslund, T.B. (2020, January 13–19). A context-aware loss function for action spotting in soccer videos. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01314 ↗
15. Wang, L., Xiong, Y., Wang, Z., Qiao, Y., Lin, D., Tang, X., and Van Gool, L. (2016, January 8–16). Temporal segment networks: Towards good practices for deep action recognition. Proceedings of the European Conference on Computer Vision (ECCV), Amsterdam, The Netherlands.10.1007/978-3-319-46484-8_2 ↗
16. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA. Available online: https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
17. Feichtenhofer, C., Pinz, A., and Zisserman, A. (2016, January 27–30). Convolutional two-stream network fusion for video action recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.213 ↗
18. Multimodal learning model based on video-audio-chat feature fusion for detecting e-sports highlights10.1016/j.asoc.2022.109285 ↗
19. A survey of content-aware video analysis for sports10.1109/TCSVT.2017.2655624 ↗
20. Real-time analysis of soccer ball–player interactions using graph convolutional networks for enhanced game insights10.1038/s41598-025-05462-7 ↗
21. The THUMOS challenge on action recognition for videos ‘in the wild’10.1016/j.cviu.2016.10.018 ↗
22. A fully automatic method for segmentation of soccer playing fields10.1038/s41598-023-28658-1 ↗
23. Deliège, A., Cioppa, A., Giancola, S., Seikavandi, M.J., Dueholm, J.V., Nasrollahi, K., Ghanem, B., Moeslund, T.B., and Van Droogenbroeck, M. (2021, January 19–25). SoccerNet-v2: A Dataset and Benchmarks for Holistic Understanding of Broadcast Soccer Videos. Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Nashville, TN, USA.10.1109/CVPRW53098.2021.00508 ↗
24. Lea, C., Flynn, M.D., Vidal, R., Reiter, A., and Hager, G.D. (2017, January 21–26). Temporal convolutional networks for action segmentation and detection. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.113 ↗
25. Xarles, A., Escalera, S., Moeslund, T.B., and Clapés, A. (2023, January 29). ASTRA: An action spotting TRAnsformer for soccer videos. Proceedings of the MM’23: The 31st ACM International Conference on Multimedia, Ottawa, ON, Canada.10.1145/3606038.3616153 ↗
26. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
27. 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 ↗
28. Arnab, A., Dehghani, M., Heigold, G., Sun, C., Lucic, M., and Schmid, C. (2021, January 10–17). ViViT: A Video Vision Transformer. Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00676 ↗
29. Wei, W., Li, A., and Duan, X. (2025, January 26–29). MCSTN: A novel multi-feature fusion-based action recognition model. Proceedings of the 21st International Conference, ICIC 2025, Ningbo, China.10.1007/978-981-96-9908-7_23 ↗
30. Comparative analysis of automated foul detection in football using deep learning architectures10.1038/s41598-025-96945-0 ↗
31. Kim, J.-H., and Won, C.S. (2024). Audio-visual action recognition using transformer fusion network. Appl. Sci., 14.10.3390/app14031190 ↗
32. Hollaus, K., Reiter, B., and Volmer, J.C. (2023). Catch Recognition in Automated American Football Training Using Machine Learning. Sensors, 23.10.3390/s23020840 ↗
33. Enhancing single-frame supervision for better temporal action localization10.1109/TVCG.2024.3388521 ↗
34. Moustakidis, S., Plakias, S., Kokkotis, C., Tsatalas, T., and Tsaopoulos, D. (2023). Predicting Football Team Performance with Explainable AI: Leveraging SHAP. Future Internet, 15.10.3390/fi15050174 ↗
35. Global routing between capsules10.1016/j.patcog.2023.110142 ↗
36. Liu, Z., Mao, H., Wu, C.-Y., Feichtenhofer, C., Darrell, T., and Xie, S. (2022, January 18–24). A ConvNet for the 2020s. Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01167 ↗
37. Teed, Z., and Deng, J. (2020, January 23–28). RAFT: Recurrent All-Pairs Field Transforms for Optical Flow. Proceedings of the 16th European Conference, Glasgow, UK.10.1007/978-3-030-58536-5_24 ↗
38. Focal loss for dense object detection10.1109/TPAMI.2018.2858826 ↗
39. Cioppa, A., Giancola, S., Deliege, A., Kang, L., Zhou, X., Cheng, Z., Ghanem, B., and Van Droogenbroeck, M. (2022, January 18–24). SoccerNet-Tracking: Multiple object tracking dataset and benchmark. Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPRW56347.2022.00393 ↗
40. A survey on video action recognition in sports: Datasets, methods and applications10.1109/TMM.2022.3232034 ↗
41. Wang, X., Girshick, R., Gupta, A., and He, K. (2017, January 21–26). Non-local neural networks. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.
42. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A method for stochastic optimization. Proceedings of the International Conference on Learning Representations 2015, San Diego, CA, USA.
43. Machine learning classification method for wheelchair detection using bag-of-visual-words technique10.1080/17483107.2025.2476105 ↗
44. Novel transformer-based model for NID in fog computing environment10.1038/s41598-026-35879-7 ↗
45. A new hybrid PSO-HHO wrapper-based optimization for feature selection10.1109/ACCESS.2025.3570901 ↗
46. Xu, H., Baniya, A.A., Well, S., Bouadjenek, M.R., Dazeley, R., and Aryal, S. (2025). Deep Learning for Sports Video Event Detection: Tasks, Datasets, Methods, and Challenges. arXiv.
47. Maglo, A., Orcesi, A., Denize, J., and Pham, Q.C. (2023). Individual locating of soccer players from a single moving view. Sensors, 23.10.3390/s23187938 ↗
48. Mkhallati, H., Cioppa, A., Giancola, S., Ghanem, B., and Van Droogenbroeck, M. (2023, January 17–24). SoccerNet-Caption: Dense video captioning for soccer broadcasts. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Vancouver, BC, Canada.10.1109/CVPRW59228.2023.00536 ↗
49. Intelligent Model for Detecting GAN-Generated Images Based on Multi-Classifier and Advanced Data Mining Techniques
50. Seweryn, K., Wróblewska, A., and Łukasik, S. (2026). Survey of action recognition, spotting, and spatio-temporal localization in soccer—Current trends and research perspectives. ACM Trans. Intell. Syst. Technol., 17.10.1145/3776541 ↗