Tracking the Persistence of Harmonic Chains: Barcode and Stability
Abstract
The persistence barcode is a topological descriptor of data that plays a fundamental role in topological data analysis. Given a filtration of data, the persistence barcode tracks the evolution of its homology groups. In this paper, we introduce a new type of barcode, called the harmonic chain barcode, which tracks the evolution of harmonic chains. In addition, we show that the harmonic chain barcode is stable. Given a filtration of a simplicial complex of size , we present an algorithm to compute its harmonic chain barcode in time. Consequently, the harmonic chain barcode can enrich the family of topological descriptors in applications where a persistence barcode is applicable, such as feature vectorization and machine learning.
Keywords and phrases:
Persistent homology, harmonic chains, topological data analysisFunding:
Tao Hou: Supported by NSF CCF 2439255.Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms ; Mathematics of computing TopologyEditors:
Oswin Aichholzer and Haitao WangSeries and Publisher:

1 Introduction
There are two primary tasks in topological data analysis (TDA) [27, 30, 53]: reconstruction and inference. In a typical TDA pipeline, the data is given as a point cloud in . A “geometric shape” in is reconstructed from the point cloud, usually as a simplicial complex, and is taken to represent the (unknown) space from which the data is sampled. is then studied using as a surrogate for properties that are invariant under invertible mappings (technically, homeomorphisms). The deduced “topological shape” is not specific to the complex or the space , but is a feature of the homeomorphism type of or . For example, a standard round circle has the same topological shape as any closed loop such as a knot in the Euclidean space. Although topological properties of alone are not sufficient to reconstruct exactly, they are among a few global features of that can be inferred from the data sampled from .
An (ordinary) persistence barcode [10, 31] (or equivalently, a persistence diagram [14, 19, 29]) captures the evolution of homological features in a filtration constructed from a simplicial complex . It consists of a multi-set of intervals in the extended real line, where the start and end points of an interval (i.e., a bar) are the birth and death times of a homological feature in the filtration. Equivalently, a persistence diagram is a multi-set of points in the extended plane, where a point in the persistence diagram encodes the birth and death time of a homological feature.
A main drawback of ordinary persistent homology is that it does not provide canonical choices of geometric representatives for each bar in the barcode. Specifically, there are two levels of choices in assigning representatives for bars in a persistence barcode: first, we choose a basis for persistent homology in a consistent way across the filtration; second, we choose a cycle representative inside each homology class in the basis. Both levels of choices involve choosing among significantly distinct geometric features of data to represent the same bar in the barcode. Since such choices are not canonical, it can be challenging to interpret their underlying geometric meaning. In addition, while existing works [7, 25, 51] compute optimal representatives for ordinary persistence, the optimality would rely on a choice of weights for the simplices and on the optimality criterion, leading to different shapes. Moreover, computing the optimal representatives is NP-hard in many interesting situations [17, 11, 12, 5, 32, 25].
As our first contribution, we introduce a new type of barcode called harmonic chain barcode. This barcode is obtained by tracking the birth and death of harmonic chains in an increasing filtration. Since there is always a unique harmonic chain in a homology class, the harmonic representatives in our harmonic chain barcode immediately remove the second level of choices in a natural way. The main idea is to take the harmonic chain groups along an increasing filtration, and to observe that the groups grow or shrink due to the birth and death of harmonic chains, resulting in a zigzag module with inclusion maps. Like any zigzag module [8], the module of harmonic chain groups decomposes into interval modules, which then form the harmonic chain barcode. Moreover, since the maps in this zigzag module are essentially inclusions, each representative for a bar in our harmonic chain barcode consists of a single harmonic chain which is alive over the entire bar. We emphasize that our harmonic chain barcode is distinct from the ordinary persistence barcode; see for example Figs. 1 and 2.
The ordinary persistence barcode is shown to be stable [19], which is crucial for applications. The stability means that small changes in the data imply only small changes in the barcode. For our second contribution, we show that our harmonic chain barcode is also stable in the same sense as the stability of persistence barcode [19].
Finally, we present an algorithm for computing the harmonic chain barcode in time for a filtration of size , matching the complexity of practical algorithms for ordinary persistence.
The interpretation of homological features is crucial for applications such as extracting hierarchical structures of amorphous solids [36] and quantifying the growing branching architectures of plants [42]. Such an interpretation is closely related to the existence of canonical chain representatives for a barcode. In our harmonic chain barcode, using orthogonality, each bar enjoys a canonical choice of representative (within a homology class) which lives exactly at the time-interval of the bar. This arguably promises a more interpretable data feature. Therefore, we expect our harmonic chain barcodes to enrich the family of topological descriptors in applications where ordinary persistence barcodes are used, such as feature vectorization and machine learning. Note that just from the fact that our barcode is different from the ordinary persistence one cannot argue in favor or against our suggested barcode. Such a comparison is only meaningful in a specific domain of application and when performed using experimental evaluations. We refer to [35] for an interesting pipeline of data analysis using extra properties of harmonic chains. [35] also contains a method of propagating the information from harmonic chains back to the original data points, which we find also relevant to our harmonic representatives.
2 Related work
Harmonic chains were first studied in the context of functions on graphs, where they were identified as the kernel of the Laplacian operator on graphs [40]. The graph Laplacian and its kernel are important tools in studying graph properties, see [48, 50] for surveys. Eckmann [28] introduced the higher-order Laplacian for simplicial complexes, and proved the isomorphism of harmonic chains and homology. The work [33] studied the stability of higher-order Laplacians. Horak and Jost [37] defined a weighted Laplacian for simplicial complexes. Already their theoretical results on Laplacian [37] anticipated the possibility of applications, as the harmonic chains are thought to contain important geometric information. They are eigenvectors of the 0 eigenvalue of the Laplace operator on simplicial complexes and the spectrum of the Laplace operator has significant geometric information, see e.g. [38]. This has been validated by recent results that use curves of eigenvalues of Laplacians in a filtration in data analysis [18, 52]. The Laplacian was applied to improve the mapper algorithm [49], and for coarsening triangular meshes [39]. The persistent Laplacian [47] and its stability [44] is an active research area. Due to the close relation of harmonic chains and Laplacians, harmonic chains could find applications in areas that Laplacians have been used. Computing reasonable representative cycles for persistent homology is also an active area of research. Here, usually an optimality criterion is imposed on cycles in a homology class to obtain a unique representative. For a single homology class, a number of works [16, 23, 25, 51, 7, 13, 17, 23, 41] consider different criteria for optimality of cycles. Hardness of computing optimal representatives has been studied by [17, 11, 12, 13, 5, 32, 25]. For persistent homology, the authors of [25] studied the hardness of choosing optimal cycles for persistence bars. Furthermore, the study in [20] uses harmonic cycles in a persistent homology setting to compute the persistence barcode. Lieutier [43] studied the harmonic chains in persistent homology classes, called persistent harmonic forms.
Relation to the work of Basu and Cox.
The most relevant work to ours is the inspiring work of Basu and Cox [2]. Basu and Cox had a similar goal as ours, namely, to associate geometric information to each bar in order to obtain a more interpretable data feature. To that end, they introduced the notion of harmonic persistent barcode, by associating a subspace of harmonic chains to each bar in the ordinary persistence barcode. When the multiplicity of the bar is 1, the subspace is 1-dimensional. This is the space of harmonic chains that are born at and die entering . In general, this is a quotient subspace of harmonic chains at time . Using orthogonality, they can represent this subquotient as a subspace of the harmonic cycles at time . As a result, they successfully assign a canonical harmonic cycle to a bar in the ordinary persistence diagram. We note that, in general, a bar in the persistence barcode cannot be represented using a single harmonic chain that remains harmonic during the lifetime of the bar. The harmonic cycle associated to a bar using the Basu-Cox approach is the initial harmonic representative of the bar, that is, the harmonic cycle that represents the bar at its birth. Basu and Cox also used the terminal harmonic cycle in some of their arguments, thus showing that the choice is not entirely canonical. However, Basu and Cox proved significant properties of the initial cycles in terms of what they call relative essential content. The novelty of our result is that, in contrast to [2], we define a new barcode distinct from the ordinary persistence barcode, in which each bar has a harmonic cycle associated with it that is harmonic during the lifetime of the bar. Basu and Cox also proved stability for their harmonic persistent barcode, by considering subspaces as points of a Grassmannian manifold and measuring distances in the Grassmannian. Such a distance quantifies the angles between subspaces, whereas our notions of stability are stronger in the sense that they use the classical bottleneck distance analogous to the ordinary persistence homology. The authors of [34] studied a method that permits the construction of stable persistence diagrams that are equipped with a canonical choice of representative cycles for filtrations over arbitrary finite posets. If the underlying poset is a finite subset of the real line, using persistent Laplacians, they obtained harmonic cycles connected (through a certain isomorphism) to those identified by Basu and Cox.
3 Background
In this section, we review the notion of harmonic chains and persistent homology. Homology and cohomology are defined with real coefficients (instead of ). Let be a simplicial complex and the homology dimension (or equivalently, homology degree). , , and denote the -th chain group, cycle group, and homology group of , whereas , , and denote the -th cochain group, cocycle group, and cohomology group of , respectively. Groups across all dimensions are denoted as , , etc. We use and to denote boundary and coboundary operators, respectively.
3.1 Harmonic cycles
Based on the standard notions of homology and cohomology with coefficients, we identify chains and cochains via duality, i.e., , where is the number of -simplices. Therefore, we can talk about coboundaries of cycles in . We first introduce the notion of harmonic chains.
Definition 1.
The -th harmonic chain group of , denoted , is the group of -cycles that are also -cocylces. Equivalently, . Each element in is called a harmonic -chain. The harmonic chain group in all dimensions is the group .
We sometimes use harmonic cycles in place of harmonic chains to emphasize the fact that harmonic chains are cycles.
Lemma 2 ([28]).
is isomorphic to and . Specifically, each homology and cohomology class has a unique harmonic cycle in it.
Harmonic cycles enjoy certain geometric properties. As an example, we mention the following Proposition 3; see [21, Proposition 3] for a proof. In other words, a harmonic cycle is the chain with the least squared-norm in a cohomology class.
Proposition 3 ([21]).
Let be a cochain. There is a unique solution to the least-squares minimization problem Moreover, is characterized by the relation .
There is an alternative definition of harmonic cycles. Consider the natural inner product on given by . The harmonic chain group can be defined as . With this definition, the isomorphism of Lemma 2 is realized by a map that sends to its projection to . In addition, the harmonic cycles satisfy For a short proof of the equivalence among the definitions of harmonic cycles above, see [2]. Importantly, our algorithm relies on the fact that harmonic cycles are cocycles whose boundaries are zero.
3.2 Ordinary persistence
Ordinary persistent homology takes a filtration of a simplicial complex as input. A continuous filtration assigns to each a subcomplex such that for . Since is finite, there are finitely many where changes. We then abuse the notations slightly by letting and have a discrete form of ,
(1) |
where each is an inclusion. Unless stated otherwise, we assume that is simplex-wise, i.e., each two and differ by at most a single simplex. For simplicity of the exposition, complexes in sometimes are subscripted by real-valued “timestamps” of the form (e.g., in Sec. 6) or subscripted by integers of the form (e.g., in Sec. 5), which should not cause any confusions. Applying homology functor to Eq. 1, we obtain a sequence of homology groups and connecting linear maps (homomorphisms), forming a persistence module:
(2) |
For , let denote the map induced on the -th homology by inclusion. The image of the map, , is called the -th -persistent homology group, denoted . The group consists of homology classes which exist in and survive until . The dimensions of these vector spaces are the persistent Betti numbers, denoted . An interval module, denoted , is a persistence module of the form
In the above, is generated by a homology class and the connecting homomorphisms map generator to generator. We have for and for other . Any persistence module can be decomposed into a collection of interval modules in a unique way [45]. The collection of for all interval modules is called the persistence barcode. When plotted as points in an extended plane, the result is the equivalent persistence diagram.
Stability of persistence diagram/barcode.
The stability of persistence diagrams (or barcodes) is a crucial property for applications. It says that small changes in data lead to small changes in the persistence diagrams. We only review the stability for sublevel-set filtrations here. Let and denote two persistence diagrams. Recall that a persistence diagram is a multi-set of points in the extended plane (each of which is a birth-death pair) which also contains all points on the diagonal. The bottleneck distance of is defined as
where ranges over all bijections between and and is the largest absolute value of differences of the points’ coordinates.
A function is called simplex-wise linear if it is linear on each simplex. Let be the sublevel set complex at value The complexes and the inclusions between them form a sublevel set filtration (which is not necessarily simplex-wise). We denote the persistence diagram of as . We refer to [19, 14] for proof of the following Theorem 4. See [19, 14] for the stability of ordinary persistence.
Theorem 4.
Let be simplex-wise linear functions. Then
3.3 Zigzag persistence
We provide a brief overview of zigzag persistence; see [8, 9] for details. A zigzag module
is a sequence of vector spaces connected by linear maps that could be forward or backward, i.e., each could be or . The module decomposes into a direct sum of interval modules of the form
with 1-dimensional vector spaces in the range . The multi-set of intervals in the decomposition defines the barcode of , denoted as .
Conventions.
In this paper, we may omit the subscript/dimension of a homology group if there is no danger of ambiguity. Moreover, we use the terms persistence barcode and persistence diagram interchangeably.
4 Harmonic chain barcodes and representatives
As reviewed in Sec. 3.2, by directly taking the homology functor, an increasing filtration of simplicial complexes leads to an ordinary persistence module consisting of homology groups [15, 27]. These homology groups are connected by forward maps of the form . The ordinary persistence module then decomposes into interval modules, which define the ordinary persistence barcode. In this section, we show that the harmonic chain groups of all the complexes in a filtration constitute an abstract zigzag persistence module (see Sec. 3.3). The main idea is that we take the harmonic chain groups along the filtration, where the groups could grow or shrink, resulting in a zigzag module. Moreover, the maps in this zigzag module are inclusions. Like any zigzag module [8], the module of harmonic chain groups decomposes into interval modules. These intervals form the harmonic chain barcode, the main object of interest in this paper.
Throughout the section, consider a simplex-wise filtration
where each differs from by the addition of a simplex . Recall that for where is a complex from a continuous filtration indexed over ; see Sec. 3.2.
Proposition 5.
For each inclusion in :
Proof.
Definition 6.
A simplex inserted in is called positive if and negative if .
We describe how we connect the harmonic chain groups of complexes in by inclusions. For each and each chain in , we identify as a chain in , where for . This makes both and a subspace of . We then have the following inclusion:
(3) |
Recall that , which means that . Hence, we also identify each harmonic cycle in as a chain in . We then observe in Theorem 7 a similar inclusion as in Eq. 3 between any harmonic chain groups and , with a possible flip on the direction.
Theorem 7.
For each arrow in , where is a -simplex:
-
There is an inclusion if is positive;
-
And there is an inclusion if is negative.
In addition, in each case the harmonic chain groups in other dimensions remain unchanged, i.e., for any other .
Proof.
The only harmonic chain groups that might change from to are those in dimension because cycle and cocycle groups in other dimensions do not change.
First consider Case I that is positive. Let be the inclusion map. As noted above, we identify any with .
- Case I.1: .
-
Take . Obviously, is a cycle in . For any , . Since , and hence exist in , meaning that . It follows that is a cocycle in . Therefore, .
- Case I.2: .
-
Take . Since is a positive -simplex, we have and . So and we consider as a cochain in . Then, for any , , with the last equality due to . Therefore, . Take . For any , , with the last equality due to . Therefore, .
Now consider Case II that is negative.
- Case II.1: .
-
Since is negative, and . The verification for this case is then the same as the verification for Case I.2 with a shift on the homology degree.
- Case II.2: .
-
Take . We have . Therefore, and we consider as a cochain in . For any , , with the last equality due to . Therefore, .
Definition 8 (Harmonic chain barcode).
Consider the following harmonic zigzag module
(4) |
where the harmonic chain groups are connected by either forward inclusions (e.g., ) or backward inclusions (e.g., ); see Theorem 7. Define the harmonic chain barcode of as the barcode of the zigzag module , that is,
In general, the harmonic chain barcode is different from the ordinary persistence barcode for a filtration; see Fig. 2. In this paper, we also consider the zigzag module derived by taking on each in . While the -th harmonic chain groups in are still connected by forward or backward inclusions, we may have for two consecutive groups in . We therefore define the -th harmonic chain barcode of as the barcode of , i.e., . Since (following from Theorem 7), we have .
Harmonic representatives.
In the rest of the section, we define harmonic representatives.
Proposition 9.
Let be an interval in . The inclusion in is forward. Moreover, if , then the inclusion is backward.
Proof.
This follows from Theorem 7 and the fact that and .
Representatives for general zigzag modules were introduced in [4, 46] (see also [26]), which consist of a sequence of cycles for each interval. However, since the harmonic chain groups are connected by inclusion maps in , we have:
Proposition 10.
Each representative for an interval in contains a single harmonic cycle.
We then adapt the definition of representatives for general zigzag modules [26, 46] and define harmonic representatives as follows:
Definition 11 (Harmonic representative).
A harmonic -representative (or simply -representative) for an interval is a -cycle for satisfying:
- Birth condition:
-
is born in , i.e., (notice that );
- Death condition:
-
dies leaving , i.e., if .
Sometimes we relax the restriction of and have a harmonic representative for an arbitrary integer interval . For details of the original definition of zigzag representatives and justification of Proposition 10 and Definition 11, see the full version of the paper.
5 A cubic-time algorithm for computing harmonic chain barcode
In this section, we propose an algorithm for computing the harmonic chain barcode and its harmonic representatives given a filtration containing insertions. We first overview the algorithm and then describe the implementation. Although there have been algorithms [9, 22, 26, 46] for computing zigzag barcodes in the general case, these algorithms target zigzag modules induced from directly taking the homology functor on zigzag filtrations. Our algorithm targets the special type of zigzag module , where harmonic chain groups are derived from an ordinary non-zigzag filtration and are connected by inclusions (on the chain level).
For simplicity, when describing the algorithm, complexes in a filtration are always indexed by integers instead of the real-valued timestamps (see Sec. 3.2). Again, we assume that the input is a simplex-wise filtration where each differs from by the addition of a simplex .
Algorithm 1 provides an overview: our algorithm computes the harmonic chain barcode by iteratively maintaining the harmonic representatives. It processes the insertions in one by one and finds pairings of the birth indices (starting points of the intervals) and death indices (ending points of the intervals) to form intervals in . When we encounter a new birth index, it is initially unpaired; when we encounter a new death index, an unpaired birth index is chosen to pair with the death index.
The following definition helps present the algorithm.
Definition 12.
For an interval , a partial -representative for is a -representative as in Definition 11 by ignoring the death condition.
Let be the set of unpaired birth indices for each homology degree , where initially. Before each iteration that processes the insertion , we maintain a -cycle for each that is a partial representative for the interval . We use partial representatives to determine a finalized representative when a birth index is paired with a death index (by making sure the death condition is satisfied).
When processing the insertion of a -simplex via , we proceed as follows:
- If is positive:
-
-
Since (by Theorem 7), we add a new birth index to .
-
Find a harmonic -cycle , and let be the partial representative for .
- If is negative:
-
-
Since , we have a new death index .
-
Let , where each has a partial -representative .
-
Let , i.e., contains all birth indices in whose partial representatives do not persist to .
-
Pair the smallest (i.e., the “oldest”) index with which forms a new interval . Assign as the representative for and remove from .
-
Consider each . We have that because becomes non-zero in ( is always zero after being born). Also, the only reason that in is because . Let . Update the partial representative for as so that now persists to .
After processing all the insertions, for each in each with a partial representative , let form an interval in with a representative .
Example.
Fig. 1 provides an example of how Algorithm 1 computes harmonic chain barcode and representatives for a filtration , with the resulting barcode in Fig. 2. For simplicity, are omitted and vertex insertions are ignored. In , , and , new 1-cycles are born that are also harmonic cycles due to a lack of triangles. The partial representatives , , for the indices all persist till . When the triangle is inserted in (producing a death index ), , , and . We pair with and have with a representative . We also let and , which now both persist to . The remaining steps are similar. Notice that when is inserted, the “alive” bar represented by the boundary of (i.e., ) is not killed. This is a significant difference from ordinary persistence (which will kill the alive bar represented by when is inserted).
Remark 13.
Algorithm 1 chooses the “oldest” birth, among the options, to pair with a death while the ordinary persistence chooses the “youngest” one [29]. A brief explanation is that a summation of representatives persists to the next harmonic chain group in , whereas a summation of representatives in the ordinary persistence becomes trivial in the next homology group (and cannot persist). We refer to [26, 46] for a formal definition of the different types of birth/death ends and how they impact the computation of persistence.
The following (rephrased) proposition from [24] helps prove the correctness of Algorithm 1:
Proposition 14 (Proposition 9, [24]).
If a pairing of the birth and death indices in satisfies that each interval from has a harmonic representative, then induces the harmonic chain barcode .
Theorem 15.
Algorithm 1 correctly computes the harmonic chain barcode for filtration .
Proof.
We first show by induction that before Algorithm 1 processes each , the -cycle maintained for any is a partial -representative for . Suppose that the claim is true before processing . If is positive, index is added to and we assign to , which is clearly a partial representative for . For an index previously in having a partial representative , since (Theorem 7), we have that is still a partial representative for the interval .
In the case that is negative, whenever we update a representative as , we have that and hence the updated remains born in . Therefore, the new is still a partial representative for , which is also a partial representative for because now .
By Proposition 14, we only need to show that each interval output by the algorithm admits a harmonic representative. This follows from the algorithm. For example, whenever we output an interval when is negative, we have , which ensures the death condition.
Implementation.
Due to space limitations, we only briefly describe the gist of the implementation; refer to the full version of the paper for details and missing proofs. The only step in Algorithm 1 that cannot be easily implemented is finding a new harmonic cycle born in when is positive. In this case, the dimension of the harmonic chain group increases and we need to find a single harmonic cycle independent of the previous harmonic group. We can do this naively by computing a basis for the kernel of in , and check all cocycles in the basis to see if they are independent of the existing set of harmonic representatives maintained for . This, however, requires at least per simplex insertion.
For a more efficient implementation, before iteration that processes the insertion , we maintain the following matrices for each homology degree :
-
1.
: Columns in are partial -representatives for all indices in .
-
2.
: Columns in form a boundary basis with distinct pivots for .
-
3.
: Columns in form a coboundary basis for .
-
4.
: Columns in encode “-pseudo-cochains” (see full version for definition) in based on the basis provided in , whose coboundaries are columns in .
-
5.
: Columns in are boundaries of the coboundaries in , with distinct pivots.
In summary, columns in , , and have one-to-one correspondence as follows:
Assuming is a -simplex, the rationale for maintaining the matrices is as follows:
-
We use to find a linear combination of and cocycles in such that (see Algorithm 2). The cocycle is then a new harmonic -cycle when is positive (see Proposition 16).
-
helps maintain the coboundary basis in .
-
provides the boundary basis on which pseudo-cochains in can be defined (again, refer to the full version for details of pseudo-cochains).
Proposition 16.
If Algorithm 2 ends with , then is positive and is a new harmonic -cycle born in ; otherwise, is negative.
Besides finding a new harmonic cycle when is positive, our algorithm also needs to do the following: (1) update (and also ) because columns of may not be coboundaries anymore as we proceed; (2) update (and also , ) to make pivots in distinct again; (3) add a new coboundary to (and new columns to , ) to form a coboundary basis for when is negative. See the full version for details. We conclude the following:
Theorem 17.
The harmonic chain barcode of can be computed in time.
6 Sublevel set harmonic chain barcode and its stability
In this section, we briefly introduce the notion of sublevel set harmonic chain barcodes and present our stability results based on this notion; for details and proofs, refer to the full version of the paper. Our stability proof makes use of the work on the algebraic stability of block decomposable -modules [1, 6]. In brief, we “lift” the 1-parameter harmonic zigzag module to an -indexed 2-parameter persistence module which is block decomposable. We then show that in the typical setting of sublevel set filtrations, there exists an interleaving between the lifted modules. Our main work here is to construct a concrete extension to -modules and an interleaving between the extensions realizing the category-theoretic concepts employed in [1, 6]. From the Isometry Theorem [3, 6], we then deduce the stability of the sublevel set harmonic chain barcode. We also address the disparity between the natural harmonic chain barcode of a sublevel set filtration (which consists of closed-open intervals111The closed-open intervals over the real values we have here are different from the closed-open intervals of [1, 6] over the integers. Indeed, when considering only integer indices, we only have closed-closed intervals in our setting. The extension of our closed-open interval would be similar to a closed block of [6] but with the right vertical side open.) and common conventions of zigzag persistence (which work with closed-closed intervals in our setting).
We assume, up until now, that a filtration is simplex-wise. This assumption is not true for a sublevel set filtration, but we shall construct a simplex-wise filtration from a general filtration.
Let be an increasing filtration of that is not necessarily simplex-wise, i.e., two consecutive complexes in can differ by more than one simplex. We fix an ordering, once and for all, for vertices of , which also fixes an ordering for all simplices in (using, say, the lexicographic ordering of the ordered sequence of vertices in a simplex). Given small enough, we expand into a simplex-wise filtration by expanding each inclusion in starting with . To differentiate, denote each complex in as where is a timestamp. In each iteration, we expand the inclusion in into several simplex-wise inclusions in :
In the above, is a “dummy” complex equal to (so is an identity map) and is the number of simplices added from to in . We also have that the number of simplices are added based on their simplex ordering described above.
To see the rationale of introducing , we first define the following:
Definition 18.
Let be an increasing filtration of complex that is not necessarily simplex-wise and let be a -cycle. Let be the time when is born, i.e., , and be the time when dies as a harmonic chain, i.e., in , but in for . Define the span of as . If is not harmonic at birth, its span is the empty set (notice that a cycle continues to be non-harmonic once it becomes so). Moreover, define the bar of as .
Based on the construction, we observe a relation between the bar of in and the span of in for a cycle . Moreover, adding the dummy complexes makes sure that the closed bars of the simplex-wise filtration “induce” the closed-open time intervals in in which a cycle is harmonic (see full version for details). In particular, for any small , we obtain an obvious mapping . We then have the following Definition 19.
Definition 19.
Let be a simplex-wise filtration (as in Sec. 3.2) and let be the closed-open barcode of , i.e., iff . Moreover, let and be as defined in this section. We define the harmonic chain barcode of as the set for small enough.
Remark 20.
Note that is the limit of as approaches 0.
We now state our stability result for sublevel set filtrations. See the full version for the proof of this theorem (and additional observations).
Theorem 21.
Let be simplex-wise linear functions, and let and be the sublevel set filtrations of and respectively. Then,
Inducing the barcode from allows us to use the off-the-shelf results of [6] for proving stability and does not affect the computation of . In particular, we have the following.
Theorem 22.
Given a sublevel-set filtration of the complex with simplices, the harmonic chain barcode can be computed in time.
Proof.
The computation of is equivalent to the computation of for a single small enough, using the algorithm in Sec. 5 and mapping the resulting bars using to the filtration . This simply amounts to changing timestamps of the form into .
References
- [1] Håvard Bakke Bjerkevik. On the stability of interval decomposable persistence modules. Discrete & Computational Geometry, 66(1):92–121, 2021. doi:10.1007/S00454-021-00298-0.
- [2] Saugata Basu and Nathanael Cox. Harmonic persistent homology. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 1112–1123. IEEE, 2022.
- [3] Ulrich Bauer and Michael Lesnick. Induced matchings of barcodes and the algebraic stability of persistence. In Proceedings of the thirtieth annual symposium on Computational geometry, pages 355–364, 2014.
- [4] Paul Bendich, Herbert Edelsbrunner, Dmitriy Morozov, and Amit Patel. Homology and robustness of level and interlevel sets. Homology, homotopy, and applications, 15(1):51–72, 2013.
- [5] Glencora Borradaile, William Maxwell, and Amir Nayyeri. Minimum bounded chains and minimum homologous chains in embedded simplicial complexes. In Proceedings of the 36th International Symposium on Computational Geometry (SoCG 2020). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020.
- [6] Magnus Botnan and Michael Lesnick. Algebraic stability of zigzag persistence modules. Algebraic & geometric topology, 18(6):3133–3204, 2018.
- [7] Oleksiy Busaryev, Tamal K. Dey, and Yusu Wang. Tracking a generator by persistence. In My T. Thai and Sartaj Sahni, editors, Computing and Combinatorics, pages 278–287, 2010. doi:10.1007/978-3-642-14031-0_31.
- [8] Gunnar Carlsson and Vin de Silva. Zigzag persistence. Foundations of Computational Mathematics, 10(4):367–405, 2010. doi:10.1007/S10208-010-9066-0.
- [9] Gunnar Carlsson, Vin de Silva, and Dmitriy Morozov. Zigzag persistent homology and real-valued functions. In Proceedings of the 25th Annual Symposium on Computational Geometry, pages 247–256, 2009. doi:10.1145/1542362.1542408.
- [10] Gunnar Carlsson, Afra J. Zomorodian, Anne Collins, and Leonidas J. Guibas. Persistence barcodes for shapes. Proceedings Eurographs/ACM SIGGRAPH Symposium on Geometry Processing, pages 124–135, 2004. doi:10.2312/SGP/SGP04/127-138.
- [11] Erin W. Chambers, Jeff Erickson, Kyle Fox, and Amir Nayyeri. Minimum cuts in surface graphs. SIAM Journal on Computing, 52(1):156–195, 2023. doi:10.1137/19M1291820.
- [12] Erin W. Chambers, Jeff Erickson, and Amir Nayyeri. Minimum cuts and shortest homologous cycles. In Proceedings of the 25th International Symposium on Computational Geometry (SoCG 2009). ACM Press, 2009. doi:10.1145/1542362.1542426.
- [13] Erin Wolf Chambers, Salman Parsa, and Hannah Schreiber. On complexity of computing bottleneck and lexicographic optimal cycles in a homology class. In Proceedings of the 38th International Symposium on Computational Geometry (SoCG). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022.
- [14] Frédéric Chazal, David Cohen-Steiner, Marc Glisse, Leonidas J. Guibas, and Steve Y. Oudot. Proximity of persistence modules and their diagrams. In 25th Annual Symposium on Computational Geometry (SoCG 2009), pages 237–246, New York, NY, USA, 2009. Association for Computing Machinery. doi:10.1145/1542362.1542407.
- [15] Frédéric Chazal, Vin De Silva, Marc Glisse, and Steve Oudot. The Structure and Stability of Persistence Modules, volume 10. Springer, 2016. doi:10.1007/978-3-319-42545-0.
- [16] Chao Chen and Daniel Freedman. Measuring and computing natural generators for homology groups. Computational Geometry, 43(2):169–181, 2010. Special Issue on the 24th European Workshop on Computational Geometry (EuroCG’08). doi:10.1016/j.comgeo.2009.06.004.
- [17] Chao Chen and Daniel Freedman. Hardness results for homology localization. Discrete & Computational Geometry, 45(3):425–448, 2011. doi:10.1007/S00454-010-9322-8.
- [18] Jiahui Chen, Yuchi Qiu, Rui Wang, and Guo-Wei Wei. Persistent Laplacian projected Omicron BA. 4 and BA. 5 to become new dominating variants. Computers in Biology and Medicine, 151:106262, 2022. doi:10.1016/J.COMPBIOMED.2022.106262.
- [19] David Cohen-Steiner, Herbert Edelsbrunner, and John Harer. Stability of persistence diagrams. In Proceedings of the 21st Annual Symposium on Computational Geometry, pages 263–271, 2005. doi:10.1145/1064092.1064133.
- [20] Alessandro De Gregorio, Marco Guerra, Sara Scaramuccia, and Francesco Vaccarino. Parallel decomposition of persistence modules through interval bases. arXiv preprint, 2021. arXiv:2106.11884.
- [21] Vin De Silva, Dmitriy Morozov, and Mikael Vejdemo-Johansson. Persistent cohomology and circular coordinates. Discrete & Computational Geometry, 45(4):737–759, 2011. doi:10.1007/S00454-011-9344-X.
- [22] Tamal K. Dey, Fengtao Fan, and Yusu Wang. Computing topological persistence for simplicial maps. In Proceedings of the Twenty-Second Annual Symposium on Computational Geometry, pages 345–354, New York, NY, USA, 2014. Association for Computing Machinery. doi:10.1145/2582112.2582165.
- [23] Tamal K. Dey, Anil N. Hirani, and Bala Krishnamoorthy. Optimal homologous cycles, total unimodularity, and linear programming. In Proceedings of the 42nd ACM Symposium on Theory of Computing, pages 221–230, 2010. doi:10.1145/1806689.1806721.
- [24] Tamal K. Dey and Tao Hou. Computing zigzag persistence on graphs in near-linear time. In 37th International Symposium on Computational Geometry, 2021.
- [25] Tamal K Dey, Tao Hou, and Sayan Mandal. Computing minimal persistent cycles: Polynomial and hard cases. In Proceedings of the 14th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2587–2606. SIAM, 2020. doi:10.1137/1.9781611975994.158.
- [26] Tamal K. Dey, Tao Hou, and Dmitriy Morozov. A fast algorithm for computing zigzag representatives. ACM-SIAM Symposium on Discrete Algorithms (SODA) 2025, to appear, 2025.
- [27] Tamal Krishna Dey and Yusu Wang. Computational Topology for Data Analysis. Cambridge University Press, 2022.
- [28] Beno Eckmann. Harmonische Funktionen und Randwertaufgaben in einem Komplex. Commentarii Mathematici Helvetici, 17(1):240–255, 1944.
- [29] Edelsbrunner, Letscher, and Zomorodian. Topological persistence and simplification. Discrete & Computational Geometry, 28:511–533, 2002. doi:10.1007/S00454-002-2885-2.
- [30] Herbert Edelsbrunner and John Harer. Computational Topology: An Introduction. Applied Mathematics. American Mathematical Society, 2010.
- [31] Robert Ghrist. Barcodes: The persistent topology of data. Bullentin of the American Mathematical Society, 45:61–75, 2008.
- [32] Joshua A. Grochow and Jamie Tucker-Foltz. Computational topology and the unique games conjecture. In Proceedings of 34th International Symposium on Computational Geometry (SoCG 2018). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018.
- [33] Nicola Guglielmi, Anton Savostianov, and Francesco Tudisco. Quantifying the structural stability of simplicial homology. arXiv preprint, 2023. doi:10.48550/arXiv.2301.03627.
- [34] Aziz Burak Gülen, Facundo Mémoli, and Zhengchao Wan. Orthogonal Möbius inversion and Grassmannian persistence diagrams. arXiv preprint, 2024. arXiv:2311.06870.
- [35] Davide Gurnari, Aldo Guzmán-Sáenz, Filippo Utro, Aritra Bose, Saugata Basu, and Laxmi Parida. Probing omics data via harmonic persistent homology. arXiv preprint, 2023. arXiv:2311.06357.
- [36] Yasuaki Hiraoka, Takenobu Nakamura, Akihiko Hirata, Emerson G Escolar, Kaname Matsue, and Yasumasa Nishiura. Hierarchical structures of amorphous solids characterized by persistent homology. Proceedings of the National Academy of Sciences, 113(26):7035–7040, 2016.
- [37] Danijela Horak and Jürgen Jost. Spectra of combinatorial Laplace operators on simplicial complexes. Advances in Mathematics, 244:303–336, 2013.
- [38] Parvaneh Joharinad and Jürgen Jost. Mathematical principles of topological and geometric data analysis. Springer, 2023.
- [39] Alexandros Keros and Kartic Subr. Spectral coarsening with Hodge Laplacians. In ACM SIGGRAPH 2023 Conference Proceedings, pages 1–11, 2023.
- [40] G. Kirchhoff. Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Vertheilung galvanischer Ströme geführt wird. Annalen der Physik, 148(12):497–508, 1847. doi:10.1002/andp.18471481202.
- [41] Hyekyoung Lee, Moo K Chung, Hongyoon Choi, Hyejin Kang, Seunggyun Ha, Yu Kyeong Kim, and Dong Soo Lee. Harmonic holes as the submodules of brain network and network dissimilarity. In Computational Topology in Image Context: 7th International Workshop, CTIC 2019, Málaga, Spain, January 24-25, 2019, Proceedings 7, pages 110–122. Springer, 2019. doi:10.1007/978-3-030-10828-1_9.
- [42] Mao Li, Keith Duncan, Christopher N. Topp, and Daniel H. Chitwood. Persistent homology and the branching topologies of plants. American Journal of Botany, 104(3):349–353, 2017.
- [43] Andre Lieutier. Persistent harmonic forms. https://project.inria.fr/gudhi/files/2014/10/Persistent-Harmonic-Forms.pdf.
- [44] Jian Liu, Jingyan Li, and Jie Wu. The algebraic stability for persistent Laplacians. arXiv preprint, 2023. arXiv:2302.03902.
- [45] Jiajie Luo and Gregory Henselman-Petrusek. Interval decomposition for persistence modules freely generated over PIDs. arXiv preprint, 2023. arXiv:2310.07971.
- [46] Clément Maria and Steve Y. Oudot. Zigzag persistence via reflections and transpositions. In Piotr Indyk, editor, Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015, pages 181–199. SIAM, 2015. doi:10.1137/1.9781611973730.14.
- [47] Facundo Mémoli, Zhengchao Wan, and Yusu Wang. Persistent Laplacians: Properties, algorithms and implications. SIAM Journal on Mathematics of Data Science, 4(2):858–884, 2022. doi:10.1137/21M1435471.
- [48] Russell Merris. Laplacian matrices of graphs: a survey. Linear Algebra and its Applications, 197-198:143–176, 1994. doi:10.1016/0024-3795(94)90486-3.
- [49] Joshua Mike and Jose Perea. Multiscale geometric data analysis via Laplacian eigenvector cascading. In 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), pages 1091–1098. IEEE, 2019. doi:10.1109/ICMLA.2019.00183.
- [50] Bojan Mohar, Y Alavi, G Chartrand, and OR Oellermann. The Laplacian spectrum of graphs. Graph theory, combinatorics, and applications, 2(871-898):12, 1991.
- [51] Ippei Obayashi. Volume-optimal cycle: Tightest representative cycle of a generator in persistent homology. SIAM Journal on Applied Algebra and Geometry, 2(4):508–534, 2018. doi:10.1137/17M1159439.
- [52] Rui Wang, Duc Duy Nguyen, and Guo-Wei Wei. Persistent spectral graph. International journal for numerical methods in biomedical engineering, 36(9):e3376, 2020.
- [53] Afra J Zomorodian. Topology for computing, volume 16. Cambridge university press, 2005.