Saved in:
Bibliographic Details
Main Authors: Wong, Hiu-Tung, Lee, Darrick, Yan, Hong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.14641
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912257491861504
author Wong, Hiu-Tung
Lee, Darrick
Yan, Hong
author_facet Wong, Hiu-Tung
Lee, Darrick
Yan, Hong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14641
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Scalable Topological Regularizers
Wong, Hiu-Tung
Lee, Darrick
Yan, Hong
Machine Learning
Algebraic Topology
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.
title Towards Scalable Topological Regularizers
topic Machine Learning
Algebraic Topology
url https://arxiv.org/abs/2501.14641