Persistent and Zigzag Homology: A Matrix Factorization Viewpoint

Gunnar E. Carlsson, Anjan Dwaraknath, Bradley J. NelsonarXiv 2019

Introduction

In the field of Topological Data Analysis (TDA), researchers utilize persistent homology to characterize the evolution of topological features—such as holes and voids—across varying scales of data. While standard persistent homology tracks features through a sequence of inclusions, zigzag homology offers a more flexible framework, allowing for both the addition and removal of data points. Despite their utility, computing these features has traditionally been a bottleneck. Conventional methods operate at the "chain level," manipulating massive, sparse matrices that describe connections between individual simplices. These approaches are often computationally expensive, difficult to parallelize, and typically restricted to simple inclusion maps.

This paper introduces a novel framework that treats persistent and zigzag homology as problems of finding canonical forms for type A quiver representations. By shifting the perspective from chain complexes to matrix factorizations, the authors provide a unified, highly parallelizable approach that achieves significant performance gains over existing state-of-the-art software.

Methodology

The core innovation of this work is the representation of a sequence of topological spaces and their associated maps as a single "companion matrix." This allows the authors to bridge the gap between abstract category theory and high-performance computing through several key technical contributions:

1. Induced Map Computation

The authors developed a systematic algorithm to compute linear maps between homology groups for arbitrary cellular maps. Unlike traditional methods that are often limited to inclusions, this framework handles general maps, enabling the analysis of more complex topological transformations.

2. Specialized Matrix Factorizations

To extract topological features, the paper introduces the LEUP (Lower-Echelon-Upper-Permutation) and LQU factorizations. These are variants of the standard LU decomposition specifically tailored to preserve the "echelon" structure required to identify the birth and death of topological features (the barcode).

3. Divide-and-Conquer Parallelization

Unlike sequential algorithms that process data points one by one, this framework allows a sequence of spaces to be partitioned into independent chunks. These chunks are processed in parallel, and their results are merged using specific "matrix passing" rules. This decoupling of local homology calculations from global barcode extraction makes the process "embarrassingly parallel."

4. The BATS Software

These methods are implemented in the Basic Applied Topology Subprograms (BATS), a C++ library utilizing OpenMP for multi-threading. BATS is designed to provide a high-performance foundation for TDA research.

Experimental Evaluation

The authors evaluated the framework using several synthetic benchmarks, including points sampled from a Noisy Circle, high-dimensional data in a Unit Cube, and the Sierpinski Triangle (to test non-simplicial cell maps).

Key Results

  • Performance: In tests on noisy circle data, BATS achieved up to a 1000x speedup over the Dionysus2 library.
  • Scalability: The divide-and-conquer approach demonstrated clear scalability; as the number of CPU threads increased, the computational time decreased significantly for large-scale problems.
  • Efficiency: For specific constructions like the Morozov zigzag, BATS outperformed Ripser, which is widely regarded as the gold standard for persistent homology performance.

Insights and Discussion

The primary insight of this research is that abstraction can serve as a form of data compression. By first computing induced maps on homology and then computing the barcode, the algorithm operates on much smaller matrices than chain-level methods. Furthermore, the paper demonstrates that persistent and zigzag homology, often treated as distinct algorithmic challenges, are essentially identical when viewed through the lens of matrix factorization.

Limitations and Future Work

While highly efficient for large-scale changes, the authors note that the current method may perform redundant work if a zigzag sequence only changes by a few simplices at each step. Future work includes extending the library to distributed systems (using MPI) and exploring "Type D" or "Type E" quivers to address multi-parameter persistence, which remains a significant challenge in the field.

Summary updated

BibTeX
@misc{carlsson2019persistent,
  author = {Gunnar E. Carlsson and Anjan Dwaraknath and Bradley J. Nelson},
  title = {{Persistent and Zigzag Homology: A Matrix Factorization Viewpoint}},
  year = {2019},
  eprint = {1911.10693},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.10693},
}
Figure