Understanding the Power of Persistence Pairing via Permutation Test

Chen Cai, Yusu WangarXiv 2020

Abstract

Topological Data Analysis (TDA) has gained traction in machine learning for its ability to summarize data "shape" through Persistence Diagrams (PDs). However, the computational overhead of the persistence pairing step—connecting birth and death values—prompts a critical question: how much does this topological structure actually contribute to predictive performance? This paper introduces a "permutation test" to isolate the effect of pairing. The findings reveal a domain-specific divide: while pairing is essential for 3D shape analysis, the performance in graph classification is largely driven by the distribution of raw filtration values rather than their topological relationships.

Introduction

The standard pipeline for TDA involves two primary steps: Filtration, where values (like height or curvature) are assigned to data points, and Persistence Pairing, which links these values to form birth-death pairs in a Persistence Diagram. While these diagrams are theoretically robust, their practical utility in complex domains like graph classification remains under scrutiny.

Standard persistence pairing process: a filtration on a tree $T$ (left) results in a persistence diagram $Dg_f$ (right) where birth-death pairs represent topological features.

The Permutation Test

To quantify the "power of pairing," the authors developed the Permutation Test. This diagnostic tool creates "fake" Persistence Diagrams by taking the birth and death coordinates from a real diagram and randomly re-pairing them. These fake diagrams maintain the exact same distribution of values as the originals but lack the specific topological "meaning" derived from the data's structure.

Visualization of true persistence points (red) versus 'fake' points (blue crosses) generated by the permutation test.

By training machine learning models on both "true" and "fake" diagrams, researchers can determine if the topological pairing provides a significant performance boost. If the true diagrams perform significantly better, the topology is doing something useful; if they perform similarly, the pairing is likely redundant.

Domain-Specific Insights

The study evaluated benchmarks across graph classification and 3D shape analysis, revealing distinct behaviors:

Graph Classification: The Noise Problem

In graph datasets (e.g., PROTEINS, IMDB-B), fake diagrams performed surprisingly well, often within 2.5% accuracy of the true diagrams. For instance, on the PROTEINS dataset, the Sliced Wasserstein (SW) kernel achieved 73.72% accuracy, while its permuted counterpart reached 72.75%. This suggests that graphs are "noisy"; minor structural changes can drastically alter pairings, making the topological features unstable and less useful than the raw filtration values (such as Ricci curvature).

3D Shape Analysis: Stable Topology

Conversely, for 3D shapes (e.g., ModelNet10), pairing is vital. Accuracy on ModelNet10 plummeted from 55.2% to 42.7% when pairings were destroyed. This indicates that 3D models possess stable, prominent geometric features that TDA is uniquely capable of capturing through its pairing mechanism.

Separability vs. Utility

Interestingly, despite the similar performance on graphs, a classifier can distinguish between a "true" PD and a "fake" PD with nearly 100% accuracy. This proves that while the pairing contains distinct structural information, that information is not always "useful" for the specific task of graph classification given current methodologies.

Conclusion

The "power of pairing" is not universal. While it is a cornerstone for analyzing geometric data like 3D shapes, its role in graph classification is currently overshadowed by the importance of the filtration function itself. Future research aims to develop more stable graph descriptors and optimized weighting schemes to better leverage topological information in noisy domains.

Summary updated

Abstract

Recently many efforts have been made to incorporate persistence diagrams, one of the major tools in topological data analysis (TDA), into machine learning pipelines. To better understand the power and limitation of persistence diagrams, we carry out a range of experiments on both graph data and shape data, aiming to decouple and inspect the effects of different factors involved. To this end, we also propose the so-called \emph{permutation test} for persistence diagrams to delineate critical values and pairings of critical values. For graph classification tasks, we note that while persistence pairing yields consistent improvement over various benchmark datasets, it appears that for various filtration functions tested, most discriminative power comes from critical values. For shape segmentation and classification, however, we note that persistence pairing shows significant power on most of the benchmark datasets, and improves over both summaries based on merely critical values, and those based on permutation tests. Our results help provide insights on when persistence diagram based summaries could be more suitable.
BibTeX
@misc{cai2020understanding,
  author = {Chen Cai and Yusu Wang},
  title = {{Understanding the Power of Persistence Pairing via Permutation Test}},
  year = {2020},
  eprint = {2001.06058},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.06058},
}
Figure