cs.CVOct 7, 2026

GPU-Accelerated Computation of Persistent Homology for Topological Analysis of Image Data

Authors: Fan Wang, Hubert Wagner, Rezaul Chowdhury, Chao Chen

Organizations: Department of Computer Science, Stony Brook University, Stony Brook, NY 11794 USA · Department of Mathematics, University of Florida, Gainesville, FL 32611 USA · Department of Biomedical Informatics, Stony Brook University, Stony Brook, NY 11794 USA

Abstract

In recent years, persistent homology has seen rapid adoption in deep learning, yet its computation remains a major bottleneck in network training. This paper introduces TopoGPU, a GPU streaming pipeline that computes persistence diagrams of cubical complexes induced by 2D and 3D images. TopoGPU streams the input image chunk by chunk, processing each chunk with massively parallel GPU kernels on a grid of GPU blocks; the resulting boundary relations are accumulated in host memory, where the CPU performs the boundary matrix reduction. TopoGPU introduces a stratification-aware discrete Morse matching that provably preserves persistent homology under streaming, together with a parallel topological sorting algorithm and a parallel V-path parity algorithm for deriving Morse boundaries on the GPU. TopoGPU outperforms Cubical Ripser, a state-of-the-art method for persistent homology computation, on every benchmark evaluated, achieving an average end-to-end speedup of 53.24x and a maximum of 198.01x. We further integrate TopoGPU into a topology-preserving deep network, demonstrating that it substantially reduces the cost of persistent homology computation during network training. TopoGPU is open source, with pre-built binaries, Google Colab notebooks, and Docker images available at the project's GitHub page: https://github.com/seravee08/GPU-Computation-of-Persistent-Homology-for-Image-Data.

Figures & tables

Explore similar work

CardsList
  1. Towards Scalable Persistence-Based Topological Optimization

    May 9, 2026Abderrahim Bendahi, Alexandre Duplessis, Arnaud FickingerPersistent HomologyTopological Data Analysis

  2. Sparse cubical complexes for efficient topology-preservation in image data

    Sep 29, 2026Alexander H. Berger, Marco Fontana, Daniel Rueckert +3Image SegmentationTopology-Preserving Image Segmentation

  3. Fast Cubical Persistent Homology on 2D and 3D Images via Union-Find, Pruning, and Lookup Tables

    Jun 3, 2026Titouan Le Breton, Karol Szustakowski, Marie PiraudPersistent HomologyTopological Data Analysis