Hostname: page-component-6766d58669-76mfw Total loading time: 0 Render date: 2026-05-19T05:57:09.045Z Has data issue: false hasContentIssue false

Insurance cycles detection using neural networks

Published online by Cambridge University Press:  09 May 2025

Hamza Hanbali*
Affiliation:
Department of Economics, Centre for Actuarial Studies, University of Melbourne, Melbourne, Australia
Rights & Permissions [Opens in a new window]

Abstract

This paper utilizes neural networks (NNs) for cycle detection in the insurance industry. The efficacy of NNs is compared on simulated data to the standard methods used in the underwriting cycles literature. The results show that NN models perform well in detecting cycles even in the presence of outliers and structural breaks. The methodology is applied to a granular data set of prices per risk profile from the Brazilian insurance industry.

Information

Type
Original Research Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Institute and Faculty of Actuaries
Figure 0

Figure 1 Premiums and prices per risk profile over time. Notes: (a) Top-left panel: original average premiums for 410 risk profiles from the AUTOSEG data set. (b) Top-right panel: corresponding premiums per unit of insured sums on a logarithmic scale. (c) Bottom-left panel: corresponding premiums per unit of insured sums (i.e. price) on a logarithmic scale, where prices for some risk profiles were de-trended, after which all time series passed the KPSS test of stationarity. (d) Bottom-right panel: corresponding prices after normalizing with the means and standard deviations.

Figure 1

Figure 2 Assignment of parameters for the simulated data. Notes: This figure displays the split of the parameters into $\mathcal{G}_i$ for $i=1,\ldots 4$. On the left panel, the figure displays the estimated cycle periods $\frac {2\pi }{\hat {f}}$ (gray circles) of the cyclical trend components, and the assignment of the simulated cycle periods $\frac {2\pi }{\tilde {f}}$ into $\mathcal{G}_1$ (blue triangles), $\mathcal{G}_2$ (red triangles), $\mathcal{G}_3$ (magenta triangles) and $\mathcal{G}_4$ (green triangles). On the right panel, the figure displays the corresponding estimated parameters $(\hat {\phi }_1,\hat {\phi }_2)$ (gray circles) and the assignment of the simulated parameters $(\tilde {\phi }_1,\tilde {\phi }_2)$ into $\mathcal{G}_1$ (blue triangles), $\mathcal{G}_2$ (red triangles), $\mathcal{G}_3$ (magenta triangles) and $\mathcal{G}_4$ (green triangles).

Figure 2

Table 1. Accuracy, sensitivity, and specificity of all methodologies on different simulated test data

Figure 3

Table 2. Estimated weights from ensembling all models

Figure 4

Figure 3 Cyclical and non-cyclical series with and without an outlier and a break. Notes: This figure displays two simulated paths from $\mathcal{S}_1$, where one is non-cyclical and the other is cyclical. The original simulations are given by the straight black lines. The dashed red lines correspond to their transformation where an outlier with size $\delta =4$ occurs at time $s=14$. The dotted blue lines correspond to the transformation where a structural break with size $\delta =4$ occurs at time $s=14$.

Figure 5

Figure 4 Accuracy, sensitivity, and specificity of all methodologies in the presence of outliers where the NN models are trained on data without outliers. Notes: This figure displays the accuracy rates (left columns), the true positive rates (middle columns) and the true negative rates (right columns) in function of the size of the outliers $\delta =0$, $1$, $2$, $3$, $4$ and $5$ for all methodologies on the test data $\mathcal{S}_j^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i \setminus \mathcal{S}_j$, for $j=1,2,3,4$, as well as the performance on the test data $\mathcal{S}_5^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i$, i.e. the training data sets do not contain outliers. The results from the autoregressive models and the $g$-test with $p$-value threshold $0.05$ with and without Bonferroni correction are given by the dashed lines. The results from the neural networks are given by the straight lines.

Figure 6

Figure 5 Accuracy, sensitivity, and specificity of all methodologies in the presence of outliers where the NN models are trained on data with outliers. Notes: This figure displays the accuracy rates (left columns), the true positive rates (middle columns), and the true negative rates (right columns) in function of the size of the outliers $\delta =0$, $1$, $2$, $3$, $4$ and $5$ for all methodologies on the test data $\mathcal{S}_j^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}^{\star }_i \setminus \mathcal{S}^{\star }_j$, for $j=1,2,3,4$, as well as the performance on the test data $\mathcal{S}_5^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i^{\star }$, i.e. the training data sets contain outliers. The results from the autoregressive models and the $g$-test with $p$-value threshold $0.05$ with and without Bonferroni correction are given by the dashed lines. The results from the neural networks are given by the straight lines.

Figure 7

Figure 6 Accuracy, sensitivity, and specificity of all methodologies in the presence of structural breaks in the mean where the NN models are trained on data without breaks. Notes: This figure displays the accuracy rates (left columns), the true positive rates (middle columns) and the true negative rates (right columns) in function of the size of the break $\delta =0$, $1$, $2$, $3$, $4$ and $5$ for all methodologies on the test data $\mathcal{S}_j^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i \setminus \mathcal{S}_j$, for $j=1,2,3,4$, as well as the performance on the test data $\mathcal{S}_5^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i$, i.e. the training data sets do not contain breaks. The results from the autoregressive models and the $g$-test with $p$-value threshold $0.05$ with and without Bonferroni correction are given by the dashed lines. The results from the neural networks are given by the straight lines.

Figure 8

Figure 7 Accuracy, sensitivity, and specificity of all methodologies in the presence of structural breaks in the mean where the NN models are trained on data with breaks. Notes: This figure displays the accuracy rates (left columns), the true positive rates (middle columns), and the true negative rates (right columns) in function of the size of the break $\delta =0$, $1$, $2$, $3$, $4$ and $5$ for all methodologies on the test data $\mathcal{S}_j^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i^{\star } \setminus \mathcal{S}_j^{\star }$, for $j=1,2,3,4$, as well as the performance on the test data $\mathcal{S}_5^{\star }$ when the training data set is $\cup _{1\leq i \leq 4}\mathcal{S}_i^{\star }$, i.e. the training data sets contain breaks. The results from the autoregressive models and the $g$-test with $p$-value threshold $0.05$ with and without Bonferroni correction are given by the dashed lines. The results from the neural networks are given by the straight lines.

Figure 9

Table 3. Analysis of price cycles