Deep hedging learns a hedging strategy by optimising a risk preference over a neural-network policy. The preference is fixed before training, so each new preference requires a new policy and, in actor-critic methods, a new critic. We propose distributional deep hedging, in which the distribution of the hedging profit and loss is learned through its quantiles and the risk preference is applied afterwards, as a weight on those quantiles. We characterise the preferences that admit this representation, which include expected shortfall and its mixtures, and show that the entropic utility is computed from the same quantiles. At the current policy, each of these preferences is bounded below by an expected utility with the same gradient. This bound reduces risk-sensitive hedging to a sequence of risk-neutral problems, from which we derive policy-search and actor-critic algorithms. In numerical experiments, the learned hedges approach references computed by dynamic programming, and a single distributional critic trained without a preference can serve preferences chosen after training.
Figures & tables
Figure 1: The law of the profit and loss of a given policy is learned once, with no preference. Each preference is applied afterwards: a spectral one as a fixed weight on the quantiles, the entropic utility as an exponential tilt computed from the law.
preference
weight w(τ)
bounded weight
cost E[ω2]
recursion
mean
1
yes
1
yes
expected shortfall at α
α−11{τ<α}
yes
α−1
no
mixture of shortfalls
∫(τ,1]α−1μ(dα)
if ∫α−1μ(dα)<∞
∬max(α,α′)−1μ(dα)μ(dα′)
no
dual power, q>1
q(1−τ)q−1
yes
q2/(2q−1)
no
power, 21<p<1
pτp−1
no
p2/(2p−1)
no
Wang, a>0
e−aΦ−1(τ)−a2/2
no
ea2
no
Table 1: Preferences treated in the paper. Bounded weight: the score is Lipschitz in W1 with constant ∥w∥∞ (Proposition 5 ). Cost: the factor E[ω2] of Proposition 6 . Recursion: a Bellman equation on the market and the inventory (Proposition 4 ). The power cost is infinite for p≤21 .
simulator
path
algorithm
gradient
replayed
critic
state
preferences
I
policy search ( 4.1 )
yes
no
none
Xt,Δt,Wt
any
policy gradient with a same-path baseline ( 4.2 )
no
yes
none
Xt,Δt,Wt
any
advantage actor–critic ( 4.3 )
no
no
values
Xt,Δt,Wt
any
II
policy search with shortfall thresholds ( 4.4 )
yes
no
none
Xt,Δt,Wt
shortfall mixtures
dynamic programming for expected shortfall ( 4.5 )
no
no
none
Xt,Δt,Wt
shortfall mixtures
Table 2: The algorithms of this section. Under the entropic utility Wt is dropped from the state. The exact programmes and the planner use a one-step model of the market in place of paths.
finding
evidence
section
The optimal hedge depends on the preference and on the past profit and loss; recursive shortfall loses 8.4%
Figure 3
5.3
Policy search is within 2% of the reference in all twelve ten-date cells at 2,048 steps
Tables 6 , 6
5.4
Each preference selects its own hedge in all twelve pairwise comparisons
Figure 4 , Table 7
5.5
At thirty dates policy search stays within 2.8% ; with lots and a fee the likelihood-ratio methods lead
Tables 8 , 9
5.6
One critic fitted without a preference reads nine preferences and supports planning
Figure 5 , Table 10
5.7
Gradient variance tracks E[ω2] , and tilted paths lower it
Figures 7 , 7
5.8
Table 3: Results at a glance.
algorithm
settings
policy search
rank weights ( 14 ) or batch certainty equivalent; a straight-through estimator for the rounding to lots
policy search with
refreshed to the batch quantiles every m=16 steps
shortfall thresholds
policy gradient
exploration s.d. 0.05 , clip ϵ=0.2 , 4 epochs over minibatches of 8,192 decisions
actor–critic
as above; critic with M=32 levels, 20 steps per batch on the last nc=4 batches, κ=0.9
planning
critic of the rounded delta hedge with M=32 levels; 31 quadrature nodes
Table 4: Settings particular to each algorithm.
Figure 2: (a) Densities of the log-return over thirty days. (b) Weights of the preferences, with ∥w∥22 in the legend; power 0.75 is only scored.
Figure 3: Hedges of the grid programmes on Brownian motion at ten dates, cost 1% , at date 5 with an inventory of 0.5 held before the trade. (a) Target inventory against the spot under each preference, the shortfall hedges at the median cushion their own policy visits; the grid at λ=25 is not checked. (b) Target inventory under expected shortfall at 10% against the spot and the cushion ( 18 ).
Brownian motion
ES 50%
ES 10%
two-level
Wang 1
entropic 25
entropic 50
policy search
-4.22 (0.6)
-5.25 (2.8)
-5.64
-4.66
-3.58 (1.3)
-3.87 (1.5)
policy gradient
-4.26 (1.6)
-5.22 (2.2)
-5.63
-4.67
-3.61 (2.1)
-3.88 (1.7)
actor–critic
-4.27 (1.8)
-5.21 (2.0)
-5.65
-4.68
-3.62 (2.5)
-3.89 (1.9)
thresholds
-4.22 (0.5)
-5.25 (2.7)
-5.63
–
–
–
reference
-4.20
-5.11
-5.52
–
-3.53
-3.81
delta hedge
-4.96
-5.98
-6.59
-5.22
-4.35
-4.47
Table 5: Median score and gap (%) at 512 steps, ten dates, cost 1% . † Value of a grid policy failing the 1% check; Table 6 gives the Heston shortfall gaps at 2,048 steps, Section 5.5 the two-level gaps.
Figure 4: Hedges learned by policy search at 2,048 steps, ten dates, cost 1% , one per preference. (a) Densities of the profit and loss on Merton, with that of the delta hedge. (b, c) Shortfall curves α↦Uα of the same hedges and of the two-level hedge, absent from (a), on Brownian motion and on Merton.
Brownian motion
Merton
trained for \ scored under ES 50% ES 10% two-level Wang 1 ES 50% -4.22 -7.46 -9.34 -5.30 ES 10% -4.57 -5.25 -5.70 -4.73 two-level -4.64 -5.31 -5.64 -4.75 Wang 1 -4.45 -5.35 -5.84 -4.66
trained for \ scored under ES 50% ES 10% two-level Wang 1 ES 50% -4.05 -7.72 -10.49 -5.41 ES 10% -4.43 -6.44 -9.50 -5.37 two-level -4.32 -6.79 -8.95 -5.22 Wang 1 -4.16 -6.81 -9.06 -5.15
Heston
trained for \ scored under ES 50% ES 10% two-level Wang 1 ES 50% -4.16 -7.02 -8.44 -5.05 ES 10% -4.53 -5.28 -5.81 -4.71 two-level -4.59 -5.33 -5.71 -4.73 Wang 1 -4.38 -5.40 -5.95 -4.62
Table 7: Policy search at 512 steps, trained under the preference of each row and scored under that of each column: medians in units of 1% of the spot. The best score in each column is in bold.
ES 50%
ES 10%
two-level
Wang 1
entropic 25
entropic 50
Brownian motion, policy search
-4.18 (0.7%)
-4.99 (2.4%)
-5.35 (2.8%)
-4.59
-3.60 (2.3%)
-3.85 (1.7%)
Brownian motion, delta hedge
-5.74
-6.70
-7.22
-5.97
-5.13
-5.24
Heston, policy search
-4.13
-5.03
-5.46
-4.56
-3.49 (2.4%)
-3.76 (1.5%)
Heston, delta hedge
-5.72
-6.82
-7.45
-6.01
-5.12
-5.24
Table 8: Policy search at thirty dates, cost 1% , 2,048 steps: median score and gap (%) where a reference exists; on Heston only the entropic utility has one.
ES 50%
ES 10%
entropic 25
entropic 50
reference
−3.25
−3.83
−2.77
−2.89
policy search, straight-through
−3.57
−4.13
−3.09
−3.18
policy gradient
−3.42
−4.07
−2.87
−2.98
actor–critic
−3.41
−4.00
−2.87
−2.99
delta hedge, rounded to the lot
−4.02
−4.68
−3.62
−3.67
Table 9: Whole lots of ℓ=0.1 , cost 0.2% and a fee f per ticket on Brownian motion at thirty dates, 2,048 steps: median scores. The reference is the value of the grid policy on the lots.
Figure 5: (a) Relative error of the value read from one critic under nine preferences, sorted by E[ω2] (in parentheses), for the grid hedge of the entropic utility at λ=10 , Brownian motion, ten dates, cost 1% : range over three critics and median. (b) Planning with one critic on the lots problem at ten dates under the entropic utility.
λ
prior
planned
reference
gap closed
5
-3.03
-2.59
-2.57
95%
10
-3.05
-2.73
-2.67
84%
25
-3.08
-2.84
-2.78
81%
50
-3.15
-2.96
-2.91
79%
Table 10: Planning with one critic under the entropic utility, lots problem at ten dates: the prior (the delta hedge rounded to the lot), the planned hedge (median over critics) and the reference, in units of 1% of the spot, on the first 20,000 test paths, and the share of the gap between prior and reference closed.
Figure 6: (a) Gradient variance relative to the unweighted gradient’s, for ten preferences, coloured by family, and three fixed hedges, by marker; the dashed line is E[ω2] itself. (b) Gap to the reference, Merton, λ=50 , 2,048 steps, median of seeds 0 to 2 , on market and on tilted paths. (c) Expected shortfall at 50% , static and recursive, of the delta hedge on Brownian motion, no costs.
line of work
objective
preference fixed
learned object
static or nested
references
deep hedging, static objective
optimised certainty equivalents, penalties
yes
policy, or policy and value
static
[ 3 , 34 , 35 , 58 ]
actor–critic hedging
entropic, monetary utilities
yes, within a family
policy and value
nested; static if entropic
[ 4 , 5 , 38 ]
distributional critics in hedging
shortfall, value at risk, mean–deviation
yes
quantiles
per state
[ 37 , 59 , 60 ]
distributional reinforcement learning
expectation, distortions
yes, per agent
return distribution
per state
[ 25 , 6 , 7 ]
static risk in decision processes
shortfall, spectral, certainty equivalents
yes
value on the enlarged state
static
[ 8 , 9 , 61 ]
nested risk
Markov and dynamic convex measures
yes
value
nested
[ 44 , 62 ]
Table 11: Lines of related work. Preference fixed: chosen before training. Static: the preference is applied once to the terminal profit and loss; nested: applied date by date; per state: read from a critic at each state.
algorithm
closest prior method
difference
policy search ( 4.1 )
deep hedging [ 3 ]
rank weights serve every spectral preference
policy gradient ( 4.2 )
shortfall and coherent policy gradients [ 10 , 11 ]
a baseline rolled on the same market path
actor–critic ( 4.3 )
entropic actor–critic [ 4 ]
a distributional critic with no preference
shortfall thresholds ( 4.4 )
joint gradient in policy and threshold [ 3 ]
the exact threshold step, then a frozen block
shortfall programme ( 4.5 )
extended-state recursion [ 9 ]
solved on the cushion, one pass for every threshold
entropic programme ( 4.6 )
risk-sensitive recursion [ 54 ]
solved on a grid with costs and inventory
Table 12: Each algorithm of Section 4 against its closest prior method.
Quantitative finance uses mathematical models, statistics, and machine learning to value assets, measure risk, and guide trading and portfolio decisions.
Concordia University, Department of Mathematics and Statistics, Montréal, Canada · Quantact Laboratory, Centre de Recherches Mathématiques, Montréal, Canada
Department of Industrial Economics and Technology Management, Norwegian University of Science and Technology, Trondheim, Norway. · Department of Business and Mathematics, Mälardalens University, Väster˚as, Sweden.