56
Who’s Afraid of Artificial Intelligence? Frank Cuypers

Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

Who’s Afraid of Artificial Intelligence?

Frank Cuypers

Page 2: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

2

Scenario

2016 Solvency II initiates

2020 New players flood the market with “digital” alternatives to insurance

2025 Insurance industry flood the market with “Fickle Superannuations” with

little Solvency II capital requirements 2030

30% of the insurance players file for bankruptcy The weaknesses of the Solvency II standard formula become obvious Who should have known? Who should have warned?

2035 The actuarial profession is discredited The last Presidents of the SAA, DAV and IFO are burnt at the stake

Page 3: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

3

Scenario

2016 Solvency II initiates

2020 New players flood the market with “digital” alternatives to insurance

2025 Insurance industry flood the market with “Fickle Superannuations” with

little Solvency II capital requirements 2030

30% of the insurance players file for bankruptcy The weaknesses of the Solvency II standard formula become obvious Who should have known? Who should have warned?

2035 The actuarial profession is discredited The last Presidents of the SAA, DAV and IFO are burnt at the stake

Page 4: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

4

Scenarios

2015actuariestolerated

2035actuarial

professiondisappears

1995Chief

Actuariesin EB

2035actuaries

bring valueagain

Page 7: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

7

What’s Artificial Intelligence?

Neural networks Decision trees k-nearest neighbours Support vector machines Bayesian networks Genetic algorithms …

artificial intelligence machine learning

predictive modellingdata analyticsdata mining

cognitive computing…

Page 8: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

8

Ubiquitous Neural Networks

OCR Higgs search Spam filters Image compression Travelling salesman problems Medical diagnosis Voice recognition & generation Translation translate.google.com Natural languages processing infocodex.com Gaming Face recognition how-dude.me how-old.net …

Insurance?

Page 9: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

9

Neural Networks (in a nutshell)

x

h(a1+b1x)

h(a2+b2x)

h(a3+b3x)

1

2

3

yobs=f(x)+ε

yNN=c0+c1h1+c2h2+c3h3

training: minimize Σ (yNN - yobs)2

h: sigmoid ∫

y

Page 10: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

10

Neural Networks

bye bye models…

Page 11: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

11

Neural Networks (2 hidden layers)

Page 12: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

12

Applications

regression classification

data processing control systems

robotics…

Page 13: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

13

Applications – Supervised Learning

Regression Output = e.g. size of claim Each output neuron

gives a number, which can take any value

Classification Output = e.g. type of claim Each output neuron

gives a probability , which all add up to 100%

neural network

1

140

5'000

10'000

15'000

20'000

25'000

30'000

1 5 9 13 17 21 25

0-5'000 5'000-10'000

10'000-15'000 15'000-20'000

20'000-25'000 25'000-30'000

0

10'000

20'000

30'000

0 10'000 20'000 30'000goalGLMneural network

-1.0

-0.5

0.0

0.5

1.0

-1.0 -0.5 0.0 0.5 1.0-1.0

-0.5

0.0

0.5

1.0

-1.0 -0.5 0.0 0.5 1.0-1.0

-0.5

0.0

0.5

1.0

-1.0 -0.5 0.0 0.5 1.0

linear model

Page 14: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

14

Applications – Unsupervised Learning

Page 15: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

15

Applications – Unsupervised Learning

Page 16: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

16

Applications – Unsupervised Learning

Page 17: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

17

Patents

Neural network for classifying speech and textural data based on agglomerates in a taxonomy table

System and method for automated establishment of experience ratings and/or risk reserves

Page 18: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

18

Ubiquitous Neural Networks

OCR Higgs search Spam filters Image compression Travelling salesman problems Medical diagnosis Voice recognition & generation Translation Natural languages processing Gaming Face recognition http://how-dude.me/ https://how-old.net/ …

Insurance?

Page 19: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

19

Ubiquitous Neural Networks

Insurance? Actuarial engineering

