Uncertainty-Aware Machine Learning for NBA Forecasting in Digital Betting Markets

Matteo Montrucchio, Enrico Barbierato, Alice GattiInf 2026

TL;DR

This paper introduces an "uncertainty-aware" machine learning framework for predicting NBA game outcomes, which goes beyond simple accuracy to provide calibrated probabilities. By integrating diverse data sources and a novel decision layer, the model demonstrates significant economic value in betting markets, particularly for moneylines, by identifying and exploiting subtle inefficiencies.

What Problem Does This Paper Address?

The authors tackle the challenge of translating predictive accuracy in sports forecasting into tangible economic gains, specifically within the complex and highly efficient world of digital betting markets. While many existing models focus on classification accuracy, they often overlook the critical importance of calibrated probabilities – how confident the model is in its predictions. This is crucial because betting decisions, especially those aiming for profit, rely on accurately assessing the probability of an outcome relative to the odds offered. Furthermore, real-world betting involves constraints like stake limits and odds caps, which traditional models often ignore. The paper aims to bridge this gap by developing a framework that not only predicts outcomes with high accuracy but also quantifies its uncertainty and translates these calibrated predictions into profitable betting strategies under realistic market conditions.

Methods

The core of the paper is an "uncertainty-aware" forecasting pipeline. Key components include:

  • Feature Engineering: A rich set of features is engineered, including:
  • Team-level performance metrics (box scores, efficiency stats).
  • Rolling-form indicators (last five games' performance).
  • Spatial shot-chart embeddings, processed by a Convolutional Neural Network (CNN) and then reduced using Principal Component Analysis (PCA) to capture court usage and shot density.
  • Market-derived features (implied probabilities from odds, spreads, totals, and overround).
  • Predictive Architecture: A recurrent neural network (specifically, an LSTM) is employed to model sequential dependencies in team form. Crucially, Monte Carlo dropout is used during inference to generate a distribution of predictions, providing calibrated probabilities and uncertainty estimates.
  • Decision Layer & Simulation: Calibrated probabilities are fed into a fractional-Kelly staking rule (set at 0.3) combined with an expected-value (EV) threshold (EV > 1.1) and stake/odds caps. This simulates a disciplined betting strategy that aims to exploit identified edges while managing risk. The entire process is evaluated using strict chronological train-validation-test splits to prevent data leakage.

Datasets

The primary dataset consists of NBA game data from the 2010-2024 seasons. This includes:

  • Box scores and game statistics scraped from Basketball Reference.
  • Spatial shot charts.
  • Betting market data (moneylines, spreads, totals) collected from public Kaggle datasets and other sports betting information sources.

The paper also briefly mentions using Serie A and Premier League seasons for portability experiments, using similar data collection and processing pipelines.

Key Insights and Ideas

  • Calibration is King (for Profit): While accuracy is important, the paper strongly emphasizes that well-calibrated probabilities are essential for generating economic value in betting markets. Models that are well-calibrated can better identify true edges.
  • Market Inefficiencies Persist (Especially in Moneylines): Despite the efficiency of betting markets, the authors find that structural inefficiencies, particularly in moneyline markets, can be exploited by sophisticated models. Spreads and totals appear more efficient, yielding less exploitable edge.
  • Feature Fusion is Powerful: Combining team performance data, recent form, and market-derived information (especially implied probabilities) leads to superior predictive performance compared to using any single source alone.
  • Uncertainty Quantification Matters: Monte Carlo dropout, by providing a distribution of predictions, allows for a more robust decision-making process that accounts for model uncertainty, leading to more disciplined and profitable betting.
  • Disciplined Staking is Crucial: The fractional-Kelly staking rule, combined with an EV threshold, acts as a powerful filter, ensuring that only high-confidence, high-edge bets are placed, thus managing risk and promoting long-term bankroll growth.

Key Results

  • The uncertainty-aware LSTM model achieved a final bankroll of approximately €100,000 on NBA moneylines in the 2024 test season, starting with €100. This represents a significant ROI, driven by selective wagering on high-odds, high-EV opportunities.
  • In contrast, market-implied probabilities and a no-leakage logistic regression baseline resulted in break-even or negative ROI, highlighting the added value of the proposed model and decision layer.
  • Spread and totals markets showed only marginal gains or negative returns, consistent with their higher efficiency.
  • Ablation studies showed that the fused model (combining non-market and market features) outperformed non-market-only and market-only models, with an AUC of 0.951 and Brier score of 0.089.
  • The model demonstrated robustness across seasons and leagues (Serie A, Premier League), though with less extreme growth than in NBA moneylines.

Limitations and Future Work

  • Frictionless Execution Assumption: The simulations assume ideal betting conditions (no slippage, liquidity constraints, or odds movement), which is an upper bound on achievable returns.
  • Exclusion of Real-Time Information: The model does not incorporate last-minute information like injury news or line movements, which are critical in real trading.
  • Hyperparameter Sensitivity: While robustness checks were performed, the sensitivity to specific hyperparameter settings (EV thresholds, Kelly fractions) could be further explored.
  • Future Work:
    • Relaxing idealised execution assumptions by incorporating realistic liquidity and dynamic pricing.
  • Exploring more expressive uncertainty estimation methods (e.g., deep ensembles).
  • Integrating player availability signals, rest patterns, and injury forecasts.
  • Conducting broader cross-league evaluations.
  • Investigating reinforcement learning for decision layers or hierarchical Bayesian models.

Summary updated

BibTeX
@article{montrucchio2026uncertainty,
  author = {Matteo Montrucchio and Enrico Barbierato and Alice Gatti},
  title = {{Uncertainty-Aware Machine Learning for NBA Forecasting in Digital Betting Markets}},
  journal = {Inf.},
  year = {2026},
  doi = {10.3390/info17010056},
}
Figure