Hostname: page-component-76d6cb85b7-xh428 Total loading time: 0 Render date: 2026-07-14T14:06:40.471Z Has data issue: false hasContentIssue false

Black-box guided generalised linear model building with non-life pricing applications

Published online by Cambridge University Press:  04 December 2024

Mathias Lindholm*
Affiliation:
Department of Mathematics, Stockholm University, Sweden
Johan Palmquist
Affiliation:
Länsförsäkringar Alliance, Stockholm, Sweden Department of Computer Science, KTH Royal Institute of Technology, Stockholm, Sweden
*
Corresponding author: Mathias Lindholm; Email: lindholm@math.su.se
Rights & Permissions [Opens in a new window]

Abstract

The paper introduces a method for creating a categorical generalized linear model (GLM) based on information extracted from a given black-box predictor. The procedure for creating the guided GLM is as follows: For each covariate, including interactions, a covariate partition is created using partial dependence functions calculated based on the given black-box predictor. In order to enhance the predictive performance, an auto-calibration step is used to determine which parts of each covariate partition should be kept, and which parts should be merged. Given the covariate and interaction partitions, a standard categorical GLM is fitted using a lasso penalty. The performance of the proposed method is illustrated using a number of real insurance data sets where gradient boosting machine (GBM) models are used as black-box reference models. From these examples, it is seen that the predictive performance of the guided GLMs is very close to that of the corresponding reference GBMs. Further, in the examples, the guided GLMs have few parameters, making the resulting models easy to interpret. In the numerical illustrations techniques are used to, e.g., identify important interactions both locally and globally, which is essential when, e.g., constructing a tariff.

Information

Type
Original Research Paper
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (http://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided that no alterations are made and the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use and/or adaptation of the article.
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of Institute and Faculty of Actuaries
Figure 0

Algorithm 1 – Guided GLM

Figure 1

Figure 1 Comparison of model factor effects (partial dependence-function plots) for the freMTPL data between initial gradient boosting machine model (black lines), guided categorical generalized linear model including final lasso ($L^1$) step (red lines), and a model including all levels found by the tree-calibration (blue lines).

Figure 2

Table 1. Summary statistics for the different data sets, where $\Delta D_{\mathrm{Pois}}$ is defined in (22), and where fidelity refers to the correlation between the gradient boosting machine predictor and the corresponding candidate categorical generalized linear model (GLM) – the guided GLM or maidrr from Henckaerts et al. (2022). The number of parameters refers to the guided GLM

Figure 3

Figure 2 Concentration curves for different CASDatasets data comparing the original gradient boosting machine models (red lines) and the corresponding guided categorical generalized linear model (blue lines).

Figure 4

Figure 3 Variable importance plots for the final guided generalized linear model with lasso based on different CASDatasets data.

Figure 5

Figure 4 Covariate contributions to the categorical generalized linear models (GLMs) mean predictor for different CASDatasets. From left to right: covariate contributions corresponding to the 25%, 50%, and 75% percentile of the empirical distribution of $(\widehat \mu (x_i))_i$ from the guided categorical GLM; each point corresponds to $\exp \{\widehat \beta _j\}$ for the particular covariate value/interaction term value. Note that interactions are represented without displaying a specific value on the $y$-axes.

Figure 6

Figure 5 Scatter plots for different CASDatasets data on log-scale, comparing the original gradient boosting machine models ($y$-axes) and the corresponding guided categorical generalized linear models ($x$-axes) predictions. Fidelity corresponds to the correlation between the two predictors.