Misplaced Pages

Scoring rule

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Scoring system) Measure for evaluating probabilistic forecasts Not to be confused with Score voting.
Visualization of the expected score under various predictions from some common scoring functions. Dashed black line: forecaster's true belief, red: linear, orange: spherical, purple: quadratic, green: log.

In decision theory, a scoring rule provides evaluation metrics for probabilistic predictions or forecasts. While "regular" loss functions (such as mean squared error) assign a goodness-of-fit score to a predicted value and an observed value, scoring rules assign such a score to a predicted probability distribution and an observed value. On the other hand, a scoring function provides a summary measure for the evaluation of point predictions, i.e. one predicts a property or functional T ( F ) {\displaystyle T(F)} , like the expectation or the median.

The average logarithmic score of 10 points i.i.d. sampled from a standard normal distribution (blue histogram), evaluated on a variety of distributions (red line). Although not necessarily true for individual samples, on average, a proper scoring rule will give the lowest score if the predicted distribution matches the data distribution.
A calibration curve allows to judge how well model predictions are calibrated, by comparing the predicted quantiles to the observed quantiles. Blue is the best calibrated model, see calibration (statistics).

Scoring rules answer the question "how good is a predicted probability distribution compared to an observation?" Scoring rules that are (strictly) proper are proven to have the lowest expected score if the predicted distribution equals the underlying distribution of the target variable. Although this might differ for individual observations, this should result in a minimization of the expected score if the "correct" distributions are predicted.

Scoring rules and scoring functions are often used as "cost functions" or "loss functions" of probabilistic forecasting models. They are evaluated as the empirical mean of a given sample, the "score". Scores of different predictions or models can then be compared to conclude which model is best. For example, consider a model, that predicts (based on an input x {\displaystyle x} ) a mean μ R {\displaystyle \mu \in \mathbb {R} } and standard deviation σ R + {\displaystyle \sigma \in \mathbb {R} _{+}} . Together, those variables define a gaussian distribution N ( μ , σ 2 ) {\displaystyle {\mathcal {N}}(\mu ,\sigma ^{2})} , in essence predicting the target variable as a probability distribution. A common interpretation of probabilistic models is that they aim to quantify their own predictive uncertainty. In this example, an observed target variable y R {\displaystyle y\in \mathbb {R} } is then held compared to the predicted distribution N ( μ , σ 2 ) {\displaystyle {\mathcal {N}}(\mu ,\sigma ^{2})} and assigned a score L ( N ( μ , σ 2 ) , y ) R {\displaystyle {\mathcal {L}}({\mathcal {N}}(\mu ,\sigma ^{2}),y)\in \mathbb {R} } . When training on a scoring rule, it should "teach" a probabilistic model to predict when its uncertainty is low, and when its uncertainty is high, and it should result in calibrated predictions, while minimizing the predictive uncertainty.

Although the example given concerns the probabilistic forecasting of a real valued target variable, a variety of different scoring rules have been designed with different target variables in mind. Scoring rules exist for binary and categorical probabilistic classification, as well as for univariate and multivariate probabilistic regression.

Definitions

Consider a sample space Ω {\displaystyle \Omega } , a σ-algebra A {\displaystyle {\mathcal {A}}} of subsets of Ω {\displaystyle \Omega } and a convex class F {\displaystyle {\mathcal {F}}} of probability measures on ( Ω , A ) {\displaystyle (\Omega ,{\mathcal {A}})} . A function defined on Ω {\displaystyle \Omega } and taking values in the extended real line, R ¯ = [ , ] {\displaystyle {\overline {\mathbb {R} }}=} , is F {\displaystyle {\mathcal {F}}} -quasi-integrable if it is measurable with respect to A {\displaystyle {\mathcal {A}}} and is quasi-integrable with respect to all F F {\displaystyle F\in {\mathcal {F}}} .

Probabilistic forecast

A probabilistic forecast is any probability measure F F {\displaystyle F\in {\mathcal {F}}} . I.e. it is a distribution of potential future observations.

Scoring rule

A scoring rule is any extended real-valued function S : F × Ω R {\displaystyle \mathbf {S} :{\mathcal {F}}\times \Omega \rightarrow \mathbb {R} } such that S ( F , ) {\displaystyle \mathbf {S} (F,\cdot )} is F {\displaystyle {\mathcal {F}}} -quasi-integrable for all F F {\displaystyle F\in {\mathcal {F}}} . S ( F , y ) {\displaystyle \mathbf {S} (F,y)} represents the loss or penalty when the forecast F F {\displaystyle F\in {\mathcal {F}}} is issued and the observation y Ω {\displaystyle y\in \Omega } materializes.

