Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T09:43:01.997Z Has data issue: false hasContentIssue false

Expressive mortality models through Gaussian process kernels

Published online by Cambridge University Press:  15 February 2024

Jimmy Risk*
Affiliation:
Mathematics & Statistics, Cal Poly Pomona, Pomona, CA 91676, USA
Mike Ludkovski
Affiliation:
Statistics & Applied Probability, University of California, Santa Barbara, CA 93106-3110, USA
*
Corresponding author: Jimmy Risk; Email: jrisk@cpp.edu
Rights & Permissions [Opens in a new window]

Abstract

We develop a flexible Gaussian process (GP) framework for learning the covariance structure of Age- and Year-specific mortality surfaces. Utilizing the additive and multiplicative structure of GP kernels, we design a genetic programming algorithm to search for the most expressive kernel for a given population. Our compositional search builds off the Age–Period–Cohort (APC) paradigm to construct a covariance prior best matching the spatio-temporal dynamics of a mortality dataset. We apply the resulting genetic algorithm (GA) on synthetic case studies to validate the ability of the GA to recover APC structure and on real-life national-level datasets from the Human Mortality Database. Our machine learning-based analysis provides novel insight into the presence/absence of Cohort effects in different populations and into the relative smoothness of mortality surfaces along the Age and Year dimensions. Our modeling work is done with the PyTorch libraries in Python and provides an in-depth investigation of employing GA to aid in compositional kernel search for GP surrogates.

Information

Type
Research Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of The International Actuarial Association
Figure 0

Table 1. List of kernel families used in compositional search. $C^p$ indicates that the GP sample paths $x \mapsto f(x)$ have p continuous derivatives; $C^0$ is continuous but not differentiable. Column $\mathcal{K}_r$ denotes whether the kernel family is in the restricted search set. The linear kernel is used for its year component only.

Figure 1

Figure 1. Representative compositional kernels and GA operations. Bolded red ellipses indicate the node of $\kappa$ (or $\xi$) that was chosen for mutation or crossover.

Figure 2

Table 2. High level Genetic algorithm parameters and description. Note that $G \cdot n_g = 4000$ is the total number of trained GP models in a single run of the GA.

Figure 3

Table 3. Operator specific GA parameters with description. Note that $p_c + p_s + p_h + p_p + p_r + p_0 = 1$.

Figure 4

Algorithm 1: Genetic Algorithm for compositional kernel selection

Figure 5

Table 4. Description of synthetic datasets. Data are generated as multivariate normal realizations according to the Equations in (2.4), with parametric mean function $m(\textbf{x}) = \beta_0 + \beta_{ag} x_{ag}$. SYA and SYB are homoskedastic. In generating SYC’s heteroskedastic noise, $D_\textbf{x}$ comes from the JPN Female data, see Section 5 for details regarding this dataset.

Figure 6

Table 5. Top five fittest non-duplicate kernels for the first synthetic case study SYA. Bolded is $K_0 = \textrm{RBF}_y \textrm{RBF}_a$, the true kernel used in data generation. SYA-1 and -2 denote the realization trained on.

Figure 7

Table 6. Logarithmic Bayes Factor $\log\widehat{BF}(k, K_0) = \textrm{BIC}(K_0) - \textrm{BIC}(k)$ for $K_0 = \textrm{RBF}_a \textrm{RBF}_y$ and $k = k_a k_y$, where $k_a$ and $k_y$ are in the respective row and column labels and $\textrm{BIC}(K_0)$ is evaluated over SYA-1 (left panel) and SYA-2 (right panel).

Figure 8

Table 7. Top five fittest non-duplicate kernels for the second synthetic case study SYB. Bolded is the true kernel used in data generation $K_0 = 0.08 \cdot \textrm{RBF}_a({19.3}) \cdot M12_y({386.6}) + 0.02 \cdot M52_c({4.98})$, with $\sigma^2 = 4 \times 10^{-4}, \beta_0 = {-9.942}, \beta_1 = {0.0875}$.

Figure 9

