Overview
This paper introduces a machine learning framework that decomposes professional basketball shooting patterns into a small set of interpretable "spatial archetypes." By combining Log-Gaussian Cox Processes (LGCP) with Non-negative Matrix Factorization (NMF), the authors create low-dimensional player "fingerprints" that outperform traditional models in predicting shot selection and efficiency.
The Challenge of Spatial Non-Stationarity
In basketball analytics, player comparisons are often heuristic and imprecise. We might call a player a "rim protector" or a "three-point specialist," but these labels fail to capture the nuanced spatial habits of elite athletes.
From a statistical perspective, modeling shot data is difficult because shooting habits are "non-stationary"—meaning the correlation between two spots on the court isn't just a function of physical distance. For example, a player’s tendency to shoot from the left corner three is highly correlated with their tendency to shoot from the right corner three, even though those two locations are on opposite sides of the court.
Traditional spatial models, like stationary Gaussian Processes, struggle with these global, symmetric patterns. The authors seek a way to represent these complex habits in a parsimonious, interpretable, and predictive way.
The LGCP-NMF Pipeline
The authors propose a multi-stage pipeline called LGCP-NMF to model these spatial behaviors:
- Log-Gaussian Cox Processes (LGCP): Shots are modeled as a point process where the "intensity" (the likelihood of a shot occurring at a specific spot) is a smooth surface. They use LGCPs to infer a continuous intensity function for each player, which handles the "local" smoothness of shooting habits.
- Discretization: The court is divided into a grid of 1x1 foot tiles. Each player’s intensity surface is converted into a high-dimensional vector.
- Non-negative Matrix Factorization (NMF): This is the core innovation. Unlike Principal Component Analysis (PCA), which allows for negative values that make no sense for physical shot intensity, NMF forces all components to be non-negative. This results in a "parts-based" decomposition. Just as NMF can find distinct facial features in a dataset of faces, here it finds distinct "shot types" (e.g., corner threes, mid-range jumpers).
- Hierarchical Latent Variable Model: Finally, the authors extend this to field goal efficiency. They model a player’s FG% as a weighted combination of their efficiency across the discovered shot archetypes. This allows the model to "share" information across similar players, improving estimates for low-volume shooters.
Datasets
The study uses optical tracking data from roughly half of the games in the 2012-2013 NBA regular season.
- Scale: Approximately 78,000 shots across 335 unique players.
- Filtering: Only players with at least 50 shot attempts were included.
- Spatial Domain: The offensive half-court, modeled as a 35 ft by 50 ft rectangle.
Archetypes and Interpretability
The model discovers that player "types" are better defined by spatial habits than traditional positions (Guard, Forward, Center). A "stretch four" and a "shooting guard" might share the exact same "Wing Three" basis vector.
The non-negativity constraint in NMF is crucial for this interpretability. In PCA, basis vectors cancel each other out with positive and negative regions, making them impossible to view as real "intensity surfaces." NMF bases are purely additive, representing distinct, recognizable shot types. By using NMF on top of LGCPs, the model successfully captures long-range spatial correlations that a standard spatial model would miss.
Furthermore, the hierarchical model allows for "shrinkage." If we haven't seen a player take many corner threes, the model can infer their likely efficiency there by looking at their performance on similar shot types and the league-wide average for that specific archetype.
Key Results
- Interpretability: The model successfully identified 10 distinct spatial bases, including "Corner Threes," "Wing Threes," "Top of the Key Threes," and "Long Two-Pointers."
- Predictive Accuracy: In a 10-fold cross-validation, the LGCP-NMF representation achieved a higher predictive log-likelihood on held-out test data compared to independent LGCPs for each player. This proves that "pooling" information via the NMF basis is a superior way to model player behavior.
- Player Profiling: The model's weights provide a concise summary of a player. For instance, it quantitatively shows that a player like Steve Novak is almost exclusively a three-point specialist, while LeBron James has a much more diverse distribution across all shot types.
Limitations and Future Work
While powerful, the current model only looks at the shooter and the location. It does not account for the position of the defender, which is arguably the most significant factor in shot selection and efficiency. Additionally, the model treats a player's habits as fixed over the season.
Future work could involve a spatio-temporal extension to track how a player’s "fingerprint" evolves over time or changes in response to different defensive lineups. The authors also express interest in moving toward a fully generative model, such as a "Spatially Informed Latent Dirichlet Allocation (LDA)," to jointly model the point process and intensity surfaces more elegantly.
Summary updated