Performing analytics for risk management purposes is applied in many fields, especially in financial services. We present a framework for accelerated risk analytics and show a large-scale financial sector application where this framework is used to run backtesting algorithms on risk-based securities such as options. These applications require highly computationally-intensive operations on extremely large data sets with objects numbering in the tens of billions.
Intel FPGA and FinLib library for financial applications are used to offload the computation; however, another challenging problem (that we have resolved) is how to feed the data to the FPGA at the optimal speed without having to do customized coding. A combination of Apache Spark along with Levyx’s persistent dataframes are used to address this problem. These dataframes allow absorbing the computation from Spark and offloading it to Finlib in an automated way. This example can be expanded to many other areas of Risk Management such as Insurance and Cybersecurity.
6. Case Study: Financial Risk Analytics
• Application: Risk analytics acceleration framework (financial backtesting)
• Current solution: Deploy a cluster of CPUs or GPUs with complex data access
• Challenge: Compute intensive, time consuming applications --10+ hours for
financial backtesting
• Solution Value Proposition:
– > 5x performance improvement using FPGA acceleration and SSD-optimized data
engines
– Financial Derivatives calculations of risk and pricing simultaneously
– Integrated solution with Apache Spark, SSD access and FPGA implementation
abstracted away
6
10. FPGA Acceleration Stack with Libraries
10
BSP (Board Support Package)Driver
Low-Level FPGA Management
OpenCL SDKOpenCL Runtime
OpenCL API Provides Kernel
Abstraction and Accelerator
Management
User DesignUser Application
Library Infrastructure
Library Kernels
Compute
Primitives
Infra.
Primitives
Library Orchestration
Software Frameworks Increase
Abstraction
Increase
User Base
Libraries are callable from high level languages (e.g. C/C++, Python) and software
frameworks (MKL) - making FPGA accelerated computation easy to access
Intel
Programmable
Acceleration Card
11. 11
Completion of all three FinLib phases will provide functionality equivalent to
top commercial financial analytics libraries
FinLib – Functionality Roadmap