betaFeedback

WorksMathematics

Mirror flow for semimartingale optimal transport

Abstract

Semimartingale optimal transport arises in a wide range of applications, including mathematical finance and flow-based generative models. A recurring computational challenge is that the dual energy functional is often poorly conditioned with respect to the dual potential, leading to slow convergence of gradient descent algorithms. To address this issue, we investigate a mirror flow approach that effectively preconditions the dual energy functional. We establish the geometric convergence of the mirror descent sequence. To obtain a practical numerical algorithm, we introduce a feasible discrete-time scheme based on first-order linearization. We prove that the scheme is well-defined and establish a uniform-in-time error bound for the accumulated linearization error, under a suitable smallness condition on the initial error. Finally, we apply the proposed mirror flow scheme to the specific-entropic martingale optimal transport (SEMOT) problem \cite{BuetGolfouseEtAl2026SEMOT} and observe a substantial improvement in computational efficiency.

Introduction

Semimartingale optimal transport (SMOT) seeks the least costly stochastic dynamics connecting a prescribed initial law μ\mu to a prescribed terminal law ν\nu [2]. We consider continuous semimartingales on [0,1][0,1] with dynamics dXt=btP dt+σtP dWtdX_t = b_t^P\,dt + \sigma_t^P\,dW_t under a candidate law PP, where btPb_t^P is the drift and 2atP=σtP(σtP)⊤2a_t^P = \sigma_t^P(\sigma_t^P)^\top is the instantaneous covariance. Let P(μ,ν)\mathcal{P}(\mu,\nu) be the set of admissible laws with X0∼μX_0 \sim\mu and X1∼νX_1 \sim\nu. The problem is

V(ν)=inf⁡P∈P(μ,ν)C(P),C(P)=EP[∫01L(t,Xt,atP,btP) dt].V(\nu) = \inf_{P \in\mathcal{P}(\mu,\nu)} C(P), \qquad C(P) = \mathbb{E}^{P}\left[\int_0^1 L(t,X_t,a_t^P,b_t^P)\,dt\right].

The running cost LL can penalize both drift and diffusion along the path. Applications include calibrating financial models to option prices [3] and inferring cell trajectories from population snapshots [4].

The terminal constraint makes the primal problem difficult to solve directly, so we relax it with a terminal potential ψ\psi, which assigns a cost to each endpoint. For fixed ψ\psi, we minimize C(P)+EP[ψ(X1)]C(P) + \mathbb{E}^{P}[\psi(X_1)] over laws with initial law μ\mu and no terminal constraint. Let A(ψ)\mathcal{A}(\psi) be the resulting value and T(ψ)T(\psi) the terminal law of the optimal process. The dual objective is

Dν(ψ)=A(ψ)−∫ψ dν.D_{\nu}(\psi)=\mathcal{A}(\psi)-\int\psi\,\mathrm{d}\nu.

It is concave and satisfies Dν(ψ)≤V(ν)D_{\nu}(\psi)\le V(\nu), with equality at the supremum under suitable conditions [2]. Its gradient is T(ψ)−νT(\psi)-\nu, the mismatch between the terminal law produced by ψ\psi and the target, so ψ\psi maximizes DνD_{\nu} exactly when T(ψ)=νT(\psi)=\nu. Each evaluation of T(ψ)T(\psi) requires solving one stochastic control problem.

Existing numerical methods for SMOT follow two main approaches. The first is PDE-based and works with the dual formulation, updating the potential by gradient or quasi-Newton methods. Finite-difference approximations and projected gradient updates are studied in [2], and HJB-based gradient and quasi-Newton procedures in [5]. Related implementations solve nonlinear HJB equations to calibrate local-stochastic-volatility, joint SPX–VIX and equity–interest-rate models [3, 6, 7, 8], and early PDE formulations of martingale transport lead to augmented-Lagrangian and ADMM methods [9]. The second approach uses discrete transport formulations. For martingale optimal transport at a fixed set of dates, convergent linear programming approximations are obtained in [10] by discretizing the marginals and relaxing the martingale constraint. For continuous-time SMOT, discretizing physical time yields a multimarginal problem that can be solved by Sinkhorn iterations [11]. This replaces repeated backward HJB solves with updates on the time grid, but grid refinement increases the number of marginals.

