A U-match Algorithm for Persistent Relative Homology
Christian Lentz, Gregory Henselman-Petrusek, Lori Ziegelmeier
TL;DR
This work extends topological data analysis to persistent relative homology (PRH) by introducing the U-match decomposition framework, enabling a two-step matrix reduction to compute the PRH barcode and relative cycle representatives in time $O(m^3)$ for a dataset with $m$ cells. It develops a rigorous algebraic foundation for PRH, defines two compatible U-match factorizations, and shows how to extract birth/death data via explicit sublevel functions $f_{\ker}$ and $f_{im}$. The paper also identifies a practical optimization for lag filtrations, where $G_{\bullet}X$ lags behind $F_{\bullet}X$, yielding performance comparable to standard $R=DV$ methods, and provides an implementation integrated with Open Applied Topology. Overall, the methods deliver both the PRH barcode and concrete representative cycles, broadening applicability to arbitrarily filtrated pairs and enhancing interpretability of relative topological features. These contributions offer a transparent, algebraically grounded pathway to analyze relative topological structure in noisy, high-dimensional data and facilitate broader adoption in TDA workflows.
Abstract
A central problem in data-driven scientific inquiry is how to interpret structure in noisy, high-dimensional data. Topological data analysis (TDA) provides a solution via persistent homology, which encodes features of interest as topological holes within a filtration of data. The present work extends this framework to a related invariant which uncovers topological structure of a space relative to a subspace: persistent relative homology (PRH). We show that this invariant can be computed in a simple, highly transparent and general manner, using a two-step matrix reduction technique with worst-case time complexity comparable to ordinary persistent homology. We provide proofs demonstrating the correctness and computational complexity of this approach in addition to a performance-optimized implementation for a special case.
