Towards Scalable Topological Regularizers
Hiu-Tung Wong, Darrick Lee, Hong Yan
TL;DR
This work tackles the challenge of incorporating topological features into large-scale latent-space learning by introducing Principal Persistence Measures (PPMs) as a scalable topological summary. By pushing forward the persistent homology of many small subsamples and comparing the resulting PPMs with maximum mean discrepancy (MMD) on an extended feature space, the method yields a differentiable topological regularizer that can be integrated into GANs and SSL. The authors prove that MMD-based metrics on PPMs metrize the same topology as Wasserstein distances and establish gradient continuity under smooth densities, enabling stable training. Empirically, PPM-Reg improves shape matching, improves image generation quality on CelebA/AnimeFace with larger gains at higher resolutions, and enhances SSL performance with very few labels, demonstrating scalability and practical impact for topology-aware learning.
Abstract
Latent space matching, which consists of matching distributions of features in latent space, is a crucial component for tasks such as adversarial attacks and defenses, domain adaptation, and generative modelling. Metrics for probability measures, such as Wasserstein and maximum mean discrepancy, are commonly used to quantify the differences between such distributions. However, these are often costly to compute, or do not appropriately take the geometric and topological features of the distributions into consideration. Persistent homology is a tool from topological data analysis which quantifies the multi-scale topological structure of point clouds, and has recently been used as a topological regularizer in learning tasks. However, computation costs preclude larger scale computations, and discontinuities in the gradient lead to unstable training behavior such as in adversarial tasks. We propose the use of principal persistence measures, based on computing the persistent homology of a large number of small subsamples, as a topological regularizer. We provide a parallelized GPU implementation of this regularizer, and prove that gradients are continuous for smooth densities. Furthermore, we demonstrate the efficacy of this regularizer on shape matching, image generation, and semi-supervised learning tasks, opening the door towards a scalable regularizer for topological features.
