Functional Optimal Transport: Mapping Estimation and Domain Adaptation for Functional data

Jiacheng Zhu, Aritra Guha, Mengdi Xu, Yingchen Ma, Rayleigh Lei, Vincenzo Loffredo, XuanLong Nguyen, Ding Zhao · OpenReview

Abstract: We introduce a formulation of optimal transport problem for distributions on function spaces, where the stochastic map between functional domains can be partially represented in terms of an (infinite-dimensional) Hilbert-Schmidt operator mapping a Hilbert space of functions to another. For numerous machine learning tasks, data can be naturally viewed as samples drawn from spaces of functions, such as curves and surfaces, in high dimensions. Optimal transport for functional data analysis provides a useful framework of treatment for such domains. To this end, we develop an efficient algorithm for finding the stochastic transport map between functional domains and provide theoretical guarantees on the existence, uniqueness, and consistency of our estimate for the Hilbert-Schmidt operator. We validate our method on synthetic datasets and examine the functional properties of the transport map. Experiments on real-world datasets of robot arm trajectories further demonstrate the effectiveness of our method on applications in domain adaptation.

Introduction

Optimal Transport (OT) has emerged as a powerful tool in machine learning for tasks such as generative modeling, domain adaptation, and unsupervised alignment. While standard OT frameworks are well-suited for finite-dimensional point clouds, many modern datasets—ranging from financial time-series to robotic trajectories—are more naturally viewed as samples from infinite-dimensional function spaces. This is the focus of Functional Data Analysis (FDA).

A recent study by Zhu et al. introduces Functional Optimal Transport (FOT), a framework that extends OT theory to these infinite-dimensional spaces. By leveraging Hilbert-Schmidt operators to represent transport maps, FOT provides a principled way to align complex functional distributions while maintaining theoretical rigor.

The Challenge of Functional Data

In Euclidean OT, the goal is often to find a "Monge map" that pushes one distribution onto another with minimal cost. However, in infinite-dimensional spaces, probability measures are frequently mutually singular, meaning a standard Monge map may not exist.

Previous approaches often relied on restrictive Gaussian Process (GP) assumptions or "naive" discretization of functions into high-dimensional vectors. GP-based methods struggle with the multimodal distributions common in real-world data, while discretization ignores the underlying smoothness and structural continuity of the functions, making models sensitive to noise and sampling frequency.

Methodology: Hilbert-Schmidt Operators

The FOT framework addresses these challenges by regularizing the transport problem. Instead of searching for an arbitrary map, the authors restrict the search to the class of Hilbert-Schmidt (HS) operators, which act as linear transformations between function spaces.

Key Components of FOT:

  • Joint Optimization: The model simultaneously solves for a deterministic HS operator ($T$) and a stochastic coupling ($\Pi$). This allows the framework to handle "splitting" behavior, where a single source cluster maps to multiple target clusters.
  • Basis Expansion: To ensure computational efficiency, functions are projected onto a finite set of basis functions. The authors recommend Functional Principal Component Analysis (FPCA) to derive data-driven bases that capture essential signal characteristics.
  • Regularization: A shrinkage penalty on the HS norm ensures the problem is well-posed and the resulting maps are smooth and regular.
Visualization of the mapping between source and target functional domains in a 3D space.

Experimental Results

The authors validated FOT across several synthetic and real-world benchmarks:

  1. Multimodal Sinusoids: FOT significantly outperformed baseline methods on a mixture of sinusoids task, achieving a Wasserstein distance of 2.873, compared to 6.871 for Discrete OT and 17.560 for GP-based OT.
  2. Robotics Domain Adaptation: Using the MIME and Roboturk datasets, FOT was used to map trajectories between robots with different physical configurations (e.g., Baxter and Sawyer). Models trained on FOT-transformed data (FOT-LSTM) achieved a Mean Squared Error (MSE) of 0.0165, outperforming standard transfer learning and meta-learning baselines like MAML (0.0307).

Key Insights

A primary advantage of FOT is its ability to preserve the structural essence of functional data. By treating data as continuous signals rather than discrete vectors, FOT is inherently more robust to noise.

The geodesic flow illustrating the smooth transition of functional samples from the source distribution (t=0.0) to the target distribution (t=1.0).

Furthermore, the authors provide formal proofs for the existence, uniqueness, and consistency of the HS operator estimate. This theoretical foundation ensures that as the number of samples and basis functions grows, the estimated map converges to the true optimal operator.

Conclusion

Functional Optimal Transport provides a robust and theoretically sound framework for aligning data in infinite-dimensional spaces. While currently focused on linear Hilbert-Schmidt operators, the integration of non-linear neural operators and more sophisticated basis selection methods represents a promising frontier for future research in functional data analysis.

Paper Citation: Zhu, J., Guha, A., Do, D., Xu, M., Nguyen, X., & Zhao, D. (2023). Functional optimal transport: map estimation and domain adaptation for functional data. arXiv:2102.03895v5.

Summary updated

BibTeX
@misc{zhu2021functional,
  author = {Jiacheng Zhu and Aritra Guha and Mengdi Xu and Yingchen Ma and Rayleigh Lei and Vincenzo Loffredo and XuanLong Nguyen and Ding Zhao},
  title = {{Functional Optimal Transport: Mapping Estimation and Domain Adaptation for Functional data}},
  year = {2021},
  eprint = {2102.03895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.03895},
}
Figure