scieee AI-readable full text Open interactive document viewer

Penalising unexplainability in neural networks for predicting payments per claim incurred

H. L. Poon, Jacky

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

H. L. Poon, Jacky Article Penalising unexplainability in neural networks for predicting payments per claim incurred Risks Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: H. L. Poon, Jacky (2019) : Penalising unexplainability in neural networks for predicting payments per claim incurred, Risks, ISSN 2227-9091, MDPI, Basel, Vol. 7, Iss. 3, pp. 1-11, https://doi.org/10.3390/risks7030095 This Version is available at: https://hdl.handle.net/10419/257933 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ risks Article Penalising Unexplainability in Neural Networks for Predicting Payments per Claim Incurred Jacky H. L. Poon Independent Researcher, Level 18, 1 Farrer Place, Sydney, NSW 2000, Australia; [email protected] Received: 13 June 2019; Accepted: 23 August 2019; Published: 1 September 2019   Abstract: In actuarial modelling of risk pricing and loss reserving in general insurance, also known as P&C or non-life insurance, there is business value in the predictive power and automation through machine learning. However, interpretability can be critical, especially in explaining to key stakeholders and regulators. We present a granular machine learning model framework to jointly predict loss development and segment risk pricing. Generalising the Payments per Claim Incurred (PPCI) loss reserving method with risk variables and residual neural networks, this combines interpretable linear and sophisticated neural network components so that the ‘unexplainable’ component can be identified and regularised with a separate penalty. The model is tested for a real-life insurance dataset, and generally outperformed PPCI on predicting ultimate loss for sufficient sample size. Keywords: actuarial; risk pricing; loss reserving; granular models; neural networks; payments per claim incurred 1. Introduction 1.1. Rationale Key business goals for claims models typically include predictive power, automation and ease of use, and interpretability. Predictive power is valuable in any model, but for risk pricing in insurance, higher accuracy leads to selecting lower cost risks and is consequently a competitive advantage. Machine learning and automation improves the business efficiency of the modelling process, and also facilitates models with large numbers of parameters that can reflect complex non-linear relationships. Finally, interpretability is important for communications to business stakeholders and to regulators, particularly in loss reserving to justify projections. Common actuarial industry practice at the time of writing is for separate sophisticated risk pricing models and relatively simple reserving models. Risk pricing models are typically granular claims models—traditionally Generalised Linear Models (‘GLM’). Increasingly Gradient Boosting Decision Trees/Machines (‘GBM’) have become a popular alternative. Machine learning approaches allow automated identification and fitting of non-linear effects. These can contribute to a higher accuracy than GLM approaches, at the cost of transparency. Conversely, reserving models typically use simple, deterministic triangulation based approaches, with selections based on actuarial judgement. The simplicity of a portfolio approach for loss reserving has the advantages of transparency and the ability to manually adjust selections based on actuarial judgement. However, separate risk pricing and reserving models can present practical challenges, and results can be circular. In creating risk pricing models, a rescaling adjustment based on reserving is often required to the recent, undeveloped data. In creating reserving models, the pricing view is often used as an initial prior for methods such as Bornhuetter–Ferguson. Business stakeholders also often demand detailed segmented views on loss ratios to assist in decision-making on underwriting and portfolio management processes, for which a portfolio approach Risks 2019,7, 95; doi:10.3390/risks7030095 www.mdpi.com/journal/risks Risks 2019,7, 95 2 of 11 may not be appropriate. Also, where there has been a significant mix shift in the risks insured—perhaps due to growth or shrinkage in particular segments—the portfolio approach breaks down and input from a granular view (often the pricing view) is needed. This suggests that a granular approach to reserving incorporating detailed policy or claims data should be able to model segmented results with better accuracy than simple allocation methods of portfolio Incurred But Not Reported (IBNR) reserves. 1.2. Granular Claims Models Subsequently, a number of papers have emerged for granular model reserving. An earlier example is a GLM approach, using explanatory variables with conditioning for case estimates (Taylor et al. 2008). Regularisation via l1 and l2 losses are heavily used as a machine learning technique, both at the portfolio level for loss reserving (Miller et al. 2016), or at the granular level to select factors, fit splines or apply other useful constraints to otherwise overparametrised models (Semenovich et al. 2010). 1.3. Neural Networks Neural network based architectures are extremely flexible and enables use of data in formats such as numerical, categorical, image, time series, and freeform text data. It also allows multiple concurrent outputs using multi-task neural networks (e.g., Fotso 2018;Poon 2018), as well as outputs of a time series using recurrent neural network components such as the gated recurrent unit (Kuo 2018). However, explainability is an issue when applying this model to claims, as fully connected neural layers can contain large numbers of parameters. Attempts have been made at structuring the network in a more explainable way in other applications, such as constraining neural components to have only a single input and output neuron (Vaughan et al. 2018), or recovering explainability of individual predictions through locally interpretable linear approximations (Ribeiro et al. 2016), but no approach has emerged as an industry standard to date, and it remains unclear whether a fully explainable model structure that preserves the predictive ability of a standard neural network is possible. 1.4. Residual Neural Networks Residualnetworks(‘ResNets’)are a type ofneuralnetworksoriginallyintroduced invisionrecognition (He et al. 2015). This allows training of deeper networks for state-of-the-art performance, but has found value in other applications, including actuarial modelling (Schelldorfer and Wuthrich 2019). ResNets introduce the concept of ‘skip connections’, whereby an earlier layer is directly connected to a later layer (Figure 1). An observation is that for a network with a single residual block, the skip connection is in itself a linear model, ensembled with the neural network layers. With the exponential activation function, the linear model becomes a log-link GLM. Risks2019,7,xFORPEERREVIEW3of11 Forastandardfeed‐forwardneuralnetworkwithtwohiddenlayers,wefindb1,b2,b3andb4to approximatelyminimiseactuallossversuspredictedLoss(𝑦 ,y)where: x1=a(B1xinput), x2=a(B2x1), 𝑦B,B,B,𝐱   B  𝐱. However,fortheresidualnetwork,theskipconnectioncanbeaddedtotheoutput. 𝑦󰇛B,B,B,B,𝐱󰇜  B 𝐱  B 𝐱.  Figure1.(a)Aresidualblockcomprisingofagroupofthreelayers,showingtheskipconnection, whichcanskiponeormultiplelayers;(b)Thesameblockasamodel,showinginterpretablelinearor GLMmodeland‘unexplainable’neuralnetwork. 1.5.Embeddings Embeddingsareanencodingforcategoricalvariablesthatisanalternativetoone‐hotencoding. Eachlabelforacategoricalfactorisassigneda(typically)1×nvectorrepresentationthatcanbe trainedwiththemodel.Forn=1,eachcategorycorrespondswithonlyonevalue,theembeddingcan produceresultsequivalenttoone‐hotencodinginanadditivemodelstructure. 1.6.HyperparameterSelection Layersofaneuralnetworkcanberegularisedseparately,byapplyingadifferent𝜆 hyperparameterforl1orl2regularisationlosstoanyoftheB1,B2,B3andB4weightsindividuallyas above.ForagivenlossfunctionLoss(𝑦 ,y),afullyparametrisedregularisedlossfunctionwouldbe asbelow(themodelinthenextsectionusesmean‐squarederrorloss): 𝑅𝑒𝑔𝐿𝑜𝑠𝑠󰇛𝑦 ,𝑦󰇜  𝐿𝑜𝑠𝑠󰇛𝑦 ,𝑦󰇜  𝜆,|B|  𝜆,|B|  𝜆,|B|  𝜆,|B|  𝜆,|B|  𝜆,|B|  𝜆,|B|  𝜆,|B|. Wediscusstwoapproachesforselectingtheregularisationparameters.Thefirstistooptimise forholdoutlosstofindthemostpredictivemodel.OnemethodtodosoisaRandomGridSearch, whichtestsrandomsetsofhyperparametersandselectsthemodelwiththebestholdouterror,or BayesianOptimisation,whichestimatesparametersviaaGaussianProcess. However,asecondviewisthatregularisationprovidesamechanismtopenalise‘opaque’neural featuresinfavourof‘transparent’linearfeatures.Whentheregularisationparametersofthedense layersaresettowardshighvalues,theneuralnetworkcomponentswouldshrinktowardszero reducingthenetworktoalinearmodel. Weputforwardtheconceptthatbetweentheinterpretablelinearmodelandtheresidual networkmodel,theregularisationparameterforresidualnetworkweightsrepresentsacontinuum ofmodelsbetweenthosetwocompetingobjectives. Also,byblendingtheresidualmodelwiththeoriginalmodel,weputforwardtheideathatthe weightsgiventothelinearmodelversustheresidualnetworkmaypotentiallyformabasisfor evaluatingtheextenttowhichnon‐lineareffectsexistwithinthedata—iftheresidualmodelis Figure 1. ( a ) A residual block comprising of a group of three layers, showing the skip connection, which can skip one or multiple layers; ( b ) The same block as a model, showing interpretable linear or GLM model and ‘unexplainable’ neural network. Mathematically, the above residual block in Figure 1b can be expressed as follows: Risks 2019,7, 95 3 of 11 Let B 1 , B 2 , B 3 and B 4 be weight matrices and a(x) be the activation function. Examples of activation functions include the Rectified Linear Unit (ReLU): a(x) =max(0, x) or the Scaled Exponential Linear Unit (SELU), which is used in the model later in this paper: a(x) = λ(x aex−a if x >0 if x ≤0. For a standard feed-forward neural network with two hidden layers, we find b 1 , b 2 , b 3 and b 4 to approximately minimise actual loss versus predicted Loss(ˆ y, y) where: x1=a(B1xinput), x2=a(B2x1), ˆ yB1, B2, B3,xinput=B3x2. However, for the residual network, the skip connection can be added to the output. ˆ yB1, B2, B3, B4,xinput=B3x2+B4xinput. 1.5. Embeddings Embeddings are an encoding for categorical variables that is an alternative to one-hot encoding. Each label for a categorical factor is assigned a (typically) 1 × nvector representation that can be trained with the model. For n=1, each category corresponds with only one value, the embedding can produce results equivalent to one-hot encoding in an additive model structure. 1.6. Hyperparameter Selection Layers of a neural network can be regularised separately, by applying a different λ hyperparameter for l1 or l2 regularisation loss to any of the B 1 , B 2 , B 3 and B 4 weights individually as above. For a given loss function Loss( ˆ y ,y), a fully parametrised regularised loss function would be as below (the model in the next section uses mean-squared error loss): RegLoss(ˆ y,y)=Loss(ˆ y,y)+λ1,1|B1|+λ1,2|B2|+λ1,3|B3|+λ1,4|B4|+λ2,1|B1| +λ2,2|B2|+λ2,3|B3|+λ2,4|B4|. We discuss two approaches for selecting the regularisation parameters. The first is to optimise for holdout loss to find the most predictive model. One method to do so is a Random Grid Search, which tests random sets of hyperparameters and selects the model with the best holdout error, or Bayesian Optimisation, which estimates parameters via a Gaussian Process. However, a second view is that regularisation provides a mechanism to penalise ‘opaque’ neural features in favour of ‘transparent’ linear features. When the regularisation parameters of the dense layers are set towards high values, the neural network components would shrink towards zero reducing the network to a linear model. We put forward the concept that between the interpretable linear model and the residual network model, the regularisation parameter for residual network weights represents a continuum of models between those two competing objectives. Also, by blending the residual model with the original model, we put forward the idea that the weights given to the linear model versus the residual network may potentially form a basis for evaluating the extent to which non-linear effects exist within the data—if the residual model is extremely Risks 2019,7, 95 4 of 11 effective, loss optimisation will bring the blend weight of the residual towards 1.0. Subsequently, the actuary should do additional manual analysis to improve interpretability. An iterative process of feature engineering such as creating splines for age could reduce the need for the opaque neural network component until the neural network is no longer needed. However, in regards to penalising ‘unexplainability’ through regularising model components, an open question would be in regards to what economic value is to be assigned to interpretability of the model, such that an appropriate penalty can be applied. With this in mind, we test this approach with a granular model that resembles a fully parametrised PPCI-like model, combining simple linear weights for interpretability with residual components for replicating non-linear effects. 2. Model 2.1. Definitions Consider a dataset with dates, features, and claims development in the cross-tab format of Table 1: Table 1. Training data format. Origin Period Feature 1. . . Feature m Claim Reported by Delay Claim Paid Reported by Delay Data Exists Flag by Delay 1 xc p w 1. . . n1. . . n1. . . n 1 January 2015 1 0 0 $2000 1 1 1 December 2016 - 0 NaN 0 NaN 1 0 1 December 2015 0 1 0 $3000 1 1 1Exposure weights if needed would be multiplied to the data existence flag. Features are policy and risk details—rating factors or any details relevant for the risk premium model. This includes origin period, the start dates of triangulation, typically be accident month, quarter or year. Numerical features are normalised to a mean of zero and variance of one, and categorical features are integers encoded for the embeddings. Exposure weights allow a yearly policy to be divided into multiple monthly records with earned exposure. Incremental claim count and payments data are matched back to the exposure record and is split into columns by delay period. Delay represents times from accident to the date of claim reporting (counts) or payment with a maximum tail of ‘n’ periods. Per standard actuarial practice, these are ideally adjusted for inflation. Consequently, the dataset is structured such that • The sum of ‘claim counts reported by delay’ by origin period is the incremental claims reported triangle, •The sum of ‘claim payments by delay’ by origin period is the incremental payments triangle, • If the claim counts and payments were the ultimates, it would be a typical GLM risk pricing dataset. • The dataset remains reasonably compact as claims are in cross-tab format, which is beneficial from a memory usage perspective. This allows us to jointly fit a risk pricing and loss reserving model. Let: •xibe features, for policy exposures i, including the accident or origin period, •wi,t be exposure weights for exposure i in delay period t, with missing data after the balance date being weighted as 0, Risks 2019,7, 95 5 of 11 •Ci,t be claim count reported for the exposure in delay period t, with Ci=ΣCi,t and •Pi,t be claim payments for the exposure in delay period t, with Pi=ΣPi,t. We wish to build a model for E(Ci,t) and E(Pi,t) based on x and w. 2.2. From Payments Per Claim Incurrred to Granular Model A traditional PPCI model predicts expected payments P at delay t as a ratio of ultimate incurred C: E(Pi,t)=ciqt, where ciis an estimate of ultimate claim count, and qtis the payments per claim incurred. However, these payments per claim can be factored into the expected claim severity and the percentage paid in each period. E(Pi,t)=ciq bt,Σtbt=1. Consequently, the Payment per Claim Incurred model can be expressed as a simple frequency model (c), a constant claim severity model (q) and a constant percentage paid per period model (b). In the model, we replace these with granular models for each, which also meets the needs of risk pricing to model frequency and severity by rating factors. 2.3. Network The network diagram is shown in Figure 2. In the interpretable model, linear models of total frequency and payments per policy were set as a function of the features. With B representing linear weights, let: clinear =Bcx With the exponential transform, they become GLMs. The payments per policy can also be set to follow the count logic for a risk premium model with p linear =B px or a frequency-severity model by adding the frequency component at each step, such as with plinear =clinear +Bpx. To allocate that to the prediction of counts and payments at delay t, development parameters dc and dpwere fitted with a log-softmax transform, let: cinterpretable,t =wc,t ×exp(c+log(softmax(dc,t))). The softmax transform enforces that the restriction that the sum of percentage developed is 100%. Without this constraint, it is possible for the expected claim count/paid to ‘explode’ with the percentage developed remaining at low values. In calculations, it is applied as logsoftmax due to numerical stability reasons. Currently, the development function is fully parametrised but a future potential extension might be to apply a penalty for the percentage-developed distribution or splines to enforce smoothness of the development percentages. Further parametrising the development network, such as using the xNNs (Vaughan et al.) explainable network splines could reduce the unexplainable components beyond the linear model used. The ‘neural model’ is similar, except with the residual network components. The proposed network to predict expected frequency and cost per policy is set up with dense layers with outputs concatenated with the original inputs for the final linear model. Three dense layers is often considered to be sufficient for structured data problems but more can be added. For the model results below, SELU activation was used for stability reasons. Consequently, with b representing weight vectors, let: n1=SELU(B1x) Risks 2019,7, 95 6 of 11 n2=SELU(B2n1) n3=SELU(B3n2) cresidual =B4n3 dc-residual =B5n3 cneural, t =wc,t ×exp(clinear +cresidual +log_softmax(dc,t)) Finally, a blended model is calculated by fitting a weighted average between the two models, with the weight constrained to be (0, 1) by fitting a parameter wcsuch that: Weightc=exp(wc)/(1 +exp(wc)), cblended,t =Weightccinterpretable,t +(1 −Weightccneural,t) This is intended to provide an indication as to the explanatory power of the residual network compared to the simpler linear model. With optimised hyperparameters, one would expect residual network weights to converge to 1.0 if it always explained better than the linear model. Risks2019,7,xFORPEERREVIEW6of11 cresidual=B4n3 dc‐residual=B5n3 cneural,t=wc,t×exp(clinear+cresidual+log_softmax(dc,t)) Finally,ablendedmodeliscalculatedbyfittingaweightedaveragebetweenthetwomodels, withtheweightconstrainedtobe(0,1)byfittingaparameterwcsuchthat: Weightc=exp(wc)/(1+exp(wc)), cblended,t=Weightccinterpretable,t+(1−Weightccneural,t) Thisisintendedtoprovideanindicationastotheexplanatorypoweroftheresidualnetwork comparedtothesimplerlinearmodel.Withoptimisedhyperparameters,onewouldexpectresidual networkweightstoconvergeto1.0ifitalwaysexplainedbetterthanthelinearmodel.   Figure2.Simplifiedmodelnetworkgraph.Eachblockrepresentsagroupoflayers,andthearrows representthedataflow.Greyarrowsrepresentthe“interpretable”networkflow,whilstbluelines representthe“neural”networkflow. InputandEmbeddingLayers DenseLayers Development %(Constant Softmax) Frequencyand PaidperPolicy (Linear) InterpretableModelFrequencyand PaidDevelo p ment Frequencyand PaidPerPolicy (ResNet) Development % (ResNet) NeuralModelFrequencyand PaidDevelo p ment BlendedModelFrequencyandPaid Develo p ment Figure 2. Simplified model network graph. Each block represents a group of layers, and the arrows represent the data flow. Grey arrows represent the “interpretable” network flow, whilst blue lines represent the “neural” network flow. Risks 2019,7, 95 7 of 11 2.4. Loss The loss function was set to optimise the sum of mean-squared error loss of all claims count and claims paid per policy for each of the interpretable, residual and blended networks in total, and the additional l1 penalties for the linear risk pricing weights. One issue with multi-task learning is that if losses are imbalanced, the optimisation may favour one particular set of outputs. While Poisson and Tweedie losses may be more appropriate for counts and payments, respectively, as a simplification, the Mean Squared Error (MSE) (with the exponential activation function) was used for all outputs to avoid having to significantly address this issue. The backpropogated gradients are similar. This may have been insufficient as some results seen later on may have optimised the claims paid, which have higher variation than claims count. More sophisticated approaches would be possible. 2.5. Training: Dropout, Optimiser, Shuffling, Batch Size, and Learn Rate Scheduler A dropout layer (Srivastava et al. 2014) was applied for training the residual network, and Adam (Kingma and Ba 2015), an adaptive moment estimation optimiser, with separate l2 weight decay penalties for the linear risk pricing and residual network weights, was used as the optimiser for the model. Training data was shuffled to reduce mix bias within each batch. A high batch size was used given the sparsity of the data to ensure sufficient claims data in each batch and gradient norm clipping was applied to improve stability of the training process. Weights initialisation to suitable starting values, learn rate search and the ‘1cycle’ learn rate scheduler (Smith 2018) was used to speed up convergence. 2.6. Language and Package The model was coded in Python using the Pytorch package. Pytorch was chosen for its high level API compared to Tensorflow, ease of customisation compared to Keras, stability, wide usage and availability of documentation. The version of the code used in this paper was uploaded to: https://github.com/JackyP/penalised-unexplainability-network-payments-per-claim-incurred/blob/ 1e757249e4f20a75e5e645d5a9f2a7ffb089a8a7/punppci/pytorch.py, with the intention to further develop and, should it reach a state of maturity, to publish in the Python repository PyPI as package ‘punppci’. 3. Dataset Used 3.1. Dataset Details The model was tested on actual proprietary policy and claim data with 6 features, approximately 250,000 policy exposure records underwritten in 2015–2016 calendar year and 32,000 claims, with claim reported counts and claim paid amounts developed over 24 development months. For testing accuracy, claims reported or payments transacted after 31 December 2016 was censored for model fitting and used as holdout data. 3.2. Cleaning and Sampling As part of data preparation, large claims were capped and then both claim frequency and payment was scaled by average frequency and paid per policy of the censored data—an initial estimate of portfolio averages that was free of data leakage from the holdout data. Features were normalised using mean-variance standardisation, with categorical features one-hot encoded for simplicity (although embeddings is recognised to be ideal). The model was tested on samples of the data of 5000, 10,000, 25,000, 50,000, 100,000 and 200,000 policies with hyperparameters as detailed in Section 4to test the models’ effectiveness with various dataset sizes, and then on the full dataset with hyperparameter search. Risks 2019,7, 95 8 of 11 3.3. Comparison with Manual Selections for Chain Ladder and PPCI The benchmarking is against a mechanical (or naïve) application of chain ladder and PPCI. In practice, factor selections would be based on both actuarial judgement, with manual identification of unusual events, selection of averages where checks for accident or calendar year trends, and manual smoothing of factors. Consequently, a manual review of the full dataset was also conducted to validate whether there were features that would influence manual selections; however, the triangles were fairly unremarkable given the short duration of the dataset over two accident years, reasonably large size of sample and short tail, non-statutory insurance portfolio. Certain product segments were known to develop slower; however, there was no significant mix shift towards or away from those segments during the period. Individual claim factors also did not appear to have any trends. 4. Results 4.1. Sampling Sizes For the sampling test, linear l1 and l2 were set to 0.01, the residual network l2 was set to zero for weights and biases. For the full dataset, hyperparameters were firstly grouped into ‘l1 and l2 linear’, ’l2 residual’ and ’l2 bias’, which were applied to both counts and paid for simplicity, and then Bayesian optimisation with the ‘scikit-optimize’ package was applied. Table 2shows the comparison of the squared error between actual versus expected ultimates for the model compared with naïve chain ladder and PPCI. Table 2. Neural network versus traditional chain ladder and PPCI performance (lower is better). Test Sample Size Seed Chain Ladder SE Count PPCI SE Paid Model SE Count Model SE Paid Better Paid SE 05000 1 1453.14 3436.19 NaN NaN N 15000 2 472.17 2447.26 256.78 2183.37 Y 25000 3 431.78 5638.29 NaN NaN N 35000 4 339.55 1652.14 224.21 3401.45 N 45000 5 1590.66 58,388.27 NaN NaN N 510,000 1 540.19 4070.24 823.89 5181.73 N 610,000 2 2533.18 51,956.42 389.81 44,884.23 Y 710,000 3 606.79 11,418.01 272.21 7511.17 Y 810,000 4 1810.21 209,956.66 976.48 202,351.99 Y 910,000 5 1057.81 52,508.37 270.61 42,912.06 Y 10 25,000 1 5575.31 35,060.89 2583.43 23,732.57 Y 11 25,000 2 4644.56 61,120.81 750.18 51,177.28 Y 12 25,000 3 1969.43 295,767.11 NaN NaN N 13 25,000 4 4054.21 309,086.25 1985.41 299,889.39 Y 14 25,000 5 1703.19 57,953.14 1362.94 67,186.30 N 15 50,000 1 25,487.11 133,176.94 2407.64 78,762.94 Y 16 50,000 2 6313.54 125,112.45 9515.98 116,294.24 Y 17 50,000 3 3744.60 196,970.08 6727.98 220,488.81 N 18 50,000 4 13,261.61 334,846.96 19,096.74 284,140.74 Y 19 50,000 5 4430.90 67,546.64 1606.70 57,256.59 Y 20 100,000 1 23,441.53 312,086.87 29,796.32 441,193.89 N 21 200,000 1 64,274.85 5,147,858.37 28,841.52 5,076,289.65 Y 250,000 with Bayes Opt 151,959.56 1,260,099.15 201,002.33 961,150.56 Y The model outperformed in predicting claim ultimate amounts for 75% of the test cases with policy exposures of 10,000 or over, however, failed to achieve good results for the cases with 5000 policies, due to frequent failing to converge.