Identification and Prediction of Tennis Players’ Technical and Tactical Behaviors Based on Transformer Model
Main Article Content
Abstract
This research addresses the challenge of automatically identifying complex tennis techniques and tactics, dynamically predicting shot intentions, and assessing round outcomes early from structured event sequences. By constructing a Transformer sequence model, the study provides a data-driven intelligent solution for tactical decision-making. The model uses structured shot sequences from Match Charting Project logs, integrating attributes like shot type, direction, and match status. It employs a six-layer Transformer encoder with a multi-head self-attention mechanism for multi-task learning, jointly optimizing technical/tactical classification, shot intention prediction, and early outcome assessment. Experiments validate its robust performance, achieving a Macro-F1 of 0.935 for tactical classification and a round outcome AUC@5 of 0.923. The model significantly outperforms BiLSTM and CNN-LSTM baselines, with ablation studies confirming the critical contributions of its embedding and multi-task design. The proposed framework enables end-to-end deep analysis and effective prediction of tennis technical and tactical behaviors without visual input, providing a scalable, data-driven solution for intelligent competitive analysis, principles that may also inform structured event-stream prediction in other non-visual engineering datasets.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
I. Dogan, S. Revan, and S. Arıkan, “Analysis of tennis competitions on different court surfaces,” Turkish Journal of Sport and Exercise, vol. 23, no. 1, pp. 60-66, 2021, doi: 10.15314/tsed.895726.
E. Baiget, F. Corbi, and J. Lopez, “Influence of anthropometric, ball impact and landing location parameters on serve velocity in elite tennis competition,” Biology of Sport, vol. 40, no. 1, pp. 273-281, 2023, doi: 10.5114/biolsport.2023.112095.
L. Wang, “Construction of Evaluation Model of Tennis Skills and Tactic Level and Application of Grey Relational Algorithm,” Journal of Sensors, vol. 2022, no. 2, pp. 1-11, 2022, doi: 10.1155/2022/9446175.
E. Sanchez Mencia, J. Campos-Rius, X. González Santamaria, and E. Borrajo Mena, “Tactical skills in tennis: A systematic review,” International Journal of Sports Science & Coaching, vol. 19, no. 2, pp. 894-907, 2024, doi: 10.1177/17479541231216268.
N. Eugster and C. Ewerhart, “Rules in International Tennis Tournaments: A Game Theoretic Perspective,” Journal of Sports and Games, vol. 6, no. 1, pp. 33-42, 2024, doi: 10.22259/2642-8466.0601004.
S. Liu, “Tennis players’ hitting action recognition method based on multimodal data,” International Journal of Biometrics, vol. 16, no. 3-4, pp. 317-336, 2024, doi: 10.1504/IJBM.2024.138223.
V. Candila and L. Palazzo, “Neural networks and betting strategies for tennis,” Risks, vol. 8, no. 3, pp. 68, 2020, doi: 10.3390/risks8030068.
T. C. Y. Chan, D. S. Fearing, C. Fernandes, and S. Kovalchik, “A Markov process approach to untangling intention versus execution in tennis,” Journal of Quantitative Analysis in Sports, vol. 18, no. 2, pp. 127-145, 2022, doi: 10.48550/arXiv.2110.01527.
S. Wu, M. Diao, J. Wang, Z. Song, and C. Zhang, “A Study on the Optimisation of Tennis Players’ Match Strategies from the Perspective of Momentum,” Applied Sciences, vol. 15, no. 10, pp. 5624, 2025, doi: 10.3390/app15105624.
J. Li, “Machine learning-based analysis of defensive strategies in basketball using player movement data,” Scientific Reports; vol, 15, no. 1, Art. no. 13887, 2025, doi: 10.1038/s41598-025-98877-1.
C. Ma, J. Fan, J. Yao, and T. Zhang, “NPU RGBD dataset and a feature-enhanced LSTM-DGCN method for action recognition of basketball players,” Applied Sciences, vol. 11, no. 10, pp. 4426, 2021, doi: 10.3390/app11104426.
A. Anderson, J. Rosen, J. Rust, and K. Wong, “Disequilibrium play in tennis,” Journal of Political Economy, vol. 133, no. 1, pp. 190-251, 2025, doi: 10.1086/732529.
A. Ganser, B. Hollaus, and S. Stabinger, “Classification of tennis shots with a neural network approach,” Sensors, vol. 21, no. 17, pp. 5703, 2021, doi: 10.3390/s21175703.
T. Zou, J. Wei, B. Yu, X. Qiu, H. Zhang, X. Du, et al., “Fast moving table tennis ball tracking algorithm based on graph neural network,” Scientific reports, vol. 14, no. 1, Art. no. 29320, 2024, doi: 10.1038/s41598-024-80056-3.
H. Li, S. G. Ali, J. Zhang, B. Sheng, P. Li, Y. Jung, et al., “Video-based table tennis tracking and trajectory prediction using convolutional neural networks,” Fractals, vol. 30, no. 05, Art. no. 2240156, 2022, doi: 10.1142/S0218348X22401569.
B. Lim, S. O. Arık, N. Loeff, and T. Pfister, “Temporal fusion transformers for interpretable multi-horizon time series forecasting,” International journal of forecasting, vol. 37, no. 4, pp. 1748-1764, 2021, doi: 10.1016/j.ijforecast.2021.03.012.
L. Huang, F. Mao, K. Zhang, and Z. Li, “Spatial-temporal convolutional transformer network for multivariate time series forecasting,” Sensors, vol. 22, no. 3, pp. 841, 2022, doi: 10.3390/s22030841.
L. Zhang, “Sports action recognition algorithm based on multi-modal data recognition,” Intelligent Decision Technologies, vol. 18, no. 4, pp. 3243-3257, 2024, doi: 10.3233/IDT-230372.
Y. Gao, J. Zou, and Y. Zhang, “Exploring the potential of deep learning techniques for analyzing athlete movements in competitive athletics sports,” Machine Vision and Applications, vol. 36, no. 6, pp. 1-20, 2025, doi: 10.1007/s00138-025-01733-5.
C. N. Chen and W. T. Chu, “How it flies and why it flies? Volleyball trajectory segmentation and classification,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 68, no. 5, pp. 1591-1595, 2021, doi: 10.1109/tcsii.2021.3067027.
X. Hu, W. Zhang, H. Ou, S. Mo, F. Liang, J. Liu, et al., “Enhancing squat movement classification performance with a gated long-short term memory with transformer network model,” Sports Biomechanics, vol. 24, no. 6, pp. 1629-1644, 2025, doi: 10.1080/14763141.2024.2315243.
J. Deng, S. Zhang, and J. Ma, “Self-attention-based deep Convolution LSTM framework for sensor-based badminton activity recognition,” Sensors, vol. 23, no. 20, pp. 8373, 2023, doi: 10.3390/s23208373.
A. Fayomi, R. Majeed, A. Algarni, S. Akhtar, F. Jamal, and J. A. Nasir, “Forecasting tennis match results using the Bradley - Terry model,” International Journal of Photoenergy, vol. 2022, no. 1, Art. no. 1898132, 2022, doi: 10.1155/2022/1898132.
N. Buhamra, A. Groll, and S. Brunner, “Modeling and prediction of tennis matches at Grand Slam tournaments,” Journal of Sports Analytics, vol. 10, no. 1, pp. 17-33, 2024, doi: 10.3233/JSA-240670.
H. Cheng, J. Wang, A. Zhao, Y. Zhong, J. Li, and L. Dong, “Joint graph convolution networks and transformer for human pose estimation in sports technique analysis,” Journal of King Saud University-Computer and Information Sciences, vol. 35, no. 10, Art. no. 101819, 2023, doi: 10.1016/j.jksuci.2023.101819.
Y. Chen, “Hybrid Transformer-LSTM Model for Athlete Performance Prediction in Sports Training Management,” Informatica, vol. 49, no. 24, pp. 185-196, 2025, doi: 10.31449/inf.v49i24.8013.
A. Muniasamy, “Revolutionizing health monitoring: Integrating transformer models with multi-head attention for precise human activity recognition using wearable devices,” Technology and Health Care, vol. 33, no. 1, pp. 395-409, 2025, doi: 10.3233/THC-241064.
L. Chang, S. Rani, and A. Akbar M, “ChampionNet: a transformer-enhanced neural architecture search framework for athletic performance prediction and training optimization,” Discover Computing, vol. 28, no. 1, pp. 71, 2025, doi: 10.1007/s10791-025-09560-y.
X. Chen and Z. Liu, “Hierarchical query design and distributed attention in transformer for player group activity recognition in sports analysis: X,” Scientific Reports, vol. 15, no. 1, Art. no. 31571, 2025, doi: 10.1038/s41598-025-16752-5.
X. Wang, Z. Tang, J. Shao, S. Robertson, A. Gomez M, and S. Zhang, “Hooptransformer: advancing NBA offensive play recognition with self-supervised learning from player trajectories,” Sports Medicine, vol. 54, no. 10, pp. 2663-2673, 2024, doi: 10.1007/s40279-024-02030-3.
F. Lisi, M. Grigoletto, and M. G. Briglia, “On the distribution of rally length in professional tennis matches,” Journal of Sports Analytics, vol. 10, no. 1, pp. 105-121, 2024, doi: 10.3233/JSA-240728.
Z. Quan, J. Li, and W. Song, “An Improved LSTM Based Early Warning Model for Physical Education Network Teaching Achievements,” Journal of Information Processing Systems, vol. 20, no. 6, pp. 793-800, 2024, doi: 10.3745/JIPS.04.0328.
K. Wang, D. Zhu, Z. Chang, and Z. Wu, “Research on prediction and evaluation algorithm of sports athletes performance based on neural network,” Technology and Health Care, vol. 32, no. 6, pp. 4869-4882, 2024, doi: 10.3233/THC-232000.
B. Toussaint and M. Raison, “Real-time trajectory prediction of a ping-pong ball using a GRU-TAE,” Applied Intelligence, vol. 55, no. 5, pp. 339, 2025, doi: 10.1007/s10489-024-06204-4.
V. Bijalwan, A. M. Khan, H. Baek, S. Jeon, and Y. Kim, “Interpretable human activity recognition with temporal convolutional networks and model-agnostic explanations,” IEEE Sensors Journal, vol. 24, no. 17, pp. 27607-27617, 2024, doi: 10.1109/JSEN.2024.3418496.
A. Rostamian and J. G. O’Hara, “Event prediction within directional change framework using a CNN-LSTM model,” Neural Computing and Applications, vol. 34, no. 20, pp. 17193-17205, 2022, doi: 10.1007/s00521-022-07687-3.
A. S. Lombu, I. V. Paputungan, and C. K. Dewa, “Predicting fantasy premier league points using convolutional neural network and long short term memory,” Jurnal Teknik Informatika (JUTIF), vol. 5, no. 1, pp. 263-272, 2024, doi: 10.52436/1.jutif.2024.5.1.1792.