Manuscript Offprint
arXiv:2609.00332Latent-Space No-Arbitrage Geometry of Generative Models for Implied Volatility Surfaces
Abstract
Generative models for implied volatility surfaces must produce outputs that satisfy static no-arbitrage constraints. We study these constraints in latent space. For a fixed generator, we assign each latent code a scalar margin determined by the no-arbitrage conditions of the generated surface. The codes with nonnegative margin form the admissible latent set. We establish conditions under which strictly admissible codes remain admissible under small perturbations and the boundary of the admissible set is characterized by zero margin. For regular boundary components, we formulate a level-set equation whose local dynamics are directed toward the zero-margin set. The analysis treats the generator as a map from latent variables to surfaces and is therefore not restricted to a particular architecture. It applies to variational autoencoders, generative adversarial networks, and other generative models with a deterministic realization map. Numerical tests recover known boundaries in analytic examples. Experiments with a variational autoencoder trained on Heston surfaces show that similar reconstruction errors can correspond to different admissible regions and that the latent prior may be concentrated inside such a region. The computed boundary can also be used to modify latent codes that generate violating surfaces.
Keywords. Implied volatility surface; no-arbitrage constraints; generative models; latent space; level-set method; Hamilton–Jacobi equation.
1 Introduction
Generative models are used to construct financial objects such as return scenarios, yield curves, option prices, and implied volatility surfaces (Ning et al., 2023; Vuletić and Cont, 2025; Wang et al., 2025), alongside econometric and stochastic-volatility models (Aït-Sahalia and Jacod, 2014; Heston, 1993; Bayer et al., 2016). For implied volatility surfaces, distributional fit alone is insufficient. A generated surface that violates static no-arbitrage conditions cannot be used consistently for pricing and hedging. Since a generator maps latent codes to entire surfaces, some parts of its latent space may produce admissible surfaces while others produce violations. We study how these two regions are separated.
Existing methods impose no-arbitrage conditions during model construction or correct violations after generation. These include admissible parameterizations (Cont and Vuletić, 2023; Ning et al., 2023), constrained reconstruction maps (Zhang et al., 2023), and penalty terms used in neural smoothing, GANs, diffusion models, and flow-matching models (Ackerer et al., 2020; Na et al., 2023; Vuletić and Cont, 2025; Belmonte and Cole, 2025; Jin and Agarwal, 2025; Brooks et al.,
*Email: shuaiqiangliu@tudelft.nl
2026). Latent-space correction provides another possibility (Wang et al., 2025). We keep the trained generator fixed and study the set of latent codes for which its output satisfies the prescribed no-arbitrage conditions.
For each latent code, we assign a scalar margin obtained from the no-arbitrage conditions of the generated surface. A positive margin corresponds to strict admissibility, and a negative margin indicates a violation. The codes with nonnegative margin form the admissible latent set. Its boundary separates latent codes that produce admissible surfaces from those that do not. This construction depends on the map from latent variables to generated surfaces, rather than on the architecture used to obtain that map. It therefore applies to VAE decoders (Kingma and Welling, 2014), GAN generators (Goodfellow et al., 2014), normalizing flows, and other fixed generators.
We first establish that a latent code with positive margin has an admissible neighborhood. We then relate the boundary of the admissible set to the zero-margin codes and give conditions under which they agree locally. For regular boundary components, a Hamilton–Jacobi level-set equation provides an evolving-interface calculation. We test this calculation on two examples with known boundaries. We then study a two-dimensional VAE trained on Heston implied volatility surfaces by evaluating its latent margin directly and refining sign-changing grid edges. The trained-generator study compares reconstruction accuracy with the size and probability of the admissible region across several training seeds, identifies the no-arbitrage condition that determines most of the computed boundary, and tests a local correction of violating latent codes.
The remainder of this paper is organized as follows. Section 2 introduces generative models and no-arbitrage conditions of implied volatility surfaces. Sections 3–5 develop the margin, analyze the latent admissible set, and present its level-set computation. Section 6 gives toy examples, and Section 7 presents the results regarding trained generative models. Section 8 concludes; the appendices contain proofs and numerical details.

(b) This paper: identify the arbitrage-free latent set

