Discrete Morse Theory and Persistence
Published:
Discrete Morse Functions
Let \(K\) be a simplicial complex. A discrete Morse function \(f: K \to \mathbb{R}\) assigns values to simplices such that for each \(p\)-simplex \(\sigma^{(p)}\):
- At most one coface \(\tau^{(p+1)} \supset \sigma\) satisfies \(f(\tau) \leq f(\sigma)\).
- At most one face \(\nu^{(p-1)} \subset \sigma\) satisfies \(f(\nu) \geq f(\sigma)\).
A simplex is critical if neither of the above exceptions holds: no coface has a smaller value, and no face has a larger value.
Gradient Vector Fields
Equivalently, one works with discrete gradient vector fields \(V\) on \(K\): a collection of pairs \((\sigma^{(p)}, \tau^{(p+1)})\) where \(\sigma\) is a face of \(\tau\), such that each simplex appears in at most one pair. Simplices not in any pair are critical.
A gradient pair \((\sigma, \tau)\) represents a “collapse”: \(\tau\) can be deformed onto its remaining faces, with \(\sigma\) and \(\tau\) cancelling each other topologically.
Forman’s Theorem: A simplicial complex \(K\) with a gradient vector field \(V\) is homotopy equivalent to a CW complex with exactly one cell of dimension \(p\) for each critical \(p\)-simplex of \(V\).
The Morse Complex
Given gradient vector field \(V\), the Morse complex \(M(V)\) has:
- One generator per critical simplex.
- Boundary maps defined by counting gradient paths between critical simplices.
where the coefficient \(\langle \sigma, \tau \rangle\) counts the (algebraic) number of gradient paths from the critical \(p\)-simplex \(\sigma\) to the critical \((p-1)\)-simplex \(\tau\).
Application to Persistence
For persistence computation, one builds a discrete Morse function compatible with the filtration order:
- Process simplices in filtration order \(\sigma_1, \ldots, \sigma_n\).
- Greedily pair each simplex with a free face if possible (producing a gradient pair).
- Unpaired simplices become critical — these are exactly the “positive” and “negative” simplices of the persistence algorithm.
The result: the boundary matrix of the Morse complex is already partially reduced, and can be much smaller than the original boundary matrix.
Complexity benefit: If the Morse complex has \(m\) critical simplices (with \(m \ll n\)), persistence computation runs in \(O(m^3)\) instead of \(O(n^3)\) — a dramatic speedup on “nice” inputs.
References
- R. Forman, “A User’s Guide to Discrete Morse Theory,” Séminaire Lotharingien de Combinatoire, 2002.
- V. Nanda, “Discrete Morse Theory and Localization,” J. Pure and Applied Algebra, 2019. Perseus software
- H. Edelsbrunner & J. Harer, Computational Topology, Chapter VII.
