SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
HPC for valuation of complex insurance guarantees 
Jok Tang, Koos Huijssen (VORtech) 
Denys Semagin (NN Group, ING Re) 
TopQuants Autumn Workshop 2014 KPMG, Amstelveen, November 12, 2014
Disclaimer 
From both ING Re and VORtech. 
The contents provided in this presentation are informative in nature only, and do not express any official position or statement of either ING Re or VORtech. Both ING Re and VORtech take no responsibility for inaccuracies or interpretation of the information.
Outline 
Part I 
 
ING Re introduction 
 
Complex insurance guarantees: variable annuities 
 
Valuation models for variable annuities and computational challenges 
Part II 
 
VORtech introduction 
 
High-performance computing for valuation of variable annuities 
 
Scenarios for implementation
Outline 
Part I 
 
ING Re introduction 
 
Complex insurance guarantees: variable annuities 
 
Valuation models for variable annuities and computational challenges 
Part II 
 
VORtech introduction 
 
High-performance computing for valuation of variable annuities 
 
Scenarios for implementation
NN Group and ING Re introduction 
NN Group 
An insurance and investment management company active in more than 18 countries, with a strong presence in a number of European countries and Japan. Formerly part of ING Group, NN Group listed as an independent company on Euronext Amsterdam on 2 July 2014. 
See more at www.nn-group.com 
What is ING Re 
The NN Group Reinsurance and Hedging Company 
• 
Internal NN Group reinsurer 
• 
Owner of the hedging program for VA Japan and VA Europe 
ING Re’s purpose 
Achieve capital benefits by reinsurance and hedge risks with the market 
• 
Offer reinsurance solutions for NN Group business units 
• 
As an internal reinsurer, free up capital for the shareholders 
• 
Maintain top quality hedging platform for NN Group 
• 
Work towards a well-diversified, transparent and healthy portfolio
Variable Annuity (VA): What is it? 
 
Complex unit-linked (life) insurance guarantees. 
 
Insurer invests Customer’s premia buying units of mutual funds 
 
Insurer guarantees the invested amount (less fees/costs) 
 
The (variable) guarantee is linked to death and other rider benefits. 
 
Embedded options with exposure to market and non-market risks. 
 
Variety of benefits, investment profiles, and holding periods: whole universe of challenges for pricing and risk management!
Challenges of VA valuation 
 
Business challenges of VA pricing and hedging have been actively discussed in recent years, including earlier talks at TopQuants: 
 
Additionally, it is a major modeling and computational challenge, hence ever growing practical needs for HPC as we discuss here.
Basic Variable Annuity: How it works? 
Customer chooses the amount, type of premium, and holding period. Insurer invests the assets: premium  funds  account value (AV). 
Insurer offers death benefit (at any point) and survival benefit (at the end), and other benefits, composition of which defines Insurer’s risks. 
Customer bears running cost/fees, and can lapse the contract at any time and withdraw the available account value (American option). 
PREMI UM 
AVAILABLEACCOUNT VALUE 
CAPITAL SHORTFALL (INSURER’sRISK) 
Inception 
Maturity 
SurvivalBenefit: Payout or Annuity 
Death Benefit Payout 
AV shortfall: 
Insurer’s Risk 
Account Value (AV) 
Benefit payout: at least the guarantee G, or the AV if AV>G. 
Risk: For AV<G, the (re-)insurer covers the AV shortfall.
General approach to modeling VAs 
FUND RETURNS 
Market Inputs 
Contracts 
Analyze portfolio data Set flow dimensions Link functional components 
MARKET RISK FACTORS RETURNS 
Repeat flow cycles with altered parameters for various reported metrics 
PRODUCT FEATURES, ACTUARIAL VALUES 
CASH FLOWS, PV 
Often the final block in cycle
Liability model base (schematic) 
Stochastic process for market risk factors 
퐴퐴sc,t=෍푤푓 푓 퐹sc,푡,푓=෍푤푓 푓 ෍훽푓, rf 푆sc,푡,rfrf 
푆sc, t+1, rf= 푆sc, t,rf 푟sc,t 푑푑+푆sc, t, rf 휎t,rf 푑푑sc,t,rf, 푑푑 ~푁(0,푑푑) 
퐶퐶sc,t,b=max퐺sc,t,b−퐴퐴sc,t ,0 
푃푃b=퐸sc෍퐶퐶sc,푡,bexp−푟sc,푡 푡 푡 
Account value as weighted combination of funds, regressed on risk factors 
Payout / cash flow projections for the liability guarantees per benefit type 
Present value per benefit type as expectation of relevant discounted cash flows
Model Dimensions and Complexity 
Collection of Monte-Carlo projections, all compatible w.r.t. scenario and time dimensions Nsc x Nt 
Array/mesh of uniform random numbers, Nrn 
Nsc x Nt 
Nsc x Nt 
Nsc x Nt 
Nsc x Nt 
Multi-variates 
Risk Factors 
Funds 
Benefit payout 
Nrn >= Nmv x Nsc x Nt 
Nmv 
Nrf 
Nmv >= Nrf 
Nrf =< Nf 
Nf 
Nf >= Nb 
Nb 
퐹sc,푡,푓 
푆sc,t,rf 
퐶퐶sc,t,b 
푑푑sc,t,mv 
푃푃b 
Present values per benefit and other derived metrics
Model Dimensions and Complexity - 2 
A 
B 
C 
D 
E 
F 
Fund profile 
Product profile: time to maturity, guarantee levels, moneyness, surrender, fees, age, mortality rates, etc. 
Today 5yr 10yr 15yr 
? 
Multiple cycles of per-policy processing 
Target: Aligned collection of results projections (cash flow, pv) per scenario
Model focus for HPC: functional flow 
Seek balance between the scope of covered functionality and the amount of data shared across the following parallelized modules (focus on scalability and efficient memory management): 
 