Figure 1: No-arbitrage constraints in latent space. In generate-and-check procedures, latent codes are sampled before the generated surfaces are tested for violations. The latent-space construction identifies the admissible codes before sampling from the fixed generator.
2.1 Surface representation and static no-arbitrage conditions
Let denote a compact computational domain in log-moneyness and time to maturity:
where , so that the short end , at which total variance degenerates, is excluded. An implied volatility surface (Dupire, 1994) is a map
It is often more convenient to work with total implied variance
The use of total variance is standard in static no-arbitrage analysis because calendar-spread and butterfly-arbitrage conditions can be expressed directly in terms of and its derivatives.
Throughout the paper, denotes a space of strictly positive total-variance surfaces. In the continuous formulation we use
and in the discrete formulation is the positive cone in .
We equip the continuous space with the standard -norm
For a total variance surface , the calendar-spread condition requires
At a fixed maturity , the butterfly-arbitrage condition requires the corresponding risk-neutral density to be nonnegative. A convenient representation is given by the Gatheral–Jacquier expression (Gatheral and Jacquier, 2014). For notational simplicity, interest rates and dividends are neglected throughout, so that coincides with the forward log-moneyness.
(2)
The finite-domain butterfly condition is written as
possibly together with suitable tail or boundary conditions when the full strike domain is considered. We work on finite computational domains, because generative implied volatility models typically operate on finite grids.
Accordingly, throughout this paper “admissible” and “no-arbitrage” refer to the calendar and butterfly conditions encoded on (or on the checked interior grid). They constitute a global static-arbitrage certificate only when supplemented by the appropriate strike-boundary and tail conditions. All subsequent statements are relative to the selected domain or grid and its accompanying boundary conditions.
Remark 1 (Finite-domain viewpoint). In empirical and generative settings, implied volatility surfaces are usually represented on a finite grid, for instance a fixed grid. In that case, the derivatives in (1) and (2) are replaced by finite-difference approximations on interior grid points. A numerical tolerance is often required to separate true arbitrage violations from discretization error.
2.2 Generative maps and induced surface families
Let
be the total-variance realization map used in the analysis. For a latent code ,
If an underlying decoder instead outputs implied volatility , its associated realization map is defined after the deterministic conversion
Thus always takes values in the total-variance space , whether the architecture outputs total variance directly or supplies it through an implied-volatility postprocessing step. Positivity is part of the surface-space specification, not a consequence of the margin inequalities. The definition of is independent of the model architecture. Examples include GAN generators, normalizing-flow decoders, spline-based surface maps, VAE decoders interpreted as deterministic realization maps, and other parameterized surface-generating functions.
Remark 2 (Deterministic generators). All statements below concern a map that returns one surface for each latent input. For a VAE, may be a trained decoder; for a GAN, the random input is ordinarily included in , after which the generator is deterministic.
The generator induces a family of total variance surfaces
The no-arbitrage constraints become latent-dependent inequalities:
Taking the minimum of the constraint values defines a scalar margin field on latent space.
3 The No-Arbitrage Margin and the Admissible Set
3.1 No-arbitrage margins in surface and latent space
Definition 1 (Calendar margin). For a sufficiently regular total variance surface , define
Definition 2 (Butterfly margin). For such a surface , define
Definition 3 (No-arbitrage margin). The combined no-arbitrage margin is
Remark 3 (Sign convention). We use the sign convention
The margin is the minimum value of the no-arbitrage constraint functions over the prescribed domain. A surface is admissible only if the constraints hold at every checked grid point or throughout the continuous domain.
Definition 4 (Latent-space no-arbitrage margin). Given a generative map , define
The composition transfers the no-arbitrage conditions from the generated surfaces to latent space. We write the latent margin as (upright) and the surface margin as .
3.2 Admissible sets in continuous and discrete formulations
Definition 5 (No-arbitrage admissible set). The latent-space no-arbitrage admissible set is
The strict admissible region is
and the violating region is
The zero-margin set is
and the topological boundary of the admissible set (relative to ) is
If is continuous, then : a boundary point cannot have strictly positive or strictly negative margin. Equality need not hold at a degenerate zero, because may touch zero without changing sign.
A finite sample identifies admissible codes but does not determine . The admissible set is the super-level set of , with its topology and boundary defined independently of a sample.
We use continuous-domain and discrete-grid formulations.
Continuous-domain formulation. Assume and the derivatives in (1) and (2) are classical. Then the margins (4) and (5) are defined by infima over . Since is compact and the derivatives are continuous, these infima are attained and are in fact minima. The theoretical results use this formulation.
Discrete-grid formulation. Let
be a finite grid. Let and denote finite-difference approximations to and . Define
where denotes the set of interior grid points used for derivative evaluation. Because finite-difference stencils require neighboring points, contains interior points only; arbitrage at the boundary of is not checked by and is delegated to the tail or boundary conditions accompanying (3). The discrete latent margin is
In numerical work, one often uses the tolerance-adjusted admissible set
where accounts for finite-difference and floating-point errors.
Remark 4 (Numerical tolerance). The tolerance should be interpreted as a pointwise numerical threshold in the arbitrage check, not as an economic relaxation of no-arbitrage. A grid point is treated as violating the condition only when the computed margin falls below .
With the topology fixed above, the calendar and butterfly margin functionals are continuous on . They are Lipschitz on sets for which and : the differential terms are controlled by the -norm, the rational terms in the butterfly operator are controlled by , and taking an infimum over compact is non-expansive in the sup-norm. When is a finite-dimensional positive grid space, the discrete margin is continuous on subsets bounded away from zero by the argument of Appendix B.
4 Topology, Local Stability, and Boundary Regularity
Under continuity of , every code with positive margin has a neighborhood contained in . This local property does not imply admissibility throughout the latent space.
Assumption 1 (Regularity of the generative map). The generative map is continuous. In stronger statements, is assumed to be locally Lipschitz.
Assumption 2 (Regularity of the margin functional). The no-arbitrage margin functional is continuous with respect to the topology on fixed in Section 2.1 (the -norm on , or the Euclidean topology on the positive finite-dimensional grid space). In stronger statements, is assumed to be locally Lipschitz on subsets whose total variance is bounded away from zero.
Assumption 3 (Non-degenerate boundary). At an interior zero-margin point , the latent margin is differentiable and
Remark 5 (Regularity of neural generators). Feedforward neural networks with ReLU, leaky ReLU, tanh, sigmoid, softplus, or GELU activations are continuous and locally Lipschitz. Networks with smooth activations define smooth generators, while ReLU networks are piecewise affine and locally Lipschitz. These architectures satisfy the continuity and local Lipschitz assumptions imposed on g. They do not imply that is , since the infimum over the surface domain and the minimum across constraints can be nonsmooth when minimizers or active constraints switch. Smoothness of the boundary requires the separate differentiability and non-degeneracy assumptions stated above.
4.1 Continuity, topology, and local stability
Proposition 1 (Continuity of the induced margin). Under Assumptions 1 and 2, the latent-space margin
is continuous on . If both and are locally Lipschitz, then is locally Lipschitz.
Proof. The composition of continuous maps is continuous. If is locally Lipschitz near and is locally Lipschitz on a neighborhood of , then for sufficiently close to ,
Thus M is locally Lipschitz.
Theorem 1 (Basic topology of the admissible set). Suppose is continuous. Then
is closed in , while
are open in . If is compact, then is compact. The set is nonempty if and only if there exists at least one with ; continuity alone does not guarantee nonemptiness.
Proof. The set is closed in , hence is closed under continuity of . Similarly, and are open, hence and are open. If is compact, any closed subset of is compact. The nonemptiness statement follows directly from the definition of .
Theorem 2 (Local stability of strict admissibility). Suppose is continuous at and
Then there exists such that
Equivalently, relative to the latent domain,
Proof. Let . By continuity, there exists such that
Therefore
so .
Corollary 1 (Explicit stability radius under local Lipschitz regularity). Suppose and there exist and such that is -Lipschitz on . Then any radius satisfying
has the property that
Proof. For ,
4.2 Boundary regularity
Theorem 3 (Local boundary regularity). Suppose is on a neighborhood of and
Then , and in a neighborhood of the sets and coincide and form a hypersurface of dimension , where . Its normal direction is
Proof. The implicit function theorem applied to shows that is a local hypersurface. Since , moving a sufficiently small distance from in the directions gives margins of opposite sign. Hence every nearby point of separates from , so locally.
Remark 6 (Boundary points are unstable in general). At a boundary point with , first-order perturbations satisfy
If , perturbations in one normal direction enter the admissible region and perturbations in the opposite direction enter the violating region. Thus boundary codes should not be viewed as locally stable without additional margin.
If the latent prior is standard Gaussian, , the high-probability region lies near the origin. If the margin is positive throughout a central region, Theorem 2 gives local stability there. A path into the latent tails or beyond the observed feature domain may approach or cross . Whether violations are more frequent in these regions depends on the trained generator. Positive margin implies local admissibility, not a global no-arbitrage guarantee.
5 Computing the Admissible-Set Boundary
5.1 Level-set representation and local attraction
The margin provides the implicit level set
The actual boundary satisfies , with local equality at the non-degenerate zeros covered by Theorem 3. The implicit representation does not require a direct parameterization of the boundary and remains defined for multiple components, holes, corners, and changes in topology. It also yields an evolution equation that can be analyzed with viscosity-solution theory and approximated numerically.
For numerical purposes, introduce an auxiliary level-set function (Osher and Sethian, 1988; Sethian, 1999)
whose zero contour
represents an evolving approximation to the no-arbitrage boundary.
A natural level-set evolution is
The Hamiltonian is
Writing for the speed of the front in the direction of , equation (16) gives . With the convention on the admissible side and on the violating side, a positive margin moves the front toward the boundary from the admissible side, a negative margin moves it in the opposite direction, and the speed vanishes on . The following proposition concerns attraction along the fixed normal line through a regular zero, where and agree. It does not establish convergence of a curved front or coverage of every component of .
Proposition 2 (Fixed-normal attraction at a regular zero-margin point). Let near , with , and set
With pointing from the positive-margin side into the negative-margin side, for all sufficiently small the normal trajectory defined by
exists for all , remains in a neighborhood of zero, and satisfies . Moreover,
whenever . Thus the zero is locally attracting along this fixed normal cross-section, with asymptotic exponential rate . The conclusion does not assert convergence of a general characteristic or of the full level-set front.
Proof. Write . Then and
Hence for all sufficiently small nonzero . Standard one-dimensional ODE theory gives a unique trajectory that remains in this neighborhood, is monotone toward zero, and converges to zero. Since
integration of gives the stated logarithmic decay rate.
Remark 7 (Local attraction versus global boundary coverage). Proposition 2 describes only a fixed-normal cross-section. A front initialized in one region need not reach every connected component of , and a bounded positive-margin component may have several boundary components. If , the front propagates with constant speed and never stops; similarly, in the upper region of Example 2 no zero-margin interface lies ahead of the front. The initialization must therefore be chosen for the boundary components under consideration. Near a regular component, the computation monitors and stops when the front margin is below a tolerance of order (Section D). The proposition gives this local scale but does not prove convergence of the discretized front.
Remark 8 (Hamilton-Jacobi versus Hamilton-Jacobi-Bellman). Equation (16) is a Hamilton-Jacobi level-set equation with a prescribed velocity field . A Hamilton-Jacobi-Bellman equation would arise if the normal velocity were selected by optimizing over controls, for example in an optimal projection or minimal-repair problem. The present level-set representation does not require such an optimization.
Remark 9 (Cost of the speed field). A single evaluation of requires decoding an entire implied volatility surface and checking both no-arbitrage conditions on a grid; it is the dominant cost per node, not the level-set arithmetic. This cost motivates narrow-band updates, caching, and adaptive refinement, but it does not imply that an evolving front always requires fewer total margin evaluations than a one-shot full-grid contour calculation.
5.2 Well-posedness and numerical approximation
Classical differentiability of cannot be expected in general. Even if and are smooth, Hamilton-Jacobi equations may develop corners, shocks, or kinks in finite time. The appropriate solution concept is the viscosity solution (Crandall and Lions, 1983).
Definition 6 (Viscosity solution, informal). A continuous function is a viscosity subsolution of
if every smooth test function touching from above satisfies the PDE inequality at the contact point. It is a viscosity supersolution if every smooth test function touching from below satisfies the reverse inequality. A viscosity solution is both a subsolution and a supersolution.
Viscosity solutions are stable under nonsmooth limits and provide the solution concept used for the level-set equation.
Theorem 4 (Well-posedness of the level-set Cauchy problem). Let the spatial domain be , suppose that is bounded and globally Lipschitz, and let be bounded and uniformly continuous. Then the Cauchy problem
admits a unique bounded uniformly continuous viscosity solution. The same conclusion holds when is Lipschitz and periodic and is continuous and periodic on the flat torus .
Proof. The Hamiltonian is continuous in . If is the Lipschitz constant of , then
and for all
so is uniformly Lipschitz in the momentum variable, uniformly in . The comparison principle of Crandall and Lions (1983) therefore applies, and the standard existence-uniqueness theory for first-order Hamilton-Jacobi equations with continuous Hamiltonians and bounded uniformly continuous initial data yields a unique viscosity solution; see also Sethian (1999) for the level-set context and Appendix C.
Corollary 2 (Solvability for neural generators). Suppose the generator and margin functional induce a bounded globally Lipschitz margin on (or a Lipschitz periodic margin on ). Then (18) is well posed in the viscosity sense for bounded uniformly continuous (respectively continuous periodic) initial data. On a finite latent box, one must additionally specify boundary data, impose a periodic interpretation, or fix an extension of and beyond the box before invoking the Cauchy-problem result.
On a two-dimensional latent domain, let be a grid and let approximate . A basic explicit update is
where is computed using an upwind or Godunov numerical Hamiltonian (Sethian, 1999). A stability condition of the form
is typically required, where depends on the scheme and grid geometry.
Higher-order ENO or WENO discretizations can reduce numerical diffusion. Reinitialization may be used to maintain close to a signed-distance function:
whose steady state satisfies .
Remark 10 (Full-grid and narrow-band costs). On a -dimensional latent grid with points per axis, a full-grid contour calculation evaluates at points, each at cost (one surface decode and one no-arbitrage grid check). A narrow-band level-set method stores and updates active nodes per step, with cumulative work for time steps. Under an explicit CFL condition, a fixed physical time generally gives . Hence a narrow band does not provide an unconditional asymptotic reduction relative to one contour calculation, and repeated updates can cost more. Direct contouring is sufficient for a static two-dimensional margin field. An evolving interface, local refinement, or restricted active memory can instead favor a level-set calculation. The total number of margin evaluations depends on travel distance, caching, initialization, and the boundary components sought.
6 Toy Experiments
The toy experiments separate three roles of the latent margin: the motion of a level-set front, the induction of a financial constraint by a generator, and the interaction of several active constraints. We first use the examples with known boundaries to assess numerical reconstruction and then examine the admissible geometry of a trained generator.
6.1 Example 1: radial admissible set
Example 1 (Radial margin). Let and define
Then
and
The level-set PDE is
If the initial interface is radial,
and , then and . Evaluating the PDE at the interface gives
so
The solution is
and therefore
The evolving zero level set converges to the no-arbitrage boundary .


