TL;DR
Computing persistent homology (PH) on large, high-dimensional datasets often fails because the number of simplices in a complex explodes combinatorially. This paper introduces an exact, memory-efficient preprocessing algorithm using strong collapses that operates strictly on maximal simplices. The method simplifies complexes independently in parallel, works on general sequences (including towers and zigzags), and speeds up persistence computation by up to three orders of magnitude.
What Problem Does This Paper Address?
Persistent homology (PH) is a foundational tool in Topological Data Analysis (TDA) that tracks how topological features—such as connected components, loops, and voids—appear and disappear across varying spatial scales. However, standard matrix-reduction algorithms for PH run in $O(n^\omega)$ time, where $n$ is the total number of simplices and $\omega \le 2.4$. In high dimensions, $n$ readily swells into billions, making computation memory-prohibitive and slow.
Existing methods attempt to mitigate this combinatorial explosion by removing redundant simplices (e.g., via discrete Morse theory or simple collapses) or by downsampling. However, these methods typically require storing the full set of all subsimplices, are restricted to nested filtrations (subcomplex inclusions), and cannot easily be decoupled for parallel processing.
Methods
The authors build on the concept of strong collapse introduced by Barmak and Minian:
- Dominated Vertices and Cores: A vertex $v$ is dominated by another vertex $v'$ if every maximal simplex containing $v$ also contains $v'$. Deleting dominated vertices constitutes an elementary strong collapse. Iterating this process until no dominated vertices remain yields a minimal subcomplex called the core ($K^c$), which has the same strong homotopy type as the original complex.
- Matrix Algorithm on Maximal Simplices: Instead of storing all $k$-simplices, the complex is stored as a sparse vertex-by-maximal-simplex bipartite incidence matrix $M$. A row $v$ is dominated by $v'$ if its non-zero entries are a subset of $v'$'s non-zero entries. Using candidate queues (
rowQueueandcolQueue), the algorithm iteratively removes dominated rows, drops non-maximal columns, and transposes the problem (acting on the nerve $N(K)$ and double nerve $N^2(K)$). The worst-case runtime is $O(v^2 \Gamma_0 d + m^2 \Gamma_0 d)$, where $m$ is the count of maximal simplices, $v$ is vertex count, $d$ is dimension, and $\Gamma_0$ is the vertex degree in maximal simplices. - Preservation Across General Sequences: The authors prove that the retraction maps induce isomorphisms on homology that commute across the entire sequence. Consequently, strong collapses preserve the exact persistence diagrams of not just filtrations, but also simplicial towers (arbitrary forward simplicial maps) and zigzag sequences (bidirectional simplicial maps).
- Pipeline: Complexes at chosen scale parameter values (snapshots) are collapsed independently in parallel. Their cores are linked via induced simplicial maps to form a "core tower," converted to an equivalent filtration using the
Sophialibrary, and solved with theGudhipersistence solver.
Datasets
The authors evaluated their pipeline on several synthetic and real-world point clouds and distance matrices:
- Synthetic point sets:
1-sphere: 100 points sampled randomly from a 2D unit circle.2-Annulus: 150 points sampled from a 2D annulus (radii 0.6 and 1.0).- Benchmark datasets (from Otter et al. / public repository):
dragon: 150 points sub-sampled from the 2,000-point 3D scan datasetdrag 2.netw-sc: Network science co-authorship distance matrix.senate: US Senate voting record distance matrix.eleg: Neural network connection distance matrix of C. elegans.
Key Insights and Ideas
- Never generate the full complex: Storing only maximal simplices bypasses the exponential simplex explosion entirely during the simplification phase.
- Trivial parallelization: Because strong collapses translate directly into continuous simplicial retraction maps, every snapshot complex along a sequence can be collapsed completely in parallel.
- Scale-invariant cost: In many real-world point clouds, the number of maximal simplices stays relatively stable even as scale parameters increase. The collapse time per complex remains nearly flat across snapshot indices.
- Severe dimension reduction: Beyond reducing simplex counts, strong collapse drastically reduces the dimension of the complexes, cutting down the exponential burden when expanding cores back to full representations for matrix reduction.
Key Results
- Simplex Reduction: The number of simplices in the final equivalent filtration dropped by 2 to 4 orders of magnitude compared to the raw filtration (e.g., from 22.35 million simplices to 957 thousand on
netw-sc; the core tower had just 380 simplices). - Speedups: Overall PH computation time dropped by 1 to 3 orders of magnitude:
- On
netw-sc, total runtime fell from 243.86 seconds to 0.097 seconds (~2,514× speedup). - On
2-Annulus, runtime fell from 174.18s to 0.178s (~978× speedup). - On
senate, runtime fell from 24.92s to 0.068s (~366× speedup).
Limitations and Future Work
- Snapshot Granularity Trade-Off: The method uses discrete snapshots. Using sparse snapshots accelerates processing but yields coarser persistence diagrams by missing topological features that appear and die strictly within the interval between snapshots. Denser snapshots provide full fidelity but increase runtime.
- Full Representation Bottleneck: Standard persistence algorithms still require a full simplex representation. While strong collapse shrinks the core dimension dramatically, converting maximal simplices back to full simplices remains exponential in the collapsed dimension.
- Empirical Validation Scope: The mathematical guarantee covers general zigzag sequences, but the empirical experiments were limited to Vietoris–Rips filtrations. Demonstrating practical performance on genuine zigzag sequences was left for future work.
Summary updated