NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The quadratic Wasserstein metric for inverse data matching

Björn Engquist, Kui Ren, Yunan Yang

Abstract

In the field of inverse data matching, the choice of discrepancy measure is critical for the stability and accuracy of model reconstruction. While the $L^2$ metric is the traditional standard, it often suffers from extreme sensitivity to noise and a non-convex optimization landscape prone to local minima. This paper provides a rigorous mathematical characterization of the quadratic Wasserstein ($W_2$) distance as a robust alternative. By leveraging optimal transport theory, the authors demonstrate that $W_2$ acts as a smoothing filter that, while reducing high-frequency resolution, provides a globally convex landscape for translation and dilation problems, making it highly effective for complex inverse problems like seismic imaging and signal processing.

Introduction

Inverse data matching involves finding a model—such as a subsurface geological map or a medical image—that generates synthetic data matching observed measurements. The standard approach minimizes the $L^2$ distance (the sum of squared differences) between predicted and observed datasets. However, the $L^2$ metric is notoriously fragile. It is highly sensitive to high-frequency noise and often results in "wiggly" optimization landscapes where gradient-based algorithms get stuck in local minima, especially when the initial model guess is far from the truth.

This paper investigates the quadratic Wasserstein ($W_2$) distance, a metric derived from optimal transport theory that measures the minimum "cost" of transforming one distribution into another. The authors explore whether $W_2$ can overcome the inherent flaws of $L^2$ by providing better stability and a more favorable optimization geometry.

Theoretical Foundations

The authors employ a combination of analytical proofs and numerical simulations to compare $L^2$, Sobolev $H^s$ norms, and the $W_2$ distance. A key contribution is the use of asymptotic analysis, which reveals that when two signals are close, the $W_2$ distance is mathematically equivalent to a weighted $H^{-1}$ norm. This connection allows the use of Fourier analysis to study how different frequencies are treated during the inversion process.

To facilitate optimization, the authors derive the Fréchet derivatives (gradients) for the $W_2$ functional using the adjoint state method. This provides a clear path for moving toward a solution within an iterative optimization loop. Furthermore, the authors establish Theorem 3.1, which provides a bound on reconstruction error, explicitly characterizing the trade-off between noise levels and spatial resolution.

Optimization Landscape and Convexity

One of the most significant findings of this research is the impact of $W_2$ on the optimization landscape. For problems involving transport-related transformations, such as translation (shifting an object) or dilation (scaling its size), the $W_2$ metric is globally convex.

In contrast, the $L^2$ metric creates a landscape filled with "traps" or local minima, requiring a near-perfect initial guess to reach the global optimum. The $W_2$ metric transforms this difficult terrain into a smooth, unimodal "bowl." This property suggests that $W_2$ can be viewed as a form of preconditioning; its gradient is essentially a smoothed version of the $L^2$ gradient, guiding the optimizer more reliably toward the correct solution even from a poor starting point.

Numerical Results and Robustness

The theoretical advantages of $W_2$ were validated through several synthetic datasets, including 1D and 2D deconvolution and an inverse diffusion problem involving an elliptic partial differential equation (PDE).

Robustness to Noise

In tests involving 10% random white noise, $L^2$-based reconstructions failed significantly, producing nonsensical results dominated by noise artifacts. Conversely, $W_2$ and $H^{-1}$ methods remained stable. While the $W_2$ reconstructions were slightly "blurrier" due to the metric's inherent smoothing effect, they accurately captured the underlying structure of the signal that $L^2$ lost entirely.

PDE Inversion

In the elliptic PDE problem—where the goal is to reconstruct an absorption coefficient $\sigma$—the $W_2$ gradient proved to be much cleaner than the $L^2$ gradient. Even when the initial guess was significantly far from the true coefficient, the $W_2$ metric provided a clear directional signal toward the global minimum, whereas the $L^2$ gradient was obscured by high-frequency oscillations.

Practical Considerations and Limitations

Despite its advantages, the $W_2$ metric introduces specific practical challenges:

  1. Non-negativity Requirement: $W_2$ is strictly defined for probability measures, meaning data must be non-negative and have equal "total mass." While the authors suggest using exponential rescaling (e.g., $f \to e^{\beta f}$) to handle data with negative values (like seismic traces), this remains a hurdle for general application.
  2. Resolution Loss: The smoothing property that provides stability also acts as a low-pass filter. For applications requiring the capture of sharp edges or minute details, $W_2$ may need to be used in conjunction with other metrics.
  3. Computational Cost: Calculating $W_2$ and its gradients often requires solving complex equations, such as the Monge-Ampère equation, which is computationally more demanding than the simple subtractions required for $L^2$.

Conclusion

The quadratic Wasserstein metric offers a powerful framework for solving difficult inverse problems. By prioritizing the "transport" of data over point-to-point comparisons, it provides a smoother optimization landscape and remarkable robustness against noise. While it requires careful handling of non-negativity and involves a trade-off in spatial resolution, its ability to avoid local minima makes it a superior choice for large-scale, non-linear inverse data matching tasks.

Summary updated

BibTeX
@misc{engquist2019quadratic,
  author = {Björn Engquist and Kui Ren and Yunan Yang},
  title = {{The quadratic Wasserstein metric for inverse data matching}},
  year = {2019},
  eprint = {1911.06911},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.06911},
}
Figure