Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-05T21:59:13.393Z Has data issue: false hasContentIssue false

Automatic analysis of insurance reports through deep neural networks to identify severe claims

Published online by Cambridge University Press:  09 March 2021

Isaac Cohen Sabban*
Affiliation:
Sorbonne Université, CNRS, Laboratoire de Probabilités, Statistique et Modélisation, LPSM, 4 place Jussieu, F-75005 Paris, France Pacifica, Crédit Agricole Assurances, F-75015 Paris, France
Olivier Lopez*
Affiliation:
Sorbonne Université, CNRS, Laboratoire de Probabilités, Statistique et Modélisation, LPSM, 4 place Jussieu, F-75005 Paris, France
Yann Mercuzot
Affiliation:
Pacifica, Crédit Agricole Assurances, F-75015 Paris, France
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we develop a methodology to automatically classify claims using the information contained in text reports (redacted at their opening). From this automatic analysis, the aim is to predict if a claim is expected to be particularly severe or not. The difficulty is the rarity of such extreme claims in the database, and hence the difficulty, for classical prediction techniques like logistic regression to accurately predict the outcome. Since data is unbalanced (too few observations are associated with a positive label), we propose different rebalance algorithm to deal with this issue. We discuss the use of different embedding methodologies used to process text data, and the role of the architectures of the networks.

Information

Type
Original Research Paper
Copyright
© The Author(s), 2021. Published by Cambridge University Press on behalf of Institute and Faculty of Actuaries
Figure 0

Algorithm 1 Duplication algorithm for censored observations

Figure 1

Figure 1 Left-hand side: representation of a simple neural network (multilayer perceptron). Each unit of the network (represented by a circle), is called a neuron (a neuron is represented on the right-hand side). $X^{(j)}$ represents the jth component of the covariate vector $\textbf{X}.$

Figure 2

Algorithm 2 Bagging algorithm applied to neural networks

Figure 3

Algorithm 3 Balanced Bagging Algorithm

Figure 4

Algorithm 4 Randomly Balanced Bagging Algorithm

Figure 5

Figure 2 Summary of the embedding matrix determination.

Figure 6

Figure 3 An example of a convolution layer. Convolution Layer. Each coefficient $c_{i,j}$ of the output matrix is obtained by a linear combinations of coefficients $a_{i,j}$ in a $f\times f$ square of the input matrix. The colour code shows which coefficients of the input matrix have been used to compute the corresponding coefficient of C.

Figure 7

Figure 4 A unrolled RNN and the unfolding representation in time of the computation involved in its forward computation.

Figure 8

Figure 5 Synthetic description of a block of a LSTM network.

Figure 9

Figure 6 LSTM notations.

Figure 10

Table 1. Empirical statistics on the variable T, before and after correction by Kaplan–Meier weights (“after KM”). The category “Extreme claims” corresponds to the situation where $I=1$ for $x=3\%$ of the claims, while “Standard claims” refers to the 97% lower part of the distribution of the final amount

Figure 11

Table 2. Summarised characteristics of the reports. The dataset is split into the train set (containing the observations used to fit the parameter of the network), the validation set (used to tune the hyperparameters), and the test set (used to measure the quality of the model). The vocabulary size “with n-grams” is the total of 1-grams, 2-grams and 3-grams

Figure 12

Table 3. Ranking of the words (translated from French) used in the reports, depending on the category of claims (Extreme corresponds to $I=1$ and Standard to $I=0.$)

Figure 13

Table 4. Hyperparameters of the RNN used in the real data analysis

Figure 14

Figure 7 Representation of the CNN network used in the real data analysis.

Figure 15

Figure 8 Representation of the LSTM network used in the real data analysis. The output of the network is followed by a multilayer perceptron.

Figure 16

Table 5. Influence of the constrained bagging algorithms of section 2.3. For “Classical,” no rebalancing algorithm has been used. “Balanced” corresponds to algorithm 2.3 with an equal proportion of 1 and 0 in each sample. “Randomly” corresponds to algorithm 3 with an equal proportion (in average) of 1 and 0 in each sample. “Lightly” corresponds to Algorithm 4 with 10% of 1 (in average) in each sample. In the Random Forest algorithm, we used 200 trees, with a Gini criterion and a maximal depth of 3. In the Gradient Boosting algorithm, 200 trees were used, and a deviance loss with a learning rate of 0.1

Figure 17

Table 6. CI of the scoring. The CI for Precision and Recall (columns 4 and 5) are computed using a beta distribution following the methodology of Goutte & Gaussier (2005). For bagging (columns 6–8), the CI is based on percentile bootstrap following Hesterberg (2014)

Figure 18

Table 7. Performance of the different methodologies (combined with the different embedding technics). The first column indicates the percentage of 1 in the sample

Figure 19

Table A.1. Typical choices of activation functions

Figure 20

Table A.2. Range of values on which the hyperparameters have been optimised

Figure 21

Table A.3. Hyperparameters of the embedding matrix used in the real data analysis

Figure 22

Figure A.1 Zero padding.

Figure 23

Figure A.2 Example of a pooling layer: each function is applied to a moving square of input coefficients of size $2\times 2$.