Stable Volumes for Persistent Homology
Abstract
This paper proposes a stable volume and a stable volume variant, referred to as a stable sub-volume, for more reliable data analysis using persistent homology. In prior research, an optimal cycle and similar ideas have been proposed to identify the homological structure corresponding to each birth-death pair in a persistence diagram. While this is helpful for data analysis using persistent homology, the results are sensitive to noise. In this paper, stable volumes and stable sub-volumes are proposed to solve this problem. For a special case, we prove that a stable volume is the robust part of an optimal volume against noise. We implemented stable volumes and sub-volumes on HomCloud, a data analysis software package based on persistent homology, and show examples of stable volumes and sub-volumes.
1 Introduction
Topological data analysis (TDA)[13, 5] is a data analysis method utilizing the mathematical concept of topology. In recent years, persistent homology (PH)[14, 33] has become one of the most important tools of TDA. PH is mathematically formalized by using homology on a filtration. We can characterize the geometric information by encoding the information regarding the scale of the data on the filtration. PH has developed rapidly over the most recent decade and has been applied in a variety of areas, including natural image analysis[6], biology [7], geology [31], and materials science [18, 28, 26, 19].
PH information can be described by a persistence diagram (PD) or a persistence barcode111 A persistence diagram and a persistence barcode contain the same information. The difference is how the information is visualized.. A PD is a scatter plot on the XY plane, where each point (called a birth-death pair) on the plot corresponds to a homological structure in the input data.
1.1 Persistent homology and volume-optimal cycles
Figure 1 can be used to intuitively explain how a PD is determined from data. The input data in the example constitute a pointcloud with five points, as shown in Fig. 1(a). The points appear as a regular triangle and a square. Let be the length of edges of the regular triangle and the square. Since the five points themselves do not carry any interesting topological information, we construct a topological structure by putting circles with values of radii as indicated in Fig. 1(b)(c)(d)(e).

We now face the problem of how to determine the proper size of the circles. If the circles are too small, as in Fig. 1(b), the topology is simply equivalent to the five points. On the other hand, if the circles are too large, as in Fig. 1(e), the shape becomes acyclic, which makes it impossible to uncover any interesting topological information. PH solves this problem by considering the appearance and disappearance of homology generators associated with radii changes; that is, PH considers the increasing sequence from (b) to (e).
In the Fig. 1 example, two holes (homology generators in the 1st homology) appear at (c), one of which disappears at (d). The other hole disappears at (e). The pair of radii222The squares of radii are also often used in the literature of PH. of the appearance and disappearance of each homology generator is called a birth-death pair, and the multiset of all birth-death pairs is called a persistence diagram. In this example, the PD for the 1st homology is . The persistence diagram is visualized by a scatter plot or a 2D histogram (Fig. 1(f)). The two pairs correspond to a regular triangle and a square. We can extract the geometric information of the pointcloud in Fig. 1(a) using the PD.
It is beneficial in data analysis using PH to detect the original homological structures corresponding to each birth-death pair. This is sometimes called “inverse analysis on PH”. Some applications of PH[18, 19] already use inverse analysis on PH. However, detection is not an easy task, as the representative cycle corresponding to a homology generator is not unique.
To solve this problem, various methods involving the solution of an optimization problem in homology algebra has been proposed[9, 17, 12, 9, 16, 11, 24, 32, 29] in various settings. For PH, optimal cycles[17], volume-optimal cycles[24], and persistent 1-cycles[12] have been proposed. These studies give formalizations suitable to PH. The “tightest” or “minimal” cycle is considered the best to interpret, and solving the optimization problem in homology algebra produces the tightest cycle. As an example, consider the simplicial complex in Fig. 2. The 1st homology group of the simplicial complex is isomorphic to . and give the same generator of , but is superior since the surrounds the hole more tightly than . The above methods find by using the prescribed optimization technique.
It should be noted that there are two choices of functions to be optimized. One is the size of the cycle; the other is the internal volume of the cycle. In Fig. 2, is tighter than in both senses; however, it is possible for the solutions to the two optimization problems to differ. The better choice depends on the problem. This paper mainly uses the internal volume as an optimization function since it is suitable to define stable volumes in Section 3.

1.2 Problems of homology optimization
The existing methods have the following two problems:
-
•
The methods do not always give the minimal building blocks of the data
-
•
The result is unstable to noise
The example in Fig. 1 can be used to demonstrate these problems.
The pointcloud in Fig. 1 has two minimal building blocks, a triangle and a square. However, the optimization technique sometimes fails to find these minimal building blocks when a small noise is added. Figure 3(a) shows the pointcloud in Fig. 1(a) when a small noise is added. This figure also shows circles, and, as can be seen, a pentagon appears before either a triangle or a square appears. By applying the homology optimization technique to the data in Fig. 3(a), we produce a triangle and a pentagon, as shown in Fig. 3(b). On the other hand, consider the pointcloud in Fig. 3(c). The pointcloud here is also very close to that in Fig. 1(a); however, while a square appears first, the homology optimization technique gives a square and a triangle, as shown in Fig. 3(d).

The example demonstrates the following problems: (1) A small noise can change the result, and (2) The optimization technique sometimes fails to give minimal building blocks of the data. The first problem is related to the reliability of the analysis; the second problem is related to the interpretability of the result.
Previous studies [10, 8, 2, 22] have proved the stability theorem for persistence diagrams. The literature indicates that a PD is continuously changed by a small noise in the input data if we consider reasonable metrics. The stability of other PH outputs has also been studied in the context of machine learning and PH[4, 21, 1] or pointcloud summary method[20, 30]. Although these types of stability play an important role in the study of PH, such a stability theorem does not hold for the solution of homology optimization problems.
Both in Fig. 3(a) and Fig. 3(c), the minimal building blocks are a triangle and a square, and it is more natural that an inverse analysis technique gives a triangle and a square for both data. Therefore, we would hope to detect such structures even if a small noise is added.
These problems are practically significant, especially when we analyze crystalline structures using PH. We can demonstrate the problems using the synthetic crystalline data in Fig. 4. Here, the pointcloud consists of 27 points, arranged in a 3x3x3 cubical lattice (Fig. 4(a)). The distance between two vertices on the cube is . A small noise is added to the pointcloud. Figure 4(b) shows the 1st PD of the pointcloud. As can be seen here, some birth-death pairs are concentrated around . These pairs correspond to 1x1 squares in the lattice. By applying volume-optimal cycles[24], we found some loops corresponding to the pairs in Fig. 4(c) and (d). Some of the cycles shown in (c) are squares, as expected; however, others in (d) are larger structures resembling chairs. These larger structures were detected with the same mechanism in Fig. 3.

