Learning Generative Dynamics with Soft Law Constraints: A McKean-Vlasov FBSDE Approach
Samer El Boustany, Samy Mekkaoui, Yadh Hafsi, Alexandre Alouadi, Huyên Pham · 2026
Read Learning Generative Dynamics with Soft Law Constraints: A McKean-Vlasov FBSDE Approach by Samer El Boustany, Samy Mekkaoui, Yadh Hafsi, Alexandre Alouadi, Huyên Pham (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-08928.txt.
Introduction
Samer El Boustany and four coauthors learn chance flows from group shots plus thin path data. Spread shots on their own can not pin how each one moves in time. Their plan softens spread match into rules. It adds path watch in one aim. The aim is cast as a path tied McKean-Vlasov task. Its best terms form a two way law. Spread terms act all the time. Path terms act as jumps on watch days.
For square costs and fixed spread, they draw the cut down law. They prove it holds in a local way for one gap choice. A neural solver with past wise traits is built. Made, face, and gait tests back the plan.
Catalog record
| CREATOR | Samer El Boustany, Samy Mekkaoui, Yadh Hafsi, Alexandre Alouadi, Huyên Pham |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 59 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.08928
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Learning Generative Dynamics with Soft Law Constraints: A McKean-Vlasov FBSDE Approach Samer El Boustany, Samy Mekkaoui, Yadh Hafsi, Alexandre Alouadi, Huyên Pham Abstract We propose a generative framework for learning stochastic dynamics from endpoint and intermediate distributional observations. The method formulates generation as a McKean-Vlasov control problem in which terminal and time-marginal laws are enforced through soft energy constraints. The associated optimality system is a forward-backward stochastic differential equation (FBSDE) whose backward component receives a continuous drift induced by the marginal law penalties. This provides a principled alternative to hard interpolation or optimal transport maps between observed distributions: the model learns a stochastic path law whose dynamics remain globally coupled through the mean-field objective. We derive the reduced FBSDE system for quadratic control cost and constant diffusion, connecting terminal and marginal law flat derivatives to score-like training signals. The resulting neural solver is evaluated on low-dimensional distributional benchmarks, where it recovers smooth stochastic paths matching prescribed marginal laws. In a higher-dimensional ALAE latent space, endpoint supervision is used as a qualitative stress test for transporting non-smiling faces toward smiling ones in a pretrained representation. We then use articulated human motion as a structured high-dimensional case study on a curated AMASS low-to-high position dataset, using SMPL-H pose sequences and reduced pose representations. The experiments show that soft marginal law constraints can produce coherent stochastic trajectories whose intermediate distributions follow the observed evolution of human motion. The code is available at https://github.com/murex/deep-mkv-gen/tree/main . 1 Introduction Generative modeling is often reduced to terminal sampling: learn a diffusion model, deterministic flow, or bridge/stochastic interpolant that transports a source law to a target law ( 32 ; 13 ; 20 ; 1 ; 8 ) . Throughout, law means probability distribution; a marginal law is the distribution of the process at a given time. This endpoint view is powerful, but it is incomplete when the data describe an evolution. Many stochastic processes can share the same initial and terminal laws while inducing very different intermediate marginals and very different sample paths. Endpoint matching can therefore solve the final sampling problem without identifying the dynamics that generated the observed transition. We study this problem through soft law-constrained mean-field control. The controlled process starts from a source law and pays kinetic energy for its drift. It also penalizes a terminal discrepancy to the target law and, when intermediate observations are available, running discrepancies from observed time marginals. The constraints are soft rather than hard: noisy or partial empirical laws guide the dynamics without requiring exact bridge interpolation. The learned object is a stochastic path law generated by an adapted controlled diffusion, not an arbitrary sequence of couplings. This view is related to recent soft or relaxed Schrödinger bridge methods ( 23 ; 16 ) . These works replace hard terminal marginal constraints with penalty terms or transport relaxations. Our formulation extends this soft-constraint viewpoint to the induced intermediate marginal laws along the controlled path. The central mechanism is visible through a McKean-Vlasov forward-backward stochastic differential equation (FBSDE) corresponding to the optimality system of the soft law-constrained mean-field control. Endpoint law supervision appears as a terminal condition for the adjoint process, while intermediate law supervision acts as a running law-gradient drift in its backward evolution. In the reduced quadratic-control model used in the experiments, the adjoint process determines the optimal control, and therefore directly drives the forward dynamics. Thus intermediate law supervision changes the learned dynamics itself, rather than only changing an endpoint loss. This naturally suggests the use of deep FBSDE solvers, which have recently been developed in ( 6 ; 10 ; 26 ) . Our generative setting adds a sample-based difficulty: the law-gradient terms induced by the observed marginals are not given analytically and must be estimated from empirical distributions. Positioning. Unlike Schrödinger bridge methods in 8 ; 31 ; 25 ; 11 , which impose endpoint laws relative to a fixed reference process, we penalize the induced intermediate marginal laws along the controlled path. Our goal is not to introduce a more expressive neural SDE, but to address a more basic ambiguity: marginal observations do not identify a unique path law. Directly training a neural SDE with marginal matching losses can fit the available snapshots, but leaves implicit which path law is being selected and why. We instead cast the problem as soft marginal-law stochastic control, where intermediate and terminal distributional observations act as law-level costs and the dynamics are selected by an explicit tradeoff between marginal fidelity and control effort. This yields an FBSDE optimality system in which intermediate marginals generate running law-gradient forces and endpoint supervision induces an adjoint terminal condition. The framework therefore converts sparse distributional snapshots into an interpretable dynamical mechanism, equipped with control costs, law forces, and residuals of the backward equation and terminal condition that can be monitored during training. This distinguishes our approach from direct marginal-matching neural SDEs: the value is not only in matching the observed marginals, but in providing a principled, regularized, and inspectable selection of a path law among the many compatible alternatives. Table 8 summarizes the broader family-level positioning, and Table 9 isolates the closest direct-SDE comparison. Contributions. This paper makes the following contributions: • Soft law-constrained formulation. We formulate learning from endpoint and intermediate marginal snapshots as a soft law-constrained stochastic control problem. The objective embeds distributional observations as law-level costs and selects a stochastic path law by balancing marginal fidelity with control effort, see Equations ( 1 )-( 2 ). • McKean-Vlasov FBSDE characterization. In the reduced quadratic-control setting, we derive the corresponding McKean-Vlasov FBSDE. The derivation separates the roles of the observations: endpoint supervision gives an adjoint terminal condition, while intermediate marginal supervision gives a running law-gradient force in the backward equation, see Equation ( 4 ). • Sample-based neural residual solver. We propose a neural residual solver for the reduced FBSDE using learned adjoint fields and plug-in sample-based law-gradient estimators, including Kullback-Leibler (KL) ratio-score and Sinkhorn-based estimators. A key algorithmic feature is to convert empirical marginal-gradient estimates into backward drift targets, yielding a forward-backward training procedure for McKean-Vlasov FBSDEs from marginal samples, see Algorithm 1 . • Empirical evidence across path-generation settings. We evaluate the method on synthetic transport, latent face transport, and articulated human motion. The experiments show that intermediate marginal supervision can change the selected path law in ways that are not identifiable from endpoint observations alone, see Figures 1 and 3 . 2 Soft law-constrained generative dynamics Let (\Omega,\mathcal{F},\mathbb{F}=(\mathcal{F}_{t})_{t\geq 0},\mathbb{P}) be a complete probability space satisfying the usual hypotheses and supporting a d -dimensional Brownian motion W=(W_{t})_{0\leq t\leq T} . Fix a time horizon T>0 , a target family of distributions (\rho_{t})_{0\leq t\leq T} valued in \mathcal{P}_{2}(\mathbb{R}^{d}) , the Wasserstein space of square-integrable probability measures on \mathbb{R}^{d} . We aim to build a diffusion process X=(X^{\alpha}_{t})_{0\leq t\leq T} controlled by an \mathbb{F} -progressively measurable process (\alpha_{t})_{0\leq t\leq T} valued in A with dynamics \mathrm{d}X_{t}=b(t,X_{t},\mu_{t},\alpha_{t})\mathrm{d}t+\sigma(t,X_{t},\mu_{t},\alpha_{t})\mathrm{d}W_{t}, (1) starting from X_{0}\sim\rho_{0} , where \mu_{t}=\mathcal{L}(X_{t}) is the marginal law of X at time t\in[0,T] . Here, b:[0,T]\times\mathbb{R}^{d}\times\mathcal{P}_{2}(\mathbb{R}^{d})\times A\to\mathbb{R}^{d} and \sigma:[0,T]\times\mathbb{R}^{d}\times\mathcal{P}_{2}(\mathbb{R}^{d})\times A\to\mathbb{R}^{d\times d} are measurable maps describing the dynamics of the process X . With terminal target law \rho_{T} and optional intermediate laws (\rho_{t})_{0\leq t\leq T} , the goal is to