arXiv:2609.01528cs.CGSep 2026

Manuscript Offprint

arXiv:2609.01528

Sierpiński--Knopp Wasserstein Distance for Persistence Diagrams and Applications to 2-Wasserstein Approximation

Sebastien Tchitchek, Julien Tierny

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This paper introduces the Sierpiński–Knopp (SK) Wasserstein distance, a fast metric between persistence diagrams. The SK-Wasserstein distance, denoted dSKd_{SK}, maps diagram points and their diagonal projections to the unit interval via the Sierpiński–Knopp space-filling curve on the upper diagonal triangle. The encoded point sets are then efficiently matched via one-dimensional optimal assignment, in O(Nlog⁡N)O(N \log N) steps, yielding an explicit diagonal-aware point assignment between the two input persistence diagrams. We show that the SK-Wasserstein distance controls the classical 2-Wasserstein distance between diagrams, admits an explicit isometric embedding into a Hilbert space, and induces a positive-definite Gaussian kernel, making the resulting geometry directly compatible with Euclidean and kernel-based learning methods. A tighter surrogate dissimilarity, noted WΓW_{\Gamma}, is also introduced based on the point assignments along the curve. Experiments on 12 scientific collections comprising 227 diagrams show median Spearman correlations with W2W_{2} of 0.879 for dSKd_{SK} and 0.924 for WΓW_{\Gamma}, reflecting consistent pairwise dissimilarity rankings. The median per-collection speedup of dSKd_{SK} over state-of-the-art approximations of W2W_{2} is 626×626\times, while the aggregate speedup over the full benchmark is 2100×2100\times. Average-linkage partitions obtained from dSKd_{SK} and WΓW_{\Gamma} each exactly match the corresponding W2W_{2} partition on 8 of the 12 collections. Hilbert k-means and Gaussian spectral clustering, both based on dSKd_{SK}, achieve mean adjusted Rand indices (ARI) of 0.756 and 0.800, respectively, with respect to the benchmark reference partitions, compared to 0.750 obtained by average linkage on W2W_{2}. The Gaussian dSKd_{SK} kernel supports other kernel-based analysis tasks, as illustrated by its use for contiguous segmentation of ordered diagram collections in our experiments. A C++ implementation is provided for reproducibility at https://github.com/sebastien-tchitchek/SK-Wasserstein-Reproducibility.

1 Introduction

Advancements in data acquisition and numerical simulation have made increasingly large and complex datasets available for analysis. In this context, topological data analysis (TDA) provides a family of techniques for summarizing geometric and scalar data through concise topological descriptors Edelsbrunner and Harer (2010); Oudot (2015). Among them, persistence diagrams are one of the most widely used representations: they encode the birth and death of topological features across a filtration and provide a compact summary of the salient structures of a dataset Barannikov (1994); Frosini and Landi (1999); Robins (1999); Edelsbrunner et al. (2002).

A central task in persistence-based analysis is the comparison of persistence diagrams. Standard metrics, such as the 2-Wasserstein distance, compare diagrams through optimal assignments in the birth–death plane, while allowing unmatched points to be paired with the diagonal Munkres (1957); Bertsekas (1981); Kerber et al. (2017). This distance has strong theoretical foundations, including stability guarantees Cohen-Steiner et al. (2005), and has enabled analysis tasks on diagram spaces Mileyko et al. (2011); Turner et al. (2013);

Lacombe et al. (2018); Vidal et al. (2019); Pont et al. (2023); Sisouk et al. (2024; 2026). However, its repeated evaluation can become costly, especially when large collections of diagrams must be compared or when distances are used inside iterative algorithms. This motivates the design of fast diagram distances that remain faithful to the 2-Wasserstein geometry.

This paper addresses this issue by introducing the Sierpiński–Knopp (SK) Wasserstein distance, denoted dSKd_{SK}, a fast metric between persistence diagrams. The construction keeps the diagonal-aware augmentation used in the standard 2-Wasserstein comparison of persistence diagrams, where unmatched features may be paired with the diagonal through their orthogonal projections. The key difference is that, instead of solving the resulting assignment problem in the persistence upper diagonal triangle (denoted A△\mathcal{A}_{\triangle}), dSKd_{SK} replaces it with a one-dimensional assignment problem on [0,1][0,1]. This is achieved by fixing a Sierpiński–Knopp space-filling curve S:[0,1]→A△S: [0,1] \to \mathcal{A}_{\triangle} and using its first-hit selector on each augmented diagram to assign a scalar value in [0,1][0,1] to every diagram point, thereby producing two equal-length lists of scalar values. These lists, equivalently viewed as equal-mass atomic measures on [0,1][0,1], are then compared through the classical one-dimensional 1-Wasserstein assignment problem, and dSKd_{SK} is defined as the square root of its optimal cost. Beyond the distance value, the one-dimensional optimal assignment yields an explicit diagonal-aware assignment between the two input diagrams, which can be reused by downstream methods requiring point correspondences.

The benefit of this construction is twofold. First, one-dimensional optimal assignment admits a monotone closed-form solution, which reduces the evaluation of dSKd_{SK} to sorting lists of scalar values. Second, the 1/2-Hölder regularity of the SK curve ties this one-dimensional comparison back to the original geometry of the persistence triangle. In particular, the classical 2-Wasserstein distance between persistence diagrams is controlled, up to a constant factor, by dSKd_{SK}. This makes dSKd_{SK} a computationally attractive surrogate for repeated W2W_2-type evaluations. Moreover, dSK2d_{SK}^2 admits an explicit cumulative L1L^1 representation, which yields an isometric Hilbert embedding of dSKd_{SK}, and a positive-definite Gaussian dSKd_{SK} kernel on persistence diagrams.

References (61)