A Vision Transformer-Based Model for Basketball Tactics Recognition Using Swarm Intelligence
Abstract
In order to solve the problem of poor classification performance of traditional algorithms for basketball tactics, we propose a scientific training model for basketball tactics computer swarm intelligence algorithm. We designed a basketball tactical recognition model (TacViT) based on player trajectory data in NBA games. The TacViT model employs a Vision Transformer (ViT) as its backbone network. It utilizes a multi-head attention module to extract rich global trajectory features and integrates a trajectory filter to enhance the interaction of feature information between the court lines and player trajectories. The trajectory filter learns long-term spatial correlations in the frequency domain with logarithmic linear complexity, thereby improving the representation of player position features. We transformed the sequence data from the sports vision system (SportVU) into trajectory maps and constructed a basketball tactical dataset (PlayersTrack). The experimental results demonstrate that TacViT achieves an accuracy of 81.4%, which is 15.6% higher than the unmodified ViT-S model. Additionally, TacViT exhibits superior performance in precision, recall, and computational efficiency. The PlayersTrack dataset contains 10,000 trajectory images, each with a resolution of 256x256 pixels. The TacViT architecture introduces a novel trajectory filter module and a multi-head attention mechanism, which together enable efficient feature extraction. Key evaluation metrics include accuracy, precision, recall, and FLOPS. These results highlight the significant improvement in classification performance for basketball tactics recognition.DOI:
https://doi.org/10.31449/inf.v49i33.8437Downloads
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







