Skip to main content
QUICK REVIEW

[Paper Review] Model Comparison and Calibration Assessment: User Guide for Consistent Scoring Functions in Machine Learning and Actuarial Practice

Tobias Fissler, Christian Lorentzen|arXiv (Cornell University)|Feb 25, 2022
Big Data and Business IntelligenceBusiness, Management and Accounting9 citations
TL;DR

This user guide presents a rigorous framework for model comparison and calibration assessment in machine learning and actuarial science using strictly consistent scoring functions and strict identification functions tailored to a pre-specified prediction target functional—such as the mean or quantile. It demonstrates through real-world case studies that strictly consistent scoring functions, like log loss, simultaneously evaluate calibration and discrimination, with logistic regression outperforming tree-based models in out-of-sample predictive accuracy despite overfitting in random forests.

ABSTRACT

One of the main tasks of actuaries and data scientists is to build good predictive models for certain phenomena such as the claim size or the number of claims in insurance. These models ideally exploit given feature information to enhance the accuracy of prediction. This user guide revisits and clarifies statistical techniques to assess the calibration or adequacy of a model on the one hand, and to compare and rank different models on the other hand. In doing so, it emphasises the importance of specifying the prediction target functional at hand a priori (e.g. the mean or a quantile) and of choosing the scoring function in model comparison in line with this target functional. Guidance for the practical choice of the scoring function is provided. Striving to bridge the gap between science and daily practice in application, it focuses mainly on the pedagogical presentation of existing results and of best practice. The results are accompanied and illustrated by two real data case studies on workers' compensation and customer churn.

Motivation & Objective

  • To establish a principled methodology for assessing model calibration and comparing predictive performance in machine learning and actuarial applications.
  • To emphasize the necessity of aligning scoring and identification functions with the target statistical functional (e.g., mean, quantile) a priori.
  • To bridge the gap between theoretical statistical methodology and practical implementation in data science and actuarial practice.
  • To provide actionable guidance on selecting appropriate scoring functions and evaluating models using independent test data.
  • To illustrate the impact of model overfitting and the importance of train–test data splits through empirical case studies.

Proposed method

  • The paper proposes using strictly consistent scoring functions—such as the logarithmic score (log loss) and Bregman divergences—for model comparison, ensuring that optimal predictions correspond to the true conditional functional.
  • It employs strict identification functions (e.g., moment functions) to assess calibration by testing whether predictions are unbiased relative to the true functional.
  • The methodology is applied to two real-world datasets: workers’ compensation claims and customer churn, using regression and binary classification tasks.
  • The authors use train–test data splits to evaluate out-of-sample performance, avoiding overfitting bias in model selection.
  • Murphy diagrams are used to visualize the performance of models across a range of consistent scoring functions, enabling robust comparison beyond single metrics.
  • The study includes a decomposition of log loss into discrimination and miscalibration components to explain ranking consistency across metrics.

Experimental results

Research questions

  • RQ1How can model calibration be rigorously assessed when the prediction target is a statistical functional such as the mean or a quantile?
  • RQ2What criteria should guide the selection of a scoring function for model comparison, and how must it align with the target functional?
  • RQ3To what extent do strictly consistent scoring functions simultaneously evaluate both calibration and discrimination in predictive models?
  • RQ4How do different models (e.g., logistic regression, random forest, XGBoost) perform in terms of out-of-sample predictive accuracy when evaluated with consistent scoring functions?
  • RQ5Can AUC rankings be trusted to reflect true predictive performance, or do they diverge from results obtained with strictly consistent scoring functions?

Key findings

  • Logistic regression achieved the best out-of-sample predictive performance among all models, with the lowest mean log loss on the test set, despite not being optimized with interaction terms or polynomial features.
  • Random forests exhibited strong in-sample performance but significant overfitting, as evidenced by a sharp increase in mean log loss on the test set compared to training data.
  • XGBoost performed slightly better than random forests on the test set, but still worse than logistic regression, indicating that tree-based models may not generalize well on small datasets.
  • The AUC and log loss rankings were coincidentally identical, but this alignment was explained by the dominance of discrimination components over miscalibration in the log loss decomposition.
  • Murphy diagrams visually confirmed that logistic regression had the most consistent performance across a wide range of consistent scoring functions, though differences were small.
  • The study confirmed that strictly consistent scoring functions—especially log loss—are preferred over AUC for model comparison, as they are theoretically grounded and jointly assess calibration and discrimination.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.