Neural Optimal Transport in Hilbert Spaces

Jae-Hwan Choi, Jiwoo Yoon, Dohyun Kwon, Jaewoong ChoiNeurIPS 2026

TL;DR

When training neural networks to map one distribution of continuous functions (like time series or physical trajectories) to another, the optimizer can easily fall into a mathematical trap—finding a "cheat" solution that hits the best possible loss score while completely mangling the actual data mapping. This paper extends neural optimal transport into infinite-dimensional function spaces and shows how adding—and gradually dialing down—carefully aimed Gaussian noise eliminates these fake-out solutions, unlocking state-of-the-art performance on real-world time-series imputation.

What Problem Does This Paper Address?

Much of the data we care about in science and engineering isn't static points in finite space; it’s continuous functions—weather fields, PDE solutions, or sensor trajectories. Mathematically, these live in infinite-dimensional Hilbert spaces.

Suppose you have a pile of broken, partially observed time series, and a separate pile of complete ones, and they aren't paired up. Optimal Transport (OT) gives us a principled way to learn a "Monge map"—the most efficient transformation $T$ that morphs the source distribution into the target distribution. A popular way to train neural networks for this is Semi-dual Neural Optimal Transport (SNOT), which sets up a max-min game between a scalar potential network and a transport map network.

Here is the catch: spurious solutions. Even if the potential network finds the exact right landscape, the inner minimization can have multiple tied winners. Your transport network can achieve the globally optimal loss while outputting a collapsed, wrong mapping.

In finite 3D or $d$-dimensional space, we know how to prevent this: make sure the source data isn't squashed onto a flat, lower-dimensional surface (i.e., ensure it has a proper density with respect to standard Lebesgue volume). Problem is, infinite-dimensional Hilbert spaces don't have a Lebesgue measure. Worse, real functional data loves concentrating on thin, low-dimensional structures, making spurious solutions practically inevitable.

Methods

The authors introduce HiSNOT (Hilbert Semi-dual Neural Optimal Transport) and pair it with annealed Gaussian smoothing:

  • Replacing Volume with Gaussian Null Sets: Standard SNOT max-min setups carry over to Hilbert spaces using Fourier Neural Operators (FNOs) as the backbone networks. What’s new is the theoretical foundation: to define what a "well-behaved" (regular) source distribution looks like without Lebesgue volume, the authors use Gaussian null sets—sets that every non-degenerate Gaussian measure assigns zero probability to. They prove that if a source measure ignores Gaussian null sets, spurious solutions vanish.
  • Spectral Gaussian Smoothing: Because real functional data is usually singular (non-regular), the authors inject independent Gaussian noise $G \sim \mathcal{N}(0, Q)$ into the source functions before feeding them to the network, where $Q$ is a trace-class covariance operator (meaning total noise variance is finite). Practically, this means perturbing the spectral (basis) coefficients of the input functions across $M$ retained modes.
  • Annealing: They train across a decreasing schedule of noise levels ($\varepsilon_0 \ge \varepsilon_1 \ge \dots > 0$), warm-starting each stage from the previous one so the smoothed problem gently settles back onto the true, uncorrupted transport problem.

Datasets

The authors evaluate HiSNOT on both synthetic and real-world benchmarks (no new real-world benchmark datasets are introduced, though custom synthetic functional tests are designed to probe the theory):

  • Synthetic Singular Transports: Four controlled two-mode function space setups (Perpendicular, Parallel, One-to-Many, and Grid) plus a 5-mode ($H_5$) ablation setup, specifically built to trigger spurious solutions.
  • Real-World Time-Series Imputation: Five standard benchmarks—ETTh1, ETTh2, ETTm1, ETTm2 (electricity transformer temperatures), and Exchange (currency exchange rates)—tested under unpaired missing-data ratios of 50% and 70%. The Exchange dataset is also used for sliding-window function generation from Gaussian noise.

