Approximating 1-Wasserstein Distance between Persistence Diagrams by Graph Sparsification

📅 2021-10-27
🏛️ Workshop on Algorithm Engineering and Experimentation
📈 Citations: 4
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the computational inefficiency of computing the 1-Wasserstein distance between large-scale persistent diagrams (PDs). To this end, we propose PDoptFlow—the first open-source framework enabling near-linear-time, high-accuracy approximation. Methodologically, we introduce the first tight lower bound for PD distances by integrating Well-Separated Pair Decomposition (WSPD) with the relaxed Word Mover’s Distance lower bound. We further propose a dual sparsification strategy—applied to both nodes and edges—to formulate the optimal transport problem as a sparse minimum-cost flow network. Finally, we design a GPU–multi-core co-parallel solver for efficient computation. Experiments demonstrate that PDoptFlow achieves <1% relative error while outperforming state-of-the-art methods by one to two orders of magnitude in runtime, enabling scalable 1-Wasserstein distance computation for PDs containing up to millions of points.
📝 Abstract
Persistence diagrams (PD)s play a central role in topological data analysis. This analysis requires computing distances among such diagrams such as the $1$-Wasserstein distance. Accurate computation of these PD distances for large data sets that render large diagrams may not scale appropriately with the existing methods. The main source of difficulty ensues from the size of the bipartite graph on which a matching needs to be computed for determining these PD distances. We address this problem by making several algorithmic and computational observations in order to obtain, in theory, a near-linear fully polynomial-time approximation scheme. This is theoretically optimal assuming the $(1+epsilon)$-approximate EMD conjecture in constant dimension, which is that the EMD problem on the plane cannot be approximated by a PTAS in time $O(frac{1}{epsilon^2}n)$ up to polylog factors. In our implementation, first, taking advantage of the distribution of PD points, we emph{condense} them thereby decreasing the number of nodes in the graph for computation. The increase in point multiplicities is addressed by reducing the matching problem to a min-cost flow problem on a transshipment network. Second, we use Well Separated Pair Decomposition to sparsify the graph to a size that is linear in the number of points. Both node and arc sparsifications contribute to the approximation factor where we leverage a lower bound given by the Relaxed Word Mover's distance. Third, we eliminate bottlenecks during the sparsification procedure by introducing parallelism. Fourth, we develop an open source software called PDoptFlow based on our algorithm, exploiting parallelism by GPU and multicore. We perform extensive experiments and show that the actual empirical error is very low. We also show that we can achieve high performance at low guaranteed relative errors, improving upon the state of the arts.
Problem

Research questions and friction points this paper is trying to address.

Efficiently approximating 1-Wasserstein distance for large persistence diagrams
Reducing computational complexity via graph sparsification and condensation
Developing scalable algorithms for topological data analysis
Innovation

Methods, ideas, or system contributions that make the work stand out.

Condense PD points to reduce graph nodes
Use Well Separated Pair Decomposition for sparsification
Implement parallelism to eliminate bottlenecks
🔎 Similar Papers
No similar papers found.
T
T. Dey
Purdue University, Department of Computer Science, USA
Simon Zhang
Simon Zhang
Ohio State University