The purpose of this paper is to present a new method to solve these problems. That is, we propose a method to find minimal building blocks that is robust to noise.
1.3 Statistical approach in previous research
Bendich, Bubenik, and Wagner [3] proposed a statistical approach for the problem, which can be outlined as follows:
-
1.
Computing a PD from the input data and choosing a birth-death pair to analyze
-
2.
Adding a small noise to the input data, computing a PD, and applying inverse analysis
-
3.
Repeating (2) multiple times
-
4.
Computing an average of the results of the inverse analysis
We can flexibly change the method of inverse analysis and the way in which the average of the results is computed. We can combine the statistical approach with optimal or volume-optimal cycles are as follows:
-
1.
Computing a PD from the input pointcloud and choosing a birth-death pair to analyze
-
2.
Adding a small noise to the input data and computing the PD and optimal cycles or volume-optimal cycles of the corresponding birth-death pair
-
3.
Repeating (2) multiple times
-
4.
For each point in the pointcloud, computing the frequency of
By applying this method to the birth-death pair in Fig. 1, we produce the result shown in Fig. 5. The result indicates that the four points on the square are robust to noise and that the leftmost point is less robust. This result is consistent with the fact that the pair corresponds to a square.

The stability of the method in a probabilistic sense was also proved by Bendich, Bubenik, and Wagner. Notably, the method provides a more reliable inverse analysis. The idea is quite clever, simple, and easy to implement. However, the method has a high computation cost since it requires the user to compute PDs and optimal cycles a large number of times. In [3], the authors repeat the computation of the generators 1,000 or 10,000 times. We suspect that fewer repetitions may be sufficient, but ten or a hundred trials will be necessary. Multiple trials and errors are typically needed to tune the noise bandwidth in order to apply the method, and thus the cost is not ignorable.
1.4 Reconstructed shortest cycles in Ripserer.jl
The “reconstructed shortest cycles” functionality of Ripserer.jl[34]333https://github.com/mtsch/Ripserer.jl by Čufar gives another solution of the problem. The functionality reconstructs the tightest 1-cycle using the shortest path algorithm and the representative of persistent cohomology. The functionality accepts a noise bandwidth parameter and computes a tighter loop.
The advantage of reconstructed shortest cycles is its efficiency. Since it uses the shortest path algorithm, the computational complexity is small. However, reconstructed shortest cycles can be applied only to 1st PH since it uses the shortest path algorithm. Another disadvantage is the lack of mathematical justification of the functionality. Now444Dec. 4, 2021 the functionality is declared as experimental and gives no mathematical documentation. We explain the algorithm in Appendix A.
1.5 Results
In this paper, we propose stable volumes and a variant of stable volumes, called stable sub-volumes. The proposed method is based on the volume-optimal cycles and optimal volumes shown in [24]. Stable volumes produce minimal building blocks with a lower computation cost than the statistical approach. Below, we provide an outline of stable volumes. The exact formalization will be introduced in Section 2 and further developed in subsequent sections.
Let be a simplicial complex and the set of all -simplices of . We define a level function as follows.
Definition 1.
is a level function if implies .
Here, for simplicity, we assume that a level function can distinguish every simplex; that is, we assume the following:
(1) |
From the definition of the level function, is a subcomplex of and implies . This means that is a filtration of simplicial complexes. From the filtration, the th PD, , is defined. Any birth-death pair in the diagram can be written as , where is a -simplex and is a -simplex due to the theory of PH.
The optimal volume of the pair is defined by the solution to the following minimization problem:
(2) | ||||
where is a th chain complex whose coefficient field is , , is an element of the dual basis of the cochain complex , and is the norm of 555The norm is, in fact, a norm since the triangle inequality does not hold. However, this is often called the norm in the context of machine learning and sparse modeling.. The optimal volume minimizes the internal volume surrounded by the loop. The optimal volume is defined on ; however, in practice, optimal volumes are determined by using linear programming with a change of coefficient field from to and an approximation of the optimization of the norm by the norm. For optimal volume , is called a volume-optimal cycle. Reference [24] shows that optimal volumes and volume-optimal cycles have good mathematical properties and provide good representations of a birth-death pair on a PD.
The stable volume for the pair with a noise bandwidth parameter is defined by the solution to the following minimization problem:
(3) | ||||
where . This is quite similar to the definition of optimal volumes. The following theorem states that the stable volume is considered to be the “robust part” against noise.
Theorem 2.
Let be an -dimensional simplicial complex, and let be a level function. Assume that is embedded in . We consider as a coefficient field. For any , and are defined as follows:
(4) | ||||
Then the following holds for sufficiently small .
(5) |
where , and are defined as follows:
(6) | ||||
(7) | ||||
(8) |
We can regard as the set of all possible level functions with small noise . Then the theorem states that the stable volume is the common area of all possible optimal volumes under small noise. This theorem does not hold for the PH of another dimension, but it suggests that stable volumes give a better result than optimal volumes.
For practical applications, assumption (1) is overly strict. Vietoris-Rips, Čech, and alpha filtrations do not satisfy the condition. Therefore, we introduce an order with levels in Section 2.2 and formalize all of them using the order with levels.
As the stable volume method has already been implemented in HomCloud [25], stable volumes can now be used to analyze the data.
We can demonstrate stable volumes by using the same input data as in Fig. 4. Figure 6 shows the optimal volumes (Fig. 6(a)) and stable volumes (Fig. 6(b)) of the same two birth-death pairs. The birth-death pairs correspond to 1x1 squares in the lattice points, but Fig. 6(a) shows larger loops than expected. In contrast Fig. 6(b) shows the expected 1x1 squares. This example suggests that stable volumes give better results and help promote a better intuitive understanding of PDs.

Figure 7 shows another example of stable volume. Here, we consider 2D lattice points with defects (Fig. 7 (a)). The configuration of the points is somewhat perturbed from the complete lattice, and some points are removed randomly. Figure 7(b) shows the 1st PD of the points, and Fig. 7(c) shows the optimal volume of (0.496, 4.371). Figure 7(d) shows the stable volume of the same birth-death pair. The optimal volume in Fig. 7(d) seems to surround the holes in the pointcloud more naturally than is the case in Fig. 7(c).