• Individual claims development• Pricing• Alternative to replicating portfolios• …

Claims• Regulation of attritional claims• Fraud detection• …

Underwriting & customer relations• Lapse prediction• Retention programs• Behavioural advice (telematics, health,…)• …

Alternative insurance ???

Page 20: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

20

Traditional Loss Development

DY

AY

individual claims

20112011

in2012

2014

2013

2012

2011in

2013

2011in

20142012

in2013

2012in

20142013

in2014

Page 21: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

21

Traditional Loss Development

Aggregate all claims of a given AY into a single aggregate loss

DY

AY

individual claims annual aggregate loss

Page 22: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

22

Traditional Loss Development

Aggregate all claims of a given AY into a single aggregate loss

Develop with Chain Ladder Born-Ferg Cape Cod …

Assume Homogenous portfolio Independent AY

Page 23: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

23

Individual Claims Development

Aggregate all claims of a given AY into a single aggregate loss Use individual claims information

individual claims annual aggregate loss

Page 24: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

24

Individual Claims Development

Aggregate all claims of a given AY into a single aggregate loss Use individual claims information cascading DY neural network

Page 25: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

25

Individual Claims Development

Aggregate all claims of a given AY into a single aggregate loss Use individual claims information cascading DY neural network

Page 26: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

26

ASTIN Working Party on ICDML

Didactic implementation 2 types of synthetic claims Excel Cascading DY 1 hidden layer 8 neurons Paids only

Page 27: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

27

Synthetic Claims

Controlled environment

Page 28: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

28

Synthetic Claims

Controlled environmentin-samplewe know – NN knows⇒ use for training

out-of-samplewe know – NN knows not⇒ use for testing

Page 29: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

29

0

500'000

1'000'000

1'500'000

0 500'000 1'000'000 1'500'000

goal DY 2 DY 3 DY 4 DY 5

DY 6 DY 7 DY 10 DY 12

0

200'000

400'000

600'000

800'000

1'000'000

1'200'000

0 5 10 15 20

570 true 570 in-sample 570 out-of-sample

783 true 783 in-sample 783 out-of-sample

ASTIN Working Party on ICDML

Didactic implementation 2 types of synthetic claims Excel Cascading DY 1 hidden layer 8 neurons Paids only

out-of-sample

Page 30: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

30

ASTIN Working Party on ICDML

Didactic prototype 2 types of synthetic claims Excel Cascading DY 1 hidden layer 8 neurons Paids only

Experimental implementation Several types of synthetic claims R, Python,… Cascading DY & AY 1 – 2 hidden layers 2 – many neurons Paids & outstandings

Productive roll-out Real data R or Python or SAS Cascading DY or AY ? hidden layers ? neurons Paids & outstandings Other explanatory variables

Page 31: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

31

ICD vs ALD

Aggregate Loss Development Develop with

Chain Ladder Born-Ferg …

Aggregates all claims of a given AY into a single aggregate loss

Works either on paid or incurred losses

Assumes Homogeneous portfolio Independent AY

Individual Claims Development Develop with

DY or AY cascades Convolutional networks …

Considers all individual claims’ features,including non monetary inputs

Considers simultaneously payments and reserves

Works with Heterogeneous portfolios Dependent AY

Page 32: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

32

DY Cascade vs Chain Ladder

-8'000'000

-6'000'000

-4'000'000

-2'000'000

0

2'000'000

4'000'000

6'000'000

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Diff

eren

ces

Accident Year

True - NNTrue - CLTrue - NN TotalTrue - CL Total

Page 33: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

33

-140'000'000

-120'000'000

-100'000'000

-80'000'000

-60'000'000

-40'000'000

-20'000'000

0

20'000'000

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Diff

eren

ces

Accident Year

True - NNTrue - CLTrue - NN TotalTrue - CL Total

DY Cascade vs Chain Ladder

Page 34: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

34

-100'000'000

-80'000'000

-60'000'000

-40'000'000

-20'000'000

0

20'000'000

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Diff