Figure 2: Example 1: radial admissible set and level-set front evolution. Left: the admissible disk , its boundary , and snapshots of the front starting from . Right: the explicit front converging to the stationary interface .
6.2 Example 2: a generator-induced calendar margin
This example derives the margin from a decoder-generated surface. The calendar condition is evaluated over the continuous surface domain rather than at selected points. The generated total variance remains positive on the latent box, while the calendar margin becomes negative in part of the latent tail.
Let
Consider a toy decoder that outputs total variance surfaces directly:
The corresponding implied volatility surface is
The variable controls the maturity dependence of the surface, while affects the level and the skew-like term in . The calculation uses directly because the conditions in Section 2 are expressed in total variance.
First note that the bracketed term in (27) is positive on . Indeed, the worst-case contribution from the quadratic expression in m is
(29) where the unconstrained minimizer lies inside for . Hence, using , , and gives the lower bound
Thus the generated surfaces are well-defined as total variance surfaces throughout the latent box.
The calendar-spread derivative is
The decoder-induced calendar margin is therefore
The condition requires calendar admissibility for every .
The infimum can be computed explicitly. The m-dependent part is convex, and its minimum is
The -dependent part is linear. If , equivalently , the minimum over occurs at . Otherwise it occurs at . Consequently,
The calendar-admissible set induced by the decoder is
In the upper region , the margin is strictly positive throughout . For example, at the worst corner ,
Therefore all latent codes with are calendar-admissible in this example.
In the lower region , the boundary is obtained from :
Thus the full calendar-admissible region is
(38)
The violation region is the part of the latent box below this zero-level boundary:
Within the box , the boundary enters through the left edge at approximately
and exits through the lower edge at approximately
Hence the central latent region remains strictly calendar-admissible, while a lower-tail region crosses the zero-margin boundary.
Table 1 reports for representative latent codes.