Key Insights and Ideas

  • Where you aim the noise matters: You don't necessarily have to blast noise into every dimension, provided you smooth every direction where the source data is "flat" or singular. Under a weighted energy condition (Cameron–Martin compatibility), the smoothed source becomes regular if and only if its unsmoothed projection onto the noise operator's kernel is already regular. Better yet, choosing an injective covariance (strictly positive variance on all basis modes, summing to a finite trace) universally regularizes any source distribution.
  • Convergence happens at the "plan" level, not the "map" level: If your original source is a single line and your target is two parallel lines (One-to-Many), a deterministic function literally cannot split one line into two. As noise shrinks to zero, a limiting deterministic Monge map might not exist! The authors prove plan-level consistency: as smoothing vanishes, the induced joint probability couplings reliably converge to true optimal Kantorovich plans, gracefully handling mass-splitting.
Figure 1: Comparison of transport maps learned by vanilla HiSNOT (top row) and HiSNOT with annealed smoothing (bottom row). The vanilla model exhibits spurious solutions in singular cases (Perpendicular, One-to-Many, Grid), while smoothing improves agreement with the target distribution in these finite-mode experiments.

Key Results

  • Crushing Spurious Solutions: As shown in the figure above, vanilla HiSNOT collapses spectacularly on singular synthetic tasks—for instance, mapping an entire horizontal source line onto a tiny cluster instead of the vertical target line in Perpendicular. Annealed smoothing fixes this, slashing target distribution error ($D_{\text{target}}$) from 0.249 to 0.006 on Perpendicular, 0.288 to 0.004 on One-to-Many, and 0.031 to 0.008 on Grid.
  • Direction Validation: In a targeted test on Perpendicular, smoothing the singular mode cleanly recovered the target, whereas smoothing only the already-regular mode left the singularity intact and reproduced the exact spurious collapse. Omitting a required direction in $H_5$ spiked $D_{\text{target}}$ to 0.2063 versus 0.0249–0.0300 when properly covered.
  • Real-World Imputation: Across the five unpaired imputation benchmarks (averaged over 0.5 and 0.7 missingness), HiSNOT achieves the best MSE and MAE on ETTh2 (0.050 / 0.149) and ETTm2 (0.022 / 0.092). On Exchange, it drops MSE to 0.006—a 6× reduction compared to the next-best baseline, PSW-I (0.036)—while remaining highly competitive on the remaining metrics.

Limitations and Future Work

The authors are admirably transparent about where theory meets practice:

  • Idealized Theory vs. Finite Practice: The theoretical guarantees apply to static quadratic costs and exact population optimizers. They do not yet cover finite-sample neural optimization errors, finite-mode discretization bounds, or resolution-independent convergence.
  • Choosing Schedules & Directions: The paper does not establish convergence-rate guarantees in Hilbert spaces to analytically pick the optimal noise annealing schedule, nor does it provide statistical guarantees for estimating smoothing directions from data.
  • Scope: Extending these ideas beyond separable Hilbert spaces (e.g., to general Banach or metric spaces) or into dynamic OT and gradient-flow frameworks remains open territory for future work.

Summary updated

Abstract

Functional data such as time series, trajectories, and fields are increasingly central in machine learning and are naturally modeled in infinite-dimensional Hilbert spaces. We study Semi-dual Neural Optimal Transport (SNOT) for learning transport maps between probability measures on separable Hilbert spaces. A critical challenge in this setting is the spurious solution problem: a neural map can globally optimize the SNOT objective while failing to recover an optimal transport map. We show that this failure arises from non-regular source measures, which make the inner minimization in the semi-dual objective non-identifiable. We prove that regular source measures, defined via Gaussian null sets, restore inner-minimizer uniqueness and recover the Monge map. For singular sources, we introduce Gaussian smoothing and establish a necessary and sufficient kernel condition for smoothing to restore regularity. We further prove plan-level consistency: as smoothing vanishes, every Wasserstein accumulation point of the induced optimal plans solves the original Kantorovich problem. Experiments on synthetic singular transports and real-world unpaired time-series imputation benchmarks validate the theory, achieving the best performance on several benchmarks and competitive performance on the remaining ones.
BibTeX
@inproceedings{choi2026neural,
  author = {Jae-Hwan Choi and Jiwoo Yoon and Dohyun Kwon and Jaewoong Choi},
  title = {{Neural Optimal Transport in Hilbert Spaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=h673LAeDNM},
}
Figure