Additional demonstrations of stable volumes using synthetic and real data are given in Section 6.
1.6 Organization of the paper
The remainder of the paper is organized as follows: Section 2 introduces the concept of PH, optimal volumes, and volume-optimal cycles. Section 3 defines stable volumes for the th PH embedded in . In this section we also discuss the limitation of stable volumes. Section 4 shows an alternative formalization of stable volumes using mathematical optimization. Section 4.1 provides a proof that the two formalizations are consistent for the th PH when the simplicial complex is embedded in . Section 4.2 extends the formalization to other cases. Section 5 discusses the software implementation of stable volumes. Section 6 gives examples using synthetic and real data. This section also provies the comparison with previous methods, the statistical method and the reconstructed shortest cycles. Section 7 discusses the way in which the noise bandwidth parameter can be tuned. Section 8 compares stable volumes and sub-volumes. Section 9 summarizes the paper and offers concluding remarks. In this section we also discuss the differences between the proposed method and the methods previous works.
2 Persistent homology, optimal volumes, and volume-optimal cycles
In this section, we introduce the mathematical concepts of PH, persistence diagrams, optimal volumes, and volume-optimal cycles, which provide the foundation for our discussion.
2.1 Persistent homology
PH is defined on a filtration of topological spaces. Let be a finite simplicial complex666To simplify the explanation in this paper, we use a simplicial complex. However, the content of the paper can be easily extended to cubical or cell complexes. and
(9) |
be a filtration of subcomplexes of . The th persistent homology with a coefficient field is defined as
(10) |
where is the th homology -vector space of and is the linear map induced by the inclusion maps. The fundamental theorem of PH is as follows.
Theorem A.
There exists a unique decomposition of ,
(11) |
where , is an identity map, are zero maps, and are as shown below:
(12) | ||||
(13) |
On an intuitive level, the map indicates the appearance of a homology generator, indicates the persistence of the generator, and indicates the disappearance of the generator.
We note that we should use a field as a coefficient ring of the homology module since the theorem holds only when is a field.
2.2 Order with level
We earlier introduced the idea of a level function. We now introduce the concept of total order consistent with the level function. Total order is used to rigorously describe the algorithms; the level function is needed to rigorously describe Theorem 2. Simplices with the same level often appear in an alpha filtration or a Vietoris-Rips filtration; thus, the concept of total order is required to deal with such filtrations. The pair consisting of the total order and the level function is called an order with level.
Let be a total order on the set of all simplices of . We assume that
(14) |
We can number all simplices in by this ordering as follows:
(15) |
From the condition (14), is always a subcomplex of and
(16) |
is a filtration of a simplicial complex. In this filtration, the number of simplices is increased one by one, which simplifies the mathematical description.
To include additional information in the filtration, we consider an order with level.
Definition 3.
A pair of a real-valued map on and a total order on satisfying the following conditions is called an order with level.
-
1.
implies
-
2.
The order satisfies (14)
From the total order , a filtration is defined by (15) and (16). Theorem A gives the unique decomposition . For each , the simplex is called a birth simplex, is called a death simplex, and the pair is called a birth-death simplices pair. When , we write the pair as using the special symbol . denotes the set of all birth-death simplices pairs. Moreover, is called a birth time, is called a death time, and the pair of the birth time and death time, , is called a birth-death pair. When , is defined as . The multiset of birth-death pairs is called a persistence diagram:
(17) |
We write the persistence diagram as .
We can readily show the following fact.
Remark 4.
For any , is a -simplex and is a -simplex.
By using the level information, we can describe the stability theorem of persistence diagrams [10, 8, 2, 22]. Let be two persistence diagrams. The bottleneck distance between two diagrams is defined as
(18) |
where ranges over all bijections from to , is the diagonal, and is the norm. In our setting, the stability theorem of PH is described as below.
Theorem B (Stability theorem of PH).
Let be a finite simplicial complex. For any two orders with levels and and any , the following inequality holds.
(19) |
The theorem ensures the robustness of PDs to noise.
2.3 Optimal volumes
Optimal volume is proposed in [24] as a way to extract homological structures corresponding to a birth-death pair. For an order with levels and a birth-death simplices pair with , the optimal volume for the pair is formalized as the solution to the following minimization problem:
(20) | ||||
where is a chain complex whose coefficient field is , , is an element of the dual basis of cochain complex , and is the norm of . For solution , is called a volume-optimal cycle.
Reference [24] shows the following fact, which indicates that the volume-optimal cycle is suitable for representing a birth-death pair.
Fact 5.
Let be a birth-death simplices pair and an optimal volume of that pair. Then the following relations hold:
(21) | ||||
(22) | ||||
(23) | ||||
(24) |
where represents the cycles and represents the boundaries.
2.4 Optimal volumes for the th PH and persistence trees
In this section, we consider a triangulation of a convex set in and its th PH with . More precisely, we assume the following:
Condition 6.
A simplicial complex in satisfies two conditions.
-
•
Any -simplex () is a face of an -simplex
-
•
is convex in
Schweinhart [29] pointed out that the th PH was isomorphic to the 0th persistent cohomology of the dual filtration by Alexander duality. Zeroth cohomology is deeply related to the connected components in the dual filtration. This gives rise to another formalization of th PH. Reference [24] generalizes the idea shown in [29].
We now examine an order with levels on . Consider the filtration in (15) and (16) given by . For simplicity, we will use as the coefficient field. Then the following proposition and theorems hold [29, 24].
Proposition C.
For any birth-death pair in , the death time is not infinity.
Theorem D.
The optimal volume for any birth-death pair is uniquely determined.
Theorem E.
If and are the optimal volumes for two different birth-death pairs, one of the following holds:
-
•
-
•
-
•
Note that we can naturally regard any as a subset of -simplices of , , since we use as the homology coefficient field.
From Theorem E, we know that can be regarded as a forest (i.e., the union of distinct trees) by the inclusion relation. In [29], the forest is called persistence trees. Moreover, we can compute the persistence trees by the merge-tree algorithm (Algorithm 2).
To describe the algorithm, consider the one-point compactification space . The following facts are well known.
Fact 7.
is a cell decomposition of where .
Fact 8.
For any , the proper cofaces777 If is a face of , is called a coface of . If the difference of the dimensions is one, is a proper coface of . of are just two -cells in .
We can extend the order with levels onto by regarding as the maximum element and . To describe the algorithm, we consider a directed graph whose nodes are -cells in . An edge has extra data in , and we can write the edge from to with extra data as . The directed graph is increasingly updated in Algorithm 2.
Since the graph is always a forest throughout the algorithm[24], we can find a root of a tree that contains an -cell in the graph by recursively following the edges from . We call this procedure Root().
The following theorem gives the interpretation of the result of the algorithm as persistence information.
Theorem F.
Let be the result of Algorithm 2. Then the following holds:
-
1.
is a tree whose root is
-
2.
. Here means another vertex
-
3.
If there is an edge is in , we have
-
4.
The optimal volume for is , where the set of all descendant nodes of in including itself
-
5.
gives the persistence trees. That is, is the parent of in the persistence trees if and only if there are edges
3 Stable volumes for the (n-1)th PH
We can now describe stable volume for th PH using persistence trees under Condition 6. The parameter in the following definition is called a bandwidth parameter.
Definition 9.
Let be a simplicial complex and an order with levels on , and be the filtration of given by (15) and (16). Let be persistence trees of the filtration . For and a positive number , the stable volume of the birth-death simplices pair with a noise bandwidth parameter , , is defined as follows:
(25) |
where is given as
(26) |
We specify the following -order condition in order to describe the main theorem.
Definition 10.
Let and be two orders with levels on a simplicial complex and be an -simplex. Then satisfies an -order condition if implies for all .
We also define the symbol . For an order with levels and an -simplex , is the birth simplex paired with in . That is, .
The following theorem is the first main theorem of the paper. It states that the stable volume is an invariant part of optimal volumes in the presence of small noise.
Theorem 11.
(27) |
where
(28) | ||||
and
(29) |
The theorem treats two different filtrations, and , on the same simplicial complex . It should be noted that the reader needs to treat these filtrations carefully.
The following two claims immediately imply Theorem 11 and are discussed in the next three subsections.
Claim 12.
For any , the following relation holds:
(30) |
Claim 13.
For any , there is an order with levels satisfying .
3.1 Dual graph and its subgraphs
To show the theorem, we introduce a dual graph of and its subgraphs.
Definition 14.
and are defined as follows:
(31) | ||||
is an undirected graph when the two endpoints of are defined as the two cofaces of .
We call the graph the dual graph of . We define the subgraphs of , and , as
(32) | ||||
where is a simplex in and is a real number. The condition (14) ensures that and are subgraphs of . We also define by replacing with .
We introduce the notation as in Algorithm 2 when the inside of the (LOOP) is finished at . The following propositions are essential for the proof of Theorem 11. The facts are shown as Fact 17 and Fact 18 in [23].
Fact 15.
The topological connectivity of vertices in is the same as . That is, are all vertices of a connected component in if and only if there is a tree in whose vertices are .
Fact 16.
For each tree in , the root of the tree is the -maximum vertex in the tree.
The next proposition describes the role of the birth and death simplices. denotes the connected component of a graph which contains a vertex . and denote all the vertices and all the edges of .
Proposition 17.
Let . Then is the -maximum -simplex in and the optimal volume of is . Furthermore, there exists satisfying the following conditions:
-
•
in
-
•
-
•
. That is, is the edge between and
3.2 Proof of Claim 12
The following equality holds from the definition of stable volume (25), Theorem F, Facts 15 and 16, and Proposition 17.
(33) |
The following equality also holds from Proposition 17.
(34) |
Therefore, we can show the following relationship to prove Claim 12.
(35) |
The following lemma is essential to prove Claim 12.
Lemma 18.
Let be a birth-death simplices pair and . Then the following inequality holds:
(36) |
Proof.
We assume that and will show a contradiction. Since , for any with , we have
(37) |
From the definition of order with levels, the inequality immediately implies and is a subgraph of .
3.3 Proof of Claim 13
If , the conclusion of Claim 13 is trivial. Therefore, we assume .
Since
and is a subgraph of , there is satisfying the following conditions:
(41) | ||||
Let and . From (41), we have
(42) |
Proposition 17 gives satisfying
(43) | ||||
(44) |
Let be the endpoint of contained in . A path from to exists in . We consider the following two cases regarding the path.
- Case 1
-
There is a path from to in without passing through .
- Case 2
-
Any path to in passes through .
We will divide the proof into the above two cases.
3.3.1 Case 1
Figure 8 shows the relationship between connected components and the path in Case 1. We can construct an order with levels satisfying based on this relationship.