Figure 3: Example 2: generator-induced calendar margin on the latent box . Shading shows the margin; the red contour is the zero level set , and the dashed black curve is the analytic lower boundary branch from (37). The boundary enters the box at and exits at ; the dashed gray line marks the switch at .
Prior mass and extrapolation probabilities. Let and restrict the decoder analysis to . The regions and contain no violations for this decoder and contain respectively 86.5% and 98.9% of the Gaussian mass. A 200-node Gauss–Hermite quadrature of the analytic boundary gives the joint probability
a fixed-seed Monte Carlo run with five million draws produced three violations, or with standard error . The two estimates are consistent at the resolution of such a rare-event simulation.
For fixed , Table 2 reports the analytic one-dimensional Gaussian probabilities obtained from the boundary in (37). They are zero for on the latent box, remain negligible where the boundary first enters the box, and rise sharply as moves farther into the lower tail. These probabilities are specific to the decoder in (27).
The mappings form the chain
The calendar condition is imposed on , and its minimum over defines the latent-space super-level set .
Table 1: Representative latent codes for the generator-induced calendar margin in Example 2.
| Classification | |||
|---|---|---|---|
| (0, 0) | 0.010 | 0.08200 | strictly admissible |
| (2, -2) | -0.020 | 0.06388 | admissible |
| (0, -5) | -0.065 | 0.00200 | close to boundary |
| (-6, -4) | -0.050 | -0.00508 | violation |
| (0, -6) | -0.080 | -0.01600 | violation |
| (6, -6) | -0.080 | 0.00692 | admissible |
Table 2: Calendar-violation probabilities under control extrapolation in Example 2. The probability is over , with the event restricted to and fixed.
| -3.72 | -4.00 | -4.50 | -5.00 | -5.50 | |
|---|---|---|---|---|---|
6.3 Numerical reconstruction of analytic boundaries
We test the numerical level-set calculation on Examples 1 and 2, for which the relevant boundary components are available analytically. We use the first-order upwind scheme of Section D on the full Cartesian grid, with the Godunov numerical Hamiltonian, homogeneous-Neumann ghost differences, and reinitialization every 30 steps. The iteration stops when the margin on cells crossed by the zero level set falls below a tolerance of order . Proposition 2 gives this scale only for fixed-normal local dynamics and does not establish convergence of the discretized front.
For Example 1, halving from to and reduces the maximum radial residual from to and . On the finest grid, , compared with . For Example 2, the maximum vertical residual decreases from to and over the three grids. Both sequences are consistent with first-order refinement.
The Example 1 residual is over all extracted zero crossings. For Example 2, the residual is for extracted points in and ; it is not a symmetric Hausdorff distance. Figure 4 compares this selected boundary component with the analytic lower branch in (37). All six calculations satisfy the stopping criterion. On the finest Example 2 grid, the final front band contains 2,060 of 231,361 nodes, or 0.89%. This fraction records front localization; updates, margin evaluations, and memory allocation remain full-grid.
Table 3: Full-grid level-set reconstruction of the radial boundary in Example 1 and the selected calendar-admissibility boundary in Example 2. Residuals use the case-specific definitions and comparison window stated in the text. The front-band count reports localization within the full grid.
| Case | N | max residual | mean residual | front band / grid | |
|---|---|---|---|---|---|
| Example 1 | 101 | 697 / 10,201 | |||
| Example 1 | 201 | 1,427 / 40,401 | |||
| Example 1 | 401 | 2,905 / 160,801 | |||
| Example 2 | 121 | 541 / 14,641 | |||
| Example 2 | 241 | 1,053 / 58,081 | |||
| Example 2 | 481 | 2,060 / 231,361 |

