arXiv:2610.41599cond-mat.stat-mechOct 2026

Manuscript Offprint

arXiv:2610.41599

Underdamped Stochastic Optimal Transport with Landauer boundary conditions: machine learning and analytical solution

Julia Sanders, Dario Lucente, Marco Baldovin, Paolo Muratore-Ginanneschi

Julia Sanders

Department of Mathematics and Statistics, University of Helsinki, Helsinki, 00014 Finland*

Dario Lucente

Department of Physics, Sapienza University of Rome, Rome, 00185, Italy†

Marco Baldovin

Institute for Complex Systems (CNR), Rome, 00185 Italy‡

Paolo Muratore-Ginanneschi

Department of Mathematics and Statistics, University of Helsinki, Helsinki, 00014 Finland§

(Dated: November 2, 2026)

Finding optimal transport protocols for underdamped stochastic processes is a difficult yet important problem in control theory. In this paper we develop a direct method, based on machine learning, to find the optimal solution of the problem in the presence of non-linear boundary conditions, including those modelling the Landauer bit-erasure problem. The dynamics is steered from a single-peak to a double-peak distribution in position space, by only acting on a controllable external potential. The problem is highly non-linear, and analytical solutions are not available in general. We benchmark our numerical results with a perturbative expansion, which is expected to hold in a suitable overdamped limit.

I. INTRODUCTION

Stochastic optimal transport addresses the problem of finding the (component of the) drift of a stochastic differential equation under the following two requirements:

  • minimizing an assigned cost functional

  • steering the evolution of an initially assigned probability distribution towards a target distribution

over a fixed time interval. Thus, stochastic optimal transport can be conceptualized as a generalization of the optimal mass transport problem [1–3]. We refer to [4] for an up-to-date concise review of the mathematical theory of optimal mass transport for deterministic flows, and to [5] for an overview of recent developments in computational methods.

Stochastic mass transport was introduced in the physics literature by Erwin Schrödinger in [6] (English translation in [7]). Schrödinger was interested in characterizing the likelihood that a given thermodynamic state could be produced by a fluctuation from equilibrium. Schrödinger's work [6] led to significant developments in the theory of stochastic processes [8, 9], and stochastic variational principles [10–12]. A comprehensive survey of these mathematical developments is provided in [13], and more recently in [14].

Over the last two decades, stochastic mass transport has become the focus of strong cross-disciplinary interest for independent but intertwined reasons. In control engineering, see e.g. [15], identifying the cost of stochastic mass transport with the Kullback-Leibler divergence (e.g. [16, § 2.3]) between the realized and a reference process, typically free diffusion, can assess the performance of an actuator accomplishing an assigned task in the presence of noise. The stochastic optimal transport problem of minimizing the Kullback-Leibler divergence is usually referred to as the dynamic Schrödinger bridge [13]. In the overdamped formulation of the dynamic Schrödinger bridge, the optimal control problem is described by a Hamilton-Jacobi-Bellman equation that can be greatly simplified using the Cole-Hopf (or logarithmic) transform [17, § VI]. This also is true in the underdamped case for controls that are functions of both position and momentum. Numerical solutions for large classes of boundary data can then be found using proximal algorithms [18] that exploit recent breakthroughs [19] in the theory of gradient flows, see [20, 21] for thorough overviews.

In physics, interest in stochastic mass transport is motivated by advances in nano-system manipulation and the emergence of stochastic (or finite-time) thermodynamics [22]. Motion at nano-scale is inherently affected by Brownian forces, whose effect cannot be avoided even in a near vacuum [23]. A fundamental question is how nano-systems can efficiently harness randomness in order to move between assigned states or perform thermodynamic work on larger scales [24]. Considerable experimental efforts, see, e.g., [25, 26], focus on demonstrating optimal “information ratchets”: control at minimum energy cost of the dynamics of a nano-system by

changing the effective kinetic barriers to Brownian motion depending on the position of the system. Optimization of memory bits operations [27–29], including Landauer bit-erasure [30], belongs to this class of problems. In stochastic systems, thermodynamic state indicators such as work, heat and entropy become fluctuating quantities whose statistics is governed by precise fluctuation relations, reviewed e.g. in [31]. In particular, fluctuation relations express physical measures of dissipation in terms of information-theoretic measures of time-asymmetry, such as the Kullback-Leibler divergence between a process evolving forward-in-time and a backward-in-time counter-part [32]. This Kullback-Leibler divergence, identified as the mean entropy production, specifies a natural cost for stochastic optimal transport in finite-time thermodynamics: it vanishes if and only if the system is at thermal equilibrium. Interestingly, if small-system dynamics is modelled by an overdamped (Langevin-Smoluchowski) stochastic differential equation (see e.g. [33]), stochastic optimal transport admits an exact mapping into classical deterministic optimal mass transport [34].

A second reason for interest for stochastic optimal transport, resulting in explosive growth in the number of publications, comes from generative modelling [35–37] in machine learning. A deep neural network can learn to generate data from noise by means of a two-step process. First, a forward stochastic process destroys structure in a data distribution by adding noise over a finite time interval. Next, a neural network is trained to revert the process by learning a backward evolution that interpolates between the initial data distribution and the one realized at the end of the forward evolution. Dynamic Schrödinger bridges provide a concrete implementation of this idea [38, 39], which we may also refer to as “stochastic interpolant theory” [40] and has a wide range of important applications, from sampling to image reconstruction [41].

These developments also have feedback to stochastic thermodynamics: they provide a framework of direct optimization methods [42] to numerically solve stochastic optimal transport problems, describing rectified motion or useful work extraction in a small system. A crucial difference from stochastic interpolant theory is that physically relevant models of nano-system dynamics evolve according to Langevin-Kramers dynamics. The Langevin-Kramers dynamics pose kinematic restrictions, including the coexistence of a conservative and a dissipative component in the drift, and that control is exerted by varying a mechanical potential. How can computational strategies be adapted, and how can their accuracy be assessed in stochastic thermodynamics?

Specifically, we consider a controlled Langevin-Kramers dynamics. Control is exerted via a mechanical potential that, by definition, only depends upon the position coordinate of the physical system and not on its momentum. To avoid theoretical controllability issues, we do not directly consider a Schrödinger bridge problem

but a weaker version, inspired by [43]. We add a terminal cost to the Kullback-Leibler divergence between the controlled process and a reference diffusion. This terminal cost is the static Kullback-Leibler divergence between the realized joint probability measure at the end of the control and a fixed, assigned measure. The terminal cost is weighed by a constant that we can increase to construct, as in augmented Lagrangian methods [44], a family of control problems formally converging to a full dynamic Schrödinger bridge.

There are two reasons motivating our choice of the running cost. First, as shown in [45], this choice of the cost may be adapted to model an isochoric transition in a Brownian Carnot engine [46]. Second, in contrast with the mean entropy production in the underdamped case, the running cost is always a quadratic functional of the control. This is a technical advantage for comparing our numerical machine learning results with analytic predictions obtained by multiscale perturbation theory around the overdamped limit [33].

This comparison, together with the development of algorithmic methods for the kinematic constraint posed by the physically relevant formulation of the control problem, constitute the two main contributions of the present work.