[Paper Review] Applying Deep Learning to Basketball Trajectories
This paper applies recurrent neural networks (RNNs) to raw 3D ball trajectory data from NBA SportVu to predict three-point shot success, outperforming traditional feature-engineered models. The RNN achieves an AUC of 0.843 using only positional data, demonstrating that deep learning can learn complex, nonlinear ball motion without physics-based features.
One of the emerging trends for sports analytics is the growing use of player and ball tracking data. A parallel development is deep learning predictive approaches that use vast quantities of data with less reliance on feature engineering. This paper applies recurrent neural networks in the form of sequence modeling to predict whether a three-point shot is successful. The models are capable of learning the trajectory of a basketball without any knowledge of physics. For comparison, a baseline static machine learning model with a full set of features, such as angle and velocity, in addition to the positional data is also tested. Using a dataset of over 20,000 three pointers from NBA SportVu data, the models based simply on sequential positional data outperform a static feature rich machine learning model in predicting whether a three-point shot is successful. This suggests deep learning models may offer an improvement to traditional feature based machine learning methods for tracking data.
Motivation & Objective
- To investigate whether deep learning models can predict three-point shot outcomes using only raw positional tracking data, without physics-based features.
- To compare the performance of RNNs against traditional machine learning models (e.g., gradient boosting, linear models) that rely on engineered features like velocity and angle.
- To evaluate the feasibility of using sequential modeling to capture nonlinear ball trajectories in basketball.
- To assess the impact of data quality and model hyperparameters on predictive performance in motion tracking tasks.
Proposed method
- The study uses a recurrent neural network (RNN), specifically an LSTM architecture, to model the temporal sequence of ball positions (X, Y, Z) recorded at 25 Hz by SportVu.
- A baseline model uses a gradient boosted machine (GBM) with a comprehensive set of handcrafted features, including velocity, acceleration, and geometric variables derived from positional data.
- The RNN is trained on sequences of ball positions over a 0.5-second window, starting when the ball is 8 feet from the basket, to predict shot success (make/miss).
- The dataset consists of 20,156 three-point shot attempts from 631 NBA games, with outcomes linked via play-by-play data.
- Performance is evaluated using the area under the ROC curve (AUC), with comparisons across models on both raw positional data and feature-engineered inputs.
- Data augmentation techniques are considered as a potential method to improve generalization due to limited training data size (~40 MB).
Experimental results
Research questions
- RQ1Can an RNN trained solely on raw 3D ball trajectory data outperform traditional machine learning models that rely on extensive feature engineering for predicting shot success?
- RQ2To what extent can RNNs learn the nonlinear dynamics of basketball trajectories without explicit knowledge of physics?
- RQ3How does model performance vary with training data size, and can data augmentation improve results given the limited dataset?
- RQ4What are the limitations of current tracking data (e.g., SportVu noise) in constraining the predictive accuracy of deep learning models?
Key findings
- The RNN model achieved an AUC of 0.843 when predicting shot success using only raw positional data (X, Y, Z) from the last 0.5 seconds of a three-point shot.
- This performance significantly outperformed a gradient boosted machine (GBM) model with engineered features, which achieved an AUC of 0.719.
- Even a simpler general linear model scored only 0.558 AUC, underscoring the superiority of the RNN in capturing nonlinear dynamics.
- The RNN’s performance remained strong with half the training data (AUC 0.870), suggesting robustness, though full data yielded higher performance (AUC 0.906).
- The study found that RNNs can learn complex, nonlinear ball motion patterns without explicit physics-based features, indicating their potential for modeling sequential motion.
- Noise and inaccuracies in SportVu tracking data were identified as key limitations, potentially constraining model performance despite strong results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.