On Deep Learning for computing the Dynamic Initial Margin and Margin Value Adjustment
Preprint
Abstract
The present work addresses the challenge of training neural networks for Dynamic Initial Margin (DIM) computation in counterparty credit risk, a task traditionally burdened by the high costs associated with generating training datasets through nested Monte Carlo (MC) simulations. By condensing the initial market state variables into an input vector, determined through an interest rate model and a parsimonious parameterization of the current interest rate term structure, we construct a training dataset where labels are noisy but unbiased DIM samples derived from single MC paths. A multi-output neural network structure is employed to handle DIM as a time-dependent function, facilitating training across a mesh of monitoring times. The methodology offers significant advantages: it reduces the dataset generation cost to a single MC execution and parameterizes the neural network by initial market state variables, obviating the need for repeated training. Experimental results demonstrate the approach's convergence properties and robustness across different interest rate models (Vasicek and Hull-White) and portfolio complexities, validating its general applicability and efficiency in more realistic scenarios.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- Deep joint learning valuation of Bermudan swaptionsInternational Journal of Computer Mathematics, 2025
- Boundary-safe PINNs extension: Application to non-linear parabolic PDEs in counterparty credit riskJournal of Computational and Applied Mathematics, 2023
- On a Neural Network to Extract Implied Information from American OptionsApplied Mathematical Finance, 2021
- Deep learning volatility: a deep neural network perspective on pricing and calibration in (rough) volatility modelsQuantitative Finance, 2020
- XVA analysis from the balance sheetQuantitative Finance, 2020
- The xVA Challenge2020
- Rolling Adjoints: Fast Greeks along Monte Carlo scenarios for early-exercise optionsJournal of Computational Science, 2019
- Interpolation Methods for Curve ConstructionApplied Mathematical Finance, 2006
- Monte Carlo Methods in Financial Engineering2003
- An equilibrium characterization of the term structureJournal of Financial Economics, 1977