Table 8. Fittest non-duplicate kernels for SYC in two separate runs, one over $\mathcal{K}_r$ and the other over $\mathcal{K}_f$. The true kernel is $K_0 = \textrm{M}52_a \left(\textrm{Chy}_y \textrm{M}12_y\right) \textrm{M}12_c$. Note that $\textrm{Chy}_y \notin \mathcal{K}_r$. All $\widehat{\textrm{BF}}$ values are in the *** evidence category.

Figure 10

Table 9. Summary statistics of the top kernels for the re-run and robust checks for JPN Females across both ${\mathcal{K}}_r$ and $\mathcal{K}_f$. addtv comps refers to the average number of additive components (the frequency of appearance of the “+” operator plus one); num refers to the total average number of kernel terms in the respective coordinate; non-stat reports the percentage of returned compositional kernels that include any of $\textrm{Min}, \textrm{Meh}$ families; rough reports the fraction that include any of the $\textrm{M}12, \textrm{Min}, \textrm{AR}2$ families. For each row we average all metrics among the respective kernels: top-10, top-50, and those ranked 51–100.

Figure 11

Table 10. Fittest non-duplicate kernels for Japanese Females in two separate runs, one over $\mathcal{K}_f$ and the other over $\mathcal{K}_r$. Bayes Factors $\widehat{\textrm{BF}}$ are relative to the best found kernel $k^*_{JPN-FEM}$ and all have insubstantial significance. $^\dagger$Daggered kernels under $\mathcal{K}_f$ column are those that also belong to ${\mathcal{K}}_r$.

Figure 12

Figure 2. Frequency of appearance of different kernel families in JPN Female models.

Figure 13

Figure 3. Properties of the top 100 kernels found by GA.

Figure 14

Figure 4. Predictions from the top 10 kernels in $\mathcal{K}_f$ for JPN Females Age 65. Left: predictive mean and 90% posterior interval from the top-10 kernels. For comparison, we also display (black plusses) the six observed log-mortality rates during 2014–2019. Right: four sample paths from each of three representative kernels.

Figure 15

Figure 5. Summary statistics of best kernels proposed by GA as a function of generation g.

Figure 16

Figure 6. Left: residuals from the best kernel in $\mathcal{K}_f$ for JPN Females. Right: implied prior correlation $k(\textbf{x}_0, \textbf{x}^{\prime})$ of the best kernel as function of $\textbf{x}^{\prime}$ relative to the cell $\textbf{x}_0=(70,2010)$ shown as the red dot.

Figure 17

Table 11. Results from GA runs on JPN Male, US Male, and SWE Female. Throughout we search within the full set $\mathcal{K}_f$. See Table 10 for the full definition of all the columns.

Figure 18

Table 12. Best-performing kernel in ${\mathcal{K}}_r$ and $\mathcal{K}_f$ for each of the four populations considered. $N_{pl}$ is the number of alternate kernels that have a BIC within 6.802 of the top kernel and hence are judged “plausible” based on the BF criterion.

Figure 19

Figure 7. Frequency of appearance of different kernels from $\mathcal{K}_f$ in US, SWE, and JPN Male models.

Figure 20

Table B.1 Number of training steps $\eta_{\varepsilon}$ needed for the likelihood $l^{(\eta)}_{K_0}\big(\hat{\theta}| \textbf{y}\big)$ to be within $\varepsilon$ of $l_{\textrm{min}}$ when using respective $K_0$, across the synthetic case studies. $\textrm{BIC}\!\left(\hat{K}_0^{(\eta_{\varepsilon})}\right)$ corresponds to $l^{(\eta)}_{K_0}\big(\hat{\theta}| \textbf{y}\big)$.

Supplementary material: File

Risk and Ludkovski supplementary material 1

Risk and Ludkovski supplementary material
Download Risk and Ludkovski supplementary material 1(File)
File 524.3 KB
Supplementary material: File

Risk and Ludkovski supplementary material 2

Risk and Ludkovski supplementary material
Download Risk and Ludkovski supplementary material 2(File)
File 100.2 KB