English

Recursive Computation of Path Homology for Stratified Digraphs

Computational Geometry 2024-12-12 v2

Abstract

Stratified digraphs are popular models for feedforward neural networks. However, computation of their path homologies has been limited to low dimensions due to high computational complexity. A recursive algorithm is proposed to compute certain high-dimensional (reduced) path homologies of stratified digraphs. By recursion on matrix representations of homologies of subgraphs, the algorithm efficiently computes the full-depth path homology of a stratified digraph, i.e. homology with dimension equal to the depth of the graph. The algorithm can be used to compute full-depth persistent homologies and for acyclic digraphs, the maximal path homology, i.e., path homology with dimension equal to the maximum path length of a graph. Numerical experiments show that the algorithm has a significant advantage over the general algorithm in computation time as the depth of stratified digraph increases.

Keywords

Cite

@article{arxiv.2412.05684,
  title  = {Recursive Computation of Path Homology for Stratified Digraphs},
  author = {Zhengtong Zhu and Zhiyi Chi},
  journal= {arXiv preprint arXiv:2412.05684},
  year   = {2024}
}
R2 v1 2026-06-28T20:26:37.787Z