Random number generation and relevant transforms 
 
Stochastic scenario projections for risk factors and funds 
 
Processing policies by type, risk profile and other criteria 
 
Path-dependent values of various actuarial/cashflow models 
 
Other manipulations of large cash flow arrays for various reporting.
Model focus for HPC: atomic algorithms 
The estimate of target speed-up potential boils down to performance metrics for the representative assignment operations on large arrays (assuming efficient data/memory management): 
 
Simple referencing to other arrays/variables and using + , – , *  D = A*B – C; 
 
More costly operations like division, exponent, log etc  D = exp( A/B ); 
 
Mix of the above referencing to other parts of the same array  D[i] = D[i-1] * A[i]/A[i-1] ; 
 
Conditional switch of the parameters and/or functional form  D[i] = D[i-1]/exp(A[i] – B[i]) if B[i]<A[i]; else D[i]=α*D[i-1];
Production platforms for VA valuations 
Purpose: risk management, trading, reporting, product development; Focus: perfomance, robustness, user convenience, R&D capabilities; 
One example: ING Insurance Library at ING Life Japan (e.g. presented at SoA conference, Tokyo 2010, http://www.soa.org/files/pd/2010-tokyo-ebig-rallis.pdf ) 
DB 
 
Performance-driven hedging platform; 
 
Scalable isolated instances of engine; 
 
Designed with strict security and robustness requirement; 
 
Some prototyping / ad-hoc research done by VBA replica (~100x slower per core)
Practical challenges running a platform 
Hardware / Software 
• 
Limitations of datacenter space and available hardware 
• 
Historically chosen specific design and parallelization approach 
Business Dynamics vs Resources 
• 
Resource utilization patterns for ever changing contract profiles 
• 
Uneven workload on flow modules for different business needs 
• 
Changing priorities and allocation of dedicated resources 
Operations / 
Continuity 
• 
Trained staff with advanced programming and business skills 
• 
Prototyping capabilities, code transparency and flexibility 
• 
Respond to growing business needs for more granular insights 
• 
Respond to developing technology and regulatory environment
High level HPC needs for VA revisited 
 
Adopt new affordable power and technology options for performance 
 
Optimize the HW costs and dependencies with new trends in hosting 
 
Address legacy design limitations (e.g. memory, parallelization) 
 
Adapt to more commonly available skillset for active contribution 
 
Retain more prototyping flexibility and transparency of the solution 
As an option: 
Take a step back to prototyping environment (e.g. VBA) and consider a design focusing on productivity, flexibility, transparency, and costs
Outline 
Part I 
 
ING Re introduction 
 
Complex insurance guarantees: variable annuities 
 
Valuation models for variable annuities and computational challenges 
Part II 
 
VORtech introduction 
 
High-performance computing for valuation of variable annuities 
 
Scenarios for implementation
VORtech introduction 
Company overview 
 
Established in 1996. Spin-off from Delft University of Technology. 
 
Office located in Delft. 
 
Organization growing gradually. Over 20 employees in 2014. 
 
Highly qualified employees. Over 50% holds a PhD degree. 
 
Key expertise: 
 
Scientific software engineering; 
 
Mathematical consultancy.
VORtech introduction 
Application domains 
 
Water management 
 
Traffic and infrastructure 
 
Climate and environment 
 
Energy and oil industry 
 
Process and plant industry 
 
Finance 
 
Education and research 
 
and more…
VORtech introduction 
Business unit: VORfinance 
 
VORfinance focus: 
o 
Develop solutions for financial-oriented problems 
 
Domain includes: 
o 
Banks, insurance companies, risk-management departments, asset management firms 
 
Solution tools: 
o 
Software engineering 
o 
High performance computing 
o 
Financial and actuarial mathematics 
o 
Numerical optimization
VORtech introduction 
Products and services 
 
Enhance mathematical models and solution methods. 
 
Optimize software by high performance computing (OpenMP, MPI, CUDA/OpenCL). 
 
Professional implementation of financial scientific software. 
 
Organize courses and seminars
Variable annuity project 
 
VORtech is involved to: 
 
Perform a model scan of the prototype code. 
 
Provide suggestions for parallel system design based on prototype code. 
 
Some requirements: 
 
Performance requirement 
code needs to be significantly faster; 
 
Flexibility requirement 
flexibility of the code should be maintained; 
 
Transparency requirement 
transparency of the code should be maintained.
Acceleration options 
A few approaches of acceleration: 
1) 
An HPC environment is adopted; 
2) 
Parts of prototype code are ported to different programming environment; 
3) 
Port prototype code as a whole to different programming environment. 
In the model scan, profiling tests are done. 
Goal: identify time-consuming components of prototype code.
Time-consuming parts of the code 
 
