Sliced Optimal Partial Transport

Yikun Bai, Bernhard Schmitzer, Matthew Thorpe, Soheil Kolouri

Introduction

Optimal Transport (OT) has emerged as a cornerstone in machine learning and computer vision for comparing probability distributions. However, a significant hurdle in its application is the "balanced mass" constraint, which requires the source and target distributions to have equal total mass. In practical scenarios, such as comparing 3D point clouds of different densities or images with varying color distributions, this constraint is often violated.

Optimal Partial Transport (OPT) was developed to relax this requirement by allowing mass to be created or destroyed at a cost. While flexible, OPT is traditionally computationally expensive, limiting its use in large-scale problems. This paper introduces Sliced Optimal Partial Transport (SOPT), a framework designed to make partial transport both fast and robust for real-world applications.

Methodology

The core innovation of SOPT lies in its two-stage approach: a highly efficient 1D solver and a dimensionality reduction technique known as slicing.

A Fast 1D Primal-Dual Solver

The authors developed a specialized primal-dual algorithm for 1D OPT. In one dimension, optimal transport maps typically exhibit the "Monge property," meaning they maintain a specific order. By exploiting this structure, the proposed algorithm achieves a quadratic worst-case complexity ($O(n^2)$) but frequently operates with near-linear efficiency in practice. The algorithm uses a "greedy-like" update mechanism: if a point is assigned but a more optimal pairing is found, the solver can resolve the conflict by shifting the entire chain of assignments, ensuring global optimality without the overhead of general linear programming.

Slicing for High-Dimensional Data

To extend the efficiency of the 1D solver to high-dimensional data (e.g., 3D scans), the authors utilize the "slicing" technique. This involves projecting high-dimensional measures onto numerous random 1D lines. The 1D OPT problem is solved for each projection, and the results are averaged to approximate the high-dimensional distance. The authors mathematically demonstrate that SOPT satisfies the axioms of a true metric, ensuring its reliability for optimization tasks.

Experimental Evaluation

The SOPT framework was tested across various domains, including synthetic data, 3D point cloud registration, and image color transfer.

Speed and Efficiency

In 1D runtime benchmarks, the SOPT solver significantly outperformed standard linear programming tools (from the POT library) and entropic regularization methods like the Sinkhorn algorithm. Notably, SOPT remained efficient in "low blur" regimes where Sinkhorn often struggles to converge.

Robustness to Noise in 3D Registration

The authors integrated SOPT into an Iterative Closest Point (ICP) algorithm for 3D registration. Using models from the Stanford 3D Scan Repository (e.g., Stanford Bunny, Dragon, Witch-castle), they tested the algorithm's performance with added outlier noise (5-7%). While traditional ICP methods often fail by attempting to match every noisy point—leading to incorrect alignments—the SOPT-based ICP naturally ignores outliers. Because OPT allows for mass destruction, noisy points that are too "expensive" to transport are simply discarded, allowing for accurate recovery of ground truth transformations.

Color Transfer

SOPT was also applied to color palette transfer between Flickr images. Unlike balanced OT, which can cause "color bleeding" when distributions don't perfectly overlap, SOPT successfully transferred palettes while maintaining the integrity of the target image's structure.

Conclusion and Future Directions

Sliced Optimal Partial Transport provides a practical bridge between the theoretical flexibility of partial transport and the computational demands of modern datasets. While the current 1D solver has a quadratic worst-case complexity, future work may involve more advanced data structures to achieve even greater speeds. The authors envision SOPT being applied to broader machine learning challenges, such as open-set domain adaptation and curriculum learning.

Summary updated

BibTeX
@inproceedings{bai2023sliced,
  author = {Yikun Bai and Bernhard Schmitzer and Matthew Thorpe and Soheil Kolouri},
  title = {{Sliced Optimal Partial Transport}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01315},
}
Figure