Figure 4: Level-set reconstruction of the calendar boundary in Example 2 on the grid. Blue dots: numerical zero level set; dashed red curve: analytic lower branch (37); dotted line: switch .
6.4 Example 3: competing calendar and butterfly constraints
The combined admissible set is generally the intersection of multiple constraint-induced super-level sets. Consider the stylized margins
where . Let
Then
That is,
The boundary is the union of active constraint boundaries:
The admissible set is the intersection of two convex sets and is therefore convex, but the active constraints depend on . If , the ellipse is contained in the strip, so the butterfly constraint alone determines the boundary (at the two boundaries touch at ). If , both constraints are active: the ellipse intersects the lines at
and these four switching points are corners of . Thus the minimum of the two smooth margins is generally only Lipschitz across the switching set , while boundary nonsmoothness occurs when that set meets two active boundary pieces transversally. These stylized margins are not derived from a generator-produced surface.


Figure 5: Example 3: competing calendar and butterfly constraints. Left (): the butterfly constraint dominates and the strip constraint is inactive. Right (): both constraints shape the boundary , with switching points where .
Example 3 shows how several constraints can determine different parts of an admissible boundary. We next examine which constraints are active on the boundary induced by a trained generator, without assuming that its geometry has the stylized form above.
7 Admissible latent geometry of Generative Financial Models
We examine the admissible latent geometry induced by a two-dimensional VAE trained on synthetic Heston implied volatility surfaces. The study compares reconstruction error, held-out admissibility, admissible area, and prior probability across training seeds.
7.1 No-arbitrage geometry of a trained generator
We generate 30,000 Heston implied volatility surfaces on a grid of 28 maturities and 28 log-moneyness points. The maturities range from 0.1 to 0.6 years, and the log-moneyness values range from -0.27 to 0.27. Each surface is converted to normalized Black-Scholes call prices with zero interest rates and dividends. We check the lower and upper call-price bounds, the two strike-slope bounds, strike convexity, and calendar monotonicity. The discrete margin is the minimum of the six constraint values over all checked grid locations. All input surfaces have positive margin, with a minimum value of .
We train a fully connected VAE with a two-dimensional Gaussian latent variable. The data are divided into training, validation, and test sets in proportions of 70%, 15%, and 15%. The architecture and KL weight are selected using the validation set, while the test set is used only after model selection. The selected model has encoder widths 784, 512, 256, and 128, a symmetric decoder, SiLU activations, a sigmoid output, and a KL weight of 0.3 after warm-up. Five models are trained with different random seeds. For the latent-space calculations, the VAE decoder is treated as the fixed generator, and posterior means are used to represent the data in latent space.
For each seed, we evaluate the margin directly on a grid over . The area of the admissible region is estimated from the grid cells. Its probability under the standard Gaussian prior is estimated using 200,000 fixed-seed samples, with a Monte Carlo standard error below . Grid edges across which the margin changes sign are refined by bisection to a latent-coordinate tolerance of . This static contour calculation does not use the time-dependent Hamilton–Jacobi evolution tested above.
The selected architecture reduces the mean test IV-RMSE from 0.01017 for the baseline VAE to 0.00646. Across the five selected-model seeds, the IV-RMSE varies only from 0.00639 to 0.00653. The mean fraction of strictly admissible held-out decodings is 0.974, with a range from 0.927 to 0.990. By comparison, the admissible fraction of the latent box ranges from 0.334 to 0.421, whereas the admissible probability under the Gaussian prior ranges from 0.921 to 0.981. The held-out codes and prior samples are concentrated near the central admissible region, while the uniform box measure assigns more weight to the outer region.
Seed 3 has a test IV-RMSE of 0.00645, but its held-out admissible fraction, box-area fraction, and prior admissibility are the smallest among the five seeds, at 0.927, 0.334, and 0.921. Reconstruction error therefore does not determine the no-arbitrage properties of the generator. Strike convexity is active at 2,491 of the 2,498 refined boundary points; the lower call-price bound is active at the remaining seven points. Within the checked grid on , each seed produces one visible admissible contour, and its boundary is determined almost entirely by strike convexity. These are finite-grid statements for the six checked call-price conditions.
Table 4: Reconstruction and admissibility results for the Heston VAE. The reported statistics are computed across five training seeds.
| Quantity | Mean | Standard deviation | Range |
|---|---|---|---|
| Test IV-RMSE | 0.00646 | 0.00005 | 0.00639–0.00653 |
| Strictly admissible test fraction | 0.974 | 0.026 | 0.927–0.990 |
| Admissible fraction of | 0.388 | 0.032 | 0.334–0.421 |
| Estimated prior admissibility | 0.966 | 0.025 | 0.921–0.981 |
| Strict boundary samples | 500 | 23 | 466–528 |
| Strike-convexity boundary share | 0.997 | 0.003 | 0.994–1.000 |
7.2 Latent-space stability
Let denote a sampling distribution on latent space. The probability that the generator produces an admissible surface is . This probability depends on both the admissible set and the mass assigned to it by ; it is different from the area of under a uniform measure on a bounded box. For example, the latent flow-matching study of Brooks et al. (2026) reports that 90.8% of its generated surfaces satisfy the tested no-arbitrage conditions. That percentage estimates an admissible probability for the learned flow rather than the geometric size of its admissible set. The same distinction applies to generators based on admissible parameterizations, penalty terms, or post-generation correction (Cont and Vuletić, 2023; Ning et al., 2023; Ackerer et al., 2020; Na et al., 2023; Belmonte and Cole, 2025; Wang et al., 2025).
A global no-arbitrage guarantee requires
Local stability concerns a neighborhood of one strictly admissible code:
This implication does not determine the sign of the margin in either the central or the tail region of a latent distribution.
For a Gaussian prior, a compact truncation is required to apply the compactness statement in Theorem 1. If a central region lies in , its points are locally stable. The margin in the tails is determined by the trained generator and cannot be inferred from Gaussianity. We distinguish two sampling regions:
(i) central sampling, where margins remain positive;
(ii) latent-tail sampling, where the generator is queried in low-density regions.
For the Heston VAE, the mean admissible fraction of the fixed latent box is about 39%, while the mean admissible probability under the Gaussian prior is about 97%. The prior assigns most of its mass to the central admissible region. Seed 3 has one of the lowest test IV-RMSE values but the smallest admissible region in Table 4. Reconstruction error and admissible-set size therefore measure different properties of the trained generator.
Model comparisons can therefore report reconstruction error together with the admissible area on a fixed latent box and the prior probability assigned to . Further quantities include the active constraints along the boundary and the distance of encoded data points from . These measurements describe no-arbitrage properties that are not contained in IV-RMSE.

