[Paper Review] Large Scale computation of Means and Clusters for Persistence Diagrams using Optimal Transport
This paper proposes a scalable framework for computing means and clusters of persistence diagrams using optimal transport (OT) with entropic regularization, enabling efficient GPU-accelerated computation via the Sinkhorn algorithm. The approach reformulates diagram metrics as OT problems, yielding convex, differentiable, and parallelizable computations that outperform prior methods in speed and convergence, enabling the first large-scale $k$-means clustering on 5,000 persistence diagrams with real-world data.
Persistence diagrams (PDs) are now routinely used to summarize the underlying topology of complex data. Despite several appealing properties, incorporating PDs in learning pipelines can be challenging because their natural geometry is not Hilbertian. Indeed, this was recently exemplified in a string of papers which show that the simple task of averaging a few PDs can be computationally prohibitive. We propose in this article a tractable framework to carry out standard tasks on PDs at scale, notably evaluating distances, estimating barycenters and performing clustering. This framework builds upon a reformulation of PD metrics as optimal transport (OT) problems. Doing so, we can exploit recent computational advances: the OT problem on a planar grid, when regularized with entropy, is convex can be solved in linear time using the Sinkhorn algorithm and convolutions. This results in scalable computations that can stream on GPUs. We demonstrate the efficiency of our approach by carrying out clustering with diagrams metrics on several thousands of PDs, a scale never seen before in the literature.
Motivation & Objective
- To address the computational intractability of standard persistence diagram operations such as distance computation, barycenter estimation, and clustering.
- To overcome the non-Hilbertian geometry of persistence diagrams that hinders standard machine learning tools like $k$-means and PCA.
- To enable large-scale topological data analysis by reformulating diagram metrics as optimal transport problems with entropic regularization.
- To provide a differentiable, convex, and GPU-parallelizable framework for barycenter computation that avoids local minima.
- To demonstrate the first tractable $k$-means clustering on 5,000 persistence diagrams using the proposed framework.
Proposed method
- Reformulate persistence diagram metrics (bottleneck and $p$-Wasserstein) as optimal transport problems on a planar grid with entropic regularization.
- Discretize persistence diagrams as histograms on a $d \times d$ grid to enable matrix-based computation.
- Use the Sinkhorn algorithm with entropic regularization to solve the OT problem in linear time and enable GPU acceleration.
- Introduce a differentiable approximation of the diagram distance with additive error bounds, enabling gradient-based optimization.
- Formulate the Fréchet barycenter problem as a convex optimization task via the Eulerian formulation and gradient descent on the transport plan.
- Integrate the approximated distance and barycenter computation into a scalable $k$-means clustering pipeline for persistence diagrams.
Experimental results
Research questions
- RQ1Can optimal transport with entropic regularization be effectively adapted to compute distances between persistence diagrams at scale?
- RQ2Can the convexity and differentiability of entropic OT be leveraged to compute barycenters of persistence diagrams more reliably than non-convex combinatorial methods?
- RQ3Can the proposed framework enable large-scale clustering of persistence diagrams—specifically $k$-means—on datasets with thousands of diagrams?
- RQ4How does the computational efficiency and convergence behavior of the proposed method compare to existing algorithms like B-Munkres on increasing diagram sizes?
- RQ5To what extent does the convex formulation avoid local minima in barycenter estimation compared to non-convex approaches?
Key findings
- The proposed method achieves $k$-means clustering on a dataset of 5,000 persistence diagrams from a 3D shape database, a scale previously unattainable in the literature.
- The Sinkhorn-based algorithm runs in 40–80 minutes on a P100 GPU for the 5,000-diagram dataset, demonstrating practical scalability.
- The method outperforms the B-Munkres algorithm in speed and avoids local minima, with convergence to lower energy solutions regardless of initialization.
- The algorithm scales sublinearly with diagram size, with running time increasing significantly slower than the $O(n^3)$ complexity of the Hungarian algorithm.
- The entropic regularization provides additive error bounds on the diagram distance, ensuring controlled approximation quality.
- The differentiable and convex formulation enables reliable gradient-based optimization for barycenter computation, unlike previous non-convex approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.