eren

ces

Accident Year

True - NNTrue - CLTrue - NN TotalTrue - CL Total

DY Cascade vs Chain Ladder

Page 35: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

35

Challenges

Architecture

Data pre-processing

Training

Cross validation

Communication

Page 36: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

36

Challenges: Architecture

Monkey & octopus Can solve similar problems Have completely different brains (octopus has 9 brains…)

Dyslexic & autistic humans Have same brain architectures Have completely different skills

Neural network? Activation function (sigmoid)? Penalty function? Number of layers? Number of neurons? Training strategy? Fully-connected vs convolutional network? …

Page 37: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

37

Challenges: Data Pre-Processing

Humans are good at catching flying objects But less if they are myopic

Humans are good at communicating orally But less if they are hearing-impaired

Neural network! Pre-process inputs! Scale outputs

requires a healthy understandingof the underlying phenomena

Page 38: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

38

Challenges: Training

How do you learn A poem A foreign language A programming language A mathematical method …

Neural network Minimize penalty function over a high dimensional parameter space Backpropagation

Very fast (Python, Matlab) Steepest gradient ⇒ local minima

Simulated annealing? Global minimum? Untested?

Page 39: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

39

Challenges: Communication

You ride a car – do you know how your ABS works? your airbag triggers? it will drive on its own?

You implement Chain Ladder – do you understand why the link factors take these values? you may apply this method?

Richard Feynman: Nobody understands Quantum Mechanics!

Produce with neural networks – illustrate with decision trees

Page 40: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

40

Challenges: Cross Validatio

Important technical issue

As important as AvE

Page 41: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

41

Synthetic vs Real Data

Synthetic data Training: ignore known DY Validation: use these DY

Real data Training: use all known DY Validation: cross-validate w/in AY

Page 42: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

42

Claims Generator

Generate individual claims with probability distributions of Severity: ultimate 𝑈𝑈~𝐿𝐿𝐿𝐿 𝜇𝜇,𝜎𝜎 Development patterns: age-to-ultimate 𝐹𝐹 𝑡𝑡 ~𝐿𝐿𝐿𝐿 𝜇𝜇𝑡𝑡,𝜎𝜎𝑡𝑡

Components Paid 𝑃𝑃 𝑡𝑡 = 𝑈𝑈 ⋅ 𝐹𝐹𝑃𝑃 𝑡𝑡 Outstanding 𝑂𝑂 𝑡𝑡 = 𝑈𝑈 ⋅ 𝐹𝐹𝑂𝑂 𝑡𝑡 Incurred 𝐼𝐼 𝑡𝑡 = 𝑃𝑃 𝑡𝑡 + 𝑂𝑂 𝑡𝑡

Patterns

𝐹𝐹𝑃𝑃 𝑡𝑡 : 𝜇𝜇𝑡𝑡 = 1 − 𝑒𝑒−𝑡𝑡−𝜏𝜏𝜆𝜆

𝛼𝛼

𝐹𝐹𝑂𝑂 𝑡𝑡 : 𝜇𝜇𝑡𝑡 = 𝛼𝛼𝑒𝑒−𝑡𝑡−𝜏𝜏𝜆𝜆

2

Dependence Frank Copula 𝐹𝐹𝑃𝑃 𝑡𝑡 ⋈ 𝐹𝐹𝑂𝑂 𝑡𝑡 for each 𝑡𝑡 0%

50%

100%

0% 50% 100%

0%20%40%60%80%

100%120%140%

0 5 10 15 20

paid outs incu

Page 43: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

43

Synthetic Claims

Generate as many individual claims as needed

Mix individuals claims from different models

0

200'000

400'000

600'000

800'000

1'000'000

1'200'000

1'400'000

0 5 10 15 20

paid outs incu

0200'000400'000600'000800'000

1'000'0001'200'0001'400'0001'600'000

0 5 10 15 20

paid outs incu

Page 44: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

44

Cross Validation

Page 45: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

45