blue: strict admissible; red: violating; black: zero-margin boundary; dots: encoded Heston surfaces
Figure 6: Admissible latent regions for the Heston VAE on . Blue indicates strict admissibility of the generated surface, red indicates violation of at least one checked condition, and the black curve is the zero-margin boundary. Gray points are encoded Heston surfaces. The labels report the box-area fraction and the admissible probability under the standard Gaussian prior for each seed.
For seed 0, we select 40 Gaussian-prior codes with from the most negative sampled margins. Strike convexity is active at all 40 initial codes. Local ascent steps in the active finite-grid margin move 33 codes to the target margin . Across all paths, the median displacement is 0.872 and the median final margin is . At the endpoints, the lower call-price bound is the active constraint for 24 codes, calendar monotonicity for 9 codes, and strike convexity for 7 codes. The change in active constraints shows that a direction computed from the gradient of the currently active constraint need not remain aligned with the margin along the full path. The seven unsuccessful paths also start far from the boundary. This calculation does not solve the global projection problem in (46).
If and is nonempty and closed in , a natural repair problem is Euclidean projection onto the admissible set:
Equivalently,
In finite dimensions, nonemptiness and closedness ensure that the minimum is attained; if is nonconvex, the projection may nevertheless be nonunique. The level-set representation supplies the constraint geometry for this optimization problem, but it does not by itself provide a projection