Gradient methods for the dual face a conditioning difficulty. The terminal law can respond much more strongly to some perturbations of ψ\psi than to others of the same size, so the Hessian of DνD_{\nu} can be ill conditioned, and a step size small enough to keep the most sensitive directions stable yields slow progress in the others. Quasi-Newton methods address this by approximating the Hessian from the history of gradients and iterates. We instead obtain the current derivative of the terminal map directly by linearizing the HJB–Fokker–Planck system, so that, at the discrete level, our updates use the Hessian of the minimized objective −Dν-D_{\nu}, represented by −DTψ-DT_{\psi}. This requires additional linear solves but gives a preconditioner adapted to the current control problem. Our goal is to use this information to accelerate dual optimization within the backward–forward PDE framework, without the growth in the number of marginals caused by time refinement in Sinkhorn-type methods.

Our approach is based on mirror flow. Given a convex functional Φ\Phi, called the mirror potential, and an objective FF to be minimized, mirror flow evolves the coordinate DΦ(ψ)D\Phi(\psi) along the negative derivative of FF. In optimization time ss,

ddsDΦ(ψs)=−DF(ψs),ψ˙s=−[D2Φ(ψs)]−1DF(ψs),\frac{\mathrm{d}}{\mathrm{d}s}D\Phi(\psi_s)=-DF(\psi_s),\qquad \dot{\psi}_s=-[D^2\Phi(\psi_s)]^{-1}DF(\psi_s),

whenever D2Φ(ψs)D^2\Phi(\psi_s) is invertible. The inverse Hessian rescales the gradient according to the local geometry generated by Φ\Phi, so mirror flow is the continuous-time counterpart of preconditioned gradient descent. When D2ΦD^2\Phi approximates D2FD^2F, the flow approximates a Newton flow.

For SMOT we minimize F=−DνF=-D_{\nu} and take the negative penalized control value Φ=−A\Phi=-\mathcal{A} as mirror potential. Then DΦ(ψ)=−T(ψ)D\Phi(\psi)=-T(\psi) and, under the assumptions of § 3, the Hessian is D2Φ(ψ)=−DTψD^2\Phi(\psi)=-DT_{\psi}. Since D2F=D2ΦD^2F=D^2\Phi, the flow ψ˙s=(−DTψs)−1(T(ψs)−ν)\dot{\psi}_s=(-DT_{\psi_s})^{-1}(T(\psi_s)-\nu) is the continuous Newton flow for the dual. In the mirror coordinate ps=T(ψs)p_s=T(\psi_s) it becomes linear,

dpsds=ν−ps,ps−ν=e−s(p0−ν),\frac{\mathrm{d}p_s}{\mathrm{d}s}=\nu-p_s,\qquad p_s-\nu=e^{-s}(p_0-\nu),

so the terminal mismatch decays exponentially wherever the flow is defined. The underlying geometry is the Bregman geometry of Φ\Phi, with divergence BΦ(ψ′∣ψ)=Φ(ψ′)−Φ(ψ)−⟨DΦ(ψ),ψ′−ψ⟩≥0B_{\Phi}(\psi' \mid\psi) = \Phi(\psi') - \Phi(\psi) - \langle D\Phi(\psi), \psi' - \psi\rangle\ge0. It is the natural geometry in which to study the dual problem and its convergence: if ψ∗\psi^* satisfies T(ψ∗)=νT(\psi^*) = \nu, then Dν(ψ∗)−Dν(ψ)=BΦ(ψ∣ψ∗)D_{\nu}(\psi^*) - D_{\nu}(\psi) = B_{\Phi}(\psi\mid\psi^*), so the dual gap is exactly the Bregman distance from ψ\psi to the solution. Mirror flow is steepest descent in this geometry, whereas the Euclidean metric underlying ordinary gradient methods ignores how the terminal law responds to the potential. The main difficulty is to show that the infinite-dimensional Newton-type step is well defined and that its linearization can be controlled.

Mirror and second-order methods have been studied in several transport settings, but for different variables and dynamics. In classical optimal transport, Sinkhorn has been interpreted as mirror descent and mirror flow [12, 13, 14], while truncated Newton methods approximate curvature corrections for a discrete transport dual [15]. In stochastic transport, exponential convergence has been proved for a gradient flow of the Bass functional in a one-dimensional martingale setting [16], and affine mirror dynamics have been studied on path laws with controlled drift and fixed diffusion [17]. Exponential convergence has also been established for Sinkhorn iterations in entropic martingale optimal transport (EMOT) [18, 19] and for SISTA, a method combining Sinkhorn updates with gradient steps [20]. These results concern alternating updates for static martingale couplings, under assumptions on compactly supported marginals and the cost. Our scheme instead updates the terminal potential of a continuous-time stochastic control problem.

