A stable multi-scale kernel for topological machine learning

Jan Reininghaus, Stefan Huber, Ulrich Bauer, Roland Kwitt

Introduction

Topological Data Analysis (TDA) provides a robust framework for capturing the "shape" of data—identifying features like holes, loops, and connected components that traditional descriptors often overlook. The primary output of TDA is the persistence diagram, a multiset of points representing the birth and death times of topological features. Despite their descriptive power, persistence diagrams are notoriously difficult to integrate into standard machine learning pipelines such as Support Vector Machines (SVMs) or Principal Component Analysis (PCA).

The proposed pipeline: from raw data to kernel-based machine learning via persistence diagrams.

In their CVPR 2015 paper, Reininghaus et al. bridge this gap by introducing a theoretically sound, stable, and multi-scale kernel. This "Persistence Scale-Space Kernel" allows topological features to be mapped into a Hilbert space, enabling their direct use in kernel-based learning algorithms.

The Challenge of Persistence Diagrams

Persistence diagrams summarize the evolution of topology across different scales. However, they only form a metric space under distances like the Wasserstein or bottleneck distance. Most powerful machine learning algorithms require a Hilbert space structure—specifically, a way to compute inner products. Simply plugging a Wasserstein distance into a Gaussian kernel often fails because the resulting kernel is not necessarily "positive definite," leading to unstable optimization and poor generalization.

Persistence diagrams for different classes, illustrating high and low persistence features relative to the diagonal.

Furthermore, a useful kernel must be stable: small perturbations in the input data (noise) should result in only small changes in the kernel value.

Methodology: The Persistence Scale-Space Kernel

The authors propose the Persistence Scale-Space Kernel ($k_\\sigma$), drawing inspiration from scale-space theory in computer vision. The construction follows a heat diffusion analogy:

  1. Heat Diffusion: Each point in a persistence diagram is treated as a Dirac delta (a point source of "heat") on the half-plane above the diagonal.
  2. Boundary Conditions: To ensure that points near the diagonal (typically representing noise) have a negligible effect, a Dirichlet boundary condition (heat = 0) is enforced on the diagonal. This is achieved by placing a "negative" heat source at the mirror image of each point across the diagonal.
  3. Feature Map: The solution to this heat equation at a specific scale $\\sigma$ defines a surface in $L_2$ space, which serves as the feature map.
  4. Kernel Computation: The kernel value between two diagrams is the inner product of these two surfaces.

Mathematically, the authors prove that this kernel is 1-Wasserstein stable, meaning it is Lipschitz continuous with respect to the most common metric for persistence diagrams, ensuring robustness against noise.

Experimental Evaluation

The kernel was evaluated on two major computer vision benchmarks:

  • SHREC 2014: A 3D shape retrieval dataset featuring synthetic and real human scans in various poses.
  • Outex (TC_00000): A texture recognition benchmark with 24 classes of texture images.

Key Results

The proposed kernel demonstrated significant improvements over the previous state-of-the-art, "persistence landscapes":

  • 3D Shape Classification: On synthetic SHREC data, the kernel achieved accuracy gains of up to 30% over landscapes. It also showed superior stability across different pre-processing parameters (e.g., Heat Kernel Signature time parameters).
  • Texture Recognition: On the Outex dataset, the kernel improved classification accuracy by approximately 10-11% compared to landscapes.

Discussion and Conclusion

The "Aha!" moment of this work lies in framing the problem as a heat diffusion process. This naturally handles noise: points close to the diagonal cancel out with their mirrored counterparts quickly, while "persistent" features remain influential. The scale parameter $\\sigma$ allows for tuning the kernel to specific noise levels, a flexibility missing in earlier methods.

While computationally more intensive than some alternatives ($O(|F| \\cdot |G|)$), the kernel's theoretical stability and empirical performance make it a landmark contribution to topological machine learning. Future work suggests integrating these topological features with traditional descriptors like CNN activations to create more comprehensive data representations.

Summary updated

BibTeX
@inproceedings{reininghaus2015stable,
  author = {Jan Reininghaus and Stefan Huber and Ulrich Bauer and Roland Kwitt},
  title = {{A stable multi-scale kernel for topological machine learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299106},
}
Figure