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

Quantifying the noise sensitivity of the Wasserstein metric for images

Erik Lager, Gilles Mordant, Amit Moscovich

Introduction In high-noise imaging environments—such as the grainy, low-contrast projections characteristic of cryo-electron microscopy (cryo-EM)—standard Euclidean ($L^2$) distances often fail. They are highly sensitive to pixel-wise noise and blind to the underlying geometry of the image. While researchers have long observed that Optimal Transport (OT) distances, specifically the Wasserstein metric, exhibit remarkable robustness in these settings, the theoretical foundation for this behavior has remained elusive.

In "Quantifying the noise sensitivity of the Wasserstein metric for images," Erik Lager and colleagues provide the mathematical "why" behind this empirical success. They establish finite-sample expectation bounds for a Gaussian noise model, proving that Wasserstein error grows significantly slower than Euclidean error in the presence of noise.

The Problem with Euclidean Distances In computer vision, the default metric for image similarity is often the $L^2$ distance (the sum of squared pixel differences). However, $L^2$ is strictly pixel-aligned; shifting an image by a single pixel can yield a massive distance, even if the visual content is identical. Furthermore, $L^2$ scales linearly with additive noise.

Conversely, Wasserstein distances—often conceptualized as the "Earth Mover's Distance"—treat images as distributions of mass. The metric calculates the minimum "work" required to transport the mass of one image to match another. This approach inherently respects the geometry of the data, but quantifying its exact robustness on a fixed pixel grid corrupted by random noise required a novel theoretical framework.

Methodology: Handling Noise with Signed Measures Standard OT is designed for positive probability measures. However, adding Gaussian noise to an image inevitably introduces negative pixel values. To resolve this, the authors model images as signed discrete measures on a grid. They utilize the "signed Wasserstein discrepancy," which decomposes these measures into positive and negative components, ensuring the transport problem remains valid.

To derive their bounds, the researchers employed several key mathematical techniques:

  • Multiscale Dyadic Partitions: The image grid is recursively divided into quadrants of decreasing size, allowing the authors to bound the transport cost across multiple spatial scales.
  • Zero-Sum Noise Model: They assume a slightly correlated Gaussian noise model where the total noise across the image sums to zero. This isolates the specific effects of noise from the broader complexities of rescaling image mass.
  • Dual Formulations: By leveraging Kantorovich-Rubinstein duality, they establish rigorous upper and lower bounds for the expected distance between a clean image and its noisy counterpart.

Key Findings: The $\sqrt{\sigma}$ Scaling Law The paper's most significant contribution is the formalization of a scaling law for noise sensitivity. The authors prove that for a noise standard deviation $\sigma$, the expected error in the signed $p$-Wasserstein discrepancy scales as $(n\sigma)^{1/p}$, where $n$ represents the grid resolution.

For the 2-Wasserstein distance ($W_2$), the error introduced by noise scales with the square root of the noise ($\sqrt{\sigma}$). As noise levels increase, the $W_2$ distance grows much more slowly than the $L^2$ distance, which scales linearly. This sub-linear scaling provides the theoretical justification for OT's superiority in noisy regimes.

The "Stepping Stone" Phenomenon The theoretical analysis also revealed a highly counter-intuitive phenomenon: increasing the level of noise can sometimes decrease the Wasserstein distance. In sparse images, random noise peaks that appear in the empty space between two objects can act as "stepping stones." The optimal transport plan utilizes these intermediate peaks to move mass in shorter, less costly hops, effectively bridging the spatial gap and reducing the overall transport cost.

Empirical Validation and Cryo-EM Case Study The authors validated their theoretical bounds using several datasets, including the DOTMark 1.0 benchmark, synthetic images, and simulated cryo-EM projections of the E. Coli hsp90 protein generated via cryoJAX.

Experiments on the DOTMark dataset confirmed the theoretical scaling laws, demonstrating that $W_2$ costs scale with an exponent of approximately 0.5 relative to noise. In head-to-head structural robustness tests, $W_2$ tolerated roughly 3.5x more noise than the $W_1$ metric before confusing random noise with actual structural shifts. Most notably, the cryo-EM case study showed that $W_2$ successfully captured the rotational and translational geometry of the data manifold even when the images were visually indistinguishable from pure noise—a threshold where $L^2$ failed entirely.

Limitations and Future Directions While this work establishes a critical theoretical foundation, the authors identify a few open challenges:

  • Tightness of Bounds: An asymptotic gap remains between the theoretical lower and upper bounds concerning grid resolution ($n$), as the current lower bound does not fully capture spatial noise clustering.
  • Triangle Inequality: Because the signed $W_p$ discrepancy (for $p > 1$) lacks the triangle inequality, proving sharp bounds for the distance between two noisy images (rather than one clean and one noisy image) remains difficult.
  • Higher $p$ Values: The scaling law $(n\sigma)^{1/p}$ suggests that robustness might increase further with higher values of $p$, presenting a promising avenue for future practical investigations in imaging software.

Summary updated

BibTeX
@inproceedings{lager2026quantifying,
  author = {Erik Lager and Gilles Mordant and Amit Moscovich},
  title = {{Quantifying the noise sensitivity of the Wasserstein metric for images}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=mh2eIxPKMm},
}
Figure