Inverse Optimal Transport

Andrew M. Stuart, Marie-Therese Wolfram

Introduction

The "Forward" problem in Optimal Transport (OT) is well-understood: given a cost matrix for moving items between locations, one can compute the most efficient transport plan. However, many real-world scenarios present the Inverse problem. We observe the transport plan—such as migration flows or logistics movements—but the underlying costs driving these decisions are hidden or noisy. This paper introduces a systematic Bayesian framework to solve the Inverse Optimal Transport problem, enabling the estimation of hidden costs and the quantification of uncertainty.

Methodology

The authors treat inverse OT as a statistical inference task. The framework consists of two primary components:

The Forward Model

To solve the underlying transport problem, the authors utilize the standard "Earth Mover's Distance" (linear programming) and the Sinkhorn algorithm. The latter introduces entropic regularization, which smooths the optimization landscape and facilitates faster computation. Interestingly, the Sinkhorn solver often outperforms exact linear programming in the inverse context because it avoids "jagged" landscapes that can trap optimization algorithms.

The Inverse Engine

Costs are inferred using a Random Walk Metropolis within Gibbs MCMC algorithm. Rather than identifying a single point estimate, this approach samples the space of possible costs to construct a posterior probability distribution. The model explores specific cost structures, such as Toeplitz (distance-dependent) and Graph-Based costs. In graph-based models, costs are derived from shortest paths on a weighted graph, such as a map of European nations where edges represent direct borders.

Graph-based cost structure for the European migration network.

Datasets and Data Challenges

The framework was validated using synthetic data and real-world European migration statistics (2002–2007). Real-world migration data is notoriously inconsistent. For example, as shown in the table below, sending and receiving countries often report vastly different numbers for the same flow.

Comparison of reported migration flows (Received vs. Sent) between European countries.

In the case of Germany (DE) and Poland (PL), Germany might report 136,927 immigrants (R), while Poland reports only 14,417 departures (S) for the same period. The Bayesian approach incorporates this discrepancy as "noise variance," allowing for a harmonized estimation of the true underlying flow and costs.

Key Results

  • Robust Recovery: Simulated tests with 4-10% noise demonstrated that the algorithm could accurately recover Toeplitz and Graph-based cost structures.
  • Convergence: MCMC chains typically required 500,000 iterations, with a 300,000-iteration burn-in, to achieve stable posterior distributions.
  • Migration Mapping: For a network of 9 countries and 30 edges, the model successfully produced posterior distributions for costs, effectively reconciling conflicting international reports.

Limitations and Future Work

The primary challenge remains identifiability. As the number of nodes increases, the number of paths grows quadratically, making it harder to pinpoint specific costs without additional data. Future work aims to automate the selection of noise ($\sigma$) and regularization ($\epsilon$) parameters through hierarchical modeling and to extend the framework from discrete nodes to continuous optimal transport surfaces.

Summary updated

BibTeX
@article{stuart2020inverse,
  author = {Andrew M. Stuart and Marie-Therese Wolfram},
  title = {{Inverse Optimal Transport}},
  journal = {SIAM J. Appl. Math.},
  year = {2020},
  doi = {10.1137/19m1261122},
}
Figure