Using , we define a function on as follows:
(45) |
where , and is the set of all edges in . We can easily show that is a level function from the fact that is a level function. We define the order on , , as follows:
(46) | ||||
This is a kind of lexicographic order by the total preorder , the partial order , and the total order . Therefore is a total order.
The following two facts are easily shown.
Fact 19.
is an order with levels.
Fact 20.
The order coincides with on . The same is true on or .
Fact 21.
.
Proof.
From the definition, we have . To show the -order condition, we assume and show . From the assumption, we have . Since is -simplex, , and so . Therefore, we consider the following cases:
-
1.
. In this case, we can see from the definition of order with levels.
-
2.
and . In this case, we have from the definition of .
-
3.
and . In this case, the condition leads to a contradiction since satisfies (14) but .
-
4.
and . In this case, we have from the assumption of .
In all cases except 3, we have . ∎
The following fact comes from Fact 20.
Fact 22.
is the -minimum element in .
The above fact leads to the following.
Fact 23.
is a subgraph of .
Fact 24.
and are different connected components in .
Proof.
We assume that and this will lead to a contradiction. From the assumption, there is a path from to in . Any edge on satisfies and so . Therefore, since and , the inequality holds for any , where is the set of all edges on .
We conclude that for any from (46), , and . This means that is a subgraph of . However, this contradicts the fact that and are contained in different connected components of . ∎
Fact 25.
Next, we examine .
Fact 26.
.
Proof.
Since and , we have
The inequality leads to since is an order with levels. ∎
We can prove the following fact in a similar way to Fact 24.
Fact 27.
.
Fact 28.
.
Finally, since , we conclude that .
3.3.2 Case 2
In Case 2, there is a path from to without passing through . Figure 9 shows the relationship between connected components and paths between the components in this case.