Point forecast

A point forecast is a functional, i.e. a potentially set-valued mapping F T ( F ) Ω {\displaystyle F\rightarrow T(F)\subseteq \Omega } .

Scoring function

A scoring function is any real-valued function S : Ω × Ω R {\displaystyle S:\Omega \times \Omega \rightarrow \mathbb {R} } where S ( x , y ) {\displaystyle S(x,y)} represents the loss or penalty when the point forecast x Ω {\displaystyle x\in \Omega } is issued and the observation y Ω {\displaystyle y\in \Omega } materializes.

Orientation

Scoring rules S ( F , y ) {\displaystyle \mathbf {S} (F,y)} and scoring functions S ( x , y ) {\displaystyle S(x,y)} are negatively (positively) oriented if smaller (larger) values mean better. Here we adhere to negative orientation, hence the association with "loss".

Expected score

We write for the expected score of a prediction F {\displaystyle F} under Q F {\displaystyle Q\in {\mathcal {F}}} as the expected score of the predicted distribution F F {\displaystyle F\in {\mathcal {F}}} , when sampling observations from distribution Q {\displaystyle Q} .

E Y Q [ S ( F , Y ) ] = S ( F , ω ) d Q ( ω ) {\displaystyle \mathbb {E} _{Y\sim Q}=\int \mathbf {S} (F,\omega )\mathrm {d} Q(\omega )}

Sample average score

Many probabilistic forecasting models are training via the sample average score, in which a set of predicted distributions F 1 , , F n F {\displaystyle F_{1},\ldots ,F_{n}\in {\mathcal {F}}} is evaluated against a set of observations y 1 , , y n Ω {\displaystyle y_{1},\ldots ,y_{n}\in \Omega } .

L = 1 n i = 1 n S ( F i , y i ) {\displaystyle {\mathcal {L}}={\frac {1}{n}}\sum _{i=1}^{n}S(F_{i},y_{i})}

Propriety and consistency

Strictly proper scoring rules and strictly consistent scoring functions encourage honest forecasts by maximization of the expected reward: If a forecaster is given a reward of S ( F , y ) {\displaystyle -\mathbf {S} (F,y)} if y {\displaystyle y} realizes (e.g. y = r a i n {\displaystyle y=rain} ), then the highest expected reward (lowest score) is obtained by reporting the true probability distribution.

Proper scoring rules

A scoring rule S {\displaystyle \mathbf {S} } is proper relative to F {\displaystyle {\mathcal {F}}} if (assuming negative orientation) its expected score is minimized when the forecasted distribution matches the distribution of the observation.

E Y Q [ S ( Q , Y ) ] E Y Q [ S ( F , Y ) ] {\displaystyle \mathbb {E} _{Y\sim Q}\leq \mathbb {E} _{Y\sim Q}} for all F , Q F {\displaystyle F,Q\in {\mathcal {F}}} .

It is strictly proper if the above equation holds with equality if and only if F = Q {\displaystyle F=Q} .

Consistent scoring functions

A scoring function S {\displaystyle S} is consistent for the functional T {\displaystyle T} relative to the class F {\displaystyle {\mathcal {F}}} if

E Y F [ S ( t , Y ) ] E Y F [ S ( x , Y ) ] {\displaystyle \mathbb {E} _{Y\sim F}\leq \mathbb {E} _{Y\sim F}} for all F F {\displaystyle F\in {\mathcal {F}}} , all t T ( F ) {\displaystyle t\in T(F)} and all x Ω {\displaystyle x\in \Omega } .

It is strictly consistent if it is consistent and equality in the above equation implies that x T ( F ) {\displaystyle x\in T(F)} .

Example application of scoring rules

The logarithmic rule

An example of probabilistic forecasting is in meteorology where a weather forecaster may give the probability of rain on the next day. One could note the number of times that a 25% probability was quoted, over a long period, and compare this with the actual proportion of times that rain fell. If the actual percentage was substantially different from the stated probability we say that the forecaster is poorly calibrated. A poorly calibrated forecaster might be encouraged to do better by a bonus system. A bonus system designed around a proper scoring rule will incentivize the forecaster to report probabilities equal to his personal beliefs.

In addition to the simple case of a binary decision, such as assigning probabilities to 'rain' or 'no rain', scoring rules may be used for multiple classes, such as 'rain', 'snow', or 'clear', or continuous responses like the amount of rain per day.

The image to the right shows an example of a scoring rule, the logarithmic scoring rule, as a function of the probability reported for the event that actually occurred. One way to use this rule would be as a cost based on the probability that a forecaster or algorithm assigns, then checking to see which event actually occurs.

