Abstract
Given a set of sequences comprised of time-ordered events, sequential pattern mining is useful to identify frequent subsequences from different sequences or within the same sequence. However, in sport, these techniques cannot determine the importance of particular patterns of play to good or bad outcomes, which is often of greater interest to coaches and performance analysts. In this study, we apply a recently proposed supervised sequential pattern mining algorithm called safe pattern pruning (SPP) to 490 labelled event sequences representing passages of play from one rugby team's matches in the 2018 Japan Top League season. We obtain patterns that are the most discriminative between scoring and non-scoring outcomes from both the team's and opposition teams' perspectives using SPP, and compare these with the most frequent patterns obtained with well-known unsupervised sequential pattern mining algorithms when applied to subsets of the original dataset, split on the label. From our obtained results, line breaks, successful line-outs, regained kicks in play, repeated phase-breakdown play, and failed exit plays by the opposition team were found to be the patterns that discriminated most between the team scoring and not scoring. Opposition team line breaks, errors made by the team, opposition team line-outs, and repeated phase-breakdown play by the opposition team were found to be the patterns that discriminated most between the opposition team scoring and not scoring. It was also found that, probably because of the supervised nature and pruning/safe-screening mechanisms of SPP, compared to the patterns obtained by the unsupervised methods, those obtained by SPP were more sophisticated in terms of containing a greater variety of events, and when interpreted, the SPP-obtained patterns would also be more useful for coaches and performance analysts.
Introduction
In modern sports analytics, the ability to move beyond simple event counting to understanding the flow of play is crucial. While traditional metrics might track the number of passes or tackles, they often fail to capture the sequential context that leads to scoring opportunities. This study, published in PLOS ONE, introduces a supervised learning approach to sequential pattern mining (SPM) in rugby union, aiming to identify the specific "recipes" of play that lead to success.
The Limitation of Frequency-Based Mining
Standard Sequential Pattern Mining is typically unsupervised, focusing on identifying recurring strings of events (e.g., Pass → Pass → Tackle). However, the most frequent events in sports are often the most mundane. For a coach, knowing that a team frequently performs a "Phase → Breakdown" sequence is of little value if that sequence occurs equally in both scoring and non-scoring passages. The challenge lies in isolating "high-utility" sequences that are statistically discriminative of a positive outcome, even if they occur less frequently than basic play.
Methodology: Safe Pattern Pruning (SPP)
To address this, the researchers utilized Safe Pattern Pruning (SPP). This algorithm treats pattern mining as a supervised classification task (Scoring vs. Non-scoring). It employs a PrefixSpan approach to construct a tree of all possible event sequences. To manage the combinatorial explosion of potential patterns, SPP uses a convex optimization technique known as "safe screening" to prune branches of the tree that cannot mathematically contribute to the final model.
Each pattern is assigned a weight ($w$) using an L1-regularized Support Vector Machine (SVM), allowing the model to highlight complex, long-chain sequences that provide actionable tactical insights.
Data Acquisition and Preprocessing
The study analyzed event sequences from a professional rugby team during the 2018 Japan Top League season. Raw XML data, tagged via Hudl Sportscode, was transformed into discrete "passages of play." This delimitation is critical for defining the boundaries of a sequence, typically starting with a kick restart, scrum, or line-out.
The final dataset consisted of 490 sequences across 24 unique event types, with each sequence labeled based on whether it resulted in a try or a kick at goal.
Results: Identifying Discriminative Patterns
The comparison between SPP and five unsupervised algorithms (including PrefixSpan and GSP) revealed a stark contrast in utility. Unsupervised methods consistently returned repetitive loops of "Phase → Breakdown," which, while frequent, offered no tactical differentiation. In contrast, SPP identified sophisticated tactical sequences:
- The Power of the Line Break: A "Line Break" was found to have an Odds Ratio (OR) of 2.506, indicating the team was 2.5 times more likely to score when a sequence included this event.
- Tactical Recipes: SPP highlighted complex sequences such as successful line-outs followed by specific phase play and regained kicks in play as high-probability scoring paths.
- Defensive Benchmarking: The model also identified patterns leading to conceded points, such as unforced errors followed by opposition breakdowns, providing a roadmap for defensive improvement.
Discussion and Future Directions
The patterns identified by SPP were qualitatively superior to those from traditional methods, often reaching lengths of up to 16 events and incorporating a wider variety of event types. This complexity makes them far more useful for performance analysts seeking to build specific game plans.
However, the study notes several areas for future development. Currently, the model lacks spatial data; a line break near the try line is tactically distinct from one in the defensive half. Future iterations could incorporate X,Y coordinates, player identities, and temporal context (such as match time and fatigue) to provide an even more granular view of rugby tactics. By shifting the focus from what happens most to what matters most, supervised SPM offers a powerful new tool for professional sports coaching.
Summary updated