Differentiability and Optimization of Multiparameter Persistent Homology

Luis Scoccola, Siddharth Setlur, David Loiseaux, Mathieu Carrière, Steve Oudot

Introduction

Persistent Homology (PH) has emerged as a cornerstone of Topological Data Analysis (TDA), providing a robust mathematical framework for tracking the evolution of topological features—such as holes, loops, and voids—across varying scales. In the standard one-parameter setting, data is typically filtered by a single scale parameter (e.g., a distance threshold). This process yields a canonical descriptor known as a barcode, which is differentiable almost everywhere. This differentiability has allowed researchers to integrate topological loss functions into deep learning pipelines, enabling the optimization of neural networks based on the shape of data.

However, many real-world datasets are inherently multi-scale and multi-faceted, depending on several parameters simultaneously—such as distance and local density. While Multiparameter Persistent Homology (MPH) offers a significantly richer description of data than its one-parameter counterpart, it presents a formidable algebraic challenge: there is no single, complete "barcode" for MPH. This complexity has historically prevented the use of MPH in gradient-based optimization. This paper bridges that gap by introducing a theoretical framework that enables the differentiation of complex multiparameter topological descriptors.

A Framework for Differentiability: Semilinear Grids

The authors address the lack of a unified optimization theory for MPH by introducing the concept of descriptors that are semilinearly determined on grids. This framework relies on the observation that while MPH is algebraically complex, many of its most useful descriptors behave like piecewise linear functions when restricted to specific cells within the space of filtrations.

Theoretical Foundations

  1. Theorem 1.1 (Convergence): The authors prove that if a topological descriptor is semilinearly determined on grids and is integrated into a "tame" (o-minimal) optimization pipeline, the stochastic subgradient method is guaranteed to converge to a critical point. This provides the first formal convergence guarantee for gradient descent using MPH descriptors.
  2. Clarke Subdifferentials: Because MPH descriptors are piecewise linear rather than smooth, they are not differentiable in the classical sense at all points. To resolve this, the authors utilize Clarke subdifferentials—a generalization of the gradient for non-smooth functions—to provide a rigorous method for calculating updates during the optimization process.
  3. Descriptor Agnosticism: A key strength of this framework is its generality. The authors demonstrate that it covers diverse MPH descriptors, including signed barcodes (derived from the Hilbert function) and multiparameter persistence landscapes.

Optimization Insights: Density as a Regularizer

One of the most compelling insights of this work is the role of the second parameter in topological optimization. In one-parameter optimization, points often "explode" toward infinity as the algorithm attempts to enlarge a specific topological feature. By introducing density as a second parameter, the MPH framework provides a natural "safety rail."

The density parameter acts as a regularizer, ensuring that topological features are optimized in low-density regions without destroying the overall global structure of the point cloud. This multi-parameter approach keeps the optimization bounded and physically meaningful, solving a common stability issue in TDA-based machine learning.

Experimental Results

The framework was evaluated across synthetic benchmarks and real-world graph classification tasks, demonstrating both theoretical soundness and practical utility.

Graph Classification

Integrating MPH descriptors into Graph Neural Networks (GNNs) yielded substantial performance improvements over one-parameter methods. On the ENZYMES dataset (protein structures), a Graph Convolutional Network utilizing multiparameter topology (GCN-MPTOP) achieved an accuracy of 39.0%, significantly outperforming the one-parameter version (GCN-OPTOP), which reached only 28.8%. Similar gains were observed across other standard benchmarks, including IMDB-B, IMDB-M, and MUTAG.

Robustness to Noise

In synthetic point cloud experiments, the authors tested the ability of the framework to recover the "true" topology of interlaced circles buried in high-dimensional noise. The MPH-based loss function proved significantly more robust than standard one-parameter methods, successfully preserving the underlying structure where simpler methods failed.

Conclusion and Future Directions

This research establishes a rigorous foundation for using multiparameter topology in gradient-based machine learning. By proving that "incomplete" but computationally tractable descriptors like signed barcodes can be differentiated, the authors open the door for more sophisticated topological features in neural network architectures.

Despite these advances, challenges remain. The computational complexity of MPH is high, and while techniques like sparsification help, scaling to massive datasets is an ongoing area of research. Future work will likely focus on adapting "big step" optimization techniques to the multiparameter setting and expanding the library of supported invariants to include multiparameter persistence images and kernels.

Summary updated

BibTeX
@inproceedings{scoccola2024differentiability,
  author = {Luis Scoccola and Siddharth Setlur and David Loiseaux and Mathieu Carrière and Steve Oudot},
  title = {{Differentiability and Optimization of Multiparameter Persistent Homology}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ixdfvnO0uy},
}
Figure