Figure 7: Local correction of 40 latent codes with for the Heston VAE, seed 0. Orange squares are the initial codes, green curves are local margin-normal paths, green points are successful endpoints, purple crosses are unsuccessful endpoints, the blue curve is the refined zero-margin boundary, and gray marks cells for which the adaptive calculation is unresolved.
algorithm. In computations, and hence the constraint are evaluated only to numerical tolerance.
7.3 Limitations and scope
For a trained neural generator, the margin is generally evaluated numerically. The computed boundary depends on the surface grid, derivative stencil, latent grid, and numerical tolerances. Although a non-degenerate boundary is locally smooth, the full boundary may be nonsmooth or have several connected components. The computational cost also increases with the latent dimension. Narrow-band and adaptive methods reduce active memory or improve local resolution, but they do not remove this dimensional dependence.
Local stability does not imply a global no-arbitrage guarantee. A positive margin on a discrete surface grid also does not guarantee no-arbitrage on the continuous strike-maturity domain without an approximation bound between the two formulations. The Heston results show additional variation across training seeds. Finally, if is the conditional mean of a stochastic decoder, admissibility of does not imply admissibility of every draw from , since the margin is nonlinear in the generated surface.
8 Conclusion
We studied the latent codes for which a deterministic generator produces implied volatility surfaces satisfying static no-arbitrage conditions. A scalar margin defines the admissible set and its boundary. Continuity gives local stability of strictly admissible codes, and non-degeneracy relates the boundary locally to the zero-margin set. For regular boundary components, a Hamilton–Jacobi level-set equation provides an evolving-interface calculation with local attraction toward the zero-margin set. The full-grid experiments recover the selected boundaries in the two analytic examples.
The Heston VAE produces a central admissible region for each of the five training seeds. Similar test reconstruction errors are accompanied by larger differences in admissible area and prior probability, and strike convexity determines almost all refined boundary points. The local correction experiment moves 33 of 40 violating codes across the computed boundary. These results compare reconstruction accuracy with the no-arbitrage properties of the generated surfaces.
For further work, higher-dimensional latent spaces require more efficient boundary calculations, while a continuous-domain guarantee requires error estimates relating the discrete and continuous margins. Extensions to stochastic generators may require a probabilistic definition of admissibility.
References
D. Ackerer, N. Tagasovska, and T. Vatter. Deep smoothing of the implied volatility surface. In Advances in Neural Information Processing Systems, volume 33, pages 11552–11563, 2020. NeurIPS proceedings.
Y. Aït-Sahalia and J. Jacod. High-Frequency Financial Econometrics. Princeton University Press, Princeton, NJ, 2014.
C. Bayer, P. Friz, and J. Gatheral. Pricing under rough volatility. Quantitative Finance, 16(6):887–904, 2016. doi:10.1080/14697688.2015.1099717.
V. G. Belmonte and T. Cole. Arbitrage-free implied volatility surface smoothing via generative adversarial networks. In Proceedings of the 6th ACM International Conference on AI in Finance, pages 518–524, 2025. doi:10.1145/3768292.3771252.
O. Brooks, D. Bajalica, Y. Liu, and I. Ben Tahar. Latent flow matching for arbitrage-aware implied volatility surface generation. arXiv:2608.00616, 2026. doi:10.48550/arXiv.2608.00616.
R. Cont and M. Vuletić. Simulation of arbitrage-free implied volatility surfaces. Applied Mathematical Finance, 30(2):94–121, 2023. doi:10.1080/1350486X.2023.2277960.
M. G. Crandall and P.-L. Lions. Viscosity solutions of Hamilton-Jacobi equations. Transactions of the American Mathematical Society, 277(1):1–42, 1983. doi:10.1090/S0002-9947-1983-0690039-8.
B. Dupire. Pricing with a smile. Risk, 7(1):18–20, 1994.
J. Gatheral and A. Jacquier. Arbitrage-free SVI volatility surfaces. Quantitative Finance, 14(1):59–71, 2014. doi:10.1080/14697688.2013.819986.
I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems, volume 27, pages 2672–2680, 2014. NeurIPS proceedings.
S. L. Heston. A closed-form solution for options with stochastic volatility with applications to bond and currency options. Review of Financial Studies, 6(2):327–343, 1993. doi:10.1093/rfs/6.2.327.
C. Jin and A. Agarwal. Forecasting implied volatility surface with generative diffusion models. arXiv:2511.07571, 2025. doi:10.48550/arXiv.2511.07571.
D. P. Kingma and M. Welling. Auto-encoding variational Bayes. In International Conference on Learning Representations, 2014. doi:10.48550/arXiv.1312.6114.
A. Na, M. Zhang, and J. Wan. Computing volatility surfaces using generative adversarial networks with minimal arbitrage violations. arXiv:2304.13128, 2023. doi:10.48550/arXiv.2304.13128.
B. Ning, S. Jaimungal, X. Zhang, and M. Bergeron. Arbitrage-free implied volatility surface generation with variational autoencoders. SIAM Journal on Financial Mathematics, 14(4):1004–1027, 2023. doi:10.1137/21M1443546.
S. Osher and J. A. Sethian. Fronts propagating with curvature-dependent speed: algorithms based on Hamilton-Jacobi formulations. Journal of Computational Physics, 79(1):12–49, 1988. doi:10.1016/0021-9991(88)90002-2.
J. A. Sethian. Level Set Methods and Fast Marching Methods. Cambridge University Press, Cambridge, second edition, 1999.
M. Vuletić and R. Cont. VolGAN: a generative model for arbitrage-free implied volatility surfaces. Applied Mathematical Finance, 31(4):203–238, 2025. doi:10.1080/1350486X.2025.2471317.
J. Wang, S. Liu, and C. Vuik. Controllable generation of implied volatility surfaces with variational autoencoders. arXiv:2509.01743, 2025. doi:10.48550/arXiv.2509.01743.
W. Zhang, L. Li, and G. Zhang. A two-step framework for arbitrage-free prediction of the implied volatility surface. Quantitative Finance, 23(1):21–34, 2023. doi:10.1080/14697688.2022.2135454.
A Static No-Arbitrage Conditions for Total Variance Surfaces
This appendix records the finite-domain conditions used in the main text. Let
Calendar-spread no-arbitrage is expressed as
At fixed maturity , define
The Black-Scholes call price expressed in log-moneyness and total variance is
A commonly used finite-domain butterfly condition is
where is defined in (2). On an unbounded strike domain, additional tail conditions are needed. On a finite computational domain, one typically evaluates at interior grid points and treats boundary behavior separately.
B Proofs and Additional Stability Results
B.1 Continuity of discrete margins
Let be a finite-dimensional surface representation. The finite-difference operators , , and are linear maps on . If denominators such as are bounded away from zero, the discrete butterfly operator is continuous. The minimum over finitely many grid points preserves continuity. Therefore, the discrete margin is continuous on any subset where . If the decoder is continuous, then is continuous.
B.2 Closedness of tolerance-adjusted admissible sets
For , define
If is continuous, then is closed. If , then is locally stable with respect to the tolerance-adjusted criterion.
C Viscosity Solutions and Hamilton-Jacobi Equations
On , or on a periodic domain, the level-set PDE
is a first-order Hamilton-Jacobi equation. Classical solutions may fail because gradients can become discontinuous. Viscosity solutions provide a weak solution concept that preserves comparison and stability. The standard theory implies uniqueness if a comparison principle holds. For bounded uniformly continuous initial data and continuous Hamiltonians satisfying suitable growth and continuity conditions, the viscosity solution exists and is stable under locally uniform perturbations of the Hamiltonian. This permits approximation of the margin field by finite differences or local surrogate evaluations.
D Numerical Level-Set Schemes
D.1 Upwind discretization
For , the sign of determines the upwind direction. A monotone Godunov discretization is preferred over central differences. In two dimensions, one computes one-sided differences
and combines them according to the sign of . This prevents spurious oscillations near the interface.
D.2 Reinitialization
During evolution, may cease to be a signed-distance function. Reinitialization evolves
toward a steady state satisfying . Care is needed because reinitialization can slightly move the zero level set if implemented aggressively.
D.3 Narrow-band strategy
A narrow-band method restricts updates and margin evaluations to points satisfying
When evaluation of requires decoding a full surface and computing its no-arbitrage margins, the narrow band restricts these evaluations to a neighborhood of the estimated boundary .
D.4 Adaptive refinement
Adaptive refinement can be guided by sign changes of , large gradients of , or near-zero margin values. In two-dimensional latent spaces, marching-squares contour extraction can recover the approximate zero contour. In higher dimensions, one may use local charts, sparse grids, active subspaces, or reduced-dimensional slices.