On deep learning for computing the dynamic initial margin and margin value adjustment
Joel P. Villarino and
Alvaro Leitao
Applied Mathematics and Computation, 2026, vol. 510, issue C
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 the labels are future realizations, generated with a single MC path, of the Initial Margin (IM) variable. Since DIM is defined as the conditional expectation of IM, the latter can be understood as noisy and unbiased samples of DIM, allowing the application of deep learning regression techniques to its computation. To this end, a multi-output neural network structure is employed to handle DIM as a time-dependent function, facilitating training across a mesh of monitoring times. This 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 (Hull-White and Cox-Ingersoll-Ross) and portfolio complexities, validating its general applicability and efficiency in more realistic scenarios.
Keywords: Deep learning; Initial margin; Dynamic initial margin; MVA (search for similar items in EconPapers)
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0096300325004059
Full text for ScienceDirect subscribers only
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:eee:apmaco:v:510:y:2026:i:c:s0096300325004059
DOI: 10.1016/j.amc.2025.129679
Access Statistics for this article
Applied Mathematics and Computation is currently edited by Theodore Simos
More articles in Applied Mathematics and Computation from Elsevier
Bibliographic data for series maintained by Catherine Liu ().