arXiv:2610.02195cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02195

Cost-augmented Schrödinger bridges on graphs are exactly solvable: a Feynman-Kac tilt replaces learned control

Akshay Balsubramani

Abstract

The generalized Schrödinger bridge on a graph moves mass between two distributions while charging a cost for the states visited. It has been approached by learning the rates of a controlled continuous-time Markov chain, with a temporal-difference penalty that restores the cost. A state cost folds into the reference process as a Feynman–Kac tilt. The cost-augmented bridge is then a plain bridge against the tilted reference, and the penalty is unnecessary. The bridge is computed exactly by alternating two endpoint rescalings, each one sparse matrix-exponential application; nothing is discretized in time or learned. The alternation converges at a rate set by the endpoint coupling alone. For a quadratic congestion cost on time-averaged occupancies, damped best response around the exact bridge is gradient descent on a strongly convex function, and its residual bounds its error. On a protein-folding model, a free-energy cost lowers the expected barrier of the folding paths. On the learned approach's road network, roll-outs of the exact bridge match the target within sampling error, and on networks with millions of intersections its memory grows linearly.

1 Introduction

Transporting probability mass across a graph under operational constraints is the common form of a large class of problems: routing shipments through a supply network, assigning workers to tasks, steering a molecular simulation from one metastable basin to another. Routing and steering ask for a time-indexed plan, which a static coupling does not supply. For an assignment, posed on a layered graph, the plan reduces to the coupling. In all three problems, each state visited along the way adds to the cost. The Schrödinger bridge [24] is a time-indexed plan. Among path laws with the given endpoint distributions, it minimizes the relative entropy to a reference process. A running cost on the visited states turns it into the generalized bridge.

In continuous state spaces, generalized Schrödinger bridge matching learns a control that accounts for task-specific state costs [26]. On a graph, recent work poses the generalized bridge as a learning problem, because it judges a direct solve prohibitive on large graphs [40]. Neural networks parameterize the potentials that define the rates of a controlled continuous-time Markov chain. An iterative-proportional-fitting objective fits them to the endpoint marginals, but the running cost, kept outside the reference, cancels out of that objective (Section 2). A temporal-difference penalty, adapted from a continuous-space solver for mean-field games [25], restores the cost. The penalty adds a weight to be tuned, swept over six values in the supply-chain experiments of [40]. That weight trades the running cost against the terminal constraint: a larger weight lowers the peak occupancy and worsens the terminal match to the target. The penalty's continuous-space form borrows target networks and replay buffers from deep reinforcement learning to help stabilize training [25].

A running cost f that depends only on the state folds into the reference measure as an exponential tilt. The generalized bridge is then identically a plain bridge against the tilted reference (Section 2). With the cost inside the reference nothing cancels, so no temporal-difference term is needed. The tilt shifts the diagonal: it replaces the reference generator Q by Q−diag(f)Q - \text{diag}(f). The Schrödinger system then becomes a pair of linear ordinary differential equations, solved by matrix exponentials. The shift leaves every edge rate in place. The optimal control therefore reweights each edge rate by a ratio of Schrödinger potentials, so the controlled chain moves only along the edges of the graph. The bridge follows by alternating two endpoint rescalings, each one sparse matrix-exponential application (Section 3). Both the tilt and the potential-ratio form of the control are classical; Section 2 gives their sources. On a finite graph, the two together let sparse linear algebra solve the problem exactly. Here exact means that nothing is discretized in time and nothing is learned: the solver applies matrix exponentials of the tilted generator to vectors numerically. In continuous space, a bridge with a quadratic state cost is exactly solvable in a stronger sense, since its kernel has a closed form [39].

The identity does not cover costs that depend on the marginal; congestion is the canonical example. For a congestion cost proportional to the sum of the squared time-averaged occupancies of the congestible states, we compute the congestion equilibrium by damped best response, with the exact bridge as the inner oracle. Damped best response is gradient descent on a strongly convex function whose curvature has explicit bounds. It therefore converges from any start when the step lies below a threshold set by the upper bound. Near the equilibrium it also converges for larger steps, up to a threshold set by the curvature there. Whatever the step, the residual of each iterate bounds its distance to the equilibrium (Section 4).

The exact solver returns the optimal controlled rate in the form targeted by the learned approach, so it can replace that approach directly. We evaluate it on that approach's data: a Markov state model of chignolin folding, rebuilt from the molecular-dynamics trajectories of its rare-event scenario, and the Washington DC road network of its supply-chain scenario. On both, the exact bridge meets its endpoint marginals. On the road network, roll-outs of its controlled rate match the target within sampling error. On the same network, the tested dampings converge below the threshold set by the curvature at the equilibrium and fail to converge above it. Where the largest eigenvalue of the curvature governs convergence, the residual contracts at the rate predicted from that eigenvalue. On the assignment construction of [40], the exact solution recovers the minimum-cost assignment on every instance at concentrations within the band of that paper's main table. The learned solver misplaces a pair at the largest size tested, where the exact solution still recovers every instance. On chignolin, the controlled process folds in every roll-out. A free-energy cost lowers the expected barrier of the folding paths. The fitting iteration converges at a rate that depends on the graph only through the second singular value of the endpoint coupling. On road networks of up to 2.07 million intersections, the solver's memory grows in proportion to the node count.

References (62)