Examples of proper scoring rules

There are an infinite number of scoring rules, including entire parameterized families of strictly proper scoring rules. The ones shown below are simply popular examples.

Categorical variables

For a categorical response variable with m {\displaystyle m} mutually exclusive events, Y Ω = { 1 , , m } {\displaystyle Y\in \Omega =\{1,\ldots ,m\}} , a probabilistic forecaster or algorithm will return a probability vector r {\displaystyle \mathbf {r} } with a probability for each of the m {\displaystyle m} outcomes.

Logarithmic score

See also: Deviance (statistics)
Expected value of logarithmic rule, when Event 1 is expected to occur with probability of 0.8, the blue line is described by the function 0.8 log ( x ) + ( 1 0.8 ) log ( 1 x ) {\displaystyle 0.8\log(x)+(1-0.8)\log(1-x)}

The logarithmic scoring rule is a local strictly proper scoring rule. This is also the negative of surprisal, which is commonly used as a scoring criterion in Bayesian inference; the goal is to minimize expected surprise. This scoring rule has strong foundations in information theory.

L ( r , i ) = ln ( r i ) {\displaystyle L(\mathbf {r} ,i)=\ln(r_{i})}

Here, the score is calculated as the logarithm of the probability estimate for the actual outcome. That is, a prediction of 80% that correctly proved true would receive a score of ln(0.8) = −0.22. This same prediction also assigns 20% likelihood to the opposite case, and so if the prediction proves false, it would receive a score based on the 20%: ln(0.2) = −1.6. The goal of a forecaster is to maximize the score and for the score to be as large as possible, and −0.22 is indeed larger than −1.6.

If one treats the truth or falsity of the prediction as a variable x with value 1 or 0 respectively, and the expressed probability as p, then one can write the logarithmic scoring rule as x ln(p) + (1 − x) ln(1 − p). Note that any logarithmic base may be used, since strictly proper scoring rules remain strictly proper under linear transformation. That is:

L ( r , i ) = log b ( r i ) {\displaystyle L(\mathbf {r} ,i)=\log _{b}(r_{i})}

is strictly proper for all b > 1 {\displaystyle b>1} .

Brier/Quadratic score

The quadratic scoring rule is a strictly proper scoring rule

Q ( r , i ) = 2 r i r r = 2 r i j = 1 C r j 2 {\displaystyle Q(\mathbf {r} ,i)=2r_{i}-\mathbf {r} \cdot \mathbf {r} =2r_{i}-\sum _{j=1}^{C}r_{j}^{2}}

where r i {\displaystyle r_{i}} is the probability assigned to the correct answer and C {\displaystyle C} is the number of classes.

The Brier score, originally proposed by Glenn W. Brier in 1950, can be obtained by an affine transform from the quadratic scoring rule.

B ( r , i ) = j = 1 C ( y j r j ) 2 {\displaystyle B(\mathbf {r} ,i)=\sum _{j=1}^{C}(y_{j}-r_{j})^{2}}

Where y j = 1 {\displaystyle y_{j}=1} when the j {\displaystyle j} th event is correct and y j = 0 {\displaystyle y_{j}=0} otherwise and C {\displaystyle C} is the number of classes.

An important difference between these two rules is that a forecaster should strive to maximize the quadratic score Q {\displaystyle Q} yet minimize the Brier score B {\displaystyle B} . This is due to a negative sign in the linear transformation between them.

Hyvärinen scoring rule

The Hyvärinen scoring function (of a density p) is defined by

s ( p ) = 2 Δ y log p ( y ) + y log p ( y ) 2 2 {\displaystyle s(p)=2\Delta _{y}\log p(y)+\|\nabla _{y}\log p(y)\|_{2}^{2}}

Where Δ {\displaystyle \Delta } denotes the Hessian trace and {\displaystyle \nabla } denotes the gradient. This scoring rule can be used to computationally simplify parameter inference and address Bayesian model comparison with arbitrarily-vague priors. It was also used to introduce new information-theoretic quantities beyond the existing information theory.

Spherical score

The spherical scoring rule is also a strictly proper scoring rule

S ( r , i ) = r i r = r i r 1 2 + + r C 2 {\displaystyle S(\mathbf {r} ,i)={\frac {r_{i}}{\lVert \mathbf {r} \rVert }}={\frac {r_{i}}{\sqrt {r_{1}^{2}+\cdots +r_{C}^{2}}}}}

Ranked Probability Score

The ranked probability score (RPS) is a strictly proper scoring rule, that can be expressed as:

