Topological Regularization via Persistence-Sensitive Optimization

Arnur Nigmetov, Aditi S. Krishnapriyan, Nicole Sanderson, Dmitriy Morozov · DOI

Abstract: Machine learning models often overfit by capturing high-frequency "topological noise" in training data. We introduce Persistence-Sensitive Optimization (PSO), a novel regularization method that leverages persistent homology to smooth these features. Unlike previous diagram-based approaches that provide gradient updates only at critical points, PSO generates dense gradients across the entire data domain. Our evaluation on UCI benchmarks shows that PSO significantly improves generalization in both regression and classification while maintaining computational efficiency.

Introduction

Overfitting remains a central challenge in machine learning. Traditional regularization techniques like weight decay ($L_2$) or sparsity constraints ($L_1$) penalize model complexity without considering the underlying geometric or topological structure of the learned function. Recently, Topological Data Analysis (TDA) has emerged as a promising alternative, using persistent homology to identify and prune "wrinkles" (low-persistence features) in the model's output. However, existing methods typically optimize directly on the persistence diagram, leading to sparse gradient signals that only affect the function's local extrema (peaks and valleys).

The PSO Framework

The authors propose Persistence-Sensitive Optimization (PSO) to address the sparsity of topological gradients. The process begins by approximating the data manifold with a $k$-nearest neighbors ($k$-NN) graph. For a given model $f_\theta$, PSO computes a "simplified" target function $g$ that removes features with persistence below a threshold $\epsilon$.

Comparison of sparse gradients in diagram-based methods (a) versus dense gradients in PSO (d).

As illustrated in the figure above, traditional diagram-based methods (a) only provide feedback at critical points. In contrast, PSO (d) defines a loss based on the difference between the current model and a simplified version: $L_{PSO} = \|f_\theta - g\|^2$. Because $g$ is defined over the entire domain, PSO provides a dense gradient signal that guides the model toward a topologically simpler state. To ensure the smoothing is appropriate, the threshold $\epsilon$ is dynamically adjusted based on the current validation loss, allowing the level of smoothing to adapt to the degree of overfitting.

Experimental Results

PSO was evaluated on 13 datasets from the UCI Machine Learning Repository, spanning regression (e.g., Wine, Housing) and classification (e.g., Cancer, SPECT).

  • Regression: PSO achieved an average reduction in Root Mean Square Deviation (RMSD) of 6.9% compared to unregularized models, consistently outperforming standard $L_2$ regularization.
  • Classification: The method was even more impactful, reducing Cross-Entropy loss by an average of 14.8% and improving accuracy by 2.9%.

Beyond performance, PSO offers significant stability and efficiency advantages. By decoupling the topological simplification from the gradient step, PSO scales to datasets with over 40,000 points. Qualitative analysis via "vineyard" plots confirms that PSO smoothly eliminates noise without the wild fluctuations characteristic of diagram-based optimization.

Conclusion

PSO represents a significant step forward in topological machine learning. By providing dense gradients and an adaptive smoothing threshold, it offers a robust and scalable way to incorporate topological priors into neural network training. While current work focuses on 0-dimensional persistence (extrema), future research will explore extending these dense gradient techniques to higher-dimensional features like loops and voids.

Summary updated

BibTeX
@article{nigmetov2020topological,
  author = {Arnur Nigmetov and Aditi S. Krishnapriyan and Nicole Sanderson and Dmitriy Morozov},
  title = {{Topological Regularization via Persistence-Sensitive Optimization}},
  journal = {Comput. Geom.},
  year = {2020},
  doi = {10.1016/j.comgeo.2024.102086},
}
Figure