Global Ground Metric Learning with Applications to scRNA data

Damin Kühn, Michael T. Schaub
6/18/2025
cs.LGq-bio.GN

Official code: DaminK/ggml-ot (7 stars, Python, MIT, last commit 2026-04-21). 1 more implementation below.

Abstract

Optimal transport provides a robust framework for comparing probability distributions. Its effectiveness is significantly influenced by the choice of the underlying ground metric.

Show full abstract

Traditionally, the ground metric has either been (i) predefined, e.g., as the Euclidean distance, or (ii) learned in a supervised way, by utilizing labeled data to learn a suitable ground metric for enhanced task-specific performance. Yet, predefined metrics typically cannot account for the inherent structure and varying importance of different features in the data, and existing supervised approaches to ground metric learning often do not generalize across multiple classes or are restricted to distributions with shared supports. To address these limitations, we propose a novel approach for learning metrics for arbitrary distributions over a shared metric space. Our method provides a distance between individual points like a global metric, but requires only class labels on a distribution-level for training. The learned global ground metric enables more accurate optimal transport distances, leading to improved performance in embedding, clustering and classification tasks. We demonstrate the effectiveness and interpretability of our approach using patient-level scRNA-seq data spanning multiple diseases.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DaminK/ggml-otOfficial7PythonMIT2026-04-21
DaminK/GlobalGround-MetricLearningOfficial2Jupyter NotebookMIT2025-06-11
DaminK/ggml-otOfficial100%
MIT

Improve Optimal Transport applications by Global Ground Metric Learning (published at AISTATS2025). This package supports single-cell data in Anndata format and generic array-like data.

70Python, HTMLApr 29, 20257 months agoMIT
genomicsmetric-learningoptimal-transport
MIT

Python implementation of the AISTATS2025 paper "Global Ground Metric Learning with Applications to scRNA data" by Damin Kühn nad Michael T. Schaub. To use GGML on your own data, refer to the python package below:

21Jupyter Notebook, PythonFeb 19, 20251 years agoMIT
genomicsglobal-metricsmetric-learningoptimal-transportscrna-seq-data

Similar Papers

Cite this paper

@article{khn2025global,
  title  = {Global Ground Metric Learning with Applications to scRNA data},
  author = {Damin Kühn and Michael T. Schaub},
  year   = {2025},
  eprint = {2506.15383},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.15383v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.15383.svg)](https://codeofpaper.com/paper/2506.15383)

Discussion