{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/recursive-computation-of-path-homology-for","title":"Recursive Computation of Path Homology for Stratified Digraphs","arxiv_id":"2412.05684","date":"2024-12-07","proceeding":null,"authors":["Zhengtong Zhu","Zhiyi Chi"],"abstract":"Stratified digraphs are popular models for feedforward neural networks. However, computation of their path homologies has been limited to low dimensional ones 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 the maximal path homology of acyclic digraphs, i.e., path homology with dimension equal to the maximum path length of a graph. Numerical exper- iments show that the algorithm has a significant advantage over the general algorithm in computation time as the depth of stratified digraph increases.","url_abs":"https://arxiv.org/abs/2412.05684v2","url_pdf":"https://arxiv.org/pdf/2412.05684v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"recursive-computation-of-path-homology-for","repo_url":"https://github.com/zhengtongzhu/DAG_MaxPathHomology","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}