We now define a function on as follows:
(47) |
where and is the set of all edges of .
We also define the total order on , , as follows:
(48) | ||||
Fact 29.
is an order with levels on , and .
The following fact arises directly from the definition of and .
Fact 30.
The order coincides with on . The same is true on or .
Fact 31.
is a subgraph of .
We can show the following fact in the same way as Fact 26. From the following fact, we have .
Fact 32.
.
Fact 33.
and are different connected components in and connects the two connected components. Therefore, .
From the above facts, we have the following.
Fact 34.
.
Finally, since , we conclude that .
3.4 Limitation of stable volumes
In this subsection, we discuss some of the limitations of stable volumes.
The first relates to the -order condition. Theorem 11 requires the -order condition; however, this condition seems somewhat curious. To clarify, we offer a brief discussion of the role of the condition.
First, we examine what happens when orders with levels and satisfy but not the -order condition. Figure 10 shows an example. In this example, we assume the following conditions:
(49) | ||||
(50) | ||||
(51) | ||||
(52) | ||||
(53) | ||||
(54) | ||||
(55) |

Here, we have
The optimal volumes are
(56) | ||||
(57) | ||||
(58) |
Therefore, ; however, does not intersect with . Thus, the example shows that does not have a robust part to small noise if we do not assume the -order condition.
In contrast, (56) indicates that has a stable part even if we do not assume the -order condition. We expect that if an optimal volume is large in some sense, then the optimal volume has a stable part even if the -order condition is not satisfied. Mathematically clarifying what is meant by “large in some sense” is a subject for future research.
Next, we focus on the construction of simplicial filtrations. An alpha complex [15] is often used to construct a filtration from a pointcloud. Alpha complexes have some good properties. If a pointcloud is in and satisfies the general position condition, then the alpha shape is embedded in . An alpha shape has the same information as the union-balls model. More precisely, an alpha shape is homotopy equivalent to the union of balls. However, the alpha shape may vary discontinuously with noise. Theorem 11 assumes that the simplicial complex does not change with noise; however, the assumption does not hold if the noise is large. On the other hand, if the noise is small, the assumption holds and the theorem works perfectly. In Section 6, we show that a large noise bandwidth parameter gives unexpected results. Therefore, it is reasonable to assume that the noise is small; however, care should be taken.
4 Another formalization of a stable volume as the solution to an optimization problem
The formalization of stable volumes is based on persistence trees. Importantly, however, persistence trees are available only for the th persistence homology, and we cannot apply the concept directly to another degree. Another version of a stable volume can be defined as the solution to an optimization problem.
Definition 35.
Let be an order with levels and . The stable volume by optimization of is defined by the solution to the following minimization problem.
minimize | ||||
(59) | ||||
(60) |
where is the coefficient field and . denotes the stable volume by optimization.
4.1 Another formalization of a stable volume: A special case
For th PH, we will prove the following second main theorem, which guarantees the validity of the definition.
Theorem 36.
If satisfies Condition 6, , and , coincides with .
Recall the remark associated with Theorem E that can be regarded as a subset of .
For , we define and as follows.
(61) | ||||
To prove the theorem, we show the following lemma.
Lemma 37.
We now assume that satisfies (59) and (60). To show the above lemma, we first show the following fact.
Fact 38.
For any , is not a face of .
Proof.
Assume is a face of . Then there is a unique -simplex which is the coface of . From the definition of and , should contain . However,
(62) |
which contradicts (60). ∎
The following fact guarantees that is a subgraph of .
Fact 39.
For any , both cofaces of , and , are contained in .
Proof.
From the definition , contains either or and one of the following holds: or . From the condition (60),
(63) |
Therefore, , which means that both and are contained in . ∎
Fact 40.
For , denotes the set of all -dimensional faces of . If , then the following holds:
(64) |
Proof.
Since , is trivial. Therefore, we assume and will show . Since and , we have . Therefore, since . We also have because and we conclude . ∎
By repeatedly using Fact 40, we can see that any path in starting from is also a path in . This means that is a disjoint union of some connected components of .
4.2 Another formalization of a stable volume: general case
We can apply Definition 35 to cases other than the above. In such cases, Theorem 36 does not hold in general, and it is difficult to mathematically ensure the good property shown in Theorem 11. Empirically, however, the stable volumes often work well. (We examine the property using computer experiments in Section 6.)
The reason for this is likely that an optimal volume is often included in a lower-dimensional structure (a submanifold or a lower-dimensional simplicial complex) and the solution of the stable volume is also included in the structure.
4.3 Stable sub-volume
In the previous subsection, we expressed our belief that a lower-dimensional structure may make the stable volume work well. We can develop a variant of stable volume using this idea. If we find such a lower-dimensional structure, we can consider the stable volume constrained on the structure. An optimal volume is one possible lower-dimensional structure. We define a stable sub-volume as follows.
Definition 42.
Let be an order with levels and . The stable sub-volume of is defined by the solution to the following minimization problem:
minimize | ||||
(68) | ||||
(69) |
where is the coefficient field and .
For stable sub-volumes, the parameter is also called a noise bandwidth parameter.
The following proposition holds for the th PH in since the stable volume is a subset of an optimal volume.
Proposition 43.
Let be a simplicial complex embedded in satisfying Condition 6. Let be an order with levels. For and , the stable volume of with bandwidth parameter coincides with the stable sub-volume of with bandwidth parameter .
The advantages and disadvantages of a stable sub-volume will be discussed in Section 8.
5 Implementation
In this section, we discuss how to produce the stable volume using a computer.
While we can directly implement stable volumes by persistence trees (Definition 9) using the persistence trees constructed by Algorithm 2, implementing stable volumes as an optimization problem is more difficult. As discussed in [9, 12], these kinds of optimization problems are NP-hard in general, which makes them difficult to solve on a computer. To resolve this problem, we can apply the following techniques:
-
•
Use as a coefficient field instead of
-
•
Change norm to norm
The second technique is often used in sparse modeling. Following the above approximations, the optimization problem can be formulated as a linear programming problem.
We first need to translate the problem into an acceptable form for a linear programming solver. That is, we need to specify the variables, the objective function (the function to be minimized), and the constraints in the following form:
-
•
The objective function should be
-
•
Each constraint should be
, where OP is any of the relational operators
We can translate this in the same way as in [24].
where | ||
It should be noted that is used as the coefficient field and that we need to consider the sign of .
Section 4.2 in [24] introduced the idea of accelerating the computation of optimal volume using locality. The same idea is applicable to stable volumes.
6 Examples
In this section, we give examples of stable volumes and stable sub-volumes. Alpha filtration[15] is used to compute the persistence diagrams.
6.1 3x3x3 lattice points
For the example shown in Fig. 4, we first produced 27 points in three-dimensional space on a lattice. Specifically, the pointcloud here is . We added a small noise to each point sampled from a uniform distribution on , and a persistence diagram was computed from the pointcloud (Fig. 4(b)). The diagram includes 28 birth-death pairs near , each corresponding to 1x1 squares.
Figure 4(c) shows two optimal cycles; ; Fig. 4(d) shows two other optimal cycles. Figure 6(b) shows two stable volumes of the same pairs as in Fig. 4(d) with a bandwidth parameter .
Table 1 shows the numbers of volumes having different numbers of vertices among all optimal volumes and stable volumes . As indicated, twenty of the optimal volumes are squares, while eight are not. In contrast, all the stable volumes are squares.
4 vertices | 6 vertices | 10 vertices | |
---|---|---|---|
number of optimal volumes | 20 | 7 | 1 |
number of stable volumes | 28 | 0 | 0 |
We also computed stable sub-volumes in this setting and confirmed that the stable sub-volumes coincided with the stable volumes.
6.2 2D lattice with random defects
For the example shown in Fig. 7, we prepared 30x30 lattice points in a 2D space. The distance between vertices is 1. The points were randomly removed with a probability of 0.5. The points on the perimeter were not removed. We added a small noise to each point sampled from a uniform distribution on . A 1st PD was computed from the pointcloud.
Figure 7(c) shows the optimal volume of (0.496, 4.371). Figure 7(d) shows the stable volume of the same birth-death pair with bandwidth parameter .
We also examined the effect of changing the bandwidth parameter, computing stable volumes for bandwidth parameter . Figure 12 shows the graph of the bandwidth parameter versus the size of the stable volumes. Size was measured as the number of simplices in the stable volume.

