arXiv:2610.10054eess.SYOct 2026

Manuscript Offprint

arXiv:2610.10054

Transition Path Sampling Using Koopman Operators and Exit-Time Optimal Control

Boya Hou, Shane Wang, Siddharth Ambekar, Maxim Raginsky, Olgica Milenkovic

Abstract

Sampling transitions between metastable states is a central problem in dynamical systems theory and molecular dynamics in particular. A key challenge is the existence of high free-energy barriers that separate the states, making transitions extremely rare. Recent machine learning-based methods cast transition path sampling (TPS) as an optimal stochastic control (OSC) problem over a fixed time horizon, and parameterize the drift bias via a neural network trained by simulation-in-the-loop, requiring repeated biased rollouts. To address computational and performance guarantee issues of these models, we propose a new approach for the problem based on Koopman operators. Because Koopman operators are linear, their leading eigenfunctions reveal the metastable sets and provide an estimate of the committor function with no transition path information required. Furthermore, we formulate TPS as an OSC problem up to an exit time. Our time horizon is the first hitting time of the target set, and our running cost penalizes time spent in nonreactive regions by encoding the estimated committor function. We derive the optimal controller in closed form and approximate it in a reproducing kernel Hilbert space (RKHS). This reduces the problem of constructing the optimal controller to solving a single equality-constrained quadratic program, whose solution can be characterized by a linear Karush-Kuhn-Tucker (KKT) system. On the two-channel double well and alanine dipeptide, our controller increases the fraction of trajectories reaching the target from 0% to 99.8% within 1,000 steps, and from 0% to 93% within 1ps, respectively.

1 Introduction

Sampling transitions between metastable sets is a fundamental problem in dynamical systems theory and molecular dynamics, underlying the study of conformational changes of proteins, folding, and drug discovery (Grubmüller, 1995; Voter, 1997). A typical challenge is that the states of interest are separated by high free-energy barriers: the overwhelming majority of simulated trajectories remain within a single metastable set, while trajectories that cross from one metastable set to another without returning (reactive paths) are rare under native dynamics (Vanden-Eijnden et al., 2006).

Classical transition path sampling (TPS) performs Markov chain Monte Carlo in the path space, generating new trajectories from existing ones (Dellago et al., 1998; Bolhuis et al., 2002; Bolhuis and Swenson, 2021). However, they require an initial reactive path connecting the two metastable

∗^{*}Co-first authors.

sets, which can be difficult to generate. In physical chemistry and molecular dynamics, rare event sampling is typically accelerated by adding bias potentials to the energy landscape (Voter, 1997; Grubmüller, 1995; Laio and Parrinello, 2002). These are usually defined over a small number of hand-crafted collective variables. Modern machine learning-based samplers such as PIPS (Holdijk et al., 2023) and TPS-DPS (Seong et al., 2025) cast transition path sampling as optimal stochastic control or path-measure matching problems over a fixed time horizon, and parameterize the drift bias with a neural network trained by simulation-in-the-loop, which calls for repeated biased rollouts. Learning a bias force through simulation, however, can be challenging. For example, early in the training, few rollouts reach the target, and hence the training signal is highly sparse. Furthermore, a fixed-horizon formulation requires a properly chosen horizon, and the transition time is a random variable dependent on the path itself. Partial mitigation of these drawbacks is possible using replay buffers and annealing, and truncating the paths at a time that maximizes specific kernel values.

To resolve the above issues, we propose an operator-based framework for efficient TPS that uses Koopman spectral analysis and optimal stochastic control (OSC) up to an exit time, in which the stopping rule is the first hitting time of the target set. Specifically, we cast TPS as sampling from a Gibbs measure on the path space problem, following the information-theoretic frameworks of Mitter and Newton (2003) and Raginsky (2026). By the Gibbs variational principle, the Gibbs measure associated with a reference path measure and an energy on a path is, under certain conditions, the unique minimizer of the free energy. Mitter and Newton (2003) used this insight to pose nonlinear filtering as an optimal control problem. To adapt the described sampling method to TPS, we take the reference to be the unbiased path measure of the original dynamics, and the energy to penalize the time spent in nonreactive regions via the committor function. Since we assume the time horizon to be the first time a path reaches the target set, we operate with exit rather than fixed times. We prove that the resulting Gibbs measure is the law of a controlled diffusion process and prove that the optimal controller minimizes the free energy over all path measures on the stopped σ\sigma-algebra rather than only those generated by admissible controls. Furthermore, the optimal controller admits a closed-form solution and can be computed without simulations in the loop.

It is worth pointing out that the proposed approach differs from the recent work of Du et al. (2026), which investigates a related hitting-time problem for committor estimation, treating the committor as a value function and training it with neural networks that require repeated simulation of controlled dynamics during training. As previously emphasized, we instead follow an operator-theoretic approach in which the spectrum of the Koopman generator of the model reveals the metastable sets, and where the committor function is constructed from Koopman eigenfunctions. These can be estimated from a fixed dataset without requiring any trajectory to transition between the metastable sets. The Koopman generator plays a central role within this framework: its leading eigenfunctions reveal the metastable sets and are incorporated into the committor function, which in turn defines the running cost of the OSC. The optimal controller of the OSC can be solved via a boundary value problem wrt the operator. This pipeline comes with several practical advantages. First, it requires no transition paths, as Koopman eigenfunctions can be computed without crossings between metastable sets via a generalized eigenproblem. Second, the controller admits a closed-form solution, and thus is obtained without network training but through solutions of convex quadratic programs. The approach is also interpretable, as the controller is built from physically meaningful quantities that characterize the mechanism of the transition, namely the metastable sets and the committor function. Furthermore, the sampled paths can be reweighted to recover the statistics of the original dynamics.

Our contributions are multifold: (1) We formulate TPS as an OSC up to an exit time. We show in Theorem 1 that the optimal controller admits a closed-form solution, u∗=∇log⁡ρu^* = \nabla \log \rho, and that its path measure minimizes the free energy over all path measures, not only those generated by admissible controls; (2) We construct this controller by approximating ρ\rho in a Reproducing Kernel Hilbert Space (RKHS). The problem then reduces to solving a convex quadratic program with linear equality constraints, whose solution can be characterized by a single linear Karush–Kuhn–Tucker (KKT) system rather than repeated rollouts; (3) In TPS, the source and target metastable sets are often predefined through collective variables. Following Koopman-based approaches that identify metastable sets (Mardt et al., 2018; Pérez-Hernández et al., 2013), we construct these sets without collective variables by using the leading eigenfunctions of the Koopman generator, which capture the slow inter-basin modes. From the same eigenfunctions, we construct a committor function, which defines the running cost of the OSC; (4) We generate transition paths by simulating the controlled diffusion process until it first enters the target sets, and show the resulting paths can be reweighted via Lemma 4 to recover the statistics of the original dynamics up to the transition; (5) We evaluate our method on both synthetic and real-world datasets.

The paper is organized as follows. In Section 2, we introduce the diffusion process of interest and the corresponding Koopman generator. In Section 3, we develop the OSC up to an exit time in general form. There, we also derive a closed form of the optimal controller. The results of this section can be specialized for efficient TPS. Section 4 constructs metastable sets and the committor function from Koopman eigenfunctions, and approximates the optimal controller in an RKHS. We generate transition paths by simulating the optimally controlled SDE, and report numerical experiments in Section 5. Due to space limitations, proofs and extra experiments are deferred to the Appendix G.4.

References (31)