NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Hedging

Hans Bühler, Lukas Gonon, Josef Teichmann, Ben WoodarXiv 2018

TL;DR

This paper introduces "Deep Hedging," a framework that uses deep reinforcement learning to manage derivative portfolios in realistic markets. Unlike traditional models that assume frictionless trading, this approach successfully incorporates transaction costs, liquidity constraints, and market impact by training neural networks to minimize convex risk measures.

What Problem Does This Paper Address?

In the idealized world of "complete markets" (like the classic Black-Scholes model), hedging is straightforward: you can perfectly replicate a derivative's payoff by trading the underlying assets without any cost. In reality, markets are "incomplete" and full of "frictions." Every trade incurs transaction costs, large orders move the market price (market impact), and some assets can't be traded instantly (liquidity constraints).

Traditional quantitative finance handles this by calculating "Greeks" (like Delta or Vega) and then having human traders manually adjust their positions to account for these frictions. This is often sub-optimal and doesn't scale well to complex portfolios. The authors aim to replace these manual adjustments and idealized assumptions with a data-driven, "Greek-free" approach that optimizes hedging strategies directly in the presence of real-world costs.

Methods

The authors treat hedging as a semi-recurrent reinforcement learning problem.

  1. Neural Network Strategies: Instead of a mathematical formula, the trading strategy is a deep neural network. At each time step, the network takes in market information (prices, signals, news) and the current portfolio position to decide the next trade.
  2. Convex Risk Measures: Rather than just minimizing mean squared error, the authors use convex risk measures like Expected Shortfall (CVaR) or Entropic Risk. These measures better capture the "tail risk" that traders actually care about.
  3. Model-Agnostic Training: The framework doesn't require an "equivalent martingale measure" (a staple of traditional finance). It only needs a "market scenario generator"—a way to produce sample paths of asset prices.
  4. Optimization: The networks are trained using the Adam optimizer and stochastic gradient descent. The authors provide a theoretical proof showing that these neural networks are "universal approximators" for optimal hedging strategies, meaning they can get arbitrarily close to the best possible solution.

Datasets

The paper relies on synthetic datasets generated from well-known financial models to benchmark the algorithm against theoretical truths:

  • Black-Scholes Model: Used for initial verification in a simple one-dimensional setting.
  • Heston Model: A stochastic volatility model used to test hedging against both price changes and changes in volatility (using variance swaps).
  • High-Dimensional Synthetic Data: A setup involving five independent Heston models (10 hedging instruments) to demonstrate the algorithm's scalability.

While the paper uses synthetic data to prove the concept, the authors emphasize that the framework could just as easily be trained on historical market data or more complex statistical simulations.

Key Insights and Ideas

  • "Greek-Free" Hedging: The algorithm doesn't need to know the sensitivity of an option to price (Delta) or volatility (Vega). It learns the optimal behavior simply by observing thousands of simulated market scenarios and their resulting losses.
  • The Importance of Recurrence: In a market with transaction costs, your current decision must depend on your previous position (to minimize unnecessary trading). The authors show that a recurrent structure is essential for performance when costs are non-zero.
  • Universal Approximation: The authors connect the "unreasonable effectiveness" of neural networks to their ability to efficiently represent "affine systems" (like wavelets or shearlets), which are often used in traditional signal processing and finance.
  • Model Independence: The hedging agent doesn't need to know the underlying SDE (Stochastic Differential Equation) of the market. It only needs to see the samples, making it robust to different market dynamics.

Key Results

  • Outperforming Benchmarks: In markets with transaction costs, the Deep Hedging agent significantly outperformed the standard "complete market" Delta hedge, which tends to trade too much and rack up excessive costs.
  • Verification of Asymptotics: The algorithm successfully recovered the theoretical $O(\epsilon^{2/3})$ relationship between transaction costs ($\epsilon$) and the indifference price, a result previously known in simple models but difficult to calculate in complex ones.
  • Scalability: The method scaled gracefully to a 10-dimensional hedging problem. Training time increased, but the approximation quality remained high, suggesting it can handle large, diverse portfolios.
  • Risk Preference Tuning: By changing the $\alpha$ parameter in the CVaR loss function, the authors could "dial in" the agent's risk aversion, moving from a neutral hedge to one that aggressively protects against extreme losses.

Limitations and Future Work

  • Market Generators: The performance of the hedge is only as good as the market scenarios used for training. If the simulator doesn't capture a "Black Swan" event, the neural network won't know how to hedge against it.
  • Computational Cost: While more efficient than solving high-dimensional partial differential equations (PDEs), training these networks still requires significant time and GPU resources, especially as the number of hedging instruments grows.
  • Continuous vs. Discrete: The numerical solution assumes a finite probability space for training, though the authors provide theoretical bridges to continuous cases.
  • Future Directions: The authors suggest exploring more complex constraints (like no-short-selling) and applying the framework to even higher-dimensional portfolios involving hundreds of assets.

Summary updated

BibTeX
@misc{buhler2018deep,
  author = {Hans Bühler and Lukas Gonon and Josef Teichmann and Ben Wood},
  title = {{Deep Hedging}},
  year = {2018},
  eprint = {1802.03042},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.03042},
}
Figure