CuPH: Parallel Cubical Persistent Homology via Level-Synchronous Component Tracking
Abstract
Persistent homology (PH) is a mathematically principled multi-scale topological descriptor of shape and connectivity in data. It is widely applied in image classification, segmentation, and shape analysis across medical and aerial imaging, providing structural information that pixel-wise deep learning may overlook. Standard cubical PH decomposes an image into cubical cells (vertices, edges, and squares) and reduces them sequentially in filtration order. This sequential reduction has parallel depth for an -pixel image, limiting within-image GPU parallelism and constraining its use in topology-aware deep learning. We introduce CuPH, a GPU-based parallel algorithm for computing cubical PH on 2D images that operates directly on pixels rather than cubical cells. CuPH buckets pixels by filtration values, activates them with a level-synchronous sweep, and tracks connected components with a lock-free union-find method. We prove that CuPH produces persistence diagrams identical to standard cubical PH on integer inputs, with a stability bound for floating-point inputs. CuPH reduces parallel depth from to for an image with intensity levels. We implement the level sweep as a single CUDA kernel, eliminating cross-level kernel-launch overhead. Empirically, CuPH is -- faster than the existing GPU baseline (CMP). As a drop-in PH backend, CuPH accelerates topology-aware classification (--) and segmentation (--) while preserving accuracy. It also enables computing full-image PH losses on high-resolution images, improving segmentation Dice by -- points over patch-local PH baselines and accelerating training by --.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CG, cs.DC
Related papers
Lyris: Layout-Guided Long Video Generation with Persistent 3D Memory
Shared title terminologycs.CVChen Wang, Jiahui Huang, Riccardo de Lutio et al.
Go Far, Look Less: Active Multi-Room Reconstruction with Persistent Goals and Selective Views
Shared title terminologycs.CVJiawei Jiang, Haonan Zhou, Wendi Hu et al.
DARE: Dual-Level Adversarial Learning with Domain-Aware Regularization for Whole Slide Image Classification
Shared title terminologycs.CVYuxuan Jiang, Haichuan Dong, Manning Wang
Write, Evolve, Read: Streaming Cameras into a Persistent World State for 4D Occupancy Forecasting
Shared title terminologycs.CVZiAn Wang, Tianyi Wang, Zhihao Chen et al.
3L-D: A Low-Light Level Dataset from a Sensor-Agnostic, Alignment-Preserving Acquisition Framework
Shared title terminologycs.CVLéo Rueff, Maurgène Ghezal, Valentin Gorse et al.
Latent Spectral Prompting for Multimodal Hyperspectral Object Tracking
Shared title terminologycs.CVWangshu Cai, Jun Zhou, Lei Wang et al.