English

Fast Algorithms for Minimum Homology Basis

Computational Geometry 2025-07-15 v2 Data Structures and Algorithms

Abstract

We study the problem of finding a minimum homology basis, that is, a lightest set of cycles that generates the 11-dimensional homology classes with Z2\mathbb{Z}_2 coefficients in a given simplicial complex KK. This problem has been extensively studied in the last few years. For general complexes, the current best deterministic algorithm, by Dey et al., runs in O(Nmω1+nmg)O(N m^{\omega-1} + n m g) time, where NN denotes the total number of simplices in KK, mm denotes the number of edges in KK, nn denotes the number of vertices in KK, gg denotes the rank of the 11-homology group of KK, and ω\omega denotes the exponent of matrix multiplication. In this paper, we present three conceptually simple randomized algorithms that compute a minimum homology basis of a general simplicial complex KK. The first algorithm runs in O~(mω)\tilde{O}(m^\omega) time, the second algorithm runs in O(Nmω1)O(N m^{\omega-1}) time and the third algorithm runs in O~(N2g+Nmg2+mg3)\tilde{O}(N^2 g + N m g{^2} + m g{^3}) time which is nearly quadratic time when g=O(1)g=O(1). We also study the problem of finding a minimum cycle basis in an undirected graph GG with nn vertices and mm edges. The best known algorithm for this problem runs in O(mω)O(m^\omega) time. Our algorithm, which has a simpler high-level description, but is slightly more expensive, runs in O~(mω)\tilde{O}(m^\omega) time. We also provide a practical implementation of computing the minimum homology basis for general weighted complexes. The implementation is broadly based on the algorithmic ideas described in this paper, differing in its use of practical subroutines. Of these subroutines, the more costly step makes use of a parallel implementation, thus potentially addressing the issue of scale. We compare results against the currently known state of the art implementation (ShortLoop).

Keywords

Cite

@article{arxiv.2109.04567,
  title  = {Fast Algorithms for Minimum Homology Basis},
  author = {Amritendu Dhar and Vijay Natarajan and Abhishek Rathod},
  journal= {arXiv preprint arXiv:2109.04567},
  year   = {2025}
}

Comments

Full version of the conference paper published in 36th International Symposium on Computational Geometry (SoCG 2020) 64:1--64:11

R2 v1 2026-06-24T05:50:36.318Z