One specific time-consuming component, called hereafter “MapRFs”: 
Loop over funds 
Loop over periods 
Loop over indices 
Loop over scenarios 
Generate fund projections 
End loop 
End loop 
End loop 
End loop 
Another time-consuming component, called hereafter “CF Comp”: 
Loop over policies 
Loop over scenarios 
Loop over periods 
Loop over funds 
Series of cash flow computations 
End loop 
End loop 
End loop 
End loop
Acceleration OptionGPUWindows HPC server * MATLAB (parallel computing toolbox) .NET / C++ (CUDAfy, OpenMP, MPI) HybridCPU multicore computingnoyesyesyesyesCPU cluster computingnoyesyesyesyesGPU computingyesnoyesyesyesPerformance gainvery highhigh highhighhighHardware/software costlowmoderate/high highmoderate/highmoderateRatio gain / costhighmoderatemoderatemoderate/highmoderate/highTransparancylowhigh moderatemoderatelowFlexibilitymoderatehigh highmoderatemoderate*Development cost of this option is low 
Solutions
High-Performance computing 
Windows HPC Server solution 
GPU solution
High-Performance computing 
Hybrid solution
Windows HPC Server 
• 
To support HPC Services for different prototype codes: current prototype code needs to include set of macros that implement asynchronous functions. 
•Most important macros including their function names: 
oHPC_Initialize: perform any pre-calculation or initialization steps 
oHPC_Partition: collect required parameters for a single calculation step 
oHPC_Execute: perform one calculation step 
oHPC_Merge: process the results of a single calculation step 
oHPC_Finalize: perform any post-calculation processing
GPU Solution 
A full DLL call: 
• 
Holistic, single kernel 
• 
Single-entry point 
• 
Con: Not fully flexible and transparent 
• 
Pro: Efficient 
Separate DLL calls: 
• 
Atomic kernels 
• 
Multiple-entry points 
• 
Pro: Flexible and transparent 
• 
Con: Not fully efficient 
In DLL (CPU/GPU): * Function: Initialize various static data in host* Function: Initialize device with static data* Function: Draw random numbers* Different functions regarding: Perform risk factors projection* Different functions regarding: Perform risk factors to fund mapping ("MapRFs") * Different Functions regarding: Perform cash flow computations ("CF Comp") * Function: Calculate and send back output data
GPU Solution 
 
Tentative results for the test case “CF Comp” 
OpenCL Computations: 
• 
AMD Radeon HD 9870M 
• 
1280 cores 
• 
Double precision 
• 
“Standard” implementation 
C Computations: 
• 
i7-2640, 2.80 Ghz 
• 
8GB RAM 
• 
Double precision 
• 
O2 optimization 
Parameters 1234# Policies10010010001000# Scenarios10010001001000# Total Funds48484848# Active Funds27272727# Time Steps191191191191Programming language1234VBA (sequential)5.255.049.9533.1C (sequential)0.21.41.514.1OpenCL (parallel)0.020.020.020.15Speedup factors 1234VBA to C26.039.333.337.8VBA to OpenCL346.72619.02935.33554.0C to OpenCL13.366.788.294.0Test ProblemComputational time in sec 
CPU-GPU Data transfer: 
• 
GPU memory bandwidth 154 GB/s 
• 
PCIe 3.0 bus bandwidth 16 GB/s 
• 
Data transfer time for the Test 4 (~200MB) plus latency: ~10 ms.
GPU Solution 
 
Tentative results for different variants of “CF Comp”: 
 
CodeTest Cases1234# Policies10010010001000# Scenarios10010001001000VBACF Comp (s)5.255.049.9533.1(sequential)CF Mod Exp (s)10.9111.9104.01122.5CF Mod Base (s)6.667.061.6673.6CF Mod Cond (s)9.497.392.5960.2CCF Comp (s)0.21.41.514.1(sequential)CF Mod Exp (s)0.44.34.443.3CF Mod Base (s)0.43.63.635.8CF Mod Cond (s)0.43.63.635.6OpenCLCF Comp (s)0.020.020.020.2(parallel)CF Mod Exp (s)0.030.130.090.9CF Mod Base (s)0.010.10.10.8CF Mod Cond (s)0.020.10.11.0 
CF Comp: standard. CF Mod Exp: formula with an exponent. CF Mod Base: formula with shifted array references. CF Mod Cond: formula with a conditional switch of functional statements.
GPU Solution 
 
Tentative results for different variants of “CF Comp”: 
 
VBA -> OpenCL Speedup factors1234CF Comp346.72619.02935.33554.0CF Mod Exp330.3895.21155.61261.2CF Mod Base471.4609.1733.3863.6CF Mod Cond587.5810.8840.9950.7C -> OpenCL Speedup factors1234CF Comp13.366.788.294.0CF Mod Exp12.134.448.948.7CF Mod Base28.632.742.945.9CF Mod Cond25.030.032.735.2 
CF Comp: standard. CF Mod Exp: formula with an exponent. CF Mod Base: formula with shifted array references. CF Mod Cond: formula with a conditional switch of functional statements.
Main conclusions of the model scan 
 
Parallelizing prototype code is an adequate way to proceed. 
 
The two best acceleration options: 
 
GPU solution: 
 
will require a significant development effort, 
 
investment of hardware is low, 
 
flexibility and transparency will suffer. 
 
HPC server solution: 
 
requires a significant investment in a cluster, 
 
development cost is relatively low, 
 
flexibility and transparency will be maintained.
Possible scenarios for implementation 
* Units per row correspond to a different actual cost. 
Acceleration OptionGPU solutionWindows HPC server solutionExplanationParts of prototype code will be outsourced to GPUsPrototype code will run in HPC Server environmentHardware requirementsMachine including powerful GPU with 2000+ coresHPC cluster with at least 256 nodesEstimated hardware/ software cost * 1 unit20 unitsSoftware developmentBuild DLL with CPU/GPU routinesBuild HPC functions to prototype Build interface layer (in C#)Adapt original prototype codeAdapt original prototype codeDevelopment cost *7 units1 unitPerformance gainHighHighCode transparancy LowHighSoftware flexibilityModerateHigh
Thanks for your attention! 
Dr.ir. J.M. (Jok) Tang 
VORtech 
tang@vortech.nl 
+3115 – 251 19 49 
Contact information 
Denys Semagin, PhD ING Re Denys.Semagin@nn-group.com +31 70 379 11 64

Contenu connexe

Tendances

Chapter14 socialcostbenefitanalysis
Chapter14 socialcostbenefitanalysisChapter14 socialcostbenefitanalysis
Chapter14 socialcostbenefitanalysisAKSHAYA0000
 
L2 flash cards equity - SS 10
L2 flash cards equity - SS 10L2 flash cards equity - SS 10
L2 flash cards equity - SS 10analystbuddy
 
3. eng. cost and estimation
3. eng. cost and estimation3. eng. cost and estimation
3. eng. cost and estimationMohsin Siddique
 
L2 flash cards fixed income - SS 14
L2 flash cards fixed income - SS 14L2 flash cards fixed income - SS 14
L2 flash cards fixed income - SS 14analystbuddy
 
Quantitative Analyst: CCR / CVA / Credit / Market / Operational Risk
Quantitative Analyst: CCR / CVA / Credit / Market / Operational RiskQuantitative Analyst: CCR / CVA / Credit / Market / Operational Risk
Quantitative Analyst: CCR / CVA / Credit / Market / Operational RiskBen Goodfellow
 
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk Modelling
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk ModellingQuantitative Analytics; CCR / CVA / Credit / Market / Operational Risk Modelling
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk ModellingBen Goodfellow
 
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...Andrea Gigli
 
Chapter 13 breakeven analysis
Chapter 13   breakeven analysisChapter 13   breakeven analysis
Chapter 13 breakeven analysisBich Lien Pham
 
Best Practice EAD Modelling Methodologies v1.4
Best Practice EAD Modelling Methodologies v1.4Best Practice EAD Modelling Methodologies v1.4
Best Practice EAD Modelling Methodologies v1.4David Ong
 
Valuation Methodologies
Valuation MethodologiesValuation Methodologies
Valuation MethodologiesAshley Larson
 
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...Project Controls Expo
 
Risk Concept And Management 5
Risk Concept And Management 5Risk Concept And Management 5
Risk Concept And Management 5rajeevgupta
 
FRTB Outlook - Chappuis Halder & Co
FRTB Outlook - Chappuis Halder & CoFRTB Outlook - Chappuis Halder & Co
FRTB Outlook - Chappuis Halder & CoAugustin Beyot
 
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...SlideTeam
 
EAD Parameter : A stochastic way to model the Credit Conversion Factor
EAD Parameter : A stochastic way to model the Credit Conversion FactorEAD Parameter : A stochastic way to model the Credit Conversion Factor
EAD Parameter : A stochastic way to model the Credit Conversion FactorGenest Benoit
 
Frank k. reilly &amp; keith224
Frank k. reilly &amp; keith224Frank k. reilly &amp; keith224
Frank k. reilly &amp; keith224saminamanzoor1
 
Incremental Risk Charge - Credit Migration Risk
Incremental Risk Charge - Credit Migration RiskIncremental Risk Charge - Credit Migration Risk
Incremental Risk Charge - Credit Migration Riskjohannes_rebel
 

Tendances (20)

Chapter14 socialcostbenefitanalysis
Chapter14 socialcostbenefitanalysisChapter14 socialcostbenefitanalysis
Chapter14 socialcostbenefitanalysis
 
L2 flash cards equity - SS 10
L2 flash cards equity - SS 10L2 flash cards equity - SS 10
L2 flash cards equity - SS 10
 
3. eng. cost and estimation
3. eng. cost and estimation3. eng. cost and estimation
3. eng. cost and estimation
 
Mb2521002105
Mb2521002105Mb2521002105
Mb2521002105
 
L2 flash cards fixed income - SS 14
L2 flash cards fixed income - SS 14L2 flash cards fixed income - SS 14
L2 flash cards fixed income - SS 14
 
Quantitative Analyst: CCR / CVA / Credit / Market / Operational Risk
Quantitative Analyst: CCR / CVA / Credit / Market / Operational RiskQuantitative Analyst: CCR / CVA / Credit / Market / Operational Risk
Quantitative Analyst: CCR / CVA / Credit / Market / Operational Risk
 
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk Modelling
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk ModellingQuantitative Analytics; CCR / CVA / Credit / Market / Operational Risk Modelling
Quantitative Analytics; CCR / CVA / Credit / Market / Operational Risk Modelling
 
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...
Impact of Valuation Adjustments (CVA, DVA, FVA, KVA) on Bank's Processes - An...
 
SAP 1st Meeting (Winter 2008)
SAP 1st Meeting (Winter 2008)SAP 1st Meeting (Winter 2008)
SAP 1st Meeting (Winter 2008)
 
Chapter 13 breakeven analysis
Chapter 13   breakeven analysisChapter 13   breakeven analysis
Chapter 13 breakeven analysis
 
Best Practice EAD Modelling Methodologies v1.4
Best Practice EAD Modelling Methodologies v1.4Best Practice EAD Modelling Methodologies v1.4
Best Practice EAD Modelling Methodologies v1.4
 
Valuation Methodologies
Valuation MethodologiesValuation Methodologies
Valuation Methodologies
 
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...
Project Controls Expo - 31st Oct 2012 - Cost Modelling: Integrated Cost and S...
 
Risk Concept And Management 5
Risk Concept And Management 5Risk Concept And Management 5
Risk Concept And Management 5
 
FRTB Outlook - Chappuis Halder & Co
FRTB Outlook - Chappuis Halder & CoFRTB Outlook - Chappuis Halder & Co
FRTB Outlook - Chappuis Halder & Co
 
Fm assignment
Fm assignmentFm assignment
Fm assignment
 
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...
Stock Pitch For Satellite Based Solutions PowerPoint Presentation Ppt Slide T...
 
EAD Parameter : A stochastic way to model the Credit Conversion Factor
EAD Parameter : A stochastic way to model the Credit Conversion FactorEAD Parameter : A stochastic way to model the Credit Conversion Factor
EAD Parameter : A stochastic way to model the Credit Conversion Factor
 
Frank k. reilly &amp; keith224
Frank k. reilly &amp; keith224Frank k. reilly &amp; keith224
Frank k. reilly &amp; keith224
 
Incremental Risk Charge - Credit Migration Risk
Incremental Risk Charge - Credit Migration RiskIncremental Risk Charge - Credit Migration Risk
Incremental Risk Charge - Credit Migration Risk
 

Similaire à HPC for Valuation of Complex Insurance Guarantees

Nick Wade Using A Structural Model For Enterprise Risk, Dst Conference 2011...
Nick Wade   Using A Structural Model For Enterprise Risk, Dst Conference 2011...Nick Wade   Using A Structural Model For Enterprise Risk, Dst Conference 2011...
Nick Wade Using A Structural Model For Enterprise Risk, Dst Conference 2011...yamanote
 
How to assess projects using the VCR framework
How to assess projects using the VCR frameworkHow to assess projects using the VCR framework
How to assess projects using the VCR frameworkPete Hidalgo
 
Advanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk AnalysisAdvanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk AnalysispetroEDGE
 
Corporate Finance Models
Corporate Finance ModelsCorporate Finance Models
Corporate Finance ModelsBjørnar Eide
 
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...PMI Pearl City Chapter
 
Derivatives Post Trade Processing
Derivatives Post Trade ProcessingDerivatives Post Trade Processing
Derivatives Post Trade ProcessingGenpact Ltd
 
everis Marcus Evans FRTB Conference 23Feb17
everis Marcus Evans FRTB Conference 23Feb17everis Marcus Evans FRTB Conference 23Feb17
everis Marcus Evans FRTB Conference 23Feb17Jonathan Philp
 
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?Risk as a Service – The Next Thing in Affordable Corporate Risk Management?
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?CTRM Center
 
Acc equity research report
Acc equity research reportAcc equity research report
Acc equity research reportshub09
 
hict Resultancy Radar
hict Resultancy Radarhict Resultancy Radar
hict Resultancy Radarhict
 
Risk And Relevance 20080414ppt
Risk And Relevance 20080414pptRisk And Relevance 20080414ppt
Risk And Relevance 20080414pptgregoryg
 
Risk And Relevance 20080414ppt
Risk And Relevance 20080414pptRisk And Relevance 20080414ppt
Risk And Relevance 20080414pptgregoryg
 
Ebookblogv2 120116015321-phpapp01
Ebookblogv2 120116015321-phpapp01Ebookblogv2 120116015321-phpapp01
Ebookblogv2 120116015321-phpapp01Shubhashish Biswas
 
AgendaComprehending risk when modeling investment (project) de.docx
AgendaComprehending risk when modeling investment (project) de.docxAgendaComprehending risk when modeling investment (project) de.docx
AgendaComprehending risk when modeling investment (project) de.docxgalerussel59292
 

Similaire à HPC for Valuation of Complex Insurance Guarantees (20)

Getting Under the Hood of Company Valuations in M&A
Getting Under the Hood of Company Valuations in M&AGetting Under the Hood of Company Valuations in M&A
Getting Under the Hood of Company Valuations in M&A
 
Nick Wade Using A Structural Model For Enterprise Risk, Dst Conference 2011...
Nick Wade   Using A Structural Model For Enterprise Risk, Dst Conference 2011...Nick Wade   Using A Structural Model For Enterprise Risk, Dst Conference 2011...
Nick Wade Using A Structural Model For Enterprise Risk, Dst Conference 2011...
 
CAST HIGHLIGHT - Overview & Demos
CAST HIGHLIGHT - Overview & DemosCAST HIGHLIGHT - Overview & Demos
CAST HIGHLIGHT - Overview & Demos
 
How to assess projects using the VCR framework
How to assess projects using the VCR frameworkHow to assess projects using the VCR framework
How to assess projects using the VCR framework
 
Advanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk AnalysisAdvanced Petroleum Economics & Risk Analysis
Advanced Petroleum Economics & Risk Analysis
 
Corporate Finance Models
Corporate Finance ModelsCorporate Finance Models
Corporate Finance Models
 
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
Dhaval Shah on "Strategic Alignment Of Projects For Higher Profits And Increa...
 
Derivatives Post Trade Processing
Derivatives Post Trade ProcessingDerivatives Post Trade Processing
Derivatives Post Trade Processing
 
JeremyBachelier_12052015
JeremyBachelier_12052015JeremyBachelier_12052015
JeremyBachelier_12052015
 
everis Marcus Evans FRTB Conference 23Feb17
everis Marcus Evans FRTB Conference 23Feb17everis Marcus Evans FRTB Conference 23Feb17
everis Marcus Evans FRTB Conference 23Feb17
 
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?Risk as a Service – The Next Thing in Affordable Corporate Risk Management?
Risk as a Service – The Next Thing in Affordable Corporate Risk Management?
 
Acc equity research report
Acc equity research reportAcc equity research report
Acc equity research report
 
hict Resultancy Radar
hict Resultancy Radarhict Resultancy Radar
hict Resultancy Radar
 
Risk And Relevance 20080414ppt
Risk And Relevance 20080414pptRisk And Relevance 20080414ppt
Risk And Relevance 20080414ppt
 
Risk And Relevance 20080414ppt
Risk And Relevance 20080414pptRisk And Relevance 20080414ppt
Risk And Relevance 20080414ppt
 
Yogesh Keshaowar_Profile
Yogesh Keshaowar_ProfileYogesh Keshaowar_Profile
Yogesh Keshaowar_Profile
 
Ebookblogv2 120116015321-phpapp01
Ebookblogv2 120116015321-phpapp01Ebookblogv2 120116015321-phpapp01
Ebookblogv2 120116015321-phpapp01
 
Resume
ResumeResume
Resume
 
AgendaComprehending risk when modeling investment (project) de.docx
AgendaComprehending risk when modeling investment (project) de.docxAgendaComprehending risk when modeling investment (project) de.docx
AgendaComprehending risk when modeling investment (project) de.docx
 
Pallavi Shrivastava- Finance
Pallavi Shrivastava- FinancePallavi Shrivastava- Finance
Pallavi Shrivastava- Finance
 

HPC for Valuation of Complex Insurance Guarantees

  • 1. HPC for valuation of complex insurance guarantees Jok Tang, Koos Huijssen (VORtech) Denys Semagin (NN Group, ING Re) TopQuants Autumn Workshop 2014 KPMG, Amstelveen, November 12, 2014
  • 2. Disclaimer From both ING Re and VORtech. The contents provided in this presentation are informative in nature only, and do not express any official position or statement of either ING Re or VORtech. Both ING Re and VORtech take no responsibility for inaccuracies or interpretation of the information.
  • 3. Outline Part I  ING Re introduction  Complex insurance guarantees: variable annuities  Valuation models for variable annuities and computational challenges Part II  VORtech introduction  High-performance computing for valuation of variable annuities  Scenarios for implementation
  • 4. Outline Part I  ING Re introduction  Complex insurance guarantees: variable annuities  Valuation models for variable annuities and computational challenges Part II  VORtech introduction  High-performance computing for valuation of variable annuities  Scenarios for implementation
  • 5. NN Group and ING Re introduction NN Group An insurance and investment management company active in more than 18 countries, with a strong presence in a number of European countries and Japan. Formerly part of ING Group, NN Group listed as an independent company on Euronext Amsterdam on 2 July 2014. See more at www.nn-group.com What is ING Re The NN Group Reinsurance and Hedging Company • Internal NN Group reinsurer • Owner of the hedging program for VA Japan and VA Europe ING Re’s purpose Achieve capital benefits by reinsurance and hedge risks with the market • Offer reinsurance solutions for NN Group business units • As an internal reinsurer, free up capital for the shareholders • Maintain top quality hedging platform for NN Group • Work towards a well-diversified, transparent and healthy portfolio
  • 6. Variable Annuity (VA): What is it?  Complex unit-linked (life) insurance guarantees.  Insurer invests Customer’s premia buying units of mutual funds  Insurer guarantees the invested amount (less fees/costs)  The (variable) guarantee is linked to death and other rider benefits.  Embedded options with exposure to market and non-market risks.  Variety of benefits, investment profiles, and holding periods: whole universe of challenges for pricing and risk management!
  • 7. Challenges of VA valuation  Business challenges of VA pricing and hedging have been actively discussed in recent years, including earlier talks at TopQuants:  Additionally, it is a major modeling and computational challenge, hence ever growing practical needs for HPC as we discuss here.
  • 8. Basic Variable Annuity: How it works? Customer chooses the amount, type of premium, and holding period. Insurer invests the assets: premium  funds  account value (AV). Insurer offers death benefit (at any point) and survival benefit (at the end), and other benefits, composition of which defines Insurer’s risks. Customer bears running cost/fees, and can lapse the contract at any time and withdraw the available account value (American option). PREMI UM AVAILABLEACCOUNT VALUE CAPITAL SHORTFALL (INSURER’sRISK) Inception Maturity SurvivalBenefit: Payout or Annuity Death Benefit Payout AV shortfall: Insurer’s Risk Account Value (AV) Benefit payout: at least the guarantee G, or the AV if AV>G. Risk: For AV<G, the (re-)insurer covers the AV shortfall.
  • 9. General approach to modeling VAs FUND RETURNS Market Inputs Contracts Analyze portfolio data Set flow dimensions Link functional components MARKET RISK FACTORS RETURNS Repeat flow cycles with altered parameters for various reported metrics PRODUCT FEATURES, ACTUARIAL VALUES CASH FLOWS, PV Often the final block in cycle
  • 10. Liability model base (schematic) Stochastic process for market risk factors 퐴퐴sc,t=෍푤푓 푓 퐹sc,푡,푓=෍푤푓 푓 ෍훽푓, rf 푆sc,푡,rfrf 푆sc, t+1, rf= 푆sc, t,rf 푟sc,t 푑푑+푆sc, t, rf 휎t,rf 푑푑sc,t,rf, 푑푑 ~푁(0,푑푑) 퐶퐶sc,t,b=max퐺sc,t,b−퐴퐴sc,t ,0 푃푃b=퐸sc෍퐶퐶sc,푡,bexp−푟sc,푡 푡 푡 Account value as weighted combination of funds, regressed on risk factors Payout / cash flow projections for the liability guarantees per benefit type Present value per benefit type as expectation of relevant discounted cash flows
  • 11. Model Dimensions and Complexity Collection of Monte-Carlo projections, all compatible w.r.t. scenario and time dimensions Nsc x Nt Array/mesh of uniform random numbers, Nrn Nsc x Nt Nsc x Nt Nsc x Nt Nsc x Nt Multi-variates Risk Factors Funds Benefit payout Nrn >= Nmv x Nsc x Nt Nmv Nrf Nmv >= Nrf Nrf =< Nf Nf Nf >= Nb Nb 퐹sc,푡,푓 푆sc,t,rf 퐶퐶sc,t,b 푑푑sc,t,mv 푃푃b Present values per benefit and other derived metrics
  • 12. Model Dimensions and Complexity - 2 A B C D E F Fund profile Product profile: time to maturity, guarantee levels, moneyness, surrender, fees, age, mortality rates, etc. Today 5yr 10yr 15yr ? Multiple cycles of per-policy processing Target: Aligned collection of results projections (cash flow, pv) per scenario
  • 13. Model focus for HPC: functional flow Seek balance between the scope of covered functionality and the amount of data shared across the following parallelized modules (focus on scalability and efficient memory management):  Random number generation and relevant transforms  Stochastic scenario projections for risk factors and funds  Processing policies by type, risk profile and other criteria  Path-dependent values of various actuarial/cashflow models  Other manipulations of large cash flow arrays for various reporting.
  • 14. Model focus for HPC: atomic algorithms The estimate of target speed-up potential boils down to performance metrics for the representative assignment operations on large arrays (assuming efficient data/memory management):  Simple referencing to other arrays/variables and using + , – , *  D = A*B – C;  More costly operations like division, exponent, log etc  D = exp( A/B );  Mix of the above referencing to other parts of the same array  D[i] = D[i-1] * A[i]/A[i-1] ;  Conditional switch of the parameters and/or functional form  D[i] = D[i-1]/exp(A[i] – B[i]) if B[i]<A[i]; else D[i]=α*D[i-1];
  • 15. Production platforms for VA valuations Purpose: risk management, trading, reporting, product development; Focus: perfomance, robustness, user convenience, R&D capabilities; One example: ING Insurance Library at ING Life Japan (e.g. presented at SoA conference, Tokyo 2010, http://www.soa.org/files/pd/2010-tokyo-ebig-rallis.pdf ) DB  Performance-driven hedging platform;  Scalable isolated instances of engine;  Designed with strict security and robustness requirement;  Some prototyping / ad-hoc research done by VBA replica (~100x slower per core)
  • 16. Practical challenges running a platform Hardware / Software • Limitations of datacenter space and available hardware • Historically chosen specific design and parallelization approach Business Dynamics vs Resources • Resource utilization patterns for ever changing contract profiles • Uneven workload on flow modules for different business needs • Changing priorities and allocation of dedicated resources Operations / Continuity • Trained staff with advanced programming and business skills • Prototyping capabilities, code transparency and flexibility • Respond to growing business needs for more granular insights • Respond to developing technology and regulatory environment
  • 17. High level HPC needs for VA revisited  Adopt new affordable power and technology options for performance  Optimize the HW costs and dependencies with new trends in hosting  Address legacy design limitations (e.g. memory, parallelization)  Adapt to more commonly available skillset for active contribution  Retain more prototyping flexibility and transparency of the solution As an option: Take a step back to prototyping environment (e.g. VBA) and consider a design focusing on productivity, flexibility, transparency, and costs
  • 18. Outline Part I  ING Re introduction  Complex insurance guarantees: variable annuities  Valuation models for variable annuities and computational challenges Part II  VORtech introduction  High-performance computing for valuation of variable annuities  Scenarios for implementation
  • 19. VORtech introduction Company overview  Established in 1996. Spin-off from Delft University of Technology.  Office located in Delft.  Organization growing gradually. Over 20 employees in 2014.  Highly qualified employees. Over 50% holds a PhD degree.  Key expertise:  Scientific software engineering;  Mathematical consultancy.
  • 20. VORtech introduction Application domains  Water management  Traffic and infrastructure  Climate and environment  Energy and oil industry  Process and plant industry  Finance  Education and research  and more…
  • 21. VORtech introduction Business unit: VORfinance  VORfinance focus: o Develop solutions for financial-oriented problems  Domain includes: o Banks, insurance companies, risk-management departments, asset management firms  Solution tools: o Software engineering o High performance computing o Financial and actuarial mathematics o Numerical optimization
  • 22. VORtech introduction Products and services  Enhance mathematical models and solution methods.  Optimize software by high performance computing (OpenMP, MPI, CUDA/OpenCL).  Professional implementation of financial scientific software.  Organize courses and seminars
  • 23. Variable annuity project  VORtech is involved to:  Perform a model scan of the prototype code.  Provide suggestions for parallel system design based on prototype code.  Some requirements:  Performance requirement code needs to be significantly faster;  Flexibility requirement flexibility of the code should be maintained;  Transparency requirement transparency of the code should be maintained.
  • 24. Acceleration options A few approaches of acceleration: 1) An HPC environment is adopted; 2) Parts of prototype code are ported to different programming environment; 3) Port prototype code as a whole to different programming environment. In the model scan, profiling tests are done. Goal: identify time-consuming components of prototype code.
  • 25. Time-consuming parts of the code  One specific time-consuming component, called hereafter “MapRFs”: Loop over funds Loop over periods Loop over indices Loop over scenarios Generate fund projections End loop End loop End loop End loop Another time-consuming component, called hereafter “CF Comp”: Loop over policies Loop over scenarios Loop over periods Loop over funds Series of cash flow computations End loop End loop End loop End loop
  • 26. Acceleration OptionGPUWindows HPC server * MATLAB (parallel computing toolbox) .NET / C++ (CUDAfy, OpenMP, MPI) HybridCPU multicore computingnoyesyesyesyesCPU cluster computingnoyesyesyesyesGPU computingyesnoyesyesyesPerformance gainvery highhigh highhighhighHardware/software costlowmoderate/high highmoderate/highmoderateRatio gain / costhighmoderatemoderatemoderate/highmoderate/highTransparancylowhigh moderatemoderatelowFlexibilitymoderatehigh highmoderatemoderate*Development cost of this option is low Solutions
  • 27. High-Performance computing Windows HPC Server solution GPU solution
  • 29. Windows HPC Server • To support HPC Services for different prototype codes: current prototype code needs to include set of macros that implement asynchronous functions. •Most important macros including their function names: oHPC_Initialize: perform any pre-calculation or initialization steps oHPC_Partition: collect required parameters for a single calculation step oHPC_Execute: perform one calculation step oHPC_Merge: process the results of a single calculation step oHPC_Finalize: perform any post-calculation processing
  • 30. GPU Solution A full DLL call: • Holistic, single kernel • Single-entry point • Con: Not fully flexible and transparent • Pro: Efficient Separate DLL calls: • Atomic kernels • Multiple-entry points • Pro: Flexible and transparent • Con: Not fully efficient In DLL (CPU/GPU): * Function: Initialize various static data in host* Function: Initialize device with static data* Function: Draw random numbers* Different functions regarding: Perform risk factors projection* Different functions regarding: Perform risk factors to fund mapping ("MapRFs") * Different Functions regarding: Perform cash flow computations ("CF Comp") * Function: Calculate and send back output data
  • 31. GPU Solution  Tentative results for the test case “CF Comp” OpenCL Computations: • AMD Radeon HD 9870M • 1280 cores • Double precision • “Standard” implementation C Computations: • i7-2640, 2.80 Ghz • 8GB RAM • Double precision • O2 optimization Parameters 1234# Policies10010010001000# Scenarios10010001001000# Total Funds48484848# Active Funds27272727# Time Steps191191191191Programming language1234VBA (sequential)5.255.049.9533.1C (sequential)0.21.41.514.1OpenCL (parallel)0.020.020.020.15Speedup factors 1234VBA to C26.039.333.337.8VBA to OpenCL346.72619.02935.33554.0C to OpenCL13.366.788.294.0Test ProblemComputational time in sec CPU-GPU Data transfer: • GPU memory bandwidth 154 GB/s • PCIe 3.0 bus bandwidth 16 GB/s • Data transfer time for the Test 4 (~200MB) plus latency: ~10 ms.
  • 32. GPU Solution  Tentative results for different variants of “CF Comp”:  CodeTest Cases1234# Policies10010010001000# Scenarios10010001001000VBACF Comp (s)5.255.049.9533.1(sequential)CF Mod Exp (s)10.9111.9104.01122.5CF Mod Base (s)6.667.061.6673.6CF Mod Cond (s)9.497.392.5960.2CCF Comp (s)0.21.41.514.1(sequential)CF Mod Exp (s)0.44.34.443.3CF Mod Base (s)0.43.63.635.8CF Mod Cond (s)0.43.63.635.6OpenCLCF Comp (s)0.020.020.020.2(parallel)CF Mod Exp (s)0.030.130.090.9CF Mod Base (s)0.010.10.10.8CF Mod Cond (s)0.020.10.11.0 CF Comp: standard. CF Mod Exp: formula with an exponent. CF Mod Base: formula with shifted array references. CF Mod Cond: formula with a conditional switch of functional statements.
  • 33. GPU Solution  Tentative results for different variants of “CF Comp”:  VBA -> OpenCL Speedup factors1234CF Comp346.72619.02935.33554.0CF Mod Exp330.3895.21155.61261.2CF Mod Base471.4609.1733.3863.6CF Mod Cond587.5810.8840.9950.7C -> OpenCL Speedup factors1234CF Comp13.366.788.294.0CF Mod Exp12.134.448.948.7CF Mod Base28.632.742.945.9CF Mod Cond25.030.032.735.2 CF Comp: standard. CF Mod Exp: formula with an exponent. CF Mod Base: formula with shifted array references. CF Mod Cond: formula with a conditional switch of functional statements.
  • 34. Main conclusions of the model scan  Parallelizing prototype code is an adequate way to proceed.  The two best acceleration options:  GPU solution:  will require a significant development effort,  investment of hardware is low,  flexibility and transparency will suffer.  HPC server solution:  requires a significant investment in a cluster,  development cost is relatively low,  flexibility and transparency will be maintained.
  • 35. Possible scenarios for implementation * Units per row correspond to a different actual cost. Acceleration OptionGPU solutionWindows HPC server solutionExplanationParts of prototype code will be outsourced to GPUsPrototype code will run in HPC Server environmentHardware requirementsMachine including powerful GPU with 2000+ coresHPC cluster with at least 256 nodesEstimated hardware/ software cost * 1 unit20 unitsSoftware developmentBuild DLL with CPU/GPU routinesBuild HPC functions to prototype Build interface layer (in C#)Adapt original prototype codeAdapt original prototype codeDevelopment cost *7 units1 unitPerformance gainHighHighCode transparancy LowHighSoftware flexibilityModerateHigh
  • 36. Thanks for your attention! Dr.ir. J.M. (Jok) Tang VORtech tang@vortech.nl +3115 – 251 19 49 Contact information Denys Semagin, PhD ING Re Denys.Semagin@nn-group.com +31 70 379 11 64