TacticAI: an AI assistant for football tactics

Zhe Wang, Petar Veličković, Daniel Hennes, Nenad Tomašev, Laurel Prince, Michael Kaisers, Yoram Bachrach, Romuald Élie, Li Kevin Wenliang, Federico Piccinini, William Spearman, Ian Graham, Jerome T. Connor, Yi Yang, Adrià Recasens, Mina Khan, Nathalie Beauguerlange, Pablo Sprechmann, Pol Moreno, Nicolas Heess, Michael Bowling, Demis Hassabis, Karl Tuyls

Abstract

Identifying key patterns of tactics implemented by rival teams, and developing effective responses, lies at the heart of modern football. However, doing so algorithmically remains an open research challenge. To address this unmet need, we propose TacticAI, an AI football tactics assistant developed and evaluated in close collaboration with domain experts from Liverpool FC. We focus on analysing corner kicks, as they offer coaches the most direct opportunities for interventions and improvements. TacticAI incorporates both a predictive and a generative component, allowing the coaches to effectively sample and explore alternative player setups for each corner kick routine and to select those with the highest predicted likelihood of success. We validate TacticAI on a number of relevant benchmark tasks: predicting receivers and shot attempts and recommending player position adjustments. The utility of TacticAI is validated by a qualitative study conducted with football domain experts at Liverpool FC. We show that TacticAI's model suggestions are not only indistinguishable from real tactics, but also favoured over existing tactics 90% of the time, and that TacticAI offers an effective corner kick retrieval system. TacticAI achieves these results despite the limited availability of gold-standard data, achieving data efficiency through geometric deep learning.

Introduction

In professional football, identifying tactical patterns and devising counter-tactics is traditionally a manual, labor-intensive process for analysts. While AI has excelled in games with perfect information like Chess or Go, football presents a unique "low-data" challenge. There are only a few hundred matches per league each year, and player movements are highly dynamic and continuous.

TacticAI focuses on corner kicks, a critical "set piece" where the game stops and coaches have the highest degree of direct influence over player positioning. Despite representing only a small fraction of total match time, set pieces are responsible for a significant portion of goals, making them an ideal laboratory for tactical AI development.

Methodology

Graph Representation and Message Passing

TacticAI represents a corner kick as a graph where each of the 22 players is a node. The system utilizes Graph Neural Networks (GNNs), specifically a Graph Attention Network (GATv2), to model the complex relationships between players. Rather than relying solely on absolute coordinates, the GNN learns how the relative positioning and velocities of teammates and opponents influence the play's evolution.

Overview of TacticAI's graph representation and predictive pipeline.

Geometric Deep Learning

To overcome the limitations of a relatively small dataset (9,693 corner kicks from Liverpool FC), the researchers employed geometric deep learning. By enforcing $D_2$ dihedral group symmetries, the model is architecturally aware that a tactical setup is strategically identical regardless of which side of the pitch it occurs on or which direction the teams are attacking. This symmetry-aware approach significantly improves data efficiency.

Predictive and Generative Components

The framework consists of two primary modules:

  1. Predictive Component: Forecasts the immediate outcome of a corner, such as who will touch the ball first (receiver prediction) and whether a shot attempt will occur.
  2. Generative Component: Utilizes a Conditional Variational Autoencoder (CVAE) to suggest player position adjustments. This allows coaches to simulate "what-if" scenarios, moving players to maximize the probability of a shot or minimize the opponent's threat.

Key Results

Performance Metrics

TacticAI demonstrated high accuracy across its primary benchmark tasks:

  • Receiver Prediction: Achieved a 0.782 top-3 accuracy in identifying the first player to make contact with the ball.
  • Shot Prediction: Achieved an $F_1$ score of 0.71 for predicting whether a corner would lead to a shot attempt.

Expert Evaluation and Tactical Retrieval

A blind study was conducted with five football experts from Liverpool FC (data scientists, analysts, and coaches). The results were striking: the experts favored TacticAI’s suggested tactical adjustments over the original real-world setups 90% of the time. Furthermore, the experts were unable to reliably distinguish between real-world tactical setups and those generated by the AI, effectively passing a "Turing Test" for football tactics.

Beyond prediction, TacticAI's latent embeddings allow for sophisticated tactical retrieval. Coaches can search for historical scenarios that are tactically similar to a current opponent's setup, enabling more informed defensive preparation.

Discussion and Future Work

While TacticAI represents a significant leap forward, it currently requires high-fidelity tracking data (25 fps), which is standard in elite leagues but less common elsewhere. The model also does not explicitly account for ball physics or exogenous factors like weather or player fatigue.

Future research aims to generalize this framework beyond corner kicks to other set pieces like free kicks and throw-ins, and eventually to the more complex, fluid dynamics of "open play" situations. By combining geometric deep learning with expert domain knowledge, TacticAI provides a blueprint for the next generation of automated sports assistants.

Summary updated

BibTeX
@inproceedings{wang2024tacticai,
  author = {Zhe Wang and Petar Veličković and Daniel Hennes and Nenad Tomašev and Laurel Prince and Michael Kaisers and Yoram Bachrach and Romuald Élie and Li Kevin Wenliang and Federico Piccinini and William Spearman and Ian Graham and Jerome T. Connor and Yi Yang and Adrià Recasens and Mina Khan and Nathalie Beauguerlange and Pablo Sprechmann and Pol Moreno and Nicolas Heess and Michael Bowling and Demis Hassabis and Karl Tuyls},
  title = {{TacticAI: an AI assistant for football tactics}},
  booktitle = {Nature Communications},
  year = {2024},
  doi = {10.1038/s41467-024-45965-x},
}
Figure