Our differentiability analysis relies on the stability of HJB solutions with respect to terminal data. Differentiability with respect to finite-dimensional families of terminal data and local strong convexity of the associated value map are studied in [21]. Smooth dependence of the potentials on the marginal data for the multimarginal Schrödinger system is established in [22]. Our analysis additionally concerns the terminal marginal map of the coupled HJB–Fokker–Planck system and, in particular, the invertibility of its derivative in Sobolev and Hölder spaces.

Our main contributions are:

  1. Mirror flow for SMOT. We introduce a mirror flow on terminal potentials for SMOT with controlled drift and diffusion. For the exact implicit discretization with step size τ\tau, DΦ(ψˉk+1)−DΦ(ψˉk)=−τDF(ψˉk+1)D\Phi(\bar{\psi}_{k+1}) - D\Phi(\bar{\psi}_k) = -\tau DF(\bar{\psi}_{k+1}), the terminal laws ρˉk=T(ψˉk)\bar{\rho}_k = T(\bar{\psi}_k) satisfy ρˉk+1−ν=(ρˉk−ν)/(1+τ)\bar{\rho}_{k+1} - \nu= (\bar{\rho}_k - \nu)/(1+\tau). We prove geometric decay of the terminal mismatch and of the dual objective gap, provided the iterates exist and some terminal potential produces the target law ν\nu.

  1. Differentiability and invertibility of TT. For autonomous costs on the torus, we prove Fréchet differentiability of TT and identify its derivative through the linearized HJB–Fokker–Planck system, with a quadratic Taylor remainder. We first establish the weak invertibility of DTψDT_{\psi} from H⋄1H^1_{\diamond} onto H⋄−1H^{-1}_{\diamond}. Under additional smoothness assumptions, pseudodifferential elliptic regularity yields a strong Hölder inverse, which in turn ensures well-definedness of the linearized recursion for smooth data.

  1. Error of the linearized scheme. We replace the nonlinear mirror steps by first-order linearized updates in which the desired changes in terminal density are prescribed in advance by the exact mirror iteration, so errors accumulated in earlier iterations are not corrected. Under a local smallness condition, we prove that the terminal densities produced by this scheme remain within O(τ)O(\tau), in Cm,αC^{m,\alpha}, of the prescribed mirror-density path.

  1. Numerical illustration. We apply the linearized scheme to the one-dimensional SEMOT benchmark of [1], where the discrete dual Hessian is poorly conditioned (condition number approximately 92.2 initially and 863.2 at the final mirror iterate). The scheme reaches the prescribed terminal accuracy

with approximately 100 times fewer updates than ordinary gradient ascent on the same grid, a speedup of approximately 35 in a single run.

The remainder of the paper is organized as follows. § 2 introduces the SMOT problem, its dual formulation and the notation. § 3 presents the mirror flow and our main results on convergence, differentiability and invertibility of the terminal map, and the error of the linearized scheme. § 4 applies the linearized scheme to the SEMOT benchmark of [1] and compares it with ordinary gradient ascent. § 5 contains the proofs of the mirror-flow results, the differentiability of the terminal map, and the weak invertibility of its derivative. § 6 develops the pseudodifferential analysis needed to establish strong Hölder invertibility. Finally, § 7 proves well-definedness of the linearized recursion and the uniform-in-time tracking estimate.

Preliminaries

Notation. Fix d,m∈Nd,m\in\mathbb{N}, m≥2m\ge2, and α∈(0,1)\alpha\in(0,1). We work on Td:=Rd/Zd\mathbb{T}^d:=\mathbb{R}^d/\mathbb{Z}^d, equipped with normalized Lebesgue measure, and set Q:=[0,1]×TdQ:=[0,1]\times\mathbb{T}^d. Spatial derivatives are denoted by ∂i\partial_i, ∂ij\partial_{ij}, ∇\nabla, and ∇2\nabla^2; repeated spatial indices are summed from 11 to dd. Let Sd\mathbb{S}^d be the symmetric d×dd\times d matrices, S+d\mathbb{S}^d_+ their positive-semidefinite cone, and Ed:=Sd×Rd\mathbb{E}^d:=\mathbb{S}^d\times\mathbb{R}^d, E+d:=S+d×Rd\mathbb{E}^d_+:=\mathbb{S}^d_+\times\mathbb{R}^d. We use the Frobenius product A:B:=Tr⁡(A⊤B)A:B:=\operatorname{Tr}(A^\top B) and the joint Euclidean structure

(A,b)⋅(B,c):=A:B+b⋅c,∣(A,b)∣2:=A:A+∣b∣2.(A,b)\cdot(B,c):=A:B+b\cdot c,\qquad|(A,b)|^2:=A:A+|b|^2.

