Abstract
Topological Data Analysis (TDA) leverages persistent homology to characterize data features, but optimizing these features is traditionally slow due to sparse gradient updates. We present the Critical Set Method, which accelerates topological optimization by an order of magnitude. By utilizing the full matrix decompositions ($U$ and $V$) from persistence calculations, we identify sets of simplices that can be updated in "big steps." Our results across turbulence, plasma physics, and 3D mesh datasets demonstrate 10x–25x faster convergence and improved robustness to hyperparameters compared to standard diagram-based optimization.
Introduction
Persistent homology tracks the evolution of topological features—such as components, holes, and voids—across varying thresholds. In optimization tasks, researchers typically apply gradients only to the specific simplices responsible for the birth and death of a feature. This sparse update mechanism is akin to flattening a mountain range by nudging only individual peaks and valleys, requiring thousands of iterations for significant change. The Critical Set Method aims to move the "whole mountain" by identifying and updating critical sets of simplices in a single iteration.
Methodology: The Critical Set Method
The core of this approach lies in moving beyond the standard persistence diagram to the underlying linear algebra. During the computation of persistence, algorithms generate auxiliary matrices—specifically the $U$ and $V$ matrices—that contain information about cycles and chains. These are typically discarded by optimization libraries but contain the necessary information to perform large-scale updates.
Identifying Critical Sets
A "critical set" is defined as a collection of simplices that must move in unison under a topological loss gradient to maintain or modify the topological structure effectively. By analyzing the $U$ and $V$ matrices, these sets can be identified in linear time.
The method utilizes duality: homology (via the $U$ matrix) handles "death" values, while cohomology (via the $V$ matrix) handles "birth" values. This provides a comprehensive gradient for any point in the persistence diagram.
Big Steps and Singleton Loss
For a "singleton loss" (matching one persistence point to a target), the gradient can be computed exactly in linear time. By identifying these sets, the optimizer can take "big steps" in the function space, updating a large subset of the domain's values simultaneously rather than just two points.
Experimental Evaluation
The authors evaluated their method on several complex scientific and geometric datasets, including Rotstrat (turbulence simulations), Magnetic Reconnection (plasma physics), and SCAPE (3D human meshes). Experiments used grids of size up to $128^3$.
Key Results
- Convergence Speed: The proposed method requires 10x to 25x fewer steps to reach the same loss level compared to standard diagram-based optimization.
- Robustness: The method is much less sensitive to the learning rate hyperparameter. In many cases, it reaches target loss in a handful of steps where standard methods require hundreds.
- Scalability: The advantage becomes more pronounced as data resolution increases. For a $128^3$ grid, the diagram loss was $10^9$ times smaller than the standard method after 50 steps.
- The Momentum Paradox: While momentum is essential for sparse gradients in standard optimization, it can hinder the Critical Set method because the method already identifies the correct "big step," and historical momentum can lead to over-correction.
Discussion and Future Work
While computing $U$ and $V$ matrices is more expensive (3x–4x slower per step), the reduction in total steps usually results in a significant net speedup. Future research will focus on more principled ways to combine "big steps" when multiple points in a persistence diagram are moved in different directions, creating potential conflicts between critical sets. Additionally, integrating "warm start" algorithms could further mitigate per-step timing overhead.
Summary updated