Explainable AI in Football: Enhancing XGBoost interpretation with SHAP, Counterfactuals and LLM

Football is a complex game, and recently, data-driven decisions have become increasingly popular for developing strategies and understanding player gameplay among coaches and club analysts. Numerous studies have utilized machine learning techniques to analyze football data and derive insights into player behavior. However, this implementation presents the data and results in a numerical output. To understand it and take the advantage of this result it is still a tricky part for the coaches, as they are not in the field of the data scientist and still wonder how the model makes the decision and also the numerical data is not self-explainable for them, hence the final result still cannot be entirely utilized as it remains unclearly understood to the users. The project aims to address this gap and make the output as understandable as possible using new tools, such as Large Language Model(LLM), explainable Artificial Intelligence, and machine learning models. Extreme Gradient Boosting (XGBoost) is chosen as the decision made by this model is completely executed in the black box, and to explore it and make it explainable using tools such as Partial Dependence Plot (PDP), counterfactual explanations, and the Shapley Additive exPlantions (SHAP) library. Furthermore, To have all these tools available to the user at one stop, a web-based application with Large Language Model(LLM) text is easy for coaches to understand and interpret.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable AI in Football: Enhancing XGBoost interpretation with SHAP, Counterfactuals and LLM

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Explainable Artificial Intelligence (XAI)
article

Explainable AI in Football: Enhancing XGBoost interpretation with SHAP, Counterfactuals and LLM

article en

Abstract

Football is a complex game, and recently, data-driven decisions have become increasingly popular for developing strategies and understanding player gameplay among coaches and club analysts. Numerous studies have utilized machine learning techniques to analyze football data and derive insights into player behavior. However, this implementation presents the data and results in a numerical output. To understand it and take the advantage of this result it is still a tricky part for the coaches, as they are not in the field of the data scientist and still wonder how the model makes the decision and also the numerical data is not self-explainable for them, hence the final result still cannot be entirely utilized as it remains unclearly understood to the users. The project aims to address this gap and make the output as understandable as possible using new tools, such as Large Language Model(LLM), explainable Artificial Intelligence, and machine learning models. Extreme Gradient Boosting (XGBoost) is chosen as the decision made by this model is completely executed in the black box, and to explore it and make it explainable using tools such as Partial Dependence Plot (PDP), counterfactual explanations, and the Shapley Additive exPlantions (SHAP) library. Furthermore, To have all these tools available to the user at one stop, a web-based application with Large Language Model(LLM) text is easy for coaches to understand and interpret.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Openalex Percentile: Top 72%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.