Pinball Loss (a.k.a. Quantile Loss)#
The loss minimised by an accurate quantile forecast.
Important
✨ AI-generated content. This page was written with the assistance of an AI language model and is provided as a learning aid. Despite careful review, it may still contain mistakes, omissions, or out-of-date information. Whether you are new to the topic, a team lead, or a senior practitioner, treat it as a starting point rather than an authoritative reference: read it critically and independently verify anything you act on (code, commands, figures, and factual claims) against official documentation and primary sources before relying on it.
What it is#
Pinball loss (a.k.a. quantile loss) scores a quantile forecast by penalizing errors asymmetrically — under- and over-prediction get different weights set by the target quantile \(\tau\):
Minimizing it makes \(\hat{y}\) approach the true \(\tau\)-quantile.
Why asymmetry#
For a high quantile (say \(\tau = 0.9\)), under-predicting is penalized far more than over-predicting, pushing the forecast up to cover the upper tail — exactly what you want for a 90% prediction interval. At \(\tau = 0.5\) the two weights match and pinball loss reduces to (half) the MAE.
Where it’s used#
It trains and evaluates quantile regressors and probabilistic models that output intervals rather than points, without assuming any distribution. A caveat: fitting several quantiles independently can cause quantile crossing, where a lower quantile’s forecast exceeds a higher one’s.
Theme: Risk & Probabilistic Forecasting · All terminology
Hint
Mind map — connected ideas
Continuous Ranked Probability Score (CRPS) · Mean Absolute Error (MAE) · Probabilistic Forecasts · Strictly Proper Scoring Rules · Root Mean Squared Error (RMSE) · MASE (Mean Absolute Scaled Error)
Hint
More in Risk & Probabilistic Forecasting
Continuous Probabilistic Forecasts · Continuous Ranked Probability Score (CRPS) · Deterministic forecasts · Full Distribution · Point Forecasts · Predicting Percentiles · Prediction Intervals (PI) · Probabilistic Forecasts · Probabilistic Scoring · Probability Forecasts · Quantile Forecasts · Quantile Level · Quantile Regression · Return Distribution
See also
Source article Adapted (context, re-expressed) in our own words from: Pinball Loss (a.k.a. Quantile Loss) (insightful-data-lab.com).