Matrix inequalities refer to the positive-semidefinite order, and I=IdI=I_d is the identity matrix. For a scalar function vv, set Jv:=(∇2v,∇v)∈EdJv:=(\nabla^2v,\nabla v)\in\mathbb{E}^d.

Let D′(Td)\mathcal{D}'(\mathbb{T}^d) denote the space of distributions on Td\mathbb{T}^d and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle the relevant duality pairing, written in either order and agreeing with integration whenever applicable. For probability measures, we write Pn⇒PP_n\Rightarrow P for weak convergence, meaning that ∫f dPn→∫f dP\int f\,dP_n\to\int f\,dP for every bounded continuous function ff.

Define

Y:={r∈D′(Td):⟨r,1⟩=0},F⋄:=F∩Y.\mathcal{Y}:=\{r\in\mathcal{D}'(\mathbb{T}^d):\langle r,1\rangle=0\},\qquad F_\diamond:=F\cap\mathcal{Y}.

We use this notation for F=Cq,βF=C^{q,\beta}, C∞C^\infty, H1H^1, H−1H^{-1}, where q∈N0:={0,1,…}q\in\mathbb{N}_0:=\{0,1,\ldots\} and β∈(0,1)\beta\in(0,1). To work with functions that are identified modulo constants and represented by zero-mean functions, it is natural to consider the space C∞(Td)/R≃C⋄∞(Td)C^\infty(\mathbb{T}^d)/\mathbb{R}\simeq C^\infty_\diamond(\mathbb{T}^d). Restriction identifies H⋄−1H^{-1}_\diamond with (H⋄1)∗(H^1_\diamond)^* (the dual of H⋄1H^1_\diamond), with equivalent standard norms.

References

  1. [1]François Buet-Golfouse, Anaïs Després, Zhenjie Ren, and Xin Zhang. Generalized specific entropy on Wiener space with application to martingale optimal transport. Preprint, arXiv:2605.22445, 2026.
  2. [2]Xiaolu Tan and Nizar Touzi. Optimal transportation under controlled stochastic dynamics. The Annals of Probability, 41(5):3201–3240, 2013.DOI
  3. [3]Ivan Guo, Grégoire Loeper, and Shiyi Wang. Calibration of local-stochastic volatility models by optimal transport. Mathematical Finance, 32(1):46–77, 2022.arxiv.org/abs/1906.06478
  4. [4]Hugo Lavenant, Stephen Zhang, Young-Heon Kim, and Geoffrey Schiebinger. Toward a mathematical theory of trajectory inference. The Annals of Applied Probability, 34(1A):428–500, 2024.DOI
  5. [5]Ivan Guo, Nicolas Langrené, Grégoire Loeper, and Wei Ning. Portfolio optimization with a prescribed terminal wealth distribution. Quantitative Finance, 22(2):333–347, 2022.
  6. [6]Ivan Guo, Grégoire Loeper, Jan Obłój, and Shiyi Wang. Joint modeling and calibration of SPX and VIX by optimal transport. SIAM Journal on Financial Mathematics, 13(1):1–31, 2022.
  7. [7]Benjamin Joseph, Grégoire Loeper, and Jan Obłój. Joint calibration of local volatility models with stochastic interest rates using semimartingale optimal transport. Quantitative Finance, 24(11):1597–1620, 2024.arxiv.org/abs/2308.14473
  8. [8]Benjamin Joseph, Grégoire Loeper, and Jan Obłój. Calibration of local volatility models with stochastic interest rates using optimal transport. Finance and Stochastics, 30(2):397–439, 2026.arxiv.org/abs/2305.00200
  9. [9]Ivan Guo, Grégoire Loeper, and Shiyi Wang. Local volatility calibration by optimal transport. In David Wood, Jan de Gier, Cheryl E. Praeger, and Terence Tao, editors, 2017 MATRIX Annals, volume 2 of MATRIX Book Series, pages 51–64. Springer, 2019.
  10. [10]Gaoyue Guo and Jan Obłój. Computational methods for martingale optimal transport problems. The Annals of Applied Probability, 29(6):3311–3347, 2019.
  11. [11]Jean-David Benamou, Guillaume Chazareix, and Grégoire Loeper. From entropic transport to martingale transport, and applications to model calibration. Preprint, arXiv:2412.00030, 2024.arxiv.org/abs/2412.00030
  12. [12]Flavien Léger. A gradient descent perspective on Sinkhorn. Applied Mathematics & Optimization, 84(2):1843–1855, 2021.arxiv.org/abs/2002.03758
  13. [13]Pierre-Cyril Aubin-Frankowski, Anna Korba, and Flavien Léger. Mirror descent with relative smoothness in measure spaces, with application to Sinkhorn and EM. In Advances in Neural Information Processing Systems, volume 35, pages 17263–17275. Curran Associates, Inc., 2022.
  14. [14]Mohammad Reza Karimi, Ya-Ping Hsieh, and Andreas Krause. Sinkhorn flow as mirror flow: A continuous-time framework for generalizing the Sinkhorn algorithm. In Proceedings of the 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 4186–4194. PMLR, 2024.arxiv.org/abs/2311.16706
  15. [15]Mete Kemertas, Amir-massoud Farahmand, and Allan D. Jepson. A truncated Newton method for optimal transport. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2504.02067
  16. [16]Julio Backhoff, Gudmund Pammer, and Walter Schachermayer. The L² gradient flow of the Bass functional in martingale optimal transport. Mathematics and Financial Economics, 19:665–686, 2025.DOI
  17. [17]Yupeng Bai, Louis-Pierre Chaintreton, Zhenjie Ren, and Songbo Wang. Convex geometry of diffusion laws and gradient flows for stochastic control. Preprint, arXiv:2610.03487, 2026.arxiv.org/abs/2610.03487
  18. [18]Fan Chen, Giovanni Conforti, Zhenjie Ren, and Xiaozhen Wang. Convergence of Sinkhorn’s algorithm for entropic martingale optimal transport problem. Mathematics of Operations Research, 2026. Articles in advance.DOI
  19. [19]Anna Kazeykina, Zhenjie Ren, and Hecheng Wang. Exponential convergence of Sinkhorn algorithm for entropy martingale optimal transport. Preprint, arXiv:2609.18850, 2026.arxiv.org/abs/2609.18850
  20. [20]Giorgia Bifronte, Armand Ley, and Maxime Sylvestre. On the linear convergence of SISTA for entropic martingale optimal transport. Preprint, arXiv:2610.26504, 2026.arxiv.org/abs/2610.26504
  21. [21]Jean-François Chassagneux, Stéphane Crépey, Grégoire Loeper, and Justin Ruelland. Differentiability and convexity of the solution maps for fully non-linear parabolic HJB equations. Preprint, arXiv:2610.35476, 2026.arxiv.org/abs/2610.35476
  22. [22]Guillaume Carlier and Maxime Laborde. A differential approach to the multi-marginal Schrödinger system. SIAM Journal on Mathematical Analysis, 52(1):709–717, 2020.arxiv.org/abs/1811.05207
  23. [23]Hong Huang. The Cauchy problem for fully nonlinear parabolic systems on manifolds. Preprint, arXiv:1506.05030, 2015.arxiv.org/abs/1506.05030
  24. [24]Olga A. Ladyzhenskaya, Vsevolod A. Solonnikov, and Nina N. Ural’tseva. Linear and Quasi-linear Equations of Parabolic Type, volume 23 of Translations of Mathematical Monographs. American Mathematical Society, Providence, RI, 1968.
  25. [25]Ben Andrews. Fully nonlinear parabolic equations in two space variables. Preprint, arXiv:math/0402235, 2004.DOI
  26. [26]Wolfgang Arendt, Dominik Dier, Hafida Laasri, and El Maati Ouhabaz. Maximal regularity for evolution equations governed by non-autonomous forms. Advances in Differential Equations, 19(11–12):1043–1066, 2014.arxiv.org/abs/1303.1166
  27. [27]Lawrence C. Evans. Partial Differential Equations, volume 19 of Graduate Studies in Mathematics. American Mathematical Society, Providence, RI, 2 edition, 2010.
  28. [28]Jacques-Louis Lions and Enrico Magenes. Non-Homogeneous Boundary Value Problems and Applications, Vol. I, volume 181 of Grundlehren der mathematischen Wissenschaften. Springer-Verlag, Berlin, 1972.
  29. [29]Lars Hörmander. The Analysis of Linear Partial Differential Operators III: Pseudo-Differential Operators. Classics in Mathematics. Springer-Verlag, Berlin, 2007. Reprint of the 1994 edition, originally published as volume 274 of Grundlehren der mathematischen Wissenschaften.DOI
  30. [30]Michael E. Taylor. Pseudodifferential Operators and Nonlinear PDE, volume 100 of Progress in Mathematics. Birkhäuser, Boston, MA, 1991.DOI

Paper details

vlnc:W_kq29g8vz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents