Differential Machine Learning
Authors: Brian Huge, Antoine Savine
Abstract
Differential machine learning combines automatic adjoint differentiation (AAD) with modern machine learning (ML) in the context of risk management of financial Derivatives. We introduce novel algorithms for training fast, accurate pricing and risk approximations, online, in real-time, with convergence guarantees. Our machinery is applicable to arbitrary Derivatives instruments or trading books, under arbitrary stochastic models of the underlying market variables. It effectively resolves computational bottlenecks of Derivatives risk reports and capital calculations. Differential ML is a general extension of supervised learning, where ML models are trained on examples of not only inputs and labels but also differentials of labels wrt inputs. It is also applicable in many situations outside finance, where high quality first-order derivatives wrt training inputs are available. Applications in Physics, for example, may leverage differentials known from first principles to learn function approximations more effectively. In finance, AAD computes pathwise differentials with remarkable efficacy so differential ML algorithms provide extremely effective pricing and risk approximations. We can produce fast analytics in models too complex for closed form solutions, extract the risk factors of complex transactions and trading books, and effectively compute risk management metrics like reports across a large number of scenarios, backtesting and simulation of hedge strategies, or regulations like XVA, CCR, FRTB or SIMM-MVA. TensorFlow implementation is available on https://github.com/differential-machine-learning
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Parametric Differential Machine Learning for Pricing and CalibrationArun Kumar Polala, B. Hientzsch · 2023 · Social Science Research Network · cited 6 times · Not summarized yet
Abstract
Differential machine learning (DML) is a recently proposed technique that uses samplewise state derivatives to regularize least square fits to learn conditional expectations of functionals of stochastic processes as functions of state variables. Exploiting the derivative information leads to fewer samples than a vanilla ML approach for the same level of precision. This paper extends the methodology to parametric problems where the processes and functionals also depend on model and contract parameters, respectively. In addition, we propose adaptive parameter sampling to improve relative accuracy when the functionals have different magnitudes for different parameter sets. For calibration, we c…
-
Quantum Differential Machine LearningT. Sakuma · 2025 · Quantum Economics and Finance · Not summarized yet
Abstract
The application of quantum computing to finance has become an increasingly active area of research. In this paper, we explore the expressive potential of quantum machine learning as an alternative to classical differential machine learning. Efficient computation of sensitivities remains the main issue in financial risk management and we discuss how parameter-shift rules used in gradient-based optimization of quantum machine learning help learning option prices and their sensitivities efficiently. The proposed method can be regarded as quantum analogous to classical differential machine learning, so we refer to it as quantum differential machine learning. Delta of European option and vega of …
-
A Comparative Study of Automatic and Pathwise Differentiation for Financial Derivative Greeks CalculationJing Lu · 2025 · Proceedings of the 2025 5th International Conference on Computational Modeling, Simulation and Data Analysis · Not summarized yet
Abstract
The core of financial derivative risk management lies in the fast and accurate calculation of Greeks (sensitivity metrics such as Delta, Vega, Gamma, etc.). In this paper, we compare the use of conventional PD and modern machine learning framework-based AD for computing Greeks. While conceptually effective, the traditional PD method suffers from high implementation complexity for complex models like Heston (stochastic volatility) or Merton (jump-diffusion), requiring manual derivation and solution of high-dimensional SDE systems (e.g., 4D or 6D). Using TensorFlow, this paper demonstrates AD (“Discretize-then-Differentiate”) as an efficient and easy-to-implement alternative. Numerical experim…
-
Delta force: option pricing with differential machine learningMagnus Grønnegaard Frandsen, Tobias Cramer Pedersen, R. Poulsen · 2021 · Digital Finance · cited 6 times · Not summarized yet
-
15 years of Adjoint Algorithmic Differentiation (AAD) in financeL. Capriotti, Michael B. Giles · 2024 · Quantitative finance (Print) · cited 3 times · Not summarized yet
Abstract
Following the seminal ‘Smoking Adjoint’ paper by Giles and Glasserman [Smoking adjoints: Fast monte carlo greeks. Risk, 2006, 19, 88–92], the development of Adjoint Algorithmic Differentiation (AAD) has revolutionized the way risk is computed in the financial industry. In this paper, we provide a tutorial of this technique, illustrate how it is immediately applicable for Monte Carlo and Partial Differential Equations applications, the two main numerical techniques used for option pricing, and review the most significant literature in quantitative finance of the past fifteen years.
-
Differential Machine Learning for Time Series PredictionAkash Yadav, Eulalia Nualart · 2025 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
Abstract
Accurate time series prediction is challenging due to the inherent nonlinearity and sensitivity to initial conditions. We propose a novel approach that enhances neural network predictions through differential learning, which involves training models on both the original time series and its differential series. Specifically, we develop a differential long short-term memory (Diff-LSTM) network that uses a shared LSTM cell to simultaneously process both data streams, effectively capturing intrinsic patterns and temporal dynamics. Evaluated on the Mackey-Glass, Lorenz, and R\"ossler chaotic time series, as well as a real-world financial dataset from ACI Worldwide Inc., our results demonstrate th…
-
Parametric Numerical Integration with (Differential) Machine LearningÁ. Leitao, Jonatan R'afales · 2025 · arXiv.org · preprint, not peer reviewed · Not summarized yet
Abstract
In this work, we introduce a machine/deep learning methodology to solve parametric integrals. Besides classical machine learning approaches, we consider a differential learning framework that incorporates derivative information during training, emphasizing its advantageous properties. Our study covers three representative problem classes: statistical functionals (including moments and cumulative distribution functions), approximation of functions via Chebyshev expansions, and integrals arising directly from differential equations. These examples range from smooth closed-form benchmarks to challenging numerical integrals. Across all cases, the differential machine learning-based approach cons…
-
Current Trends in AI-Based Derivatives Pricing: A ReviewMohammed Ahnouch, Lotfi Elaachak, A. Ghadi · 2023 · International Conferences on Networking, Information Systems & Security · Not summarized yet
Abstract
The development of financial mathematics has led to the creation of a plethora of models and techniques for pricing and managing risk in derivative instruments. These models and techniques have also spurred research in related areas such as numerical methods, statistical modeling, and machine learning. The most challenging aspects are typically calibrating models to market data, the accurate modeling of correlation between multiple underlyings, the computation of conditional expectations, and the determination of the optimal exercise boundaries for a derivative with early exercise clauses. In this review we tackle determined aspects of derivatives pricing that involve Machine learning in gen…
Prior work it builds on
-
Deep learning calibration of option pricing models: some pitfalls and solutionsAndrey Itkin · 2019 · arXiv: Computational Finance · preprint, not peer reviewed · cited 41 times · Not summarized yet
Abstract
Recent progress in the field of artificial intelligence, machine learning and also in computer industry resulted in the ongoing boom of using these techniques as applied to solving complex tasks in both science and industry. Same is, of course, true for the financial industry and mathematical finance. In this paper we consider a classical problem of mathematical finance - calibration of option pricing models to market data, as it was recently drawn some attention of the financial society in the context of deep learning and artificial neural networks. We highlight some pitfalls in the existing approaches and propose resolutions that improve both performance and accuracy of calibration. We als…
-
Deep learning volatility: a deep neural network perspective on pricing and calibration in (rough) volatility modelsBlanka Horvath, Aitor Muguruza, M. Tomas · 2019 · Quantitative finance (Print) · cited 180 times · Not summarized yet
Abstract
We present a neural network-based calibration method that performs the calibration task within a few milliseconds for the full implied volatility surface. The framework is consistently applicable throughout a range of volatility models—including second-generation stochastic volatility models and the rough volatility family—and a range of derivative contracts. Neural networks in this work are used in an off-line approximation of complex pricing functions, which are difficult to represent or time-consuming to evaluate by other means. The form in which information from available data is extracted and used influences network performance: The grid-based algorithm used for calibration is inspired …
-
Machine Learning for Semi Linear PDEsQuentin Chan-Wai-Nam, Joseph Mikael, Xavier Warin · 2018 · Journal of Scientific Computing · cited 127 times · Not summarized yet
Abstract
Recent machine learning algorithms dedicated to solving semi-linear PDEs are improved by using different neural network architectures and different parameterizations. These algorithms are compared to a new one that solves a fixed point problem by using deep learning techniques. This new algorithm appears to be competitive in terms of accuracy with the best existing algorithms.
-
An artificial neural network representation of the SABR stochastic volatility modelW. Mcghee · 2018 · Journal of Computational Finance · cited 41 times · Not summarized yet
Abstract
In this article, the Universal Approximation Theorem of Artificial Neural Networks (ANNs) is applied to the SABR stochastic volatility model in order to construct highly efficient representations. Initially, the SABR approximation of Hagan et al. [2002] is considered, then a more accurate integration scheme of McGhee [2011] as well as a two factor finite difference scheme. The resulting ANN calculates 10,000 times faster than the finite difference scheme whilst maintaining a high degree of accuracy. As a result, the ANN dispenses with the need for the commonly used SABR Approximation.
-
Neural network regression for Bermudan option pricingB. Lapeyre, J. Lelong · 2019 · Monte Carlo Methods Appl. · cited 68 times · Not summarized yet
Abstract
Abstract The pricing of Bermudan options amounts to solving a dynamic programming principle, in which the main difficulty, especially in high dimension, comes from the conditional expectation involved in the computation of the continuation value. These conditional expectations are classically computed by regression techniques on a finite-dimensional vector space. In this work, we study neural networks approximations of conditional expectations. We prove the convergence of the well-known Longstaff and Schwartz algorithm when the standard least-square regression is replaced by a neural network approximation, assuming an efficient algorithm to compute this approximation. We illustrate the numer…
Papers that cite it
-
Differential learning methods for solving fully nonlinear PDEsWilliam Lefebvre, G. Loeper, H. Pham · 2022 · Digital Finance · cited 19 times · Not summarized yet
Abstract
We propose machine learning methods for solving fully nonlinear partial differential equations (PDEs) with convex Hamiltonian. Our algorithms are conducted in two steps. First, the PDE is rewritten in its dual stochastic control representation form, and the corresponding optimal feedback control is estimated using a neural network. Next, three different methods are presented to approximate the associated value function, i.e., the solution of the initial PDE, on the entire space-time domain of interest. The proposed deep learning algorithms rely on various loss functions obtained either from regression or pathwise versions of the martingale representation and its differential relation, and co…
-
On deep learning for computing the dynamic initial margin and margin value adjustmentJ. Villarino, Á. Leitao · 2024 · Applied Mathematics and Computation · cited 1 time · Not summarized yet
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 traini…
-
Deep joint learning valuation of Bermudan swaptionsFrancisco Gómez-Casanova, Álvaro Leitao, F. de Lope et al. · 2024 · International Journal of Computational Mathematics · cited 3 times · Not summarized yet
Abstract
This paper addresses the problem of pricing involved financial derivatives by means of advanced deep learning techniques. More precisely, we methodically integrate several sophisticated neural network-based concepts like differential machine learning, Monte Carlo simulation-like training samples and joint learning to come up with an efficient numerical solution. The application of the latter development represents a novelty in the context of computational finance. We also propose a novel design of interdependent neural networks to price early-exercise products, in this case, Bermudan swaptions. The improvements in efficiency and accuracy provided by the approach proposed here are widely illu…
-
Enforcing asymptotic behavior with DNNs for approximation and regression in financeH. Routray, Bernhard Hientzsch · 2024 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet
Abstract
We propose a simple methodology to approximate functions with given asymptotic behavior by specifically constructed terms and an unconstrained deep neural network (DNN). The methodology we describe extends to various asymptotic behaviors and multiple dimensions and is easy to implement. In this work we demonstrate it for linear asymptotic behavior in one-dimensional examples. We apply it to function approximation and regression problems where we measure approximation of only function values (``Vanilla Machine Learning''-VML) or also approximation of function and derivative values (``Differential Machine Learning''-DML) on several examples. We see that enforcing given asymptotic behavior lead…
-
Boundary-safe PINNs extension: Application to non-linear parabolic PDEs in counterparty credit riskJ. Villarino, Á. Leitao, J. García-Rodríguez · 2022 · Journal of Computational and Applied Mathematics · cited 12 times · Not summarized yet
Abstract
The goal of this work is to develop deep learning numerical methods for solving option XVA pricing problems given by non-linear PDE models. A novel strategy for the treatment of the boundary conditions is proposed, which allows to get rid of the heuristic choice of the weights for the different addends that appear in the loss function related to the training process. It is based on defining the losses associated to the boundaries by means of the PDEs that arise from substituting the related conditions into the model equation itself. Further, automatic differentiation is employed to obtain accurate approximation of the partial derivatives.
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 6 November 2026.