# GPU-Accelerated Computation of Vietoris-Rips Persistence Barcodes

arXiv: https://arxiv.org/abs/2003.07989 · HTML: https://mlsanity.com/paper/2003.07989/

## Key facts

- Cited by 27 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Mar 2020.

## Built on by (most cited first, 27 of 27)

- [Representation Topology Divergence: A Method for Comparing Neural Network Representations](https://mlsanity.com/paper/2201.00058/) (2021)
- [Artificial Text Detection via Examining the Topology of Attention Maps](https://mlsanity.com/paper/2109.04825/) (2021)
- [Manifold Topology Divergence: a Framework for Comparing Data Manifolds](https://mlsanity.com/paper/2106.04024/) (2021)
- [Learning Topology-Preserving Data Representations](https://mlsanity.com/paper/2302.00136/) (2023)
- [Acceptability Judgements via Examining the Topology of Attention Maps](https://mlsanity.com/paper/2205.09630/) (2022)
- [Hallucination Detection in LLMs with Topological Divergence on Attention Graphs](https://mlsanity.com/paper/2504.10063/) (2025)
- [Characterizing and Measuring the Similarity of Neural Networks with Persistent Homology](https://mlsanity.com/paper/2101.07752/) (2021)
- [Uncertainty Estimation of Transformers' Predictions via Topological Analysis of the Attention Matrices](https://mlsanity.com/paper/2308.11295/) (2023)
- [Efficient Betti Matching Enables Topology-Aware 3D Segmentation via Persistent Homology](https://mlsanity.com/paper/2407.04683/) (2024)
- [Stability and Machine Learning Applications of Persistent Homology Using the Delaunay-Rips Complex](https://mlsanity.com/paper/2303.01501/) (2023)
- [Topological Node2vec: Enhanced Graph Embedding via Persistent Homology](https://mlsanity.com/paper/2309.08241/) (2023)
- [GEFL: Extended Filtration Learning for Graph Classification](https://mlsanity.com/paper/2406.02732/) (2024)
- [The Shape of Adversarial Influence: Characterizing LLM Latent Spaces with Persistent Homology](https://mlsanity.com/paper/2505.20435/) (2025)
- [Classification of Stochastic Processes with Topological Data Analysis](https://mlsanity.com/paper/2206.03973/) (2022)
- [Topology-Aware Loss for Aorta and Great Vessel Segmentation in Computed Tomography Images](https://mlsanity.com/paper/2307.03137/) (2023)
- [When Witnesses Defend: A Witness Graph Topological Layer for Adversarial Graph Learning](https://mlsanity.com/paper/2409.14161/) (2024)
- [Topology of Out-of-Distribution Examples in Deep Neural Networks](https://mlsanity.com/paper/2501.12522/) (2025)
- [Towards Scalable Topological Regularizers](https://mlsanity.com/paper/2501.14641/) (2025)
- [Unreduced Persistence Diagrams for Topological Machine Learning](https://mlsanity.com/paper/2507.07156/) (2025)
- [TopInG: Topologically Interpretable Graph Learning via Persistent Rationale Filtration](https://mlsanity.com/paper/2510.05102/) (2025)
- [Fast Cubical Persistent Homology on 2D and 3D Images via Union-Find, Pruning, and Lookup Tables](https://mlsanity.com/paper/2606.04801/) (2026)
- [Decorrelating neurons using persistence](https://mlsanity.com/paper/2308.04870/) (2023)
- [Neural Persistence Dynamics](https://mlsanity.com/paper/2405.15732/) (2024)
- [Characterization of topological structures in different neural network architectures](https://mlsanity.com/paper/2407.06286/) (2024)
- [FILTR: Extracting Topological Features from Pretrained 3D Models](https://mlsanity.com/paper/2604.22334/) (2026)
- [Symmetric Divergence and Normalized Similarity: A Unified Topological Framework for Representation Analysis](https://mlsanity.com/paper/2606.06342/) (2026)
- [The sublevel Flood bifiltration: towards scalable 2-parameter persistent homology](https://mlsanity.com/paper/2610.05441/) (2026)

## Abstract (arXiv)

The computation of Vietoris-Rips persistence barcodes is both execution-intensive and memory-intensive. In this paper, we study its computational structure and identify several unique mathematical properties and algorithmic opportunities with connections to the GPU. Mathematically and empirically, we look into the properties of apparent pairs, which are independently identifiable persistence pairs comprising up to 99% of persistence pairs. We prove tight upper and lower bounds of the apparent pair rate and some probabilistic lower bounds. We also design massively parallel algorithms to take advantage of the very large number of simplices that can be processed independently of each other. Having identified these opportunities, we develop a GPU-accelerated software for computing Vietoris-Rips persistence barcodes, called Ripser++. Under nice sampling conditions, we show that the expected work complexity of our algorithm is near linear in the number of simplices. The expected depth complexity is dependent only on the computation of the expected number of p-dimensional homological cycles. The software achieves up to 30x speedup over the total execution time of the original Ripser and also reduces CPU-memory usage by up to 2.0x. We believe our GPU-acceleration based efforts open a new chapter for the advancement of topological data analysis in the post-Moore's Law era.
