ShuttleAI: 基於來回序列的選手戰術應用模型
ShuttleAI: Modeling Turn-Based Sequences for Player Tactic Applications
摘要
近年來,隨著數據的可用性與技術的進步,越來越多的研究開始投入將人工智慧應用於體育產業,如健康狀態監測與賽事結果預測等。
這些應用不僅在賽事中扮演著重要角色,且對於訓練階段也有很大的幫助。
一般來說,將深度學習技術應用於體育分析主要存在五個技術挑戰:1) 表達方法;2) 可解釋性;3) 決策制定;4) 行為理解;5) 實驗評估。
然而,羽毛球身為來回序列運動中引人注目的例子卻因缺乏公開的擊球資料集,這些困難尚未被解決。
因此,本論文終旨在探索來回序列中未解決且具挑戰性的研究與應用問題,期許能縮小學術與羽毛球社群的阻礙。
在賽事中,評量關鍵擊球對於評估選手表現至關重要,總使存在現有方法於其他運動中的選手表現進行量化表現,但在羽毛球中數據分析仍然未被探索。
為了實現上述目標,第一個主題中,本研究為第一個提出了一個統一的羽毛球資料表示方式以描述賽事中擊球過程,此表示法能使研究者進行下游任務的應用。
為了衡量每個擊球的勝利機率,本研究透過將問題描述成預測比賽結果的問題來捕捉羽毛球比賽中來回擊球的逐球過程,提出 ShuttleScorer,一個由新穎的短期球路提取器與長期編碼器組成的深度學習模型。
此模型更採用了注意力機制以呈現來回序列和比賽結果之間的透明度,這對於羽毛球專家來說可幫助了解模型的可解釋性。
基於真實巡迴賽所搜集的資料集的實驗評估證明我們提出的模型勝於現有技術,此外,我們更展示了許多案例以證明增強選手信心決策和為教練提供表現評估的能力,這有助於資訊領域與羽毛球領域之間的差距。
在第二個主題中,本研究專注於客觀預測擊球的球種與位置,這在來回序列的運動中是一個尚未被探索但具有許多好處的應用,且對於研究或社群皆有正面的影響。
本研究透過將回擊預測轉換為序列預測任務,使得現有工作也能應用在該問題上,然而,現有技術並未能捕捉到羽毛球來回序列等特質。
為了解決這些挑戰,我們提出一個新穎的位置感知與球員風格於羽球球路預測模型(ShuttleNet),其通過兩個編碼-解碼器架構去分別提取目前回合發展局勢以及從交互的序列中提取選手們整體的風格為何。
此外,本研究提出一個位置感知混合網路除了考慮上述三個資訊的重要程度,也多增加位置參數學習每一拍時動態的考慮這些資訊的重要程度,以預測選手們下一球可能打的球種與位置分佈。
因為尚未有球路預測的研究,本研究採以目前不同序列預測任務近兩年的方法作為比較基準,大量實驗證明 ShuttleNet 明顯優於現有的方法,本研究也在實驗中驗證 ShuttleNet 每個模組對於表現的可行性。
除此之外,我們為羽球回擊預測問題提供了一個應用場景。
在第三個主題中,人員預測系統常用於研究各個領域中的模式並改善制定決策,例如,行人預測和市場競價。羽毛球為一個需考量多角度的複雜來回序列之運動例子,其倚賴複雜戰術發展與交替的決策制定。
最近,在羽毛球運動中,用於選手戰術預測的深度學習方法顯示出良好的表現,部分歸功於對於回合予選手互動的有效推理。
然而,一個重要因素在於我們對於這類黑盒子模型學習哪些特徵來模擬選手行為上不了解,因此,我們提出一種基於Shapley values的羽毛球特徵影響之方法。
ShuttleSHAP用於分析羽毛球中的預測模型,可用於不同已存在之模型作為其解釋性的工具。
其可量化多方面線索的貢獻,不僅包含時間維度,也包含選手維度。
本研究將提出的分析工具納入現今最有效的來回預測模型,顯示了事實上利用過去的擊球對未來模擬影響微乎其微,而一般的順序序列模型則具有更大的影響。
此外,選手風格對於不同模型皆存在很大的影響,因此,我們調查與討論這些結果的因果分析,並透過例子展示了實用性。
在第四個主題中,我們體現到深度學習方法的進展在分析選手戰術以提高比賽表現與球迷參與度上展示了有效性,主因之一為有可用的公開真實資料集。
在來回序列運動中,雖然有一些動作偵測的公開資料集,但這些資料及缺乏結構化的資料和每一拍擊球的紀錄,主要原因為這些需要具有專業背景的人士進行高成本的標注工作,且難以使用自動化技術進行提取。
因此,當現有模型應用在更具挑戰性的來回序列時,深度學習方法的發展也受到了阻礙。
本研究因此提出 ShuttleSet,這是至今為止最大的公開可用羽毛球單打比賽資料集,其包含了標記的逐球紀錄。
它包含 2018 年至 2021 年間 44 場比賽中的 104 局,3,685 個回合,與 36,492 個擊球,其包含了 27 名男子單打與女子單打的頂尖選手。
ShuttleSet 透過電腦輔助的標記工具進行人工標記以提高效率,其選擇 18 個不同類別的擊球類型、對應的擊球位置,以及每次擊球時兩位選手的位置。
在實驗中,本研究提供多個衡量方法的任務基準(由前兩個主題與選手移動預測),以說明使用 ShuttleSet 進行來回序列分析的實用性,期望增進更多學術界與體育界的參與。
在過去兩年中,本研究部署一個視覺化分析平台,用於展示 ShuttleSet 中不同分析案例的多樣性,以便選手與教練透過該平台深入了解與分析選手的戰術習慣。
從以上主題的探討,本論文提出不同任務與模型以解決應用深度學習於羽球分析所遇到的五個技術挑戰。因使用資訊主要為選手、球種、與位置,這些任務與模型也能泛化到不同的來回序列運動中(如網球)。此外,本論文也能用於模擬選手行為,為電玩遊戲以及離線訓練增強式學習等開創研究的契機。
這些應用不僅在賽事中扮演著重要角色,且對於訓練階段也有很大的幫助。
一般來說,將深度學習技術應用於體育分析主要存在五個技術挑戰:1) 表達方法;2) 可解釋性;3) 決策制定;4) 行為理解;5) 實驗評估。
然而,羽毛球身為來回序列運動中引人注目的例子卻因缺乏公開的擊球資料集,這些困難尚未被解決。
因此,本論文終旨在探索來回序列中未解決且具挑戰性的研究與應用問題,期許能縮小學術與羽毛球社群的阻礙。
在賽事中,評量關鍵擊球對於評估選手表現至關重要,總使存在現有方法於其他運動中的選手表現進行量化表現,但在羽毛球中數據分析仍然未被探索。
為了實現上述目標,第一個主題中,本研究為第一個提出了一個統一的羽毛球資料表示方式以描述賽事中擊球過程,此表示法能使研究者進行下游任務的應用。
為了衡量每個擊球的勝利機率,本研究透過將問題描述成預測比賽結果的問題來捕捉羽毛球比賽中來回擊球的逐球過程,提出 ShuttleScorer,一個由新穎的短期球路提取器與長期編碼器組成的深度學習模型。
此模型更採用了注意力機制以呈現來回序列和比賽結果之間的透明度,這對於羽毛球專家來說可幫助了解模型的可解釋性。
基於真實巡迴賽所搜集的資料集的實驗評估證明我們提出的模型勝於現有技術,此外,我們更展示了許多案例以證明增強選手信心決策和為教練提供表現評估的能力,這有助於資訊領域與羽毛球領域之間的差距。
在第二個主題中,本研究專注於客觀預測擊球的球種與位置,這在來回序列的運動中是一個尚未被探索但具有許多好處的應用,且對於研究或社群皆有正面的影響。
本研究透過將回擊預測轉換為序列預測任務,使得現有工作也能應用在該問題上,然而,現有技術並未能捕捉到羽毛球來回序列等特質。
為了解決這些挑戰,我們提出一個新穎的位置感知與球員風格於羽球球路預測模型(ShuttleNet),其通過兩個編碼-解碼器架構去分別提取目前回合發展局勢以及從交互的序列中提取選手們整體的風格為何。
此外,本研究提出一個位置感知混合網路除了考慮上述三個資訊的重要程度,也多增加位置參數學習每一拍時動態的考慮這些資訊的重要程度,以預測選手們下一球可能打的球種與位置分佈。
因為尚未有球路預測的研究,本研究採以目前不同序列預測任務近兩年的方法作為比較基準,大量實驗證明 ShuttleNet 明顯優於現有的方法,本研究也在實驗中驗證 ShuttleNet 每個模組對於表現的可行性。
除此之外,我們為羽球回擊預測問題提供了一個應用場景。
在第三個主題中,人員預測系統常用於研究各個領域中的模式並改善制定決策,例如,行人預測和市場競價。羽毛球為一個需考量多角度的複雜來回序列之運動例子,其倚賴複雜戰術發展與交替的決策制定。
最近,在羽毛球運動中,用於選手戰術預測的深度學習方法顯示出良好的表現,部分歸功於對於回合予選手互動的有效推理。
然而,一個重要因素在於我們對於這類黑盒子模型學習哪些特徵來模擬選手行為上不了解,因此,我們提出一種基於Shapley values的羽毛球特徵影響之方法。
ShuttleSHAP用於分析羽毛球中的預測模型,可用於不同已存在之模型作為其解釋性的工具。
其可量化多方面線索的貢獻,不僅包含時間維度,也包含選手維度。
本研究將提出的分析工具納入現今最有效的來回預測模型,顯示了事實上利用過去的擊球對未來模擬影響微乎其微,而一般的順序序列模型則具有更大的影響。
此外,選手風格對於不同模型皆存在很大的影響,因此,我們調查與討論這些結果的因果分析,並透過例子展示了實用性。
在第四個主題中,我們體現到深度學習方法的進展在分析選手戰術以提高比賽表現與球迷參與度上展示了有效性,主因之一為有可用的公開真實資料集。
在來回序列運動中,雖然有一些動作偵測的公開資料集,但這些資料及缺乏結構化的資料和每一拍擊球的紀錄,主要原因為這些需要具有專業背景的人士進行高成本的標注工作,且難以使用自動化技術進行提取。
因此,當現有模型應用在更具挑戰性的來回序列時,深度學習方法的發展也受到了阻礙。
本研究因此提出 ShuttleSet,這是至今為止最大的公開可用羽毛球單打比賽資料集,其包含了標記的逐球紀錄。
它包含 2018 年至 2021 年間 44 場比賽中的 104 局,3,685 個回合,與 36,492 個擊球,其包含了 27 名男子單打與女子單打的頂尖選手。
ShuttleSet 透過電腦輔助的標記工具進行人工標記以提高效率,其選擇 18 個不同類別的擊球類型、對應的擊球位置,以及每次擊球時兩位選手的位置。
在實驗中,本研究提供多個衡量方法的任務基準(由前兩個主題與選手移動預測),以說明使用 ShuttleSet 進行來回序列分析的實用性,期望增進更多學術界與體育界的參與。
在過去兩年中,本研究部署一個視覺化分析平台,用於展示 ShuttleSet 中不同分析案例的多樣性,以便選手與教練透過該平台深入了解與分析選手的戰術習慣。
從以上主題的探討,本論文提出不同任務與模型以解決應用深度學習於羽球分析所遇到的五個技術挑戰。因使用資訊主要為選手、球種、與位置,這些任務與模型也能泛化到不同的來回序列運動中(如網球)。此外,本論文也能用於模擬選手行為,為電玩遊戲以及離線訓練增強式學習等開創研究的契機。
In recent years, there has been an increasing body of applications delving into the utilization of artificial intelligence (AI) in the realm of sports, encompassing aspects such as outcome prediction and highlight retrieval.
This surge in interest can be attributed to the wealth of available data and the advancements in AI techniques.
The applications of AI in the sports industry not only hold significant relevance during matches but also wield considerable influence over the training phase.
Generally, the integration of deep learning methodologies into sports analytics is mainly composed of five key technical challenges: 1) representation; 2) interpretability; 3) decision making; 4) understanding behavior; and 5) experimental evaluation.
However, these hardships have remained unexplored within the domain of badminton analytics, which stands as an exemplary case within the realm of turn-based sports, due to the dearth of publicly available datasets with stroke-level records.
Therefore, the primary objective of this dissertation is to undertake a comprehensive exploration of these formidable research questions and application issues with the proposed \ShuttleAI, with the aim of generating valuable insights for both the research community and the badminton community at large.
To assess the performance of players in badminton matches, it is crucial to identify significant shots within a rally.
Although various studies have quantified player performance in other sports, such as soccer, the analysis of such tasks in the context of badminton has remained largely unexplored.
In order to address the aforementioned objectives, we propose, for the first time, a unified badminton language that facilitates the description of shot processes, enabling us to investigate downstream applications.
To determine the win probability of each shot in badminton matches, we introduce \ShuttleScorer, a deep neural model comprising a novel short-term extractor and a long-term encoder, to capture the shot-by-shot sequence within a badminton rally by framing the task as the rally outcome prediction.
Extensive experimental evaluations utilizing a real-world dataset demonstrate that \ShuttleScorer surpasses strong baselines in terms of effective and efficient performance.
Additionally, we conduct case studies to showcase its ability to improve decision-making confidence of players and provide advanced insights for coaching purposes, which is expected to benefit from bridging the gap between the fields of turn-based analytics and the AI community.
In the second work, we introduce the stroke forecasting task, which objectively simulates what and where to return strokes.
This task serves an uncharted yet beneficial application for turn-based sports in terms of both research- and community-oriented groups.
By framing stroke forecasting as a sequence prediction task, existing works are able to tackle the task yet fail to capture the sophisticated characteristics of badminton.
To mitigate these limitations, we propose \ShuttleNet, a novel Position-aware Fusion of Rally Progress and Player Styles framework that leverages rally progress and implicit styles of the players by two modified encoder-decoder extractors.
In addition, a position-aware fusion network is designed to integrate rally contexts and players' contexts by conditioning on different positions and information dependency.
We conduct extensive experiments on the badminton dataset to show that \ShuttleNet significantly outperforms the state-of-the-art methods and also empirically validate the contribution of each component in \ShuttleNet.
On top of that, we provide an analysis scenario to highlight the capabilities and potential of \ShuttleNet.
In the third work, agent forecasting systems have been explored to investigate agent patterns and improve decision-making in various domains, e.g., pedestrian predictions and marketing bidding.
Badminton represents a fascinating example of a multifaceted turn-based sport, requiring both sophisticated tactic developments and alternate-dependent decision-making.
Recent deep learning approaches for player tactic forecasting in badminton show promising performance partially attributed to effective reasoning about rally-player interactions.
However, a critical hurdle lies in the unclear functionality of which features are learned for simulating players' behaviors by black-box models, where existing explainers are not equipped with \textit{turn-based} and \textit{multi-output} attributions.
To bridge this gap, we propose a turn-based feature attribution approach, \ShuttleSHAP, for analyzing forecasting models in badminton based on variants of Shapley values.
\ShuttleSHAP is a model-agnostic explainer that aims to quantify contribution by not only temporal but also player aspects in terms of fine-grained cues.
Incorporating the proposed analysis tool into the state-of-the-art turn-based forecasting model on the benchmark dataset reveals that it is, in fact, insignificant to reason about past strokes, while conventional sequential models have greater impacts.
Instead, players' styles influence the models for the future simulation of a rally.
On top of that, we investigate the causal analysis of these findings and demonstrate the practicability with local analysis.
In the fourth work, the effectiveness of deep learning approaches in uncovering insights into players' tactics for enhancing performance quality and engaging fans has been significantly advanced, primarily due to the availability of publicly accessible ground-truth datasets.
Despite a few available datasets for turn-based sports, these datasets extremely lack structured stroke-level records due to the requirements of high-cost labeling efforts from domain experts and the challenges of detecting using automatic techniques.
Consequently, the development of AI approaches is significantly hindered when existing models are applied to more challenging structured turn-based sequences.
To mitigate this issue, we present \ShuttleSet, consisting of 36,492 strokes, 3,685 rallies, and 104 sets in 44 matches between 2018 and 2021.
\ShuttleSet serves as the largest publicly-available badminton singles dataset with annotated stroke-level records with 27 top-ranking men's singles and women's singles players, which is manually annotated with a computer-aided labeling tool to increase the labeling efficiency and effectiveness of selecting the shot type with a choice of 18 distinct classes, the corresponding hitting locations, and the locations of both players at each stroke.
To demonstrate the practicality of using ShuttleSet for turn-based analytics, we provide multiple benchmarks to enable researchers to advance novel algorithms, including stroke influence, stroke forecasting, and movement forecasting, with corresponding baselines.
Over the past two years, we have also deployed a visualization platform that showcases the diverse analysis cases derived from ShuttleSet.
This platform enables coaches to delve into players' tactical preferences through human-interactive interfaces, which was also used by international badminton players during various high-ranking tournaments.
Overall, the availability of ShuttleSet and its associated visualization platform is expected to stimulate both the academic and sports communities, fostering advancements in turn-based analytics and providing valuable insights for coaches and players.
In summary, we have demonstrated three challenging but beneficial tasks and the corresponding approaches to relieve five barriers to leveraging deep learning algorithms for sports.
These tasks and approaches can be swiftly adapted to other turn-based sports (e.g., tennis) since players, shot types, and area coordinates are also commonly used in other turn-based sports.
In addition, this dissertation enables the capability to simulate players' behaviors, which breaks new ground in the advancements and deployments of e-sports and applying reinforcement learning offline.
This surge in interest can be attributed to the wealth of available data and the advancements in AI techniques.
The applications of AI in the sports industry not only hold significant relevance during matches but also wield considerable influence over the training phase.
Generally, the integration of deep learning methodologies into sports analytics is mainly composed of five key technical challenges: 1) representation; 2) interpretability; 3) decision making; 4) understanding behavior; and 5) experimental evaluation.
However, these hardships have remained unexplored within the domain of badminton analytics, which stands as an exemplary case within the realm of turn-based sports, due to the dearth of publicly available datasets with stroke-level records.
Therefore, the primary objective of this dissertation is to undertake a comprehensive exploration of these formidable research questions and application issues with the proposed \ShuttleAI, with the aim of generating valuable insights for both the research community and the badminton community at large.
To assess the performance of players in badminton matches, it is crucial to identify significant shots within a rally.
Although various studies have quantified player performance in other sports, such as soccer, the analysis of such tasks in the context of badminton has remained largely unexplored.
In order to address the aforementioned objectives, we propose, for the first time, a unified badminton language that facilitates the description of shot processes, enabling us to investigate downstream applications.
To determine the win probability of each shot in badminton matches, we introduce \ShuttleScorer, a deep neural model comprising a novel short-term extractor and a long-term encoder, to capture the shot-by-shot sequence within a badminton rally by framing the task as the rally outcome prediction.
Extensive experimental evaluations utilizing a real-world dataset demonstrate that \ShuttleScorer surpasses strong baselines in terms of effective and efficient performance.
Additionally, we conduct case studies to showcase its ability to improve decision-making confidence of players and provide advanced insights for coaching purposes, which is expected to benefit from bridging the gap between the fields of turn-based analytics and the AI community.
In the second work, we introduce the stroke forecasting task, which objectively simulates what and where to return strokes.
This task serves an uncharted yet beneficial application for turn-based sports in terms of both research- and community-oriented groups.
By framing stroke forecasting as a sequence prediction task, existing works are able to tackle the task yet fail to capture the sophisticated characteristics of badminton.
To mitigate these limitations, we propose \ShuttleNet, a novel Position-aware Fusion of Rally Progress and Player Styles framework that leverages rally progress and implicit styles of the players by two modified encoder-decoder extractors.
In addition, a position-aware fusion network is designed to integrate rally contexts and players' contexts by conditioning on different positions and information dependency.
We conduct extensive experiments on the badminton dataset to show that \ShuttleNet significantly outperforms the state-of-the-art methods and also empirically validate the contribution of each component in \ShuttleNet.
On top of that, we provide an analysis scenario to highlight the capabilities and potential of \ShuttleNet.
In the third work, agent forecasting systems have been explored to investigate agent patterns and improve decision-making in various domains, e.g., pedestrian predictions and marketing bidding.
Badminton represents a fascinating example of a multifaceted turn-based sport, requiring both sophisticated tactic developments and alternate-dependent decision-making.
Recent deep learning approaches for player tactic forecasting in badminton show promising performance partially attributed to effective reasoning about rally-player interactions.
However, a critical hurdle lies in the unclear functionality of which features are learned for simulating players' behaviors by black-box models, where existing explainers are not equipped with \textit{turn-based} and \textit{multi-output} attributions.
To bridge this gap, we propose a turn-based feature attribution approach, \ShuttleSHAP, for analyzing forecasting models in badminton based on variants of Shapley values.
\ShuttleSHAP is a model-agnostic explainer that aims to quantify contribution by not only temporal but also player aspects in terms of fine-grained cues.
Incorporating the proposed analysis tool into the state-of-the-art turn-based forecasting model on the benchmark dataset reveals that it is, in fact, insignificant to reason about past strokes, while conventional sequential models have greater impacts.
Instead, players' styles influence the models for the future simulation of a rally.
On top of that, we investigate the causal analysis of these findings and demonstrate the practicability with local analysis.
In the fourth work, the effectiveness of deep learning approaches in uncovering insights into players' tactics for enhancing performance quality and engaging fans has been significantly advanced, primarily due to the availability of publicly accessible ground-truth datasets.
Despite a few available datasets for turn-based sports, these datasets extremely lack structured stroke-level records due to the requirements of high-cost labeling efforts from domain experts and the challenges of detecting using automatic techniques.
Consequently, the development of AI approaches is significantly hindered when existing models are applied to more challenging structured turn-based sequences.
To mitigate this issue, we present \ShuttleSet, consisting of 36,492 strokes, 3,685 rallies, and 104 sets in 44 matches between 2018 and 2021.
\ShuttleSet serves as the largest publicly-available badminton singles dataset with annotated stroke-level records with 27 top-ranking men's singles and women's singles players, which is manually annotated with a computer-aided labeling tool to increase the labeling efficiency and effectiveness of selecting the shot type with a choice of 18 distinct classes, the corresponding hitting locations, and the locations of both players at each stroke.
To demonstrate the practicality of using ShuttleSet for turn-based analytics, we provide multiple benchmarks to enable researchers to advance novel algorithms, including stroke influence, stroke forecasting, and movement forecasting, with corresponding baselines.
Over the past two years, we have also deployed a visualization platform that showcases the diverse analysis cases derived from ShuttleSet.
This platform enables coaches to delve into players' tactical preferences through human-interactive interfaces, which was also used by international badminton players during various high-ranking tournaments.
Overall, the availability of ShuttleSet and its associated visualization platform is expected to stimulate both the academic and sports communities, fostering advancements in turn-based analytics and providing valuable insights for coaches and players.
In summary, we have demonstrated three challenging but beneficial tasks and the corresponding approaches to relieve five barriers to leveraging deep learning algorithms for sports.
These tasks and approaches can be swiftly adapted to other turn-based sports (e.g., tennis) since players, shot types, and area coordinates are also commonly used in other turn-based sports.
In addition, this dissertation enables the capability to simulate players' behaviors, which breaks new ground in the advancements and deployments of e-sports and applying reinforcement learning offline.