# Adjoint Algorithmic Differentiation (AAD)

> Adjoint algorithmic differentiation (AAD) is a method that finds how much one computed result depends on each of many inputs (the sensitivities) in a single pass, by walking through the computation in reverse. Its cost does not depend on the number of inputs and stays within a few times that of the original computation. There are published cases of its use for Monte Carlo Greeks and for the sensitivities of CVA.

- URL: https://www.derivatives-compass.org/en/valuation/aad/
- Area: Valuation › Numerical Methods
- Last reviewed: 2026-11-27
- 日本語版: https://www.derivatives-compass.org/ja/valuation/aad/index.md

When the [Monte Carlo method](https://www.derivatives-compass.org/en/glossary/monte-carlo-method/) is used to find many [sensitivities](https://www.derivatives-compass.org/en/glossary/sensitivity/), such as the [Greeks](https://www.derivatives-compass.org/en/glossary/greeks/) of options or those of [XVA](https://www.derivatives-compass.org/en/glossary/xva/) ([CVA](https://www.derivatives-compass.org/en/glossary/cva/) and the like), the computation time grows with the number of sensitivities. Quants and developers of valuation systems run into this problem.

**Prerequisites**

- [The Greeks](https://www.derivatives-compass.org/en/valuation/greeks/) — To learn what a sensitivity is and what the Greeks such as delta and vega mean.
- [Monte Carlo Simulation](https://www.derivatives-compass.org/en/valuation/monte-carlo/) — To learn how the paths are built that the pathwise method relies on.

## Key points

- Bumping needs one more rerun for each additional sensitivity.
- The reverse mode of automatic differentiation suits many inputs and a single output.
- The reverse mode costs less than 5 times the original computation, however many inputs there are.
- With many outputs, the reverse mode needs more runs as well.

## Why more sensitivities take longer

Bumping (finite differences) moves one input at a time by a small amount, reruns the valuation, and divides the change in price by the size of the move. It differs from the [finite difference method](https://www.derivatives-compass.org/en/glossary/finite-difference-method/), which solves a [partial differential equation](https://www.derivatives-compass.org/en/glossary/partial-differential-equation/) on a grid. Each sensitivity adds one more rerun, so the work grows in proportion to the number of sensitivities[^cg-bump]. A one-sided bump that moves input $$\theta$$ by $$\Delta\theta$$ is given by the following formula[^giles-fd].

$$
\frac{\partial V}{\partial \theta} \approx \frac{V(\theta + \Delta\theta) - V(\theta)}{\Delta\theta}
$$

Consider a hypothetical example in which a portfolio takes 1 minute to value once and you need 1,000 sensitivities, such as points on the interest rate curve and [volatility](https://www.derivatives-compass.org/en/glossary/volatility/) points. A one-sided bump needs the original valuation plus 1,000 bumped valuations, 1,001 in all, which takes 1,001 minutes (about 16.7 hours). When the output is a single price, the reverse (adjoint) mode of [automatic differentiation](https://www.derivatives-compass.org/en/glossary/algorithmic-differentiation/), which works backward from the output to the inputs, can in theory find all 1,000 sensitivities in less than 5 times the original valuation (less than 5 minutes). Memory and other costs come on top of that.

| Number of sensitivities | Valuations for a one-sided bump | Time for bumping (minutes) | Time for the reverse mode (minutes, theoretical upper bound) |
| ----------------------: | ------------------------------: | -------------------------: | -----------------------------------------------------------: |
|                      10 |                              11 |                         11 |                                                  less than 5 |
|                     100 |                             101 |                        101 |                                                  less than 5 |
|                   1,000 |                           1,001 |                      1,001 |                                                  less than 5 |

Besides the count, bumping has a problem with choosing the step size. The right size depends on the value of the input, and balancing accuracy against stability is not simple[^homescu-step]. A step that is too large increases the approximation error, and for a discontinuous [payoff](https://www.derivatives-compass.org/en/glossary/payoff/) a step that is too small makes the estimate noisy[^giles-fd]. In the Monte Carlo method, the same random numbers are used before and after the bump to keep the noise down[^giles-fd]. A central difference is more accurate, but it needs two reruns per sensitivity[^giles-fd].

For correlations the count grows even faster. With many random factors, the number of pairs grows with the square of the number of factors. Finding the correlation sensitivity of every pair by bumping is often too heavy to be practical[^cg-bump].

## Forward mode and reverse (adjoint) mode

Automatic differentiation finds the derivatives of a computation written as a program by using the chain rule. However complex the program, it is a composition of elementary operations such as addition, multiplication, and $$\sin$$, and the partial derivatives of those operations are known, so the derivative of the whole can be assembled[^homescu-ad].

Suppose the computation runs from the input $$Z$$ through $$A$$ and $$B$$ to the output $$Y$$. $$Y$$ is a single number, such as a price, and $$Z$$ is the set of inputs whose sensitivities you want. When there are several inputs, $$\partial A / \partial Z$$ and the like are matrices. The forward (tangent linear) mode works in the same direction as the computation and finds, step by step, how a move $$\dot Z$$ in the inputs carries through to the output[^homescu-modes].

$$
\dot{Y} = \frac{\partial Y}{\partial B}\,\frac{\partial B}{\partial A}\,\frac{\partial A}{\partial Z}\,\dot{Z}
$$

$$\dot Z$$ can hold the direction of only one input, so $$N$$ sensitivities need $$N$$ forward runs[^homescu-modes].

The reverse (adjoint) mode computes backward, from the output to the inputs. It sets the adjoint of the output, $$\bar{Y}$$, to 1 and finds the adjoint of each variable, such as $$\bar{A}$$, by using transposed matrices as follows[^homescu-adjoint].

$$
\bar{Z} = \left(\frac{\partial A}{\partial Z}\right)^{T}\left(\frac{\partial B}{\partial A}\right)^{T}\left(\frac{\partial Y}{\partial B}\right)^{T}\bar{Y}
$$

Each component of $$\bar{Z}$$ is the sensitivity of the output $$Y$$ to the corresponding input. A single backward pass starting from $$\bar{Y} = 1$$ finds all $$N$$ of them[^homescu-adjoint].

The reverse mode suits cases where there are few outputs whose sensitivities you want and many inputs. The forward mode suits the opposite case, with few inputs and many outputs[^homescu-ad]. When the output is a single portfolio value and the inputs are hundreds of [market data](https://www.derivatives-compass.org/en/glossary/market-data/) points and model parameters, the reverse mode is the better fit. The technique of applying the reverse mode to a whole computer program is [adjoint algorithmic differentiation](https://www.derivatives-compass.org/en/glossary/adjoint-algorithmic-differentiation/) (AAD)[^cg-aad].

## Finding three sensitivities with the reverse mode

Consider a hypothetical example in which an output $$y$$ is found from the inputs $$x_1 = 2$$, $$x_2 = 3$$, and $$x_3 = 1$$ in three steps.

$$
v_1 = x_1 x_2, \qquad v_2 = v_1 + x_3, \qquad y = v_2^{2}
$$

In the notation of the previous section, $$x$$ corresponds to the input $$Z$$, $$v_1$$ and $$v_2$$ to the intermediate $$A$$ and $$B$$, and $$y$$ to the output $$Y$$.

In the forward calculation (the original valuation), the intermediate values and the output are as follows.

| Step    | Calculation        | Value |
| ------- | ------------------ | ----: |
| $$v_1$$ | $$x_1 \times x_2$$ |     6 |
| $$v_2$$ | $$v_1 + x_3$$      |     7 |
| $$y$$   | $$v_2 \times v_2$$ |    49 |

The backward calculation starts from $$\bar{y} = 1$$ and goes in reverse order. The partial derivative at each step is fixed by the intermediate values found in the forward pass ($$v_2 = 7$$, $$x_1 = 2$$, $$x_2 = 3$$).

| Adjoint       | Calculation              | Value |
| ------------- | ------------------------ | ----: |
| $$\bar{v}_2$$ | $$2 v_2 \times \bar{y}$$ |    14 |
| $$\bar{v}_1$$ | $$1 \times \bar{v}_2$$   |    14 |
| $$\bar{x}_3$$ | $$1 \times \bar{v}_2$$   |    14 |
| $$\bar{x}_1$$ | $$x_2 \times \bar{v}_1$$ |    42 |
| $$\bar{x}_2$$ | $$x_1 \times \bar{v}_1$$ |    28 |

One backward pass gives $$\partial y/\partial x_1 = 42$$, $$\partial y/\partial x_2 = 28$$, and $$\partial y/\partial x_3 = 14$$ at the same time. Differentiating the formula directly, $$y = (x_1 x_2 + x_3)^2$$ gives $$\partial y/\partial x_1 = 2 \times 7 \times 3 = 42$$ and so on, the same values. The forward mode would need 3 runs for 3 inputs. With only 3 inputs, bumping also needs just 4 valuations, counting the original. The gap in the number of runs widens with many inputs, such as the 1,000 sensitivities in the bumping example.

Compared with a one-sided bump of step size 0.001, the results are as follows. The bump values are larger than the true values because of the approximation error from the step size.

| Input   | Reverse mode | Bump (one-sided, step 0.001) | Difference |
| ------- | -----------: | ---------------------------: | ---------: |
| $$x_1$$ |           42 |                       42.009 |      0.009 |
| $$x_2$$ |           28 |                       28.004 |      0.004 |
| $$x_3$$ |           14 |                       14.001 |      0.001 |

The upper bound on the reverse-mode cost is presented as a theoretical result of less than 5 times[^homescu-ad], and the bound on the number of operations is 4 times[^cg-ratio]. The simulator below uses 4 times. A one-sided bump becomes slower than the reverse mode from 4 sensitivities, and a central difference from 3.

**Simulator: Number of sensitivities and run times of bumping and AAD**

Move the number of sensitivities, the time of one original valuation, the AAD multiple, and the bumping scheme to compare the run times. The initial values are 1,000 sensitivities and 1 minute per valuation, the same as in the bumping example. The vertical axis is scaled to the 1,001 minutes of bumping, so AAD looks like a flat line near 0. In the results, "Bump ÷ AAD" is the bumping time divided by the AAD time, and a larger value means AAD is faster. The "4 sensitivities" and "3 sensitivities" in the text cannot be reproduced with the slider, whose minimum is 10, so read them from "Smallest number of sensitivities at which AAD is faster" in the results. The table below the chart uses the three-input example above and shows the reverse-mode values and their differences from a one-sided bump of step 0.001. Switching to a central difference or shrinking the step makes these differences smaller.

The interactive version is on the article page: <https://www.derivatives-compass.org/en/valuation/aad/#simulator-1>

## Computational cost, memory, and accuracy

The run time of the reverse mode stays within about 4 times that of the original computation[^cg-ratio]. However, one reverse run returns the sensitivities of a single output. When there are several outputs, the pathwise method (which differentiates the payoff with respect to the inputs path by path and averages the results, using a forward calculation) can find them with less additional work[^giles-adj].

The backward calculation uses the intermediate values found in the forward pass (such as $$v_2$$ in the example above), so the forward pass stores them. In a Monte Carlo method that finds sensitivities path by path, only the values of the current path need to be stored, so the extra memory stays small. In some applications, such as fluid calculations, the storage can be excessive[^gg-storage]. In large valuation libraries, techniques such as memory management and checkpointing can help[^homescu-mem].

On accuracy, automatic differentiation returns the derivative of the computation as written in the program exactly, to machine precision, whereas bumping contains approximation error[^homescu-ad]. The bump difference of 0.009 in the example above is the error that remains even with a step size of 0.001. Whether the computation itself agrees with the true sensitivity is a separate question, and discontinuous payoffs are the typical case.

> **Deep dive: The adjoint along a stochastic differential equation path and the cost**
>
> Suppose a Monte Carlo path is built by the following recursion. $$\hat{S}_n$$ is the state at time $$n$$, $$S_0$$ is the initial value, and $$F_n$$ is the update for one step[^giles-adj-eq].
>
> $$
> \hat{S}_{n+1} = F_n(\hat{S}_n)
> $$
>
> Let $$D_n = \partial F_n / \partial \hat{S}_n$$ be the partial derivative of the one-step update and $$f$$ the payoff at maturity. The sensitivity to the initial value is then the following product.
>
> $$
> \frac{\partial f(\hat{S}_N)}{\partial S_0} = \frac{\partial f}{\partial \hat{S}_N}\, D_{N-1} D_{N-2} \cdots D_0
> $$
>
> Multiplying from the $$D_0$$ side (forward) involves a run of matrix-matrix products and costs about $$m^3$$ per step for a state of dimension $$m$$. Multiplying from the $$\partial f / \partial \hat{S}_N$$ side (backward) finds the adjoint $$V_n = (\partial f / \partial \hat{S}_n)^T$$ in turn by $$V_n = D_n^{T} V_{n+1}$$, at about $$m^2$$ per step[^giles-adj-eq]. Including the extra work for each input parameter, the backward cost is about $$m^2 + m \times$$ (number of parameters) and the forward cost about $$m^2 \times$$ (number of parameters), so the gap widens as the parameters multiply[^giles-cost].

## Where AAD is used

In a 2005 case presented by Giles and Glasserman, the Monte Carlo method of the [LIBOR market model](https://www.derivatives-compass.org/en/glossary/libor-market-model/) (LMM) was used. For a portfolio of 15 [swaptions](https://www.derivatives-compass.org/en/glossary/swaption/), delta and vega were computed. As the number of periods to expiry was increased from 1 to 80, the work of the forward mode grew in proportion to the number of periods, while the work of the reverse mode stayed roughly constant[^gg-lmm]. Adding vega to delta barely increased the work of the reverse mode. The reverse mode found the sensitivities to any number of inputs with less work than valuing the portfolio[^gg-lmm].

In a 2010 case presented by Capriotti and Giles, a basket default option built with a [Gaussian copula](https://www.derivatives-compass.org/en/glossary/gaussian-copula/) was tested. The sensitivities to the correlations of all pairs were found with at most 4 times the work of computing the price. With 20 reference entities, it was about 100 times faster than bumping[^cg-bound].

In a 2011 case presented by Capriotti, Lee, and Peacock for CVA, the portfolio held 5 commodity [swaps](https://www.derivatives-compass.org/en/glossary/swap/) with a 5-year horizon, and one CVA valuation took 10 seconds. The CVA had more than 600 sensitivities. Reverse-mode automatic differentiation found all of them in less than 40 seconds (less than 4 times one valuation). Bumping (finite differences) took about 1 hour and 40 minutes[^homescu-cva].

The gradient of the [objective function](https://www.derivatives-compass.org/en/glossary/objective-function/) of [calibration](https://www.derivatives-compass.org/en/glossary/calibration/) (the sum of squared differences between model prices and market prices) contains the amount by which each price moves with the parameters, and the adjoint procedure can find it[^homescu-calib]. In a 2009 case presented by Kaebe, Maruhn, and Sachs, a lognormal variance model was calibrated by the Monte Carlo method. A computation that took more than 3 hours with a finite difference gradient took less than 10 minutes when the adjoint was combined with a multi-layer method[^homescu-kaebe].

> **For risk managers: Checking sensitivities**
>
> The gradients from the forward mode and the reverse mode are expected to agree to machine precision. They are compared with the bumped gradient within the approximation error from the step size[^homescu-check].

> **For systems professionals: Building it into a valuation library**
>
> In a structure presented by Baxter in 2010, each routine, such as interpolation, calibration, and pricing, comes with a function that passes sensitivities backward. These functions are called in turn from the price toward the input market data[^homescu-block].

## Assumptions and limits

### Discontinuous payoffs

The pathwise method requires the payoff and the coefficients of the equation that builds the paths to be continuous and piecewise differentiable, and it cannot handle discontinuous payoffs directly[^giles-path]. Remedies include approximating a [digital option](https://www.derivatives-compass.org/en/glossary/digital-option/) and smoothing the payoff with a conditional expectation. It can also be combined with the likelihood ratio method (which differentiates the probability density rather than the payoff with respect to the inputs)[^giles-disc]. Products whose payment depends on whether a level is crossed, such as a [barrier option](https://www.derivatives-compass.org/en/glossary/barrier-option/), run into this problem.

### When there are many outputs

Take the example of 1,000 sensitivities and 1 minute per valuation, but suppose the outputs are 300 values, one per trade, instead of a single portfolio value. If one valuation produces all 300 outputs, a one-sided bump still takes 1,001 minutes, as with one output. The reverse mode needs one run per output[^giles-adj], so at the upper bound of 5 times it is less than 300 × 5 = 1,500 minutes, and it can no longer be said to beat the 1,001 minutes of bumping.

### Differences from other methods

| Method       | How the work grows                                                              | Suits                          | Weak point                                                                |
| ------------ | ------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------------- |
| Bumping      | In proportion to the number of sensitivities                                    | Simple to implement[^giles-fd] | Approximation error and noise from the step size                          |
| Forward mode | In proportion to the number of inputs                                           | Few inputs and many outputs    | More runs when there are many inputs                                      |
| Reverse mode | Independent of the number of inputs, less than 5 times the original computation | Many inputs and few outputs    | More runs when there are many outputs. Intermediate values must be stored |

### Implementation approaches

In implementation, one approach derives the derivative equations from the continuous equations and then discretizes them. The other differentiates the discretized computation. The latter is more systematic to build and can shorten development time with automatic differentiation tools, so it is often preferred[^homescu-disc]. The tools either generate code from the original code that also computes the sensitivities, or replace the operations with a type that pairs a value with its sensitivity[^giles-tool].

## What this page does not cover

- The calculation of CVA itself is not covered on this page. See [CVA and DVA](https://www.derivatives-compass.org/en/valuation/cva-and-dva/).
- How the payoff of a barrier option works is not covered on this page. See [Barrier Options](https://www.derivatives-compass.org/en/product-basics/barrier-options/).
- How sensitivities are used in market risk management is not covered on this page. See [Sensitivities: DV01, Vega, and Key Rate Sensitivities](https://www.derivatives-compass.org/en/market-risk/sensitivities/).

[^cg-bump]: [Capriotti and Giles, "Fast Correlation Greeks by Adjoint Algorithmic Differentiation"](https://arxiv.org/pdf/1004.1855) (arXiv, 2010; the "Capriotti and Giles paper"), page 1, first two paragraphs. The cost of bumping grows in proportion to the number of sensitivities, and for all pairs of correlations with the square of the number of factors.

[^giles-fd]: [Giles, "Advanced Monte Carlo Methods: Computing Greeks"](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf) (Oxford University, lecture slides; the "Giles slides"), pages 5–6 ("Finite difference sensitivities"). The difference formulas and cost, the error and noise from the step size, the use of the same random numbers, and simplicity of implementation.

[^homescu-step]: [Homescu, "Adjoints and automatic (algorithmic) differentiation in computational finance"](https://arxiv.org/pdf/1107.1831) (arXiv, 2011; the "Homescu paper"), page 4. The finite difference step size depends on the value of the input, and choosing a step that balances accuracy and stability is difficult.

[^homescu-ad]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 3 (section 1). The chain rule, the reverse-mode cost of less than 5 times (presented as a theoretical result), which mode suits which case, and machine precision versus truncation error.

[^homescu-modes]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), pages 4–6 (section 2). The formula for the forward (tangent linear) mode and the need for one computation per input direction. The notation is Homescu's, with the three steps Z, A, B, Y.

[^homescu-adjoint]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), pages 4–6 (2.1, 2.2). The formula for the reverse (adjoint) mode. It works in reverse order with transposed matrices, and one run from $$\bar{Y} = 1$$ finds all the sensitivities.

[^cg-aad]: [The Capriotti and Giles paper](https://arxiv.org/pdf/1004.1855), page 1, fifth paragraph of the introduction. The adjoint implementation is an instance of a programming technique called AAD, usable for the sensitivities of numerical algorithms in general.

[^cg-ratio]: [The Capriotti and Giles paper](https://arxiv.org/pdf/1004.1855), page 2. The number of operations in the adjoint routine is at most 4 times that of the original routine, and the execution time is bounded by about 4 times.

[^giles-adj]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), page 27 ("Adjoint approach"). The adjoint approach gives the sensitivity of only one output, while the forward approach gives the sensitivities of several outputs at little additional cost.

[^gg-storage]: [Giles and Glasserman, "Smoking Adjoints: fast evaluation of Greeks in Monte Carlo calculations"](https://ora.ox.ac.uk/objects/uuid:f536b1a8-c988-4bda-9c5f-a322652139fd/files/m9d733d3b5051c1c548d84a53f70787d7) (August 2005; the "Giles and Glasserman paper"), pages 8 and 15 (Appendix A). Only the current path needs to be stored, and storage can be excessive in fluid calculations.

[^homescu-mem]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 19 (section 9). Because of the complexity of pricing libraries, automatic differentiation tools, memory management, and checkpointing can help.

[^giles-adj-eq]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), pages 23–24 ("Adjoint approach"). The recursion and the cost per step (forward $$O(m^3)$$, backward $$O(m^2)$$).

[^giles-cost]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), pages 26–27 ("Adjoint approach"). $$B_n$$ differs by parameter while $$V_n$$ is shared, so the backward cost is $$m^2 + m \times$$ (number of parameters).

[^gg-lmm]: [The Giles and Glasserman paper](https://ora.ox.ac.uk/objects/uuid:f536b1a8-c988-4bda-9c5f-a322652139fd/files/m9d733d3b5051c1c548d84a53f70787d7), section 7 (pages 11–12). In the test with 15 swaptions and 1 to 80 periods, the costs of the forward and reverse methods, the effect of adding vega, and the reverse cost being below that of one valuation.

[^cg-bound]: [The Capriotti and Giles paper](https://arxiv.org/pdf/1004.1855), the abstract on page 1 and the conclusion on page 6. In the test, the sensitivities to all pairwise correlations took at most 4 times the cost of the price, and the method was 100 times faster than bumping for 20 names.

[^homescu-cva]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 17 (section 8.1). A summary of the 2011 paper by Capriotti, Lee, and Peacock: less than 40 seconds for the reverse mode and about 1 hour and 40 minutes for finite differences.

[^homescu-calib]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 16 (section 7). The gradient of $$F = \sum (\text{ModelPrice}[j] - \text{MarketPrice}[j])^2$$ contains the price sensitivities, which the adjoint can find.

[^homescu-kaebe]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 19 (section 8.2). A summary of the 2009 paper by Kaebe, Maruhn, and Sachs, comparing more than 3 hours with less than 10 minutes. The adjoint is derived from the continuous equations (ContAdj).

[^homescu-check]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 6 (section 2.3). Comparing the automatic differentiation gradient with the finite difference gradient, and the forward and reverse gradients being expected to be identical to machine precision.

[^homescu-block]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), pages 19–20 (section 9.1). A summary of a 2010 presentation by Baxter, with an example of representing each routine by a calculation function and an adjoint function and calling them in reverse order.

[^giles-path]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), page 11 ("Pathwise sensitivities"). The conditions are a continuous, piecewise differentiable payoff and coefficients, and discontinuous payoffs cannot be handled.

[^giles-disc]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), pages 20–21 ("Discontinuous payoffs"). A piecewise linear approximation for digitals, conditional expectations, and Vibrato Monte Carlo. The barrier option is an example of a conditional expectation.

[^homescu-disc]: [The Homescu paper](https://arxiv.org/pdf/1107.1831), page 3 (section 1). The names of the continuous and discrete adjoints, and the discrete adjoint being preferred because it is systematic and can reduce development time.

[^giles-tool]: [The Giles slides](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf), page 19 ("Automatic Differentiation"). The approach that generates new code from source code, and the one that redefines operations on a type pairing a value with its sensitivity (operator overloading).

**Read next**

- [Model Calibration](https://www.derivatives-compass.org/en/valuation/calibration/) — To learn the calibration procedure in which the gradient of the objective function appears.
- [Risk Calculation Infrastructure: Full Revaluation, Approximation, and Distributed Computing](https://www.derivatives-compass.org/en/data-systems/risk-calculation-infrastructure/) — To learn how the risk calculation infrastructure chooses among sensitivity methods.

## Sources

- [Fast Correlation Greeks by Adjoint Algorithmic Differentiation](https://arxiv.org/pdf/1004.1855) — arXiv（Luca Capriotti、Mike Giles）
- [Advanced Monte Carlo Methods: Computing Greeks](https://people.maths.ox.ac.uk/gilesm/mc/module_6/adjoints.pdf) — Oxford University Mathematical Institute（Mike Giles）
- [Adjoints and automatic (algorithmic) differentiation in computational finance](https://arxiv.org/pdf/1107.1831) — arXiv（Cristian Homescu）
- [Smoking Adjoints: fast evaluation of Greeks in Monte Carlo calculations](https://ora.ox.ac.uk/objects/uuid:f536b1a8-c988-4bda-9c5f-a322652139fd/files/m9d733d3b5051c1c548d84a53f70787d7) — Oxford University Computing Laboratory（Michael Giles、Paul Glasserman）
