Abstract
We introduce Deep Set Linearized Optimal Transport (DS-LOT), an algorithm designed for the efficient simultaneous embedding of point clouds into an $L^2$-space. This embedding preserves specific low-dimensional structures within the Wasserstein space while constructing a classifier to distinguish between various classes of point clouds. Our approach is motivated by the observation that $L^2$-distances between optimal transport maps for distinct point clouds, originating from a shared fixed reference distribution, provide an approximation of the Wasserstein-2 distance between these point clouds, under certain assumptions. To learn approximations of these transport maps, we employ input convex neural networks (ICNNs) and establish that, under specific conditions, Euclidean distances between samples from these ICNNs closely mirror Wasserstein-2 distances between the true distributions. Additionally, we train a discriminator network that attaches weights to these samples and creates a permutation invariant classifier to differentiate between different classes of point clouds. We showcase the advantages of our algorithm over the standard deep set approach through experiments on a flow cytometry dataset with a limited number of labeled point clouds.
Introduction
Classifying point clouds—sets of unordered points—is a fundamental challenge in modern machine learning, with applications ranging from LiDAR processing to medical diagnostics. The core difficulty lies in the fact that these sets are often samples from an underlying probability distribution. To classify them effectively, a distance metric between distributions is required that is both mathematically rigorous and computationally efficient.
While the Wasserstein distance (from Optimal Transport theory) is considered the gold standard for comparing distributions due to its ability to capture geometric structure, it is computationally prohibitive to calculate for every pair of point clouds in a large dataset. Existing shortcuts, such as the "Deep Sets" architecture, provide the necessary permutation invariance but often lack geometric guarantees; they do not necessarily preserve the intrinsic distance between distributions in their internal latent representations. This paper proposes Deep Set Linearized Optimal Transport (DS-LOT) to bridge this gap.
Methodology
Linearized Optimal Transport (LOT)
The DS-LOT framework utilizes Linearized Optimal Transport to handle the computational complexity of the Wasserstein-2 ($W_2$) distance. Instead of calculating pairwise distances between $N$ point clouds—an $O(N^2)$ operation—we embed every point cloud into a fixed $L^2$ Hilbert space relative to a single "reference" distribution $\sigma$. This process linearizes the Wasserstein space, allowing the use of standard linear classifiers on what was previously a non-linear manifold. This reduces the comparison complexity to $O(N)$.
Input Convex Neural Networks (ICNNs)
According to Brenier’s Theorem, optimal transport maps are the gradients of convex functions. To learn these maps, we employ Input Convex Neural Networks (ICNNs). ICNNs are a specific architecture designed to be scalar-valued and convex with respect to their inputs. By using ICNNs, we ensure the learned maps are mathematically well-behaved and serve as valid approximations of true optimal transport. The authors prove (Theorem 4.1) that under specific conditions involving shifts and scalings, the Euclidean distance between samples from these ICNN-based maps closely mirrors the true $W_2$ distance, providing a theoretical "isometry advantage" that standard neural networks lack.
Permutation Invariant Classifier
The final component is a discriminator network that acts on the embedded samples. By alternating between training the OT maps and the classifier, the model learns to focus on the specific features of the transport maps that distinguish different classes (e.g., distinguishing "healthy" vs. "sick" patient samples). Because the model learns an explicit transport map from a reference to the target, it also functions as a generative model, allowing researchers to "push forward" samples from the reference to create synthetic data points for a specific patient.
Experimental Evaluation
Dataset: AML Flow Cytometry
The primary evaluation was performed on an Acute Myeloid Leukemia (AML) flow cytometry dataset. This dataset consists of 359 total patients, only 43 of whom have AML, presenting a significant class imbalance. Each patient is represented as a point cloud of 1,000 cells (subsampled from approximately 30,000), with 7 physical and chemical measurements per cell. This high-dimensional distribution shift represents a significant challenge for standard classification models.
Results
DS-LOT was compared against the standard DeepSets architecture and a "Bagging" version of DeepSets. The results on the AML test set demonstrate the superiority of the DS-LOT approach, particularly in precision and recall.
| Metric | DeepSets | DeepSets Bagging | DS-LOT (Ours) |
|---|---|---|---|
| Accuracy | 0.84 | 0.86 | 0.96 |
| Precision | 0.17 | 0.23 | 0.67 |
| Recall | 0.33 | 0.44 | 0.67 |
The significant jump in precision (from 0.17 to 0.67) is critical for medical contexts, as it indicates a much lower rate of false positives compared to the baseline models. Additionally, the authors observed that the classifier often achieves high accuracy before the OT maps have fully converged, suggesting that early stopping can be effectively used to reduce training time.
Discussion and Limitations
While DS-LOT offers significant improvements in accuracy and geometric consistency, it introduces some computational overhead. Training an ICNN for every point cloud in a dataset is more intensive than a simple feed-forward Deep Set. Furthermore, the choice of the "reference" distribution $\sigma$ (currently a standard normal distribution) can impact the quality of the embedding; optimal reference selection remains an open research question.
Future work will involve scaling this approach to 3D spatial data, such as LiDAR or CAD models, to determine how the framework handles more complex spatial geometric structures beyond the 7D biological tabular data explored here.
Summary updated