Deep Kuratowski Embedding Neural Networks for Wasserstein Metric Learning
Organizations: Department of Mathematics, Southern Methodist University
Abstract
Computing pairwise Wasserstein distances is a fundamental bottleneck in data analysis pipelines. Motivated by the classical Kuratowski embedding theorem, we propose two neural architectures for learning to approximate the Wasserstein-2 distance () from data. The first, DeepKENN, aggregates distances across all intermediate feature maps of a CNN using learnable positive weights. The second, ODE-KENN, replaces the discrete layer stack with a Neural ODE, embedding each input into the infinite-dimensional Banach space and providing implicit regularization via trajectory smoothness. Experiments on MNIST with exact precomputed distances show that ODE-KENN achieves a 28% lower test MSE than the single-layer baseline and 18% lower than DeepKENN under matched parameter counts, while exhibiting a smaller generalization gap. The resulting fast surrogate can replace the expensive oracle in downstream pairwise distance computations.
Figures & tables
| Model | Test MSE | Test MAE | Rel. MAE |
|---|---|---|---|
| Naive (single-layer) | 1.63% | ||
| DeepKENN | 1.52% | ||
| ODE-KENN | 1.37% |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Layer | Operation | Output shape | Flat dim |
|---|---|---|---|
| Conv1 | Conv + ReLU + MaxPool | 1568 | |
| Conv2 | Conv + ReLU + MaxPool | 784 | |
| Conv3 | Conv + ReLU + MaxPool | 288 | |
| FC1 | Linear + ReLU | 128 | |
| FC2 | Linear | 64 |
Wasserstein Distance
Wasserstein distance compares probability distributions by the minimum cost of transporting mass between them.
See all 61 papers