Decomposing Multiparameter Persistence Modules

Tamal K. Dey, Jan Jendrysiak, Michael Kerber

TL;DR

The paper introduces AIDA, the first practical algorithm and software library capable of decomposing large multiparameter persistence modules into their indecomposable components. By extending previous matrix-reduction techniques to handle complex, non-distinctly graded data, the authors achieve massive speedups—reducing computation times from hours to seconds—and provide an $O(n^3)$ solution for the common case of interval-decomposable modules.

What Problem Does This Paper Address?

In Topological Data Analysis (TDA), we use "persistence modules" to track how the shape of data evolves across different scales. For a single parameter (like distance), this is easy: we get a "barcode" that tells us which features are real and which are noise. However, real-world data often depends on multiple parameters (e.g., density and distance).

Multiparameter Persistence Modules (MPMs) are notoriously difficult to work with because their building blocks (indecomposable summands) can be "wildly" complex. Previous state-of-the-art algorithms only worked under the strict assumption that every generator and relation in the module had a unique "degree" (distinctly graded). In practice, data is messy, and multiple relations often occur at the same scale. This paper bridges that gap, providing a way to decompose any finitely presented MPM regardless of its grading.

Methods

The authors build upon the Dey-Xin algorithm, a matrix reduction technique, and introduce several key innovations:

  1. Generalization to Non-Distinct Grading: While previous methods struggled when multiple columns (relations) shared the same degree, AIDA uses a brute-force iteration over basis changes that is fixed-parameter tractable (FPT). This means the complexity is manageable as long as the number of relations at a single degree ($k_{max}$) remains small.
  2. Column-Sweeps: A pre-processing step that uses standard column operations to zero out entries before more expensive row operations are needed.
  3. Hom-Variant of BlockReduce: The authors observed that row operations in the presentation matrix actually correspond to homomorphisms between summands. By pre-calculating these "Hom-spaces," they avoid redundant calculations during the recursive decomposition process.
  4. Automorphism-Invariant Digraphs: They represent the relationships between summands as a directed graph. If this graph is acyclic, they can decompose the module without expensive iterations, leading to significant performance gains.
  5. Interval-Decomposability Decision: For modules that decompose into simple "intervals," they provide a specialized $O(n^3)$ algorithm that can also verify if a module is interval-decomposable in the first place.

Datasets

The authors evaluated AIDA on a benchmark set of approximately 1,300 minimal presentation files, including:

  • Real-world TDA data: Chain complexes from function-Rips, lower-star bifiltrations, and multi-covers.
  • Geometric data: Function-alpha bifiltrations of point clouds (e.g., a torus) using Kernel Density Estimation (KDE).
  • Synthetic benchmarks: Randomly generated modules inspired by the Erdös-Renyi graph model and specifically constructed interval-decomposable modules to test the $O(n^3)$ optimization.

Key Insights and Ideas

  • The "Hom" Connection: The most profound insight is that the algebraic "row operations" used to simplify a matrix are equivalent to finding maps (homomorphisms) between the underlying mathematical structures. By treating the problem as one of finding these maps, the authors could use tools from representation theory to optimize the search.
  • Localisation: Instead of looking at the whole matrix at once, the algorithm "localizes" its focus to specific degrees. This allows it to ignore parts of the module that cannot mathematically interact with the current step.
  • Rigidity of U-invariant Subspaces: The authors developed a new theory of "parameter restriction" to prove that their local basis changes wouldn't "break" the global decomposition already achieved in previous steps.

Key Results

  • Massive Speedups: In tests on "off-datasets" (3D meshes), the "vanilla" algorithm took over 3,600 seconds (and often timed out), while the optimized AIDA (with +sweep and +homset) finished in just 0.4 seconds.
  • Scalability: AIDA successfully decomposed presentations with hundreds of thousands of generators and relations in under 20 seconds.
  • Efficiency: The algorithm scales roughly linearly or quadratically in practice, far outperforming the theoretical worst-case bounds.
  • Software Availability: The authors released AIDA as a header-only C++ library, making it the first accessible tool for researchers to decompose large-scale multiparameter data.

Limitations and Future Work

  • Worst-Case Complexity: While $k_{max}$ is usually small in practice, the algorithm's complexity still grows exponentially with the number of relations at a single degree.
  • Implementation Status: The "full" version of the automorphism-invariant algorithm was only partially implemented at the time of publication; the authors noted that the exhaustive version was sufficient for their current benchmarks but may need completion for even more complex "wild" cases.
  • Future Directions: The authors suggest that faster computation of $Hom(X, Y)$ spaces could lead to even more speedups and that their strategy could be adapted to other mathematical structures like acyclic quivers.

Summary updated

Abstract

Dey and Xin (J.Appl.Comput.Top., 2022) describe an algorithm to decompose finitely presented multiparameter persistence modules using a matrix reduction algorithm. Their algorithm only works for modules whose generators and relations are distinctly graded. We extend their approach to work on all finitely presented modules and introduce several improvements that lead to significant speed-ups in practice. Our algorithm is fixed-parameter tractable with respect to the maximal number of relations of the same degree and with further optimisation we obtain an O(n³) time algorithm for interval-decomposable modules. In particular, we can decide interval-decomposability in this time. As a by-product to the proofs of correctness we develop a theory of parameter restriction for persistence modules. Our algorithm is implemented as a software library aida, the first to enable the decomposition of large inputs. We show its capabilities via extensive experimental evaluation.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
fun-alpha (kde)AIDA (vanilla; no modifications enabled)Running time118 sExhaustive algorithm; 10,000 generators and 14,014 relations; experiments run on the wo…
Source quote
L2329: fun-alpha (kde) │ 10000 │ 14014 │ 118 │ 0.39 │ 0.42
fun-alpha (kde)AIDA (+sweep; column sweep enabled)Running time.39 sExhaustive algorithm; column sweep enabled; 10,000 generators and 14,014 relations; exp…
Source quote
L2329: fun-alpha (kde) │ 10000 │ 14014 │ 118 │ 0.39 │ 0.42
Multi-cover bifiltration of a random point sampleAIDA (exhaustive algorithm)time17.6 sHomology dimension 2; 154,400 generators and 308,800 relations; k=4; time and memory av…
Source quote
L2381: 154400 │ 308800 │ 17.6 │ 447 MB │ 74462 │ 148924 │ 1.95 │ 218 MB
Multi-cover bifiltration of a random point sampleAIDA (exhaustive algorithm)time1.95 sHomology dimension 1; 74,462 generators and 148,924 relations; k=6; time and memory ave…
Source quote
L2381: 154400 │ 308800 │ 17.6 │ 447 MB │ 74462 │ 148924 │ 1.95 │ 218 MB
BibTeX
@inproceedings{dey2025decomposing,
  author = {Tamal K. Dey and Jan Jendrysiak and Michael Kerber},
  title = {{Decomposing Multiparameter Persistence Modules}},
  booktitle = {SoCG},
  year = {2025},
  doi = {10.4230/lipics.socg.2025.41},
}

Loading related content...

Figure