From the optimal volume (), the size of the stable volume rapidly decreases. A wide plateau appears at and is completely flat from to , meaning that the stable volume is stable to changes in bandwidth parameter over the range . This suggests that should be somewhere within this range. It should be noted that the scale of this range coincides with the scale of the noise. This is consistent with the fact that the bandwidth parameter indicates the strength of the virtual noise.
6.3 Comparison with previous studies
We apply the statistical method and reconstructed shortest cycles shortest using the same data as in Figure 7 to compare with our method.
Figure 7 shows the results of statistical method. We use Algorithm 1 to compute these results with a random uniform perturbation to each point. The strenght of the noise is and . We put large black dots in the figure to indicate points whose frequencies are more than 70% or 90%. The result is consistent with Fig 7 and has richer information. However the result looks more difficult to interpret than Fig 7.

Figure 13 shows the reconstructed shortest cycles with different noise bandwidth parameters, 0.1 (left) and 0.3 (right). As shown in the figure, the result for 0.3 is consistent with other results but the result for 0.1 is not consistent. This means that the shortest loop criterion sometimes gives a result inconsistent with the structure of persistent homology.

In this comparison, we also remark that the meaning of noise bandwidth parameters used in those three methods are different, so direct comparison of the results with the same parameter is meaningless. We should focus on the changes of the results by the change of noise bandwidth parameters.
6.4 Atomic configuration of amorphous silica
The proposed approach was applied to more realistic data. In this case, we used the atomic configuration of amorphous silica. The data are from ISAACS[27], generated by reverse Monte Carlo simulations guided by synchrotron X-ray radiation data. The data are available at http://isaacs.sourceforge.net/ex.html.
The PDs were computed from the atomic configuration. Two types of atoms, silicons and oxygens, were mixed in a 1:2 ratio in the data. The atomic type was ignored in this example, and only the positions of the atoms were used. Figure 14 shows the 1st PD.
The PD has birth-death pairs on the vertical line with . The birth-death pairs on the vertical line correspond to rings formed by the chemical bonds between oxygen and silicon. Oxygen and silicon atoms appear alternatively on these rings. Previous studies [18, 26] have found that the existence of the vertical line on a PD implies network structures.


Figure 15(a) shows the boundary of the optimal volume (orange) and the boundary of the stable volume (green) with of (0.677, 5.007). The red and blue points are oxygen atoms and silicon atoms, respectively. In this case, the stable volume and stable sub-volume are identical. The optimal volume is a large twisted ring, while the stable volume is a simpler ring. Figure 15(b) shows the versus volume plot. The plot indicates that the size of the stable volume quickly decreases from to , meaning that the optimal volume is sensitive to noise. Therefore, we can consider that the stable volume is the essential part for the birth-death pair.
It should be noted that the stable volume with on the second plateau is not a reasonable representation of the birth-death pair since only oxygen atoms exist on the boundary of the volume. The large causes the removal of the information of the silicon atoms.
Figure 16(a) shows the optimal volume (orange) of (0.669, 5.053) and the stable volume (green) of the same pair with . In this case, the optimal volume and the stable sub-volume are identical. However, the stable volume and sub-volume are not identical since the stable volume is not included in the optimal volume. Figure 16(b) shows the plot of against the volume.

In Fig. 16(a), the stable volume is tighter than the stable sub-volume. Figure 16(c) shows the schematic of the optimal volume and the stable volume. The stable volume and sub-volume are different since path in the figure is not included in the optimal volume. In our opinion, the stable volume appears superior since it surrounds the tunnel in the pointcloud more tightly. However, we do not have a theoretical guarantee. In general, the stable volume is tighter than the stable sub-volume since the optimization for a stable volume is more aggressive than that for a stable sub-volume.