R P S ( r , i ) = k = 1 C 1 ( j = 1 k r j y j ) 2 {\displaystyle RPS(\mathbf {r} ,i)=\sum _{k=1}^{C-1}\left(\sum _{j=1}^{k}r_{j}-y_{j}\right)^{2}}

Where y j = 1 {\displaystyle y_{j}=1} when the j {\displaystyle j} th event is correct and y j = 0 {\displaystyle y_{j}=0} otherwise, and C {\displaystyle C} is the number of classes. Other than other scoring rules, the ranked probability score considers the distance between classes, i.e. classes 1 and 2 are considered closer than classes 1 and 3. The score assigns better scores to probabilistic forecasts with high probabilities assigned to classes close to the correct class. For example, when considering probabilistic forecasts r 1 = ( 0.5 , 0.5 , 0 ) {\displaystyle \mathbf {r} _{1}=(0.5,0.5,0)} and r 2 = ( 0.5 , 0 , 0.5 ) {\displaystyle \mathbf {r} _{2}=(0.5,0,0.5)} , we find that R P S ( r 1 , 1 ) = 0.25 {\displaystyle RPS(\mathbf {r} _{1},1)=0.25} , while R P S ( r 2 , 1 ) = 0.5 {\displaystyle RPS(\mathbf {r} _{2},1)=0.5} , despite both probabilistic forecasts assigning identical probability to the correct class.

Comparison of categorical strictly proper scoring rules

Shown below on the left is a graphical comparison of the Logarithmic, Quadratic, and Spherical scoring rules for a binary classification problem. The x-axis indicates the reported probability for the event that actually occurred.

It is important to note that each of the scores have different magnitudes and locations. The magnitude differences are not relevant however as scores remain proper under affine transformation. Therefore, to compare different scores it is necessary to move them to a common scale. A reasonable choice of normalization is shown at the picture on the right where all scores intersect the points (0.5,0) and (1,1). This ensures that they yield 0 for a uniform distribution (two probabilities of 0.5 each), reflecting no cost or reward for reporting what is often the baseline distribution. All normalized scores below also yield 1 when the true class is assigned a probability of 1.

Score of a binary classification for the true class showing logarithmic (blue), spherical (green), and quadratic (red)
Normalized score of a binary classification for the true class showing logarithmic (blue), spherical (green), and quadratic (red)

Univariate continuous variables

The scoring rules listed below aim to evaluate probabilistic predictions when the predicted distributions are univariate continuous probability distribution's, i.e. the predicted distributions are defined over a univariate target variable X R {\displaystyle X\in \mathbb {R} } and have a probability density function f : R R + {\displaystyle f:\mathbb {R} \to \mathbb {R} _{+}} .

Logarithmic score for continuous variables

The logarithmic score is a local strictly proper scoring rule. It is defined as

L ( D , y ) = ln ( f D ( y ) ) {\displaystyle L(D,y)=-\ln(f_{D}(y))}

where f D {\displaystyle f_{D}} denotes the probability density function of the predicted distribution D {\displaystyle D} . It is a local, strictly proper scoring rule. The logarithmic score for continuous variables has strong ties to Maximum likelihood estimation. However, in many applications, the continuous ranked probability score is often preferred over the logarithmic score, as the logarithmic score can be heavily influenced by slight deviations in the tail densities of forecasted distributions.

Continuous ranked probability score

Illustration of the continuous ranked probability score (CRPS). Given a sample y and a predicted cumulative distribution F, the CRPS is given by computing the difference between the curves at each point x of the support, squaring it and integrating it over the whole support.

The continuous ranked probability score (CRPS) is a strictly proper scoring rule much used in meteorology. It is defined as

C R P S ( D , y ) = R ( F D ( x ) H ( x y ) ) 2 d x {\displaystyle CRPS(D,y)=\int _{\mathbb {R} }(F_{D}(x)-H(x-y))^{2}dx}

where F D {\displaystyle F_{D}} is the cumulative distribution function of the forecasted distribution D {\displaystyle D} , H {\displaystyle H} is the Heaviside step function and y R {\displaystyle y\in \mathbb {R} } is the observation. For distributions with finite first moment, the continuous ranked probability score can be written as:

C R P S ( D , y ) = E X D [ | X y | ] 1 2 E X , X D [ | X X | ] {\displaystyle CRPS(D,y)=\mathbb {E} _{X\sim D}-{\frac {1}{2}}\mathbb {E} _{X,X'\sim D}}

where X {\displaystyle X} and X {\displaystyle X'} are independent random variables, sampled from the distribution D {\displaystyle D} . Furthermore, when the cumulative probability function F {\displaystyle F} is continuous, the continuous ranked probability score can also be written as

C R P S ( D , y ) = E X D [ | X y | ] + E X D [ X ] 2 E X D [ X F D ( X ) ] {\displaystyle CRPS(D,y)=\mathbb {E} _{X\sim D}+\mathbb {E} _{X\sim D}-2\mathbb {E} _{X\sim D}}

The continuous ranked probability score can be seen as both an continuous extension of the ranked probability score, as well as quantile regression. The continuous ranked probability score over the empirical distribution D ^ q {\displaystyle {\hat {D}}_{q}} of an ordered set points q 1 q n {\displaystyle q_{1}\leq \ldots \leq q_{n}} (i.e. every point has 1 / n {\displaystyle 1/n} probability of occurring), is equal to twice the mean quantile loss applied on those points with evenly spread quantiles ( τ 1 , , τ n ) = ( 1 / ( 2 n ) , , ( 2 n 1 ) / ( 2 n ) ) {\displaystyle (\tau _{1},\ldots ,\tau _{n})=(1/(2n),\ldots ,(2n-1)/(2n))} :

C R P S ( D ^ q , y ) = 2 n i = 1 n τ i ( y q i ) + + ( 1 τ i ) ( q i y ) + {\displaystyle CRPS\left({\hat {D}}_{q},y\right)={\frac {2}{n}}\sum _{i=1}^{n}\tau _{i}(y-q_{i})_{+}+(1-\tau _{i})(q_{i}-y)_{+}}

For many popular families of distributions, closed-form expressions for the continuous ranked probability score have been derived. The continuous ranked probability score has been used as a loss function for artificial neural networks, in which weather forecasts are postprocessed to a Gaussian probability distribution.

CRPS was also adapted to survival analysis to cover censored events.

Multivariate continuous variables

The scoring rules listed below aim to evaluate probabilistic predictions when the predicted distributions are univariate continuous probability distribution's, i.e. the predicted distributions are defined over a multivariate target variable X R n {\displaystyle X\in \mathbb {R} ^{n}} and have a probability density function f : R n R + {\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} _{+}} .

Multivariate logarithmic score

The multivariate logarithmic score is similar to the univariate logarithmic score:

L ( D , y ) = ln ( f D ( y ) ) {\displaystyle L(D,y)=-\ln(f_{D}(y))}

where f D {\displaystyle f_{D}} denotes the probability density function of the predicted multivariate distribution D {\displaystyle D} . It is a local, strictly proper scoring rule.

Energy score

The energy score is a multivariate extension of the continuous ranked probability score:

E S β ( D , Y ) = E X D [ X Y 2 β ] 1 2 E X , X D [ X X 2 β ] {\displaystyle ES_{\beta }(D,Y)=\mathbb {E} _{X\sim D}-{\frac {1}{2}}\mathbb {E} _{X,X'\sim D}}

Here, β ( 0 , 2 ) {\displaystyle \beta \in (0,2)} , 2 {\displaystyle \lVert \rVert _{2}} denotes the n {\displaystyle n} -dimensional Euclidean distance and X , X {\displaystyle X,X'} are independently sampled random variables from the probability distribution D {\displaystyle D} . The energy score is strictly proper for distributions D {\displaystyle D} for which E X D [ X 2 ] {\displaystyle \mathbb {E} _{X\sim D}} is finite. It has been suggested that the energy score is somewhat ineffective when evaluating the intervariable dependency structure of the forecasted multivariate distribution. The energy score is equal to twice the energy distance between the predicted distribution and the empirical distribution of the observation.

Variogram score

The variogram score of order p {\displaystyle p} is given by:

V S p ( D , Y ) = i , j = 1 n w i j ( | Y i Y j | p E X D [ | X i X j | p ] ) 2 {\displaystyle VS_{p}(D,Y)=\sum _{i,j=1}^{n}w_{ij}(|Y_{i}-Y_{j}|^{p}-\mathbb {E} _{X\sim D})^{2}}

Here, w i j {\displaystyle w_{ij}} are weights, often set to 1, and p > 0 {\displaystyle p>0} can be arbitrarily chosen, but p = 0.5 , 1 {\displaystyle p=0.5,1} or 2 {\displaystyle 2} are often used. X i {\displaystyle X_{i}} is here to denote the i {\displaystyle i} 'th marginal random variable of X {\displaystyle X} . The variogram score is proper for distributions for which the ( 2 p ) {\displaystyle (2p)} 'th moment is finite for all components, but is never strictly proper. Compared to the energy score, the variogram score is claimed to be more discriminative with respect to the predicted correlation structure.

Conditional continuous ranked probability score

The conditional continuous ranked probability score (Conditional CRPS or CCRPS) is a family of (strictly) proper scoring rules. Conditional CRPS evaluates a forecasted multivariate distribution D {\displaystyle D} by evaluation of CRPS over a prescribed set of univariate conditional probability distributions of the predicted multivariate distribution:

C C R P S T ( D , Y ) = i = 1 k C R P S ( P X D ( X v i | X j = Y j  for  j C i ) , Y v i ) {\displaystyle CCRPS_{\mathcal {T}}(D,Y)=\sum _{i=1}^{k}CRPS(P_{X\sim D}(X_{v_{i}}|X_{j}=Y_{j}{\text{ for }}j\in {\mathcal {C}}_{i}),Y_{v_{i}})}

Here, X i {\displaystyle X_{i}} is the i {\displaystyle i} 'th marginal variable of X D {\displaystyle X\sim D} , T = ( v i , C i ) i = 1 k {\displaystyle {\mathcal {T}}=(v_{i},{\mathcal {C}}_{i})_{i=1}^{k}} is a set of tuples that defines a conditional specification (with v i { 1 , , n } {\displaystyle v_{i}\in \{1,\ldots ,n\}} and C i { 1 , , n } { v i } {\displaystyle {\mathcal {C}}_{i}\subseteq \{1,\ldots ,n\}\setminus \{v_{i}\}} ), and P X D ( X v i | X j = Y j  for  j C i ) {\displaystyle P_{X\sim D}(X_{v_{i}}|X_{j}=Y_{j}{\text{ for }}j\in {\mathcal {C}}_{i})} denotes the conditional probability distribution for X v i {\displaystyle X_{v_{i}}} given that all variables X j {\displaystyle X_{j}} for j C i {\displaystyle j\in {\mathcal {C}}_{i}} are equal to their respective observations. In the case that P X D ( X v i | X j = Y j  for  j C i ) {\displaystyle P_{X\sim D}(X_{v_{i}}|X_{j}=Y_{j}{\text{ for }}j\in {\mathcal {C}}_{i})} is ill-defined (i.e. its conditional event has zero likelihood), CRPS scores over this distribution are defined as infinite. Conditional CRPS is strictly proper for distributions with finite first moment, if the chain rule is included in the conditional specification, meaning that there exists a permutation ϕ 1 , , ϕ n {\displaystyle \phi _{1},\ldots ,\phi _{n}} of 1 , , n {\displaystyle 1,\ldots ,n} such that for all 1 i n {\displaystyle 1\leq i\leq n} : ( ϕ i , { ϕ 1 , , ϕ i 1 } ) T {\displaystyle (\phi _{i},\{\phi _{1},\ldots ,\phi _{i-1}\})\in {\mathcal {T}}} .

Interpretation of proper scoring rules

All proper scoring rules are equal to weighted sums (integral with a non-negative weighting functional) of the losses in a set of simple two-alternative decision problems that use the probabilistic prediction, each such decision problem having a particular combination of associated cost parameters for false positive and false negative decisions. A strictly proper scoring rule corresponds to having a nonzero weighting for all possible decision thresholds. Any given proper scoring rule is equal to the expected losses with respect to a particular probability distribution over the decision thresholds; thus the choice of a scoring rule corresponds to an assumption about the probability distribution of decision problems for which the predicted probabilities will ultimately be employed, with for example the quadratic loss (or Brier) scoring rule corresponding to a uniform probability of the decision threshold being anywhere between zero and one. The classification accuracy score (percent classified correctly), a single-threshold scoring rule which is zero or one depending on whether the predicted probability is on the appropriate side of 0.5, is a proper scoring rule but not a strictly proper scoring rule because it is optimized (in expectation) not only by predicting the true probability but by predicting any probability on the same side of 0.5 as the true probability.

Characteristics

Affine transformation

A strictly proper scoring rule, whether binary or multiclass, after an affine transformation remains a strictly proper scoring rule. That is, if S ( r , i ) {\displaystyle S(\mathbf {r} ,i)} is a strictly proper scoring rule then a + b S ( r , i ) {\displaystyle a+bS(\mathbf {r} ,i)} with b 0 {\displaystyle b\neq 0} is also a strictly proper scoring rule, though if b < 0 {\displaystyle b<0} then the optimization sense of the scoring rule switches between maximization and minimization.

Locality

A proper scoring rule is said to be local if its estimate for the probability of a specific event depends only on the probability of that event. This statement is vague in most descriptions but we can, in most cases, think of this as the optimal solution of the scoring problem "at a specific event" is invariant to all changes in the observation distribution that leave the probability of that event unchanged. All binary scores are local because the probability assigned to the event that did not occur is determined so there is no degree of flexibility to vary over.

Affine functions of the logarithmic scoring rule are the only strictly proper local scoring rules on a finite set that is not binary.

Decomposition

The expectation value of a proper scoring rule S {\displaystyle S} can be decomposed into the sum of three components, called uncertainty, reliability, and resolution, which characterize different attributes of probabilistic forecasts:

E ( S ) = U N C + R E L R E S . {\displaystyle E(S)=\mathrm {UNC} +\mathrm {REL} -\mathrm {RES} .}

If a score is proper and negatively oriented (such as the Brier Score), all three terms are positive definite. The uncertainty component is equal to the expected score of the forecast which constantly predicts the average event frequency. The reliability component penalizes poorly calibrated forecasts, in which the predicted probabilities do not coincide with the event frequencies.

The equations for the individual components depend on the particular scoring rule. For the Brier Score, they are given by

U N C = x ¯ ( 1 x ¯ ) {\displaystyle \mathrm {UNC} ={\bar {x}}(1-{\bar {x}})}
R E L = E ( p π ( p ) ) 2 {\displaystyle \mathrm {REL} =E(p-\pi (p))^{2}}
R E S = E ( π ( p ) x ¯ ) 2 {\displaystyle \mathrm {RES} =E(\pi (p)-{\bar {x}})^{2}}

where x ¯ {\displaystyle {\bar {x}}} is the average probability of occurrence of the binary event x {\displaystyle x} , and π ( p ) {\displaystyle \pi (p)} is the conditional event probability, given p {\displaystyle p} , i.e. π ( p ) = P ( x = 1 p ) {\displaystyle \pi (p)=P(x=1\mid p)}

See also

Literature

References

  1. ^ Gneiting, Tilmann; Raftery, Adrian E. (2007). "Strictly Proper Scoring Rules, Prediction, and Estimation" (PDF). Journal of the American Statistical Association. 102 (447): 359–378. doi:10.1198/016214506000001437. S2CID 1878582.
  2. Gneiting, Tilmann (2011). "Making and Evaluating Point Forecasts". Journal of the American Statistical Association. 106 (494): 746–762. arXiv:0912.0902. doi:10.1198/jasa.2011.r10138. S2CID 88518170.
  3. ^ Bickel, E.J. (2007). "Some Comparisons among Quadratic, Spherical, and Logarithmic Scoring Rules" (PDF). Decision Analysis. 4 (2): 49–65. doi:10.1287/deca.1070.0089.
  4. Brier, G.W. (1950). "Verification of forecasts expressed in terms of probability" (PDF). Monthly Weather Review. 78 (1): 1–3. Bibcode:1950MWRv...78....1B. doi:10.1175/1520-0493(1950)078<0001:VOFEIT>2.0.CO;2.
  5. ^ Hyvärinen, Aapo (2005). "Estimation of Non-Normalized Statistical Models by Score Matching". Journal of Machine Learning Research. 6 (24): 695–709. ISSN 1533-7928.
  6. Shao, Stephane; Jacob, Pierre E.; Ding, Jie; Tarokh, Vahid (2019-10-02). "Bayesian Model Comparison with the Hyvärinen Score: Computation and Consistency". Journal of the American Statistical Association. 114 (528): 1826–1837. arXiv:1711.00136. doi:10.1080/01621459.2018.1518237. ISSN 0162-1459. S2CID 52264864.
  7. Ding, Jie; Calderbank, Robert; Tarokh, Vahid (2019). "Gradient Information for Representation and Modeling". Advances in Neural Information Processing Systems. 32: 2396–2405.
  8. Epstein, Edward S. (1969-12-01). "A Scoring System for Probability Forecasts of Ranked Categories". Journal of Applied Meteorology and Climatology. 8 (6). American Meteorological Society: 985–987. doi:10.1175/1520-0450(1969)008<0985:ASSFPF>2.0.CO;2. Retrieved 2024-05-02.
  9. Bjerregård, Mathias Blicher; Møller, Jan Kloppenborg; Madsen, Henrik (2021). "An introduction to multivariate probabilistic forecast evaluation". Energy and AI. 4. Elsevier BV: 100058. doi:10.1016/j.egyai.2021.100058. ISSN 2666-5468.
  10. Zamo, Michaël; Naveau, Philippe (2018-02-01). "Estimation of the Continuous Ranked Probability Score with Limited Information and Applications to Ensemble Weather Forecasts". Mathematical Geosciences. 50 (2): 209–234. doi:10.1007/s11004-017-9709-7. ISSN 1874-8953. S2CID 125989069.
  11. Taillardat, Maxime; Mestre, Olivier; Zamo, Michaël; Naveau, Philippe (2016-06-01). "Calibrated Ensemble Forecasts Using Quantile Regression Forests and Ensemble Model Output Statistics" (PDF). Monthly Weather Review. 144 (6). American Meteorological Society: 2375–2393. doi:10.1175/mwr-d-15-0260.1. ISSN 0027-0644.
  12. Bröcker, Jochen (2012). "Evaluating raw ensembles with the continuous ranked probability score". Quarterly Journal of the Royal Meteorological Society. 138 (667): 1611–1617. doi:10.1002/qj.1891. ISSN 0035-9009.
  13. Rasp, Stephan; Lerch, Sebastian (2018-10-31). "Neural Networks for Postprocessing Ensemble Weather Forecasts". Monthly Weather Review. 146 (11). American Meteorological Society: 3885–3900. arXiv:1805.09091. doi:10.1175/mwr-d-18-0187.1. ISSN 0027-0644.
  14. Grönquist, Peter; Yao, Chengyuan; Ben-Nun, Tal; Dryden, Nikoli; Dueben, Peter; Li, Shigang; Hoefler, Torsten (2021-04-05). "Deep learning for post-processing ensemble weather forecasts". Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences. 379 (2194): 20200092. arXiv:2005.08748. doi:10.1098/rsta.2020.0092. ISSN 1364-503X. PMID 33583263.
  15. Countdown Regression: Sharp and Calibrated Survival Predictions, https://arxiv.org/abs/1806.08324
  16. Pinson, Pierre; Tastu, Julija (2013). "Discrimination ability of the Energy score". Technical University of Denmark. Retrieved 2024-05-11.
  17. Scheuerer, Michael; Hamill, Thomas M. (2015-03-31). "Variogram-Based Proper Scoring Rules for Probabilistic Forecasts of Multivariate Quantities*". Monthly Weather Review. 143 (4). American Meteorological Society: 1321–1334. doi:10.1175/mwr-d-14-00269.1. ISSN 0027-0644.
  18. Roordink, Daan; Hess, Sibylle (2023). "Scoring Rule Nets: Beyond Mean Target Prediction in Multivariate Regression". Machine Learning and Knowledge Discovery in Databases: Research Track. Vol. 14170. Cham: Springer Nature Switzerland. p. 190–205. doi:10.1007/978-3-031-43415-0_12. ISBN 978-3-031-43414-3.
  19. Leonard J. Savage. Elicitation of personal probabilities and expectations. J. of the American Stat. Assoc., 66(336):783–801, 1971.
  20. Schervish, Mark J. (1989). "A General Method for Comparing Probability Assessors", Annals of Statistics 17(4) 1856–1879, https://projecteuclid.org/euclid.aos/1176347398
  21. Rosen, David B. (1996). "How good were those probability predictions? The expected recommendation loss (ERL) scoring rule". In Heidbreder, G. (ed.). Maximum Entropy and Bayesian Methods (Proceedings of the Thirteenth International Workshop, August 1993). Kluwer, Dordrecht, The Netherlands. CiteSeerX 10.1.1.52.1557.
  22. Roulston, M. S., & Smith, L. A. (2002). Evaluating probabilistic forecasts using information theory. Monthly Weather Review, 130, 1653–1660. See APPENDIX "Skill Scores and Cost–Loss".
  23. "Loss Functions for Binary Class Probability Estimation and Classification: Structure and Applications", Andreas Buja, Werner Stuetzle, Yi Shen (2005) http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.184.5203
  24. Hernandez-Orallo, Jose; Flach, Peter; and Ferri, Cesar (2012). "A Unified View of Performance Metrics: Translating Threshold Choice into Expected Classification Loss." Journal of Machine Learning Research 13 2813–2869. http://www.jmlr.org/papers/volume13/hernandez-orallo12a/hernandez-orallo12a.pdf
  25. Murphy, A.H. (1973). "A new vector partition of the probability score". Journal of Applied Meteorology. 12 (4): 595–600. Bibcode:1973JApMe..12..595M. doi:10.1175/1520-0450(1973)012<0595:ANVPOT>2.0.CO;2.
  26. Bröcker, J. (2009). "Reliability, sufficiency, and the decomposition of proper scores" (PDF). Quarterly Journal of the Royal Meteorological Society. 135 (643): 1512–1519. arXiv:0806.0813. Bibcode:2009QJRMS.135.1512B. doi:10.1002/qj.456. S2CID 15880012.

External links

Categories: