Log score

From Forecasting Wiki
Illustration of the log score as the logarithm of the predictive density evaluated at the observed value.
Illustration of the log score as the logarithm of the predictive density evaluated at the observed value.

The Log score[1] (sometimes called surprisal) is a strictly proper scoring rule used to evaluate how good forecasts were. A forecaster scored by the log score will, in expectation, obtain the best score by providing a predictive distribution that is equal to the data-generating distribution. The log score therefore incentivizes forecasters to report their true belief about the future.

All Metaculus scores are types of log score[2].

It was first proposed by I. J. Good in 1952 to evaluate binary forecasts. The score is commonly to score predictions and evaluate how good a distribution captures the observed data, for example in Bayesian statistics. For non-binary questions and up to affine transformations, the log score is the only[3] strictly proper local scoring rule, meaning that the score depends only on the probability (or probability density) assigned to the actually observed outcome, rather than on the entire predictive distribution.

Definition[edit]

The log score is usually computed as the negative logarithm of the predictive density evaluated at the observed value <math>y</math>, i.e. <math>\text{log score}(y) = -\log f(y)</math>, where <math>f()</math> is the predictive probability density function. Usually the natural logarithm is used, but the log score remains strictly proper for any base <math>> 1</math> used for the logarithm.

In the formulation presented above, the score is negatively oriented, meaning that smaller values are better. Sometimes the sign of the log score is inversed and it is simply given as the log predictive density. If this is the case, then larger values are better.


The log score is applicable to binary outcomes as well as discrete or continuous outcomes. In the case of binary outcomes, the formula above simplifies to

<math>\text{log score}(y) = -\log P(y)</math>,

where <math>P(y)</math> is the probability assigned to the binary outcome <math>y</math>. If a forecaster for example assigned 70% probability that team A would win a soccer match, then the resulting log score would be <math>-\log 0.7 \approx 0.36 </math> if team A wins and <math>-\log 0.3 \approx 1.20 </math> if team A loses.

Locality[edit]

Illustration of the difference between local and global scoring rules.
Illustration of the difference between local and global scoring rules. Forecaster A and B both predicted the number of goals in a soccer match and assigned the same probability to the outcome that was later observed and therefore receive the same log score. Forecaster B, however, assigned significant probability to outcomes far away from the observed outcome and therefore receives worse scores for the global scoring rules CRPS and DSS.

The log score is a local scoring rule, meaning that the score only depends on the probability (or probability density) assigned to the actually observed values. The score therefore does not depend on the probability (or probability density) assigned to values not observed. This is in contrast to so called global proper scoring rules, which take the entire predictive distribution into account.

Penalization of Over- and Underconfidence[edit]

The log score penalizes overconfidence (i.e. a forecast that is too certain) stronger than underconfidence[4]. While all proper scoring rules should incentivize the forecaster to predict their accurate true belief, forecasters may feel enticed to err on the side of caution when scored using the log score.

References[edit]


<comments />