Cross Validation

Page 46: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

46

Cross Validation

validation set 1

training set 1validation set 2

training set 2

training set 2

validation set 3training set 3

training set 3…

Page 47: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

47

0

1'000'000

2'000'000

0 1'000'000 2'000'000

goal training validation

Cross Validation – Residual Analysis

�𝑌𝑌𝑖𝑖 = true values�𝑌𝑌𝑖𝑖 = predicted values

validation set 1

training set 1

0%

20%

40%

60%

80%

100%

0% 20% 40% 60% 80% 100%

training validation

0%

20%

40%

60%

80%

100%

-10% 0% 10% 20%

training validation

𝑌𝑌 ℙ𝑌𝑌

�𝑌𝑌

𝑦𝑦

ℙ�𝑌𝑌 ℙ𝑦𝑦

𝑦𝑦𝑖𝑖 =𝑌𝑌𝑖𝑖 − �𝑌𝑌𝑖𝑖𝑌𝑌𝑖𝑖

= residual

Page 48: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

48

Cross Validation – Measures of Fit

�𝑌𝑌𝑖𝑖 = true values�𝑌𝑌𝑖𝑖 = predicted values

CoV =1𝑁𝑁 ∑ 𝑌𝑌𝑖𝑖− �𝑌𝑌𝑖𝑖 2

1𝑁𝑁 ∑ 𝑌𝑌𝑖𝑖

discrepancy = 1𝑁𝑁∑𝑦𝑦𝑖𝑖2

0%

20%

40%

60%

80%

100%

-1.5% -1.0% -0.5% 0.0%

CoV discrepancy

validation − training

validation ≫ training validation ~ training

Page 49: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

49

Advantages

Respond very fast… but training can take long

Can generalize… and may get it wrong

Are robust… most of them

Are very flexible with regard to inputs… if well pre-processed

Can update their knowledge continuously… with reinforced learning

Page 50: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

50

Ubiquitous Neural Networks

Insurance? Actuarial engineering

• Individual claims development• Pricing• Alternative to replicating portfolios• …

Claims• Regulation of attritional claims• Fraud detection• …

Underwriting & customer relations• Lapse prediction• Retention programs• Behavioural advice (telematics, health,…)• …

Alternative insurance ???

Page 51: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

51

Food for Thoughts

2035actuarial

professiondisappears

2015actuariestolerated

1995Chief

Actuariesin EB

Page 52: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

52

Statutory reserving

Different models depending on data availability / quality line of business / market processes / products … actuarial judgment

→ 1st moment of a distribution

standard reserving model

Solvency II

Different models depending on data availability / quality line of business / market processes / products … actuarial judgment

→ nth moment of a distribution

standard solvency formula

Different models depending on data availability / quality line of business / market processes / products … actuarial judgment

… et Carthago delenda est!

Page 53: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

53

BOF

Standard Solvency II formula Analytic linear approximation

𝑆𝑆𝑆𝑆𝑆𝑆 ← 𝜎𝜎2 = ∑𝜌𝜌𝑖𝑖𝑖𝑖𝜎𝜎𝑖𝑖𝜎𝜎𝑖𝑖 Probe the tail with 2nd moments

Internal models Numerical aggregation of realistic distributions

𝑆𝑆𝑆𝑆𝑆𝑆 ← risk1 ⊗ risk2 ⊗ risk3 ⊗⋯ Probe the true tail

… et Carthago delenda est!

Page 55: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

55

2035actuarial

professiondisappears

Food for Thoughts

It’s not quantum field theory!If you can prototype it in Excel,

then it can’t be difficult…

2035actuaries

bring valueagain

2015actuariestolerated

1995Chief

Actuariesin EB

Page 56: Who’s Afraid of Artificial Intelligence · 2018-05-22 · New players flood the market with “digital” alternatives to insurance 2025 Insurance industry flood the market with

56

Frank Cuypers

+41 (41) 725 32 94

[email protected]

Lecturer’s Coordinates