Figure 17(a) shows the boundaries of the optimal volume (orange), stable volume (green), and stable sub-volume (black) of (0.671, 5.063). The noise bandwidth parameter . In this example, the stable volume shows a very tight ring, while the stable sub-volume gives a very conservative result. The implication is that a stable volume gives a better result than a stable sub-volume when the optimal volume is extremely large.
7 Tuning of noise bandwidth parameter
In applying stable volumes, properly tuning the noise bandwidth parameter is essential. The examples shown in the previous section suggest two possible approaches to such tuning:
-
•
The scale of should be the same scale as the noise of the data
- •
should be used.
In applying the first approach, we can use the domain knowledge about the data to tune the parameter. Here, the scale of the system noise gives an estimate of the parameter. For example, the scale of thermal fluctuation can be used as the parameter if the data consist of the atomic configuration, and thermal fluctuation is the dominant noise.
To apply the second approach, we need to plot the figure. As noted in Section 6.4, when there are multiple plateaus, we need additional criteria to determine which is better.
If we use stable volumes by persistence trees, such a plot is easy to produce. From Definition 9, the size of a stable volume is computable as follows:
(70) |
We can compute the size of by counting all the descendant elements of . It is also easy to judge whether by comparing and in (26). HomCloud already has this functionality.
When we cannot use stable volumes by persistence trees and we want to plot against volume size, a stable sub-volume is more useful than a stable volume.
8 Comparison between stable volumes and stable sub-volumes
The question of whether stable volumes or stable sub-volumes are better requires further discussion. The differences between stable volumes and stable sub-volumes can be described as follows:
-
•
If we want to compute stable volumes or stable sub-volumes using multiple bandwidth parameters, the computation cost of stable sub-volumes is smaller than that of stable volumes. Thus, stable sub-volumes are desirable for constructing versus volume plots.
-
•
If the size of the optimal volume is large, a stable volume often gives a more aggressive and likely better result than a stable sub-volume.
-
•
A stable sub-volume gives a more conservative result than a stable volume.
The first listed characteristic shows the advantage of using a stable sub-volume, while the second and third characteristics imply that the choice between stable volumes and stable sub-volumes depends on the problem.
In the author’s opinion, stable sub-volumes are easy to handle in general. However, users should compare both options and make a decision as to which is better for their data.
9 Concluding remarks
We have proposed the concept of stable volumes and stable sub-volumes as a means for identifying good geometric realization of homology generators that, unlike many of the methods proposed in prior research, is robust to noise. The idea of stable volumes and stable sub-volumes is based on optimal volumes [24].
The statistical approach taken by Bendich, Bubenik, and Wagner [3] offers another solution to our problem. However, one advantage of stable volumes and stable sub-volumes is that they do not require a large number of repeated computations. Moreover, stable volumes and sub-volumes are easier to visualize than the output of the statistical method since they give a deterministic rather than a probabilistic description. On the other hand, the advantage of the statistical approach is its flexibility. For first PH, we can only apply the statistical approach when we want to minimize the length of a loop rather than minimize the volume. The statistical approach is also applicable to the spatial distribution of points. Another advantage of the statistical approach is that it gives richer probabilistic information than stable volumes and sub-volumes.
Reconstruct shortest cycles in Ripserer.jl by Čufar[34] offers the other solution. The approach uses the representative of persistent cohomology and the shortest path algorithm. Our proposed method has two advantages over reconstructed shortest cycles. The first is its mathematical background. We prove Theorem 11 to show the good property of stable volumes and stable sub-volumes. Reconstruct shortest cycles do not have such mathematical justification. The second is the difference in the scope of application. Stable volumes and sub-volumes can apply to the PH of any degree; however, reconstructed shortest cycles are only applicable to 1st PH. On the other hand, the advantage of reconstructed shortest cycles is computation efficiency. The algorithm of reconstructed shortest cycles uses the shortest path algorithm and is faster than stable volumes and sub-volumes in general.
In this paper, we presented algorithms only for the filtration of a simplicial complex; however, the concept can be applied to other filtrations, such as cubical and cell filtrations. The proposed algorithms should be helpful in the study of two-dimensional, three-dimensional, or higher-dimensional digital images.
Although we used the number of simplices as the volume size in this paper, it is possible to use the real volume by changing the objective function from to , where is the volume of the simplex . This idea may improve the result.
Acknowledgments
This research is partially supported by JSPS KAKENHI JP19H00834, JP20H05884, JST Presto JPMJPR1923, JST CREST JPMJCR15D3, and JST-Mirai Program JPMJMI18G3.
References
- [1] Henry Adams, Tegan Emerson, Michael Kirby, Rachel Neville, Chris Peterson, Patrick Shipman, Sofya Chepushtanova, Eric Hanson, Francis Motta, and Lori Ziegelmeier. Persistence images: A stable vector representation of persistent homology. Journal of Machine Learning Research, 18(8):1–35, 2017.
- [2] 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, SOCG’14, page 355–364, New York, NY, USA, 2014. Association for Computing Machinery.
- [3] P. Bendich, P. Bubenik, and A. Wagner. Stabilizing the unstable output of persistent homology computations. J Appl. and Comput. Topology, 4:309–338, 2020.
- [4] Peter Bubenik. Statistical topological data analysis using persistence landscapes. Journal of Machine Learning Research, 16(3):77–102, 2015.
- [5] Gunnar Carlsson. Topology and data. Bull. Amer. Math. Soc., 46:255–308, January 2009.
- [6] Gunnar Carlsson, Tigran Ishkhanov, Vin de Silva, and Afra Zomorodian. On the local behavior of spaces of natural images. International Journal of Computer Vision, 76(1):1–12, Jan 2008.
- [7] Joseph Minhow Chan, Gunnar Carlsson, and Raul Rabadan. Topology of viral evolution. Proceedings of the National Academy of Sciences, 110(46):18566–18571, 2013.
- [8] Frédéric Chazal, David Cohen-Steiner, Marc Glisse, Leonidas J. Guibas, and Steve Y. Oudot. Proximity of persistence modules and their diagrams. In Proceedings of the Twenty-Fifth Annual Symposium on Computational Geometry, SCG ’09, page 237–246, New York, NY, USA, 2009. Association for Computing Machinery.
- [9] Chao Chen and Daniel Freedman. Hardness results for homology localization. Discrete & Computational Geometry, 45(3):425–448, Apr 2011.
- [10] David Cohen-Steiner, Herbert Edelsbrunner, and John Harer. Stability of persistence diagrams. Discrete & Computational Geometry, 37(1):103–120, Jan 2007.
- [11] Tamal K. Dey, Anil N. Hirani, and Bala Krishnamoorthy. Optimal homologous cycles, total unimodularity, and linear programming. SIAM J. Comput., 40(4):1026–1044, July 2011.
- [12] Tamal K. Dey, Tao Hou, and Sayan Mandal. Persistent 1-cycles: Definition, computation, and its application. In Rebeca Marfil, Mariletty Calderón, Fernando Díaz del Río, Pedro Real, and Antonio Bandera, editors, Computational Topology in Image Context, pages 123–136, Cham, 2019. Springer International Publishing.
- [13] Herbert Edelsbrunner and John Harer. Computational topology: an introduction. American Mathematical Soc., 2010.
- [14] Herbert Edelsbrunner, David Letscher, and Afra Zomorodian. Topological persistence and simplification. Discrete & Computational Geometry, 28(4):511–533, Nov 2002.
- [15] Herbert Edelsbrunner and Ernst P. Mücke. Three-dimensional alpha shapes. ACM Trans. Graph., 13(1):43–72, January 1994.
- [16] Jeff Erickson and Kim Whittlesey. Greedy optimal homotopy and homology generators. In Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’05, pages 1038–1046, Philadelphia, PA, USA, 2005. Society for Industrial and Applied Mathematics.
- [17] Emerson G. Escolar and Yasuaki Hiraoka. Optimal Cycles for Persistent Homology Via Linear Programming, pages 79–96. Springer Japan, Tokyo, 2016.
- [18] 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.
- [19] Akihiko Hirata, Tomohide Wada, Ippei Obayashi, and Yasuaki Hiraoka. Structural changes during glass formation extracted by computational homology with machine learning. Communications Materials, 1(1):98, Dec 2020.
- [20] V. Kurlin. A one-dimensional homologically persistent skeleton of an unstructured point cloud in any metric space. Computer Graphics Forum, 34(5):253–262, 2015.
- [21] Genki Kusano, Kenji Fukumizu, and Yasuaki Hiraoka. Kernel method for persistence diagrams via kernel embedding and weight factor. Journal of Machine Learning Research, 18(189):1–41, 2018.
- [22] Michael Lesnick. The theory of the interleaving distance on multidimensional persistence modules. Foundations of Computational Mathematics, 15(3):613–650, Jun 2015.
- [23] Ippei Obayashi. Volume optimal cycle: Tightest representative cycle of a generator on persistent homology, 2017. Preprint version of [24], https://arxiv.org/abs/1712.05103.
- [24] 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.
- [25] Ippei Obayashi and HomCloud developer team. Homcloud.
- [26] Yohei ONODERA, Shinji KOHARA, Shuta TAHARA, Atsunobu MASUNO, Hiroyuki INOUE, Motoki SHIGA, Akihiko HIRATA, Koichi TSUCHIYA, Yasuaki HIRAOKA, Ippei OBAYASHI, Koji OHARA, Akitoshi MIZUNO, and Osami SAKATA. Understanding diffraction patterns of glassy, liquid and amorphous materials via persistent homology analyses. Journal of the Ceramic Society of Japan, 127(12):853–863, 2019.
- [27] Sébastien Le Rouxa and Valeri Petkova. Isaacs – interactive structure analysis of amorphous and crystalline systems. Journal of applied crystallography, 43(1):181–185, 2010.
- [28] M. Saadatfar, H. Takeuchi, V. Robins, N. Francois, and Y. Hiraoka. Pore configuration landscape of granular crystallization. Nature Communications, 8:15082, 2017.
- [29] B. Schweinhart. Statistical Topology of Embedded Graphs. PhD thesis, Princeton University, August 2015. https://web.math.princeton.edu/~bschwein/.
- [30] Philip Smith and Vitaliy Kurlin. Skeletonisation algorithms with theoretical guarantees for unorganised point clouds with high levels of noise. volume 115, 2021.
- [31] Anna Suzuki, Miyuki Miyazawa, James M. Minto, Takeshi Tsuji, Ippei Obayashi, Yasuaki Hiraoka, and Takatoshi Ito. Flow estimation solely from image data through persistent homology analysis. Scientific Reports, 11(1):17948, Sep 2021.
- [32] A. Tahbaz-Salehi and A. Jadbabaie. Distributed coverage verification in sensor networks without location information. In 2008 47th IEEE Conference on Decision and Control, pages 4170–4176, Dec 2008.
- [33] Afra Zomorodian and Gunnar Carlsson. Computing persistent homology. Discrete & Computational Geometry, 33(2):249–274, Feb 2005.
- [34] Matija Čufar. Ripserer.jl: flexible and efficient persistent homology computation in julia. Journal of Open Source Software, 5(54):2614, 2020.
Appendix A Reconstructed shortest cycles in Ripserer.jl
We illustrate the mechanism of reconstructed shortest cycles in Ripserer.jl using an example.

