Generating Cofaces in Vietoris--Rips Filtration Order
Ulrich Bauer, Jordan Matuszewski, Mikael Vejdemo-Johansson
TL;DR
The paper tackles the inefficiency of generating Vietoris-Rips filtrations by post hoc sorting of simplices, introducing cofacet-first generation methods that preserve filtration order. It develops an in-order simplex-stream framework based on lexicographic-first full-diameter facets and employs sorted neighborhood lists to generate coboundaries directly in filtration order, while also leveraging apparent pairs to reduce work. Key contributions include three-case cofacet generation rules, a memory-efficient stack of enumerators for streaming simplices, and a coboundary generator that highlights apparent pairs early. The approach yields practical benefits for scalable persistent (co)homology computations and integrates with existing tools like Ripser, suggesting avenues for generalization to other filtered graphs and interleaved coboundary reduction.
Abstract
Cofaces -- simplices that contain a given simplex -- have multiple important uses in generating and using a Vietoris-Rips filtration: both in creating the coboundary matrix for computing persistent cohomology, and for generating the ordered sequence of simplices in the first place. Traditionally, most methods have generated simplices first, and then sorted them in filtration order after the generation step. In this paper, we propose fast algorithms for generating the sequence of simplices by generating cofaces of a given simplex with the same diameter, which by construction produces simplices in filtration order, and for generating additional cofaces in filtration order using sorted neighborhood lists in order to generate coboundaries directly in filtration order.
