From AAD training to AAD in production
First AAD pricer checked against bumping in six weeks
Reported by the client · AAD training on the bank's own code · checked against bumping in 6 weeks · in production about 4 months later · built by the bank's quants · bank quant team
How a bank's quant team went from the AAD course to its first XAD pricer checked against bumping within six weeks, and into production about four months later, after validation.
A bank's quant team wanted AAD sensitivities in its own pricing library, built and owned by its own people rather than handed over. The team knew the theory; what it lacked was the practice of applying AAD to a large existing C++ code base: where to start, how to keep the plain build intact, and how to show validation that the derivatives are right.
Xcelerit ran the AAD course for the team, with exercises on the bank's own code. Within six weeks of the course the team had its first pricer AAD-enabled with XAD and checked against bumping. After the bank's model validation, it went into production about four months later. The team runs XAD under an XAD Commercial subscription and is extending AAD to further pricers.
- Challenge
- AAD in the bank's own library, built and owned by its own quants
- What we did
- AAD training, with exercises on the bank's own code
- How it was checked
- Reconciliation against the bank's bumped sensitivities; production date after the bank's model validation
Client-reported outcome. Exact figures are in the case study PDF, on request.
More on AAD and XAD
- VideoAAD in three short videos: theory, tools, large librariesThree short videos on algorithmic differentiation: the theory and a manual implementation, how automatic tools work, and how to bring AAD into a large quant library.
- Case studyDaily model calibration with AADHow adjoint gradients with XAD took a tier-one bank's morning stochastic local volatility calibration across about 300 underlyings from three hours to 25 minutes, with risk through the calibration.
Related
- XADXAD, the AAD library for C++ and PythonAutomatic differentiation for pricing and risk code, open source or by subscription.
- TrainingAAD trainingThe AAD course for quant teams, with a workshop on your own code.
- ExplainerWhat is AAD (adjoint algorithmic differentiation)?The idea in plain words, with a worked example.