Figure 18 shows the example filtration, and we consider -persistent homology. In this filtration, a homology generator appearing at disappears at . That is, is a birth-death pair in the first persistence diagram. The representative cycle corresponding to the pair is . This representative cycle is the loop appearing at .
Now we consider persistent cohomology. The persistence diagram defined by persistent cohomology is identical to the diagram by persistent homology since we use a field as a coefficient, but the representative cocycle is, of course, different. The representative cocycle corresponding to is .

From the observation of the example, we find that the representative cocycle is the “cut” of the loop. This means that any representative cycle corresponding to the birth-death pair disappears if we remove all 1-simplices in the representative cocycle from the 1-skeleton of as shown in Fig. 19(a).
Using this fact, we can compute representative cycles using the shortest path algorithm. Let be , the set of all 1-simplices in the representative cocycle. Now is divided into two parts, one is and another is . Then we compute a shortest path in whose two endpoints are the endpoints of . The result is shown in Fig. 19(b).
We can extend the idea to computer tighter cycles. We can similarly divide into and . For each , we compute the shortest path in whose two endpoints are the endpoints of . The results are (b) and (c) in Fig. 19, and we choose (c) as the shortest loop in these loops. Using instead of , we compute an even tighter loop (d). This is the mechanism of the reconstructed shortest cycles.
The algorithm is summarized as follows.
-
1.
The 1st Persistence diagram for a filtration is computed using persistent cohomology. The representative cocycles are also computed
-
2.
We choose a birth-death pair , and take the corresponding representative cocycle
-
3.
We also choose between and
-
4.
For each , we compute the shortest path in , , whose two endpoints are the endpoints of
-
5.
We search the shortest one from
The mathematical justification of the algorithm is not yet given, but empirically it works well. A deeper analysis of the algorithm is beyond the scope of this paper.