Abstract
Persistence diagrams (PDs) play a central role in topological data analysis (TDA), yet comparing them efficiently remains a significant challenge. While Wasserstein-type distances offer high accuracy and theoretical guarantees, they incur prohibitive computational costs. Conversely, vectorization methods like Persistence Statistics (PS) are fast but lack discriminative power. This work introduces Extended Topological Pseudodistances (ETDs), a class of metrics with tunable complexity that interpolates between these two extremes. ETDs approximate Sliced and classical Wasserstein distances at high complexity while remaining computationally efficient and descriptive at lower complexity levels. Experimental results demonstrate that ETDs outperform PS in accuracy and significantly surpass Wasserstein distances in computational speed.
Introduction
In TDA, Persistence Diagrams (PDs) summarize the topological features (holes, voids, etc.) of a dataset across multiple scales. However, the standard metric for comparing these diagrams, the Wasserstein distance (WD), requires solving an optimal matching problem with $O(n^3)$ complexity. This bottleneck makes large-scale machine learning pipelines using TDA impractical. While fast alternatives like Persistence Statistics (PS) exist, they often discard critical geometric information, leading to situations where distinct diagrams yield identical statistical summaries.
This paper addresses this "accuracy vs. speed" trade-off by proposing ETDs, a family of metrics that are faster than Wasserstein distances but more informative than basic statistics.
Methodology
The core innovation of Extended Topological Pseudodistances (ETDs) is the projection of 2D points $(birth, death)$ from a Persistence Diagram onto 1D lines at various angles ($\theta$).
- Projection and Efficiency: By reducing the 2D matching problem to a 1D space, the computational complexity drops to $O(n \log n)$, as 1D Wasserstein distances can be solved via simple sorting.
- Tunability: The metric is highly flexible. With a small number of projection angles ($A$), ETDs function as an enhanced version of Persistence Statistics. As the number of angles increases, the ETD converges toward the Sliced Wasserstein Distance (SWD), providing a high-fidelity geometric approximation.
- Mathematical Soundness: To compare diagrams with varying point counts, the authors utilize a "projection to the diagonal" technique, ensuring the metric remains stable and efficient.
Experimental Evaluation
The researchers evaluated ETDs across several classification and analysis tasks, including the Outex texture database, SHREC14 3D shape retrieval, and Fashion-MNIST. A particularly insightful experiment involved Synthetic Concentric Spheres, where the researchers tracked how topology evolves through the layers of an autoencoder.
Key Results and Discussion
- Computational Speedup: In autoencoder experiments, ETDs were computed in approximately 3.7 milliseconds, compared to 12.5 seconds for the standard Wasserstein distance—a massive ~3,400x speedup.
- High Accuracy: On the Outex dataset, ETDs achieved 99% accuracy, matching the performance of the much slower Wasserstein distance and outperforming standard Sliced Wasserstein implementations (96%).
- Discriminative Power: As shown in the autoencoder layer analysis (Figure 1), ETDs successfully captured the gradual loss and reconstruction of topological structures. In contrast, standard Persistence Statistics produced noisy results that failed to identify these clear structural trends.
- Implementation Efficiency: By leveraging optimized array programming (NumPy), the authors demonstrated that ETDs can be computed orders of magnitude faster than existing TDA library implementations of Sliced Wasserstein distances, even when using an identical number of projections.
Conclusion and Future Work
ETDs fill a critical gap in the TDA toolkit, providing a "Goldilocks" metric that balances speed and descriptive power. While the current theoretical stability bounds for a small number of angles are relatively weak, the empirical performance is robust. Future work will focus on developing task-specific weighting for different homology dimensions and exploring randomized projections to further optimize the approximation of high-dimensional geometric distances.
Summary updated