Abstract
This paper is intended to introduce a filtration analysis of sampled maps based on persistent homology, providing a new method for reconstructing the underlying maps. The key idea is to extend the definition of homology induced maps of correspondences using the framework of quiver representations. Our definition of homology induced maps is given by most persistent direct summands of representations. The direct summands uniquely determine a persistent homology. We provide stability theorems of this process and show that the output persistent homology of the sampled map is the same as that of the underlying map if the sample is sufficiently dense. Compared to existing methods using eigenspace functors, our filtration analysis represents an important advantage that no prior information related to the eigenvalues of the underlying map is required. Some numerical examples are given to demonstrate the effectiveness of our method.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
One can consider the following problem.
Problem 1.1
Let X and Y be topological spaces, and let \(f:X \rightarrow Y\) be a continuous map. If we know only X, Y, and sampling data \(f\mathord {\upharpoonright }_S\), which is a restriction of f on a finite subset \(S\subset X\), then can we retrieve any information about the homology induced map \(f_*:HX \rightarrow HY\)?
The map \(f\mathord {\upharpoonright }_S\) is called a sampled map of f. This paper is motivated by Harker et al. (2016), who suggested the following analysis for sampled maps (Fig. 1). A grid \(\mathcal {X}\) of X is a finite collection of subsets of X with disjoint interiors such that \(\bigcup \mathcal {X} := \bigcup _{X' \in \mathcal {X}} X' = X\). First, we divide the topological spaces X and Y into grids \(\mathcal {X}\) and \(\mathcal {Y}\) and let F be the union of regions with elements of the sample \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S) := \{(s, f(s)) \mid s \in S\}\). That is,
the purple regions in Fig. 2. The set F is an approximation of the graph \({{\,\mathrm{Gr}\,}}(f)\) from the sampled map by this subspace, which is called a correspondence.
Definition 1.2
A correspondence F from X to Y is a subspace of \(X \times Y\).
Definition 1.3
For a correspondence F, let \(p :F \rightarrow X\) and \(q :F \rightarrow Y\) be canonical projections, and let \(p_{*}:HF \rightarrow HX\) and \(q_{*}:HF \rightarrow HY\) be their homology induced maps. If \(p_{*}\) and \(q_{*}\) satisfy two properties
-
\(\mathop {\mathrm {Im}}\nolimits p_{*}= HX\) (homologically complete)
-
\(q_{*}({{\,\mathrm{Ker}\,}}p_{*}) = 0\) (homologically consistent),
then the induced map of F defined as \(F_{*}:= q_{*}\circ p_{*}^{-1} :HX \rightarrow HY\) is well-defined.
The graph \({{\,\mathrm{Gr}\,}}(f)\) of f is a correspondence. Because f is continuous, \(p :{{\,\mathrm{Gr}\,}}(f) \rightarrow X\) is a homeomorphism. As a consequence, \(p_{*}\) and \(q_{*}\) for \({{\,\mathrm{Gr}\,}}(f)\) satisfy homological completeness and homological consistency. Therefore \({{\,\mathrm{Gr}\,}}(f)_{*}\) is well-defined. We remark that this induced map \({{\,\mathrm{Gr}\,}}(f)_{*}\) coincides with \(f_{*}\). The following theorem guarantees that \(F_{*}\) restores \(f_{*}\) when the grid is fine and the sample is sufficiently dense.
Theorem 1.4
(Harker et al. 2016, Theorem 3.10) If a correspondence F satisfies \({{\,\mathrm{Gr}\,}}(f) \subset F\) and is homologically consistent, then \(F_{*}\) is well-defined and \(f_{*}= F_{*}\).
In Sect. 3, we give a new definition of induced maps of correspondences within the quiver representations framework. It might be readily apparent that the indecomposable decompositions of quiver representations give us an assignment among the bases of HX, HF, and HY, which defines the induced map from HX to HY.
Edelsbrunner et al. (2015) reported a means of analyzing the eigenspaces of the homology induced map of a self-map (discrete dynamical system). For this analysis, the authors construct a filtration of simplicial maps from the sampled map and build its persistent homology by application of the homology functor and eigenspace functors. This construction of the filtration and the new definition of homology induced maps provide a further technique that enables another persistence analysis of sampled maps, shown in Sect. 4. Specifically, the bases’ assignment can compress the three persistent homologies generated by the finite sets S, \(f\mathord {\upharpoonright }_S\), and f(S), yielding a persistent homology that describes the persistence of the topological mapping from the domain to the image of the induced map \(f_{*}\). Moreover, in Sect. 4.2, we apply this persistence analysis to the above gridded setting.
The main theorems of this paper are stability theorems for these processes, Theorems 5.6 and 5.8 in Sect. 5, which state that these mappings from the input (sampled maps) to output (persistent homology or persistence diagrams) are non-expanding maps. The key idea for the proof is functoriality of our analysis and is applied to 2-D persistence modules in Sect. 6.
Finally, we present some numerical results in Sect. 7 and examples of failed reconstructions in Sect. 8.
2 Preliminaries
In this section, we introduce quiver representations and matrix notation for morphisms between \(A_n\) type representations. For more details, we refer the reader respectively to Assem et al. (2006) and Asashiba et al. (2019).
2.1 Quivers and their representations
Throughout this paper, scalars of vector spaces and coefficient rings of homology groups are a fixed field K. A quiver \(Q = (Q_0, Q_1, s, t)\) (or simply \((Q_0, Q_1)\)) is a directed graph with a set of vertices \(Q_0\), a set of arrows \(Q_1\), and morphisms \(s, t:Q_1 \rightarrow Q_0\) identifying the source and the target vertex of an arrow. An arrow \(\alpha \in Q_1\) is denoted by \(\alpha :s(\alpha ) \rightarrow t(\alpha )\). A representation of a quiver Q, denoted \(M = (M_a, \varphi _{\alpha })_{a \in Q_0, \alpha \in Q_1}\) (or simply \((M_a, \varphi _{\alpha })\) or \((M,\varphi )\)), is a collection of a (finite-dimensional) vector space \(M_a\) for each vertex \(a \in Q_0\) and a linear map \(\varphi _{\alpha } :M_a \rightarrow M_b\) for each arrow \(\alpha :a \rightarrow b \in Q_1\).
A morphism from \(M = (M_a, \varphi _{\alpha })\) to \(M' = (M'_a, \varphi '_{\alpha })\) is defined as
with commutativity
The composition of morphisms \(f = \{f_a\} :M \rightarrow M'\) and \(g = \{g_a\} :M' \rightarrow M''\) is \(gf = \{g_a f_a\}:M \rightarrow M''\).
These definitions determine an additive category of representations \({{\,\mathrm{rep}\,}}(Q)\). Specifically, \({{\,\mathrm{rep}\,}}(Q)\) has a zero representation, isomorphisms of representations, and direct sums of representations. One can see the concrete construction of these in Assem et al. (2006).
A representation M is indecomposable if \(M \cong N \oplus N'\) implies \(N = 0\) or \(N' = 0\). From the Krull–Remak–Schmidt theorem, every representation M can be uniquely decomposed into a direct sum of indecomposables \(M \cong N_1 \oplus \dots \oplus N_s\), unique up to isomorphism and permutations.
A quiver Q is of finite type if the number of distinct isomorphism classes of indecomposables is finite. It is of infinite type otherwise.
\(A_n(\tau _n)\) type quivers (or simply \(A_n\) type quivers) are a class of quivers with the following shape:
where \(\longleftrightarrow \) denotes a forward arrow \(\longrightarrow \) or backward arrow \(\longleftarrow \), and where \(\tau _n\) is a sequence of \(n - 1\) symbols f and b determining the arrow orientation. From Gabriel’s theorem (Gabriel 1972), every \(A_n\) type representation
can be decomposed uniquely into a direct sum of indecomposable interval representations as
In topological data analysis, persistent homology plays a central role. The homology of a filtration of simplicial complexes
can be regarded as a representation of an \(A_n(ff \cdots f)\) type quiver in the framework of quiver representations. Each interval representation \(\mathbb {I}[b, d]\) corresponds to a generator of a homology group that is born at \(HX_b\) and which dies at \(HX_{d + 1}\). Therefore, the length \(d - b\) is called its lifetime or persistence. The persistence diagram is a multiset
determined by the decomposition. We illustrate it by plotting it on a plane. This description provides an overview of the generators of all homology groups. Therefore, this approach is used frequently for applications of persistent homology.
The framework of quiver representations has extended persistent homology to general representations of quivers. We designate representations of quivers as persistence modules. Zigzag persistence modules (Carlsson and de Silva 2010) are examples of the extension, enabling persistence analysis of time series data.
Consider deformations of topological spaces \((X_1, \ldots , X_T)\), a sequence of topological spaces. The zigzag persistence of the sequence is the representation of an \(A_{2T-1}(fbfb\cdots fb)\) type quiver of
composed by the unions of neighboring spaces and their canonical inclusions. Decomposition of the zigzag persistence module as a representation yields a persistence diagram again, where each interval captures the persistence of a homology generator in the deformations of spaces.
2.2 Matrix notation for morphisms in \({{\,\mathrm{rep}\,}}(A_n)\)
Asashiba et al. (2019) established a new matrix notation for morphisms in \({{\,\mathrm{rep}\,}}(A_n)\) in the following way. This notation will provide a clear perspective when arguing the well-definedness of persistence analysis in Sect. 4.
Definition 2.1
(Asashiba et al. 2019, Definition 3) The arrow category \(\mathrm {arr}({{\,\mathrm{rep}\,}}(Q))\) of the category \({{\,\mathrm{rep}\,}}(Q)\) is a category with objects that are all morphisms in \({{\,\mathrm{rep}\,}}(Q)\), where morphisms are defined as explained below. For two objects \(f :M \rightarrow N\) and \(f' :M' \rightarrow N'\) in this category, a morphism from f to g is a pair \((F_M, F_N)\) of morphisms \(F_M :M \rightarrow M'\) and \(F_N :N \rightarrow N'\) satisfying \(F_N f = f' F_M\). The composition of morphisms \((F_M, F_N):f \rightarrow f'\) and \((G_M, G_N) :f' \rightarrow f''\) is defined as \((G_M F_M, G_N F_N) :f \rightarrow f''\).
We remark that every morphism \(\varphi :V \rightarrow W\) between representations of \({{\,\mathrm{rep}\,}}(A_n)\) is isomorphic to a morphism between direct sums of interval representations as
in \(\mathrm {arr}({{\,\mathrm{rep}\,}}(A_n))\), where
are indecomposable decompositions. By the following lemma, the morphism \(\varPhi \) can be expressed in a matrix form.
Definition 2.2
(Asashiba et al. 2019, Definition 4) The relation \(\trianglerighteq \) is defined on the set of interval representations of \(A_n(\tau _n)\), \(\{\mathbb {I}[b,d] \mid 1 \le b \le d \le n\}\), by setting \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d]\) if and only if \(\mathrm {Hom}(\mathbb {I}[a,b],\mathbb {I}[c,d])\) is nonzero. We write \(\mathbb {I}[a,b] \vartriangleright \mathbb {I}[c,d]\) if \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d]\) and \(\mathbb {I}[a,b] \ne \mathbb {I}[c,d]\).
Lemma 2.3
(Asashiba et al. 2019, Lemma 1) Let \(\mathbb {I}[a,b]\) and \(\mathbb {I}[c,d]\) be interval representations of \(A_n(\tau _n)\).
-
1.
The dimension of \(\mathrm {Hom}(\mathbb {I}[a,b],\mathbb {I}[c,d])\) as a K-vector space is either 0 or 1.
-
2.
A K-vector space basis \(\{f_{a:b}^{c:d}\}\) can be chosen for each \(\mathrm {Hom}(\mathbb {I}[a,b],\mathbb {I}[c,d])\) such that if \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d]\), \(\mathbb {I}[c,d] \trianglerighteq \mathbb {I}[e,f]\) and \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[e,f]\), then
$$\begin{aligned} f_{a:b}^{e:f} = f_{c:d}^{e:f}f_{a:b}^{c:d}. \end{aligned}$$
The notation \([a,b] := \{a, a+1, \ldots , b\}\) is used to denote the interval of integers i with \(a \le i \le b\). A candidate for the basis is
for the case \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d]\). For convenience, we define \(f_{a:b}^{c:d} = 0\) for the case \(\mathbb {I}[a,b] \not \trianglerighteq \mathbb {I}[c,d]\). We fix this basis throughout this paper.
The morphism \(\varPhi \) can be written in block matrix form as
where each block matrix entry \(\varPhi _{a:b}^{c:d} :\mathbb {I}[a,b]^{m_{a,b}} \rightarrow \mathbb {I}[c,d]^{m_{c,d}'}\) is the composition of the canonical inclusion \(\iota \) with the canonical projection \(\pi \) as
Similarly, each block \(\varPhi _{a:b}^{c:d}\) can be written in matrix form with the entries in \(\mathrm {Hom}(\mathbb {I}[a,b],\mathbb {I}[c,d])\) as
For each relation \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d]\), according to Lemma 2.3 and factoring out \(f_{a:b}^{c:d}\) from each \(\phi _j^i\), one can obtain \(\phi _j^i = \mu _j^i f_{a:b}^{c:d}\) for some \(\mu _j^i \in K\). Similarly, factoring out \(f_{a:b}^{c:d}\) from each \(\varPhi _{a:b}^{c:d}\), one obtains
where each \(M_{a:b}^{c:d}\) is a \(m_{c,d} \times m_{a,b}\) matrix with the entries in K.
Definition 2.4
Letting \(\varphi \) be a morphism in \({{\,\mathrm{rep}\,}}(A_n)\), the block matrix form \(\varPhi (\varphi )\) of \(\varphi \) is
Asashiba et al. (2019) shows that isomorphisms in the arrow category \(\mathrm {arr}({{\,\mathrm{rep}\,}}(A_n))\) correspond to row and column operations in block matrix form. These operations are performed by matrix multiplication with the same restriction, i.e., the block of \(\mathbb {I}[a,b] \not \trianglerighteq \mathbb {I}[c,d]\) must always be zero. The column and row operations are almost identical to those of K-matrices. However, because of the restriction, addition from a block to certain blocks is not permissible.
We can discuss column operations next. We define a morphism \(\varPhi '\) such that the following diagram commutes:
Therein, \(\varTheta \) is an isomorphism: \(\varPhi \) and \(\varPhi '\) are isomorphic in the arrow category. Observing that the domain and codomain of \(\varTheta \) are direct summations, then \(\varTheta \) can also be written in a block matrix form \(\left[ C_{{a{:}b}}^{{c{:}d}} f_{{a{:}b}}^{{c{:}d}} \right] \) by an argument similar to that made for \(\varPhi \). The multiplication \(\varPhi \varTheta \) denotes column operations on \(\varPhi \). Its block at column a : b and row c : d is
The difference from the usual column operations on K-matrices is the part not only of the morphism \(f_{{a{:}b}}^{{c{:}d}}\) but also of the summation \(\sum _{\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[e,f] \trianglerighteq \mathbb {I}[c,d]}\). The existence of the morphism \(f_{{a{:}b}}^{{c{:}d}}\) merely means that the block with \(\mathbb {I}[a,b] \not \trianglerighteq \mathbb {I}[c,d]\) must always be zero even when added from the other part. The summation \(\sum _{\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[e,f] \trianglerighteq \mathbb {I}[c,d]}\) might be somewhat more complicated. It means that not all the column operations are permissible: only the following cases.
-
Elementary column operations (switching, multiplication, and addition) within the same interval are always permissible.
-
Column addition to \(\mathbb {I}[a,b]\) from another interval \(\mathbb {I}[e,f]\) with relation \(\mathbb {I}[a,b] \vartriangleright \mathbb {I}[e,f]\) is permissible.
Similar properties of permissibility hold for row operations.
-
Elementary row operations (switching, multiplication, and addition) within the same interval are always permissible.
-
Row addition to \(\mathbb {I}[a,b]\) from another interval \(\mathbb {I}[e,f]\) with relation \(\mathbb {I}[e,f] \vartriangleright \mathbb {I}[a,b]\) is permissible.
The following is an example of permissibility in the case of \(\mathrm {arr}({{\,\mathrm{rep}\,}}(A_3(bf)))\).
Example 2.5
The following matrix is the block matrix form of \(\mathrm {arr}({{\,\mathrm{rep}\,}}(A_3(bf)))\), for which we use the symbols \({a{:}b}\) to denote the rows and columns corresponding to the direct summands \(\mathbb {I}[a,b]^{m_{a,b}}\). Each block \(M_{{a{:}b}}^{{c{:}d}} f_{{a{:}b}}^{{c{:}d}}\) is abbreviated to \(*\) if \(f_{{a{:}b}}^{{c{:}d}} \ne 0\) and \(\emptyset \) otherwise. The prohibited additions for columns and rows, written as red arrows, correspond to the positions of the zero blocks \(\emptyset \). Because the column addition from lower to upper blocks and row addition from left to right blocks are always prohibited, we write down only the prohibited column additions from upper to lower, and prohibited row addition from right to left. A notable fact is that either \(f_{{a{:}b}}^{{1{:}3}}\) or \(f_{{1{:}3}}^{{a{:}b}}\) is 0 for arbitrary \((a,b) \ne (1,3)\). In other words, \(\mathbb {I}[1,3] \trianglerighteq \mathbb {I}[a,b] \trianglerighteq \mathbb {I}[1,3]\) if and only if \((a,b) = (1,3)\). We refer to this fact in the proof of Lemma 4.4.
3 Induced maps via quiver representations
For discussion presented in this section, we redefine the induced map of a correspondence using quiver representations. Let \(H = H(-;K)\) be the homology functor with coefficients in K. As a representation of an \(A_3(bf)\) type quiver, the diagram \(HX \overset{p_{*}}{\leftarrow } HF \overset{q_{*}}{\rightarrow } HY\) induced by a correspondence \(F \subset X \times Y\) can be decomposed into a direct sum of interval representations as
This indecomposable decomposition can be written as the following diagram:
The choice of bases gives us a relation between bases of HX and HY, which can be regarded as a map from HX to HY. For example, an interval representation \(\mathbb {I}[1,2]\) assigns an element of the standard basis of \(K^{\dim HX}\) to 0 in \(K^{\dim HY}\). Therefore, non-trivial assignment occurs only with the interval representations \(\mathbb {I}[1,3] = (K \overset{\mathrm {id}_K}{\leftarrow } K \overset{\mathrm {id}_K}{\rightarrow } K)\). By regarding the other interval representations as 0 maps from HX to HY, one can define a map \(\iota _Y \circ \pi _X :K^{\dim HX} \rightarrow K^{\dim HY}\) factoring the interval \(\mathbb {I}[1,3]\) as
where the arrows \(\twoheadrightarrow \) are the canonical projections of the vector spaces. The morphism \(\iota _Y\) is the canonical injection of the vector space. Composing the path of morphisms, one can define the induced map of F through h as
This definition requires no two assumptions described in Definition 1.3. Although our definition depends on the choice of isomorphism of indecomposable decomposition, when the two assumptions are satisfied, our definition coincides with the original definition \(q_{*}\circ p_{*}^{-1}\) by the following theorem.
Theorem 3.1
Define \(F_{*}:= h_Y^{-1} \circ \iota _Y \circ \pi _X \circ h_X\). If F is homologically complete and homologically consistent, then \(F_{*}= q_{*}\circ p_{*}^{-1}\).
Proof
The claim to prove is
Since the morphism \(p_{*}\) is surjective, this is equivalent to
In addition, \(q_{*}= q_{*}\circ p_{*}^{-1} \circ p_{*}\) because of the homological consistency \(q_{*}({{\,\mathrm{Ker}\,}}(p_{*})) = 0\). Therefore, what must be proven is
By chasing the diagram of Fig. 3, this equation results in
The standard basis of \(K^{\dim HF}\) corresponds to the standard bases of the four intervals \(\mathbb {I}[2,3]\), \(\mathbb {I}[2,2]\), \(\mathbb {I}[1,2]\), and \(\mathbb {I}[1,3]\). Here we remark that the homological consistency \(q_{*}({{\,\mathrm{Ker}\,}}(p_{*})) = 0\) is equivalent to \(m_{2,3} = 0\). That is to say that \(\mathbb {I}[2,3]\) does not exist as a direct summand. Moreover, the basis corresponding to \(\mathbb {I}[2,2]\) and \(\mathbb {I}[1,2]\) is mapped to 0 by both \(q^K\) and \(\iota _Y \circ \pi _F\). The definition clarifies that \(q^K(a) = \iota _Y \circ \pi _F(a)\) holds for each element a of the standard basis of \(K^{\dim HF}\) corresponding to the standard bases of \(\mathbb {I}[1,3]\). \(\square \)
4 Persistence analysis for sampled maps
The ability to decompose and emphasize specifically the interval representation \(\mathbb {I}[1,3]\) provides persistence analysis for sampled maps. One can consider the following problem, which is similar to Problem 1.1 but which requires additional assumptions of embeddings.
Problem 4.1
Let \(f:X \rightarrow Y\) be a continuous map for \(X, Y \subset \mathbb {R}^n\). If X, Y, and f are unknown, then we know only a sampled map \(f\mathord {\upharpoonright }_S :S \rightarrow f(S)\), which is a restriction of f on a finite subset \(S\subset X\), then can we retrieve any information about the homology-induced map \(f_*:HX \rightarrow HY\)?
It is noteworthy that sampling S is a point cloud capturing some topological features of X when S is sufficiently dense. Originally, after Edelsbrunner et al. (2015) set this problem with the additional assumption that \(X = Y\), they constructed a persistent homology of eigenspaces of the sampled map to analyze the eigenspaces of the discrete dynamical system f.
In this section, we explain how to construct another persistent homology of a sampled map, which captures the generator of HX and Hf(X) connected by f. We can use filtrations of two types in Sects. 4.1 and 4.2. The former filtration is generated using simplicial complexes. Then we can prove a stability theorem (Theorem 5.6) of this construction in Sect. 5. The latter filtration, which is generated using grids as in Sect. 3, also derives stability (Theorem 5.8). The stability theorem for the latter, however, requires more assumptions than for the former. For that reason, we explain it in this order.
4.1 Construction using simplicial complexes
First, we generate a filtration of abstract simplicial complexes of S as
each simplex of which has elements of S as its vertices, so that the filtration can capture the topology of the underlying space X. For example, Čech complexes or Vietoris–Rips complexes (Edelsbrunner and Harer 2010) are available.
Definition 4.2
Let P be a point cloud in \(\mathbb {R}^n\). The Čech complex \(\varGamma _r\) for P with a radius r is the abstract simplicial complex defined as
where B(p; r) is the closed ball of center p and radius r. Letting \(d_{\mathbb {R}^n}\) be the Euclidean metric on \(\mathbb {R}^n\), then the Vietoris–Rips complex \(V_r\) for P with a radius r is the abstract simplicial complex defined as
Similarly, we generate a filtration of abstract simplicial complexes
for f(S).
Using these filtrations, we attempt to build a filtration of maps from \(f\mathord {\upharpoonright }_S\) to analyze the persistence of the original map f, in analogy with the classical technique of persistent homology. Although we expect the sampled map to derive a simplicial map \(C_i \rightarrow D_i\) on each i-th filter, in general, they can derive only a simplicial partial mapFootnote 1\(f_i :C_i \nrightarrow D_i\). For a simplex \(\{s_1, \ldots , s_d\} \in C_i\), it is not assumed that \(\{f(s_1), \ldots , f(s_d)\} \in D_i\). Therefore, the conventional technique computing topological persistence for simplicial maps (Dey et al. 2014) is not available in this setup.
We remark that the graph \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S) = \{(s,f(s)) \in \mathbb {R}^n \times \mathbb {R}^n \mid s \in S\}\) of the sampled map is a point cloud in \(\mathbb {R}^n \times \mathbb {R}^n\). Let us define the i-th abstract simplicial complex \(G_i\) of \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)\) as
One can show that \(\{G_i\}\) forms a filtration. The sequence of the partial maps can be regarded as a sequence \(\{C_i \overset{p_i}{\leftarrow } G_i \overset{q_i}{\rightarrow } D_i\}\) of pairs of canonical projections \((p_i, q_i)\). This sequence of pairs constitutes a filtration induced by the inclusion maps of the filtration
By applying the homology functor to the sequence, one can obtain a sequence of representations of the \(A_3(bf)\) type quiver as
Remark 4.3
Earlier research (Edelsbrunner et al. 2015) used domains of partial maps to construct a similar filtration. For a partial map \(f_i :C_i \nrightarrow D_i\)Footnote 2, the domain \({{\,\mathrm{dom}\,}}f_i\) is defined as
Using the inclusion \(\iota _i :{{\,\mathrm{dom}\,}}f_i \hookrightarrow C_i\) and the simplicial map \(f'_i :{{\,\mathrm{dom}\,}}f_i \rightarrow D_i\) induced by the map f on \({{\,\mathrm{dom}\,}}f_i\), the domains induce the representation
similarly. By the definitions of \(G_i\) and \({{\,\mathrm{dom}\,}}f_i\), it is readily apparent that the induced representation (3) is isomorphic to our representation (2). For consistency from the viewpoint of graphs and correspondences, we adopt the simplicial complexes \(\{G_i\}\).
Here, decomposing each filter \(HC_i \leftarrow HG_i \rightarrow HD_i\) as a representation to the intervals \(\bigoplus _{1\le b \le d \le 3} \mathbb {I}[b,d]^{m_{b,d}^i}\), the representation (2) is isomorphic to
Projecting to \(\mathbb {I}[1,3]\) again yields a sequence of subrepresentations as
One must carefully construct \(\varLambda [1,3]\). We write canonical projections and injections defined by direct sum respectively as
and the morphisms in \(\varLambda \) as
Then, the morphisms in \(\varLambda [1,3]\)
are defined as
which is the submatrix at \(({1{:}3},{1{:}3})\) in a block matrix form of \(\varPhi _i\).
At a glance, this construction seems natural, but “\(\pi :\varLambda \rightarrow \varLambda [1,3]\)” is not a morphism in the representation category. In other words,
does not always commute. Consequently, the choice of isomorphism of indecomposable decomposition on each filter \(HC_i \leftarrow HG_i \rightarrow HD_i\) might make a difference in the output persistence diagram. To make sense of this analysis, the output persistence diagram should be determined uniquely and independently of the choice of isomorphism. Theorem 4.6 guarantees uniqueness and independence. Before the theorem can be stated, two lemmas must be introduced.
The restriction to the block \(({1{:}3},{1{:}3})\) has the following functoriality.
Lemma 4.4
Let
and
be block matrix forms, then
Proof
Let the corresponding scalar matrix symbols of \(\varTheta \) and \(\varPsi \) respectively be M and N. The block matrix of \(\varPsi \varTheta \) at \(({1{:}3},{1{:}3})\) is
but only \(\mathbb {I}[1,3]\) can be a candidate for the interval \(\mathbb {I}[a,b]\) as described in Example 2.5. Therefore,
\(\square \)
Lemma 4.5
Let \(\varTheta :\bigoplus _{1\le b \le d \le 3} \mathbb {I}[b,d]^{m_{b,d}^1} \rightarrow \bigoplus _{1\le b \le d \le 3} \mathbb {I}[b,d]^{m_{b,d}^2}\) be the block matrix form of an isomorphism. Then \(\varTheta _{{1{:}3}}^{{1{:}3}}\) is an isomorphism.
Proof
Let \(\varPsi \) be the inverse of \(\varTheta \). By Lemma 4.4,
The left-hand side is the block \(({1{:}3},{1{:}3})\) of the identity map, which is the identity map on \(\mathbb {I}[1,3]^{m_{1,3}^1}\). Similarly, \(\varTheta _{{1{:}3}}^{{1{:}3}} \varPsi _{{1{:}3}}^{{1{:}3}}\) is the identity map on \(\mathbb {I}[1,3]^{m_{1,3}^2}\). Therefore, it follows that \(\varTheta _{{1{:}3}}^{{1{:}3}}\) is isomorphic. \(\square \)
Theorem 4.6
The isomorphism class of
is determined uniquely and independently of the choice of the bases of
Proof
Let \(\varPsi _i\) be a morphism isomorphic to \(\varPhi _i\), which is written as a commutative diagram of
for some isomorphisms C and R. That is, \(\varPhi _i = R \varPsi _i C\); by Lemma 4.4, applying the restriction yields
By Lemma 4.5, \(R_{{1{:}3}}^{{1{:}3}}\) and \(C_{{1{:}3}}^{{1{:}3}}\) are isomorphisms. Therefore, \({\varPhi _i}_{{1{:}3}}^{{1{:}3}}\) is isomorphic to \({\varPsi _i}_{{1{:}3}}^{{1{:}3}}\). \(\square \)
Because consideration of \(\mathbb {I}[1,3] = (K \overset{\mathrm {id}_K}{\leftarrow } K \overset{\mathrm {id}_K}{\rightarrow } K)\) as K omits no information, the sequence \(\varLambda [1,3]\) can be regarded as a sequence of vector spaces
which is an \(A_\ell \) type representation.
Definition 4.7
For a sampled map \(f\mathord {\upharpoonright }_S\), persistent homology of the sampled map \(f\mathord {\upharpoonright }_S\) is the representation (4).
Decomposing the persistent homology into intervals, one can draw a persistence diagram that shows us the length of the generators of homology in both filtrations, which are assigned by f. Simultaneously, we have constructed the filtration of complexes approximating unknown spaces X and f(X).
Comparison with earlier research This persistence diagram provides no information about eigenvectors, unlike that provided by Edelsbrunner et al. (2015). Nevertheless, it is widely applicable. First, because our method uses no eigenspace functor, we need not require both sides’ spaces to be the same. Therefore, even in the case of sampled dynamical systems \(X = Y\), similarly to earlier research, we can weaken the assumption \(f\mathord {\upharpoonright }_S :S \rightarrow S\) to \(f\mathord {\upharpoonright }_S :S \rightarrow f(S)\) and take another filtration on f(S). (If f(S) is insufficiently dense for sampling X, then we can take \(S \cup f(S)\) instead.) Moreover, because the previous method must set an eigenvalue before analysis, they must predict some behavior of f in advance. By contrast, our method requires no prior information. The numerical experiments in Sect. 7 emphasize this difference.
4.2 Construction using a grid
The construction of the persistent homology discussed in Sect. 4.1 is applicable to the filtrations generated by expanding a graph. This perspective provides a persistent approach to correspondences of sampled maps constructed by dividing the spaces (Harker et al. 2016). Presuming that spaces X and Y are embedded into Euclidean space \(\mathbb {R}^n\), and that both \(\mathbb {R}^n\) are divided by n-dimensional \(\varepsilon \)-cubes, then
To distinguish the two divisions, we express this set as \(\mathcal {X}_\varepsilon \) for the X-side Euclidean space and \(\mathcal {Y}_\varepsilon \) for Y-side. Letting \(f\mathord {\upharpoonright }_S\) be a sampled map of a continuous map \(f :X \rightarrow Y\), and letting p and q be the respective canonical projections of \(\mathbb {R}^n \times \mathbb {R}^n\) to the X-side and Y-side Euclidean spaces, then we generate a correspondence
where \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S) := \{(s, f(s)) \mid s \in S\}\) (see Fig. 2).
We use the \(L^\infty \) metric defined as explained below.
Definition 4.8
The \(L^\infty \) metric \(d_\infty \) on \(\mathbb {R}^n\) (or \(\mathbb {R}^n \times \mathbb {R}^n\)) is defined as
for all \(x = (x_i)\), \(y = (y_i) \in \mathbb {R}^n\) (or \(\mathbb {R}^n \times \mathbb {R}^n\), respectively).
It is noteworthy that we abuse the same symbol \(d_\infty \) for both spaces \(\mathbb {R}^n\) and \(\mathbb {R}^n \times \mathbb {R}^n\). To construct a filtration along with the grids, one can define the filtration of a correspondence as
and morphisms \(p_{i\varepsilon } := p\mathord {\upharpoonright }_{F_{i\varepsilon }}\) and \(q_{i\varepsilon } := q\mathord {\upharpoonright }_{F_{i\varepsilon }}\). Here we restrict \(i = 1,\ldots ,\ell \) for sufficiently large \(\ell \). Consequently, we have a similar diagram to that presented before, as
thereby allowing us to obtain the filtrations \(\{p(F_{i\varepsilon })\}\) and \(\{q(F_{i\varepsilon })\}\), capturing the persistent topological features of X and f(X). Again, the homology functor derives the sequence of morphisms in \({{\,\mathrm{rep}\,}}(A_3(bf))\). Therefore, we can execute the same analysis as before, transforming it into block matrix form, restricting it to the blocks \(({1{:}3},{1{:}3})\), identifying it with a representation of the \(A_\ell \) type quiver, and consequently producing a persistence diagram.
5 Stability
For a tool in topological data analysis to be regarded as practical, the output persistence diagrams should behave continuously as a function of input data. Such a property, known as stability (Cohen-Steiner et al. 2007; Chazal et al. 2009), has been proved for persistence modules on \(\mathbb {R}\).
Let \(\mathsf {vect}\) be the category of finite-dimensional vector spaces, \(\mathbb {R}\) be the poset category of real numbersFootnote 3. An object of the functor category \(\mathsf {vect}^\mathbb {R}\) is also called a persistence module in some papers. To distinguish it from our definition, we call this an \(\mathbb {R}\)-persistence module.
Specifically, for an \(\mathbb {R}\)-persistence module M, we assign a vector space \(M_t\) for \(t \in \mathbb {R}\) and a linear map \(\varphi _M(s,t) :M_s \rightarrow M_t\) for \(s \le t \in \mathbb {R}\), where
for all \(r \le s \le t \in \mathbb {R}\). We designate the linear maps \(\varphi _M(s,t)\) as transition maps. A morphism \(f :M \rightarrow N\) of \(\mathbb {R}\)-persistence modules is a natural transformation: a collection of morphisms \(\{f_t :M_t \rightarrow N_t \mid t \in \mathbb {R}\}\) assuming the diagrams
commute for all \(s \le t \in \mathbb {R}\).
It is noteworthy that every persistence module can be regarded similarly as a functor from a finite poset category to \(\mathsf {vect}\).
The fundamental objects of \(\mathbb {R}\)-persistence modules are interval modules \(K_I\) for intervals \(I \subset \mathbb {R}\), given as \((K_I)_t = K\) for \(t \in I\) and \((K_I)_t = 0\) otherwise, and with the morphism corresponding to \(s \le t \in I\) is an identity map. As is the case with persistent homology, every \(\mathbb {R}\)-persistence module can be decomposed into a direct sum of interval modules (Crawley-Boevey 2015).
A distance between \(\mathbb {R}\)-persistence modules can be defined as the interleaving distance.
Definition 5.1
For \(\delta \ge 0\), define the functor \((\cdot )(\delta ) :\mathsf {vect}^\mathbb {R} \rightarrow \mathsf {vect}^\mathbb {R}\), called the shift functor, as explained below. For an \(\mathbb {R}\)-persistence module M, \(M(\delta )_t := M_{t+\delta }\) and \(\varphi _{M(\delta )}(s,t) := \varphi _M(s+\delta , t+\delta )\). For a morphism f in \(\mathsf {vect}^\mathbb {R}\), \(f(\delta ) := f_{t+\delta }\).
Definition 5.2
For an \(\mathbb {R}\)-persistence module M and \(\delta \ge 0\), the \(\delta \)-transition morphism \(\varphi _M(\delta ) :M \rightarrow M(\delta )\) is defined as \(\varphi _M(\delta )_t := \varphi _M(t, t+\delta )\).
Definition 5.3
\(\mathbb {R}\)-persistence modules M and N are said to be \(\delta \)-interleaved if there exist morphisms \(f :M \rightarrow N(\delta )\) and \(g :N \rightarrow M(\delta )\) such that
The interleaving distance \(d_I :\mathsf {vect}^\mathbb {R}\times \mathsf {vect}^\mathbb {R}\rightarrow [0,\infty ]\) is defined as
An often used distance between persistence diagrams is the bottleneck distance defined by bijections between them. The interleaving distance of \(\mathbb {R}\)-persistence modules is well-known to be equal to the bottleneck distance of their persistence diagrams (Lesnick 2015; Bauer and Lesnick 2014). Consequently, by showing that a distance between input data is greater than the interleaving distance of their \(\mathbb {R}\)-persistence module, one can prove the stability of the persistence diagrams as a function of the input data.
In analogy with Edelsbrunner et al. (2015), stability theorems for some filtrations also hold on our analysis. The discrete setting discussed in Sect. 4 is sufficient for implementation, but we extend it to a continuous analysis to prove its stability.
The following filtrations can be used for S and f(S). Let \(d_{\mathbb {R}^n \times \mathbb {R}^n}\) be a distance on \(\mathbb {R}^n \times \mathbb {R}^n\) defined as
where \(d_{\mathbb {R}^n}\) is the Euclidean metric on \(\mathbb {R}^n\). For a subset U of \(\mathbb {R}^n\), we define a function \(d_U :\mathbb {R}^n \rightarrow \mathbb {R}_{\ge 0}\) to be the infimum distance to a point in U. Similarly, we abuse the same symbol \(d_U :\mathbb {R}^n \times \mathbb {R}^n \rightarrow \mathbb {R}_{\ge 0}\) for a subset U of another space \(\mathbb {R}^n \times \mathbb {R}^n\). We use the notation \(U_r := d_U^{-1}[0,r]\) to denote the sublevel sets.
Let \({\textsf {Top}^{\textsf {(bf)}}}\) be the functor category from the \(A_3(bf)\) type quiver \((\cdot \leftarrow \cdot \rightarrow \cdot )\) as a poset category to the category of topological spaces. The sublevel sets \(S_r\), \(f(S)_r\), and \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)_r\) constitute the filtration \(\{S_r \leftarrow {{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)_r \rightarrow f(S)_r\}\) in \({\textsf {Top}^{\textsf {(bf)}}}\) with morphisms induced by inclusions such that the diagram
commutes for every \(s \le r \in \mathbb {R}_{\ge 0}\).
In the same way as that for the discrete analysis, applying homology functor H to the filtration produces \(\{HS_r \leftarrow H{{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)_r \rightarrow Hf(S)_r\}\), which is a family of objects in the representation category \({{\,\mathrm{rep}\,}}(A_3(bf))\) with induced morphisms from Diagram (5).
Remark 5.4
We have constructed different representations from earlier representations using complexes in Sect. 4.1, but these are isomorphic if we adopt Čech complexes. By the Nerve Lemma (Borsuk 1948), it is known that if U is a finite subset in a metric space, then the sublevel set \(U_r\) is homotopy equivalent to the Čech complex of U with radius r. Therefore, letting \(C_r\), \(G_r\), and \(D_r\) be Čech complexes with radius r of the finite subsets S, \({{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)\), and f(S), respectively, the induced family \(\{HC_r \leftarrow HG_r \rightarrow HD_r\}\) is isomorphic to the family \(\{HS_r \leftarrow H{{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)_r \rightarrow Hf(S)_r\}\).
Because decomposing every representation into intervals is isomorphic in the functor category \({{\,\mathrm{rep}\,}}(A_3(bf))^{\mathbb {R}}\), the family \(\{HS_r \leftarrow H{{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S)_r \rightarrow Hf(S)_r\}\) is isomorphic to \(\{\bigoplus _{1\le b \le d \le 3} \mathbb {I}[b,d]^{m_{b,d}^r}\}\). The induced morphisms can be written in block matrix form again.
Lemmas 4.4 and 4.6 uniquely determine the family \(\{\mathbb {I}[1,3]^{m_{1,3}^r}\}\) and the induced morphisms up to isomorphism. The family and the morphisms give us three copies of the \(\mathbb {R}\)-persistence module \(\{K^{m_{1,3}^r} = K^{m_{1,3}^r} = K^{m_{1,3}^r}\}\). Therefore, we obtain an \(\mathbb {R}\)-persistence module \(\{K^{m_{1,3}^r}\}\). We denote this \(\mathbb {R}\)-persistence module of the sampled map \(f\mathord {\upharpoonright }_S\) as \(M^{f\mathord {\upharpoonright }_S}\) and call it the \(\mathbb {R}\)-persistence module of the sampled map.
Remark 5.5
The construction of an \(\mathbb {R}\)-persistence module using graphs requires no assumption that S is a finite set. Therefore, if we assume that \(\dim HX_r\), \(\dim H{{\,\mathrm{Gr}\,}}(f)_r\), and \(\dim Hf(X)_r\) are finite for every r, then we can execute the same analysis of the filtration \(\{X_r \leftarrow {{\,\mathrm{Gr}\,}}(f)_r \rightarrow f(X)_r\}\), deriving an \(\mathbb {R}\)-persistence module \(M^f\) in the same way. We designate this as the \(\mathbb {R}\)-persistence module of the map f. The output persistence diagram portrays the robustness of the generators of the homology-induced map \(f_{*}\).
After this setup, we can show the following stability theorem.
Theorem 5.6
Let \(d_H\) be a Hausdorff distance induced by \(d_{\mathbb {R}^n \times \mathbb {R}^n}\). For two sampled maps \(h :S \rightarrow \mathbb {R}^n\) and \(h' :S' \rightarrow \mathbb {R}^n\), let \(M^h\), \(M^{h'}\) be the \(\mathbb {R}\)-persistence modules of the sampled maps. Then,
Proof
Let \(\varepsilon := d_H({{\,\mathrm{Gr}\,}}(h), {{\,\mathrm{Gr}\,}}(h'))\). Also, let r be an arbitrary non-negative real number.
By the definition of Hausdorff distance, \({{\,\mathrm{Gr}\,}}(h)_r \subset {{\,\mathrm{Gr}\,}}(h')_{r+\varepsilon }\) and \({{\,\mathrm{Gr}\,}}(h')_r \subset {{\,\mathrm{Gr}\,}}(h)_{r+\varepsilon }\). Moreover, \(\varepsilon = d_H({{\,\mathrm{Gr}\,}}(h), {{\,\mathrm{Gr}\,}}(h'))\) implies that \(d_H(S, S') \le \varepsilon \) and \(d_H(h(S), h'(S')) \le \varepsilon \). Hence \(S_r \subset S'_{r+\varepsilon }\), \(S'_r \subset S_{r+\varepsilon }\), \(h(S)_r \subset h'(S')_{r+\varepsilon }\), and \(h'(S')_r \subset h(S)_{r+\varepsilon }\) as well. These inclusions engender the following commutative diagrams:
and
By that functoriality, it is straightforward that these inclusions induce \(\varepsilon \)-interleaving morphisms between \(M^h\) and \(M^{h'}\). Then we have \(d_I(M^h, M^{h'}) \le \varepsilon \). \(\square \)
Accordingly, the obtained persistence modules and persistence diagrams can only have as much noise as S or its evaluation by f.
The proof uses no the assumption that S is a finite set. Therefore, a similar inequality holds for \(\mathbb {R}\)-persistence modules of maps.
Corollary 5.7
Let U and \(U'\) be subsets in \(\mathbb {R}^n\). If \(\mathbb {R}\)-persistence modules \(M^h\) and \(M^{h'}\) of maps \(h :U \rightarrow \mathbb {R}^n\) and \(h' :U' \rightarrow \mathbb {R}^n\) are defined, then
By Corollary 5.7, the error (bottleneck distance) between the persistence diagram of a sampled map \(f\mathord {\upharpoonright }_S\) and that of the original map f is bounded above by the error \(d_H({{\,\mathrm{Gr}\,}}(f), {{\,\mathrm{Gr}\,}}(f\mathord {\upharpoonright }_S))\) of the sampled map. If the sampled map is sufficiently dense, then we can infer the persistent generators of \(f_{*}\) from the persistence module of the sampled map.
Finally, let us provide the stability of the persistence analysis using grids. We regard the persistent homology constructed using a grid as an \(\mathbb {R}\)-persistence module by the embedding induced by
Theorem 5.8
Let \(d_H\) be a Hausdorff distance induced by \(d_\infty \). For two sampled maps \(h :S \rightarrow \mathbb {R}^n\) and \(h' :S' \rightarrow \mathbb {R}^n\), we write the filtrations of correspondences as \(\{F_r\}\) and \(\{F'_r\}\) and let \(M^h\) and \(M^{h'}\) be their output \(\mathbb {R}\)-persistence modules. If \(d_H ({{\,\mathrm{Gr}\,}}(h),{{\,\mathrm{Gr}\,}}(h')) \le \varepsilon \), then \(d_I(M^h, M^{h'}) \le \varepsilon \).
Proof
The assumption \(d_H ({{\,\mathrm{Gr}\,}}(h),{{\,\mathrm{Gr}\,}}(h')) \le \varepsilon \) derives the inequality \(d_H (F_\varepsilon ^h ,F_\varepsilon ^{h'}) \le \varepsilon \). Therefore, there exist the following inclusions of
and
It might be readily apparent that these inclusions induce the \(\varepsilon \)-interleaving morphisms between \(M^h\) and \(M^{h'}\). \(\square \)
6 Application of functoriality to 2-D persistence modules
The functoriality lemma, Lemma 4.4, can be generalized for the restriction to every “diagonal” block. Precisely because the candidate of intervals \(\mathbb {I}[c,d]\) satisfying relations \(\mathbb {I}[a,b] \trianglerighteq \mathbb {I}[c,d] \trianglerighteq \mathbb {I}[a,b]\) is only \(\mathbb {I}[c,d] = \mathbb {I}[a,b]\),
holds for all \(\mathbb {I}[a,b]\). This result can be checked, not only on the orientation bf but also on every orientation of any length, as described below.
Presuming that \(\mathbb {I}[c,d] \ne \mathbb {I}[a,b]\), which can happen when \(a \ne c\) or when \(b \ne d\). In the case in which \(a \ne c\), one might assume \(a < c\) without loss of generality. When \((c-1)\)-th orientation is f, consider \(g = \{g_i\}_{i=1}^n \in {{\,\mathrm{Hom}\,}}(\mathbb {I}[a,b], \mathbb {I}[c,d])\). Then, the commutative diagram of the morphism g from \((c-1)\) to c is
It is readily apparent that \(g_{c-1} = 0\). The commutativity derives \(g_c = 0\). Because the commutativity of the diagram on g derives \(g_i = 0\) for the other vertices i, \(g = 0\). Consequently, \({{\,\mathrm{Hom}\,}}(\mathbb {I}[a,b], \mathbb {I}[c,d]) = 0\). Therefore, \(\mathbb {I}[a,b] \not \trianglerighteq \mathbb {I}[c,d]\). We can show \(\mathbb {I}[c,d] \not \trianglerighteq \mathbb {I}[a,b]\) when \((c-1)\)-th orientation is b in a similar discussion, using the commutative diagram as
Similar arguments also hold in the case in which \(b \ne d\), concluding \(\mathbb {I}[a,b] \not \trianglerighteq \mathbb {I}[c,d]\) or \(\mathbb {I}[c,d] \not \trianglerighteq \mathbb {I}[a,b]\).
Consequently, we can extend the statement on the orientation bf to general \(\tau _n\) as shown below.
Proposition 6.1
Let
and
be block matrix forms of objects in the arrow category \(\mathrm {arr}({{\,\mathrm{rep}\,}}(A_n(\tau _n)))\). Then
for all \(1 \le a \le b \le n\).
We can use this property for 2-D persistence modules, which are representations with the shape of
where every row has the same orientation \(\tau _{n_2}\). The 2-D persistence modules sometimes appear and create difficulties in the context of persistence analysis for time series data. Carlsson and Zomorodian (2009) provide details and higher dimensional persistence.
In our context, the 2-D persistence module naturally appears when we consider iterations of a sampled map or compositions of sampled maps. Presuming that we have a time series of some point clouds \(\{S_1, S_2, \dots , S_T\}\) in the same Euclidean space, with their transition as maps \(\{f_i :S_i \rightarrow S_{i + 1}\}\), then we generate a filtration of abstract simplicial complexes \(C_1^t \subset \dots \subset C_n^t\) for each \(S_t\). As shown in Sect. 4, the maps between points induce a filtration of partial maps \(f_i^t :C_i^t \nrightarrow C_i^{t + 1}\), which induces a commutative diagram as
by taking the i-th simplicial complex \(G_i^t\) of \(\mathrm{Gr}(f_i^t)\) defined as Equation (1). As a consequence, the homology functor induces the 2-D persistence module from the diagram above. In this case, we can observe the 2-D persistence module from the viewpoint that the horizontal (vertical) direction on the diagram describes persistence in time (space, respectively).
Diagram (6) can be reviewed. In the same way as in the specific case \(\tau _{n_2} = bf\), Diagram (6) can be regarded as a sequence of morphisms in the category \({{\,\mathrm{rep}\,}}(A_{n_2}(\tau _{n_2}))\). By decomposing representations of \(A_{n_2}(\tau _{n_2})\) in each row, the morphisms can be dealt with as matrices in block matrix form. Restricting each matrix to the diagonal block \(({a{:} b},{a{:} b})\) derives a sequence of matrices for which the domains and codomains are direct sums of \(\mathbb {I}[a, b]\). Because this sequence comprises \(b-a\) copies of nonzero representations of \(A_{n_1}\) and \(n_2-(b-a)\) copies of zero representations, one of the nonzero representations can be selected. Finally, we obtain the persistence diagram by decomposition. Proposition 6.1 ensures the uniqueness of the output persistence diagram.
For 2-D persistence modules derived from Diagram (7), when we take the block \(({a{:} b},{a{:} b})\) as \(({1{:}n_2},{1{:}n_2})\), each generator of the output persistence module survives under all transitions. Its lifetime in the persistence diagram shows how robust it is in the Euclidean space. Although this process ignores much information stored in the other blocks, it is an approach to 2-D persistence analysis that is able to capture the rough topological structures.
7 Numerical experiments
The author has implemented the persistence analysis introduced into Sect. 4.1. The implementation is available at the GitHub repository https://github.com/hiroshitakeuchi/pdsm. Before presenting some numerical results, we outline the implementation strategy. Here we fix the field for the coefficient of matrices and the homology functor as \(\mathbb {Z}/1009\mathbb {Z}\).
Remark 7.1
To implement the persistence analysis of computers, we must use finite fields as the coefficient. Here, every map is written as a matrix. If we choose field \(\mathbb {Z}/2\mathbb {Z}\) as the coefficient, then every entry with the prime factor 2 in the matrix is regarded as 0. For example, a homology generator a mapped as \(f_*(a) = 2a\), such as the example discussed later and in Fig. 4, is ignored. Therefore, it is better to choose a larger prime number p as the coefficient for \(\mathbb {Z}/p\mathbb {Z}\) to retrieve more generators.
The implementation uses Vietoris–Rips complexes for simplicity, whereas Čech complexes are theoretically more satisfying (see Edelsbrunner and Harer (2010, Section III.2) for details). Except for construction of the persistence module from the sequence of the pairs of the maps \(\{({p_i}_{*}, {q_i}_{*})\}\), it fundamentally follows the algorithm in Edelsbrunner et al. (2015) (recall Remark 4.3).
First, we generate the boundary matrix induced by the filtration of the Vietoris–Rips complexes for each point cloud S and f(S); then the boundary matrix of the filtration \(\{G_i\}\). We can use the original persistence algorithm (Edelsbrunner and Harer 2010) to compute the reduced boundary matrices and the bases of the persistent homology of the filtration.
Second, because we can obtain the homology bases for each filtration, we generate the maps \({p_i}_{*}\) and \({q_i}_{*}\) as matrices between the homology basis for each filter. Similarly, we compute the induced maps of the inclusions \(j_{*}:HG_i \rightarrow HG_{i+1}\) as matrices. To obtain the basis of \(\mathbb {I}[1,3]\) for each matrix \({p_i}_{*}\) and \({q_i}_{*}\), we execute the following elementary row and column operations.
-
1.
Transform \({p_i}_{*}\) to Smith normal form as
$$\begin{aligned} P_1 {p_i}_{*}Q_1 = \left[ \begin{array}{cc} I_{r_1} &{} 0 \\ 0 &{} 0 \end{array} \right] , \end{aligned}$$where \(P_1\) and \(Q_1\) are regular matrices corresponding to elementary operations, and where \(r_1\) is the rank of \({p_i}_{*}\).
-
2.
Because \({p_i}_{*}\) and \({q_i}_{*}\) share the same basis for the columns, the elementary column operations \(Q_1\) are performed simultaneously on \({q_i}_{*}\)
$$\begin{aligned} {q_i}_{*}Q_1 = \left[ \begin{array}{cc} X_1&X_2 \end{array} \right] , \end{aligned}$$where \(X_1\) is the submatrix based on columns corresponding to the above \(I_{r_1}\), and \(X_2\) is the submatrix corresponding to the 0 columns in \(P_1 {p_i}_{*}Q_1\).
-
3.
Transform \(X_2\) to Smith normal form with elementary row operations \(P_2\) and elementary column operations \(Q_2\) as
$$\begin{aligned} \left[ \begin{array}{cc} P_2 X_1 &{} \begin{array}{cc} I_{r_2} &{} 0 \\ 0 &{} 0 \end{array} \end{array} \right] = \left[ \begin{array}{ccc} X_3 &{} I_{r_2} &{} 0 \\ X_4 &{} 0 &{} 0 \end{array} \right] \end{aligned}$$where \(P_2 X_1\) is divided into submatrices of appropriate sizes on the right-hand side. We remark that these column operations have no side effect on the \({p_i}_{*}\) side matrix because every column corresponding to the basis is zero.
-
4.
Zero out \(X_3\) by \(I_{r_2}\) using column operations with no side effect as
$$\begin{aligned} \left[ \begin{array}{ccc} 0 &{} I_{r_2} &{} 0 \\ X_4 &{} 0 &{} 0 \end{array} \right] . \end{aligned}$$ -
5.
Transform \(X_4\) to Smith normal form with elementary row operations \(P_4\) and elementary column operations \(Q_4\) as
$$\begin{aligned} \left[ \begin{array}{ccc} 0 &{} I_{r_2} &{} 0 \\ \begin{array}{cc} I_{r_3} &{} 0 \\ 0 &{} 0 \end{array}&0&0 \end{array} \right] . \end{aligned}$$Here the column operations have side effect on \(I_{r_1}\) transforming it to a matrix \(Q_4\), but \(Q_4\) is regular. Therefore, we can transform it to \(I_{r_1}\) again using only row operations.
-
6.
Finally, we obtain the matrix transformations as
$$\begin{aligned} {p_i}_{*}\mapsto \left[ \begin{array}{cccc} I_{r_3} &{} 0 &{} 0 &{} 0 \\ 0 &{} I_{r_3 - r_1} &{} 0 &{} 0 \end{array} \right] \text { and } {q_i}_{*}\mapsto \left[ \begin{array}{cccc} 0 &{} 0 &{} I_{r_2} &{} 0 \\ I_{r_3} &{} 0 &{} 0 &{} 0 \\ 0 &{} 0 &{} 0 &{} 0 \end{array} \right] , \end{aligned}$$which are decomposed into intervals. The rows and columns corresponding to two \(I_{r_3}\) are pairs of identity maps, which are \(\mathbb {I}[1,3]\). Therefore the basis in the columns of \(I_{r_3}\) is what we want.
By applying the change of basis of \(HG_i\) during the above column operations and restricting to the basis corresponding to \(I_{r_3}\), one can finally obtain the persistent homology of the sampled map. Finally, after decomposing the persistent homology into intervals using the decomposition algorithm in Edelsbrunner et al. (2015, Subsection 3.4), a persistence diagram can be plotted.
By tracking the inverse of the matrix transformations executed above, one can write down the cycles corresponding to the generators in the persistence diagram. As remarked in Sect. 3, the cycles depend on the choice of the bases of \(\mathbb {I}[1,3]\). Nevertheless, for the following numerical experiments, we succeed in reconstructing the underlying maps. To emphasize a contrast, we present examples of failed reconstructions in Sect. 8.
7.1 Twice mapping on a circle
As an example of input data, one can consider the twice map on the unit circle \(f :S^1 \rightarrow S^1\) defined as \(f(z) := z^2\). It is noteworthy that, in this case, the spaces in Problem 4.1 are given as \(X = Y = S^1\) embedded in \(\mathbb {R}^2\). Then we regard \(\mathbb {R}^2\) as \(\mathbb {C}\). The sampled points of the unit circle are 100 points \(z_j := \cos (2\pi \frac{j}{100}) + \sqrt{-1}\sin (2\pi \frac{j}{100})\) for \(0 \le j < 100\), with added Gaussian noise with \(\sigma \in [0.00, 0.30]\).
A computational result is presented in Fig. 4, which portrays the sampled map at \(\sigma = 0.18\) and its unique generator of the persistence diagram. The generator is the corresponding cycle in \(HG_{b}\) at the birth radius b. It is indeed approximating the unit circle. Then it is apparent that its image is turning around the origin twice. The results for other noises are presented in Fig. 6.
Figure 5 presents the persistence diagrams under changing \(\sigma \) from 0 to 0.3. As expected, the lifetime of the unique generator decreases as the noise increases.
7.2 Inverse mapping on a circle
To emphasize the difference from the existing method using eigenspace functors, one can consider the inverse map on the unit circle \(g :S^1 \rightarrow S^1\) defined as \(f(z) := z^{-1}\). The sampled points \(\{z_j\}\) and the range of the parameter \(\sigma \) of Gaussian noises are the same as before. The computational results are presented in Figs. 7 and 8.
The analysis using eigenspace functors can detect such a generator using the eigenspace functor with eigenvalue \(-1\). In other words, prior knowledge about the eigenvalue is fundamentally important. By contrast, our method can use the same construction both for the inverse mapping and twice mapping.
7.3 Mapping on a torus
Moreover, our method is applicable to maps on the torus \(T := \mathbb {R}^2/\mathbb {Z}^2\). We adopt the metric on T induced by the Euclidean metric on \(\mathbb {R}^2\).
One can consider the self-map on T defined as
We set 64 sampling points \(S := \{ (\frac{i}{8}, \frac{j}{8}) \mid 0 \le i \le 7, 0 \le j \le 7\}\) and generate a sampled map of A on S. Such a sampled map of A is a challenging example for analysis using eigenspace with no prior knowledge because the eigenvalues of A are \(\frac{3+\sqrt{5}}{2}\) and \(\frac{3-\sqrt{5}}{2}\).
The computational results are presented in Figs. 9, 10, 11, 12, 13, 14 and 15. We remark that the unique point in Fig. 9 has multiplicity 2. Let \( \begin{pmatrix} 1 \\ 0 \\ \end{pmatrix}\) and \( \begin{pmatrix} 0 \\ 1 \\ \end{pmatrix}\) be a standard homology basis on the torus. The generators corresponding to the unique birth–death point are given as \(\alpha \) and \(505\alpha + \beta \) (=\(\frac{1}{2}\alpha + \beta \) with the coefficients in \(\mathbb {Z}/1009\mathbb {Z}\)) in our numerical experiment, where \(\alpha \) and \(\beta \) respectively denote cycles in \(HG_b\) at the birth radius b illustrated in Figs. 10, 11, 12, 13, 14 and 15. These cycles correspond to the mappings
respectively. The mappings (8) are nothing but the map \(A= \begin{pmatrix} 2 &{} 1 \\ 1 &{} 1 \\ \end{pmatrix} \), concluding the success in reconstructing A.
8 Examples of failed reconstructions
In the preceding section, we performed reconstruction of each map at the filter where the generator was born. However, such reconstruction is not always possible. This section presents two examples of failed reconstructions.
8.1 Non-optimal example
The first example appears even in ordinary homology groups. The example is known as optimal cycles of homology groups, as described by Escolar and Hiraoka (2014).
We consider the simplicial complex \(C_1\) presented in Fig. 16 and the identity map \(\mathrm {id}_{C_1}\) on \(C_1\) by taking three copies of \(C_1\) as
We remark that the simplicial complex of the graph \({{\,\mathrm{Gr}\,}}(\mathrm {id}_{C_1})\) of the identity map on \(C_1\) is isomorphic to \(C_1\) by definition introduced as (1). We therefore regard (9) as a filtration consisting of only one filter.
Taking the 1-dimensional homology \(H = H_1(-;K)\), we have the representation
isomorphic to
that is two copies of the interval \(\mathbb {I}[1,3]\). To obtain the representation (11), some isomorphism must be taken from (10) to (11). The problem for reconstruction is how to choose cycles as the basis of the homology groups. One option is to choose cycles \(\alpha \) and \(\gamma \). However, this is surplus because choosing \(\alpha \) and \(\beta \) is more straightforward for the number of simplices used. It is natural for the reconstruction to use \(\alpha \) and \(\beta \).
Another example of non-optimal cycles is shown in Fig. 8. The cycle at \(\sigma = 0.30\) consists of a larger cycle and a smaller one. It is sufficient and better for the reconstruction of the unit circle to take only the larger cycle.
For the case in which we have one complex, one can solve such an optimization problem using optimal cycles (Escolar and Hiraoka 2014). Furthermore, for the case in which one has a filtration of simplicial complexes, one can solve the optimization problem using the persistent homology version of optimal cycles (Obayashi 2018). Nevertheless, no general optimization method is applicable to \(A_3(bf)\) type representations.
8.2 Inconclusive example
We now consider the simplicial complexes depicted in Fig. 17.
Defining the sampled map as \(1 \mapsto 1'\) and \(2 \mapsto 2'\), the simplicial complex of the graph of the sampled map is isomorphic to \(\tilde{C}_2\). Similarly to Sect. 8.1, we regard
as a filtration consisting of only one filter, where the left arrow is the inclusion map and the right is induced by the sampled map.
Taking the 0-dimensional homology \(H = H_0(-;K)\), we obtain the representation of
isomorphic to
that is the direct sum of \(\mathbb {I}[1,3]\) and \(\mathbb {I}[2,3]\). To obtain the representation (13), some isomorphism must be taken from (12) to (13). The problem again is how to choose cycles as the basis of the homology groups. In this case, we have the two simplest options. One is to choose 1 for \(C_2\) and \(\tilde{C}_2\) and \(1'\) for \(D_2\). The other is to choose 2 for \(C_2\) and \(\tilde{C}_2\) and \(2'\) for \(D_2\). We remark that 1 is homologous to 2 in \(C_2\). Then they form the unique connected component. The image of the component depends on the choice of 1 or 2 in \(\tilde{C}_2\) for the corresponding basis. However, we have no information to decide which side is better to choose. Consequently, all that can be said here is that the unique connected component in \(C_2\) is still non-trivial in \(D_2\) after the mapping in this filter.
In summary, each point of the persistence diagram of a sampled map implies non-trivial homology generators of the domain and codomain at the filter where the corresponding generator is born. The homology of the simplicial complex of the graph connects the generators, which are as robust as the lifetime in the persistent homology. In other words, the filter possesses non-trivial and robust topological information of the sampled map. Therefore, as presented in the examples of the preceding section and in this one, exploring the filter \(HC_b \leftarrow HG_b \rightarrow HD_b\) at birth b will help elucidate the topological transition under the sampled map, even for the case of failed reconstructions.
9 Concluding remarks
As described herein, we defined the persistence diagram of a sampled map and proved that the persistence diagram is determined uniquely and independently of the choice of bases in interval decompositions. However, reconstruction of the homology-induced map depends on the choice of the bases of interval decomposition. Our aim is reconstruction of the underlying maps. Therefore, we must solve the problem of which bases are the best for reconstruction. This problem is anticipated as a subject of our future work. It is expected to be related to the problem of which cycle is optimal for representing the generator of persistent homology (Obayashi 2018).
Notes
A correspondence F from X to Y is a partial map if F(x) is a singleton or empty set for all \(x \in X\), where \(F(x):=\{y \in Y \mid (x,y) \in F\}\).
To be accurate, the earlier research considers only the case in which \(C_i = D_i\) to analyze self-maps.
For \(x, y \in \mathbb {R}\), a morphism \(x \rightarrow y\) uniquely exists if and only if \(x \le y\).
References
Asashiba, H., Escolar, E.G., Hiraoka, Y., Takeuchi, H.: Matrix method for persistence modules on commutative ladders of finite type. Jpn. J. Ind. Appl. Math. 36, 97–130 (2019)
Assem, I., Simson, D., Skowroński, A.: Elements of the Representation Theory of Associative Algebras 1: Techniques of Representation Theory. Cambridge University Press, Cambridge (2006)
Bauer, U., Lesnick, M.: Induced Matchings of Barcodes and the Algebraic Stability of Persistence. In: Proceedings of the Thirtieth Annual Symposium on Computational Geometry (SoCG ’14), ACM, New York, NY, USA, pp. 355–364 (2014)
Borsuk, K.: On the imbedding of systems of compacta in simplicial complexes. Fund. Math. 35, 217–234 (1948)
Carlsson, G., de Silva, V.: Zigzag persistence. Found. Comput. Math. 10, 367–405 (2010)
Carlsson, G., Zomorodian, A.: The theory of multidimensional persistence. Discrete Comput. Geom. 42, 71–93 (2009)
Chazal, F., Cohen-Steiner, D., Glisse, M., Guibas, L.J., Oudot, S.Y.: Proximity of Persistence Modules and their Diagrams. In: Proceedings of the Twenty-fifth Annual Symposium on Computational Geometry (SoCG ’09), ACM, New York, NY, USA, pp. 237–246 (2009)
Cohen-Steiner, D., Edelsbrunner, H., Harer, J.: Stability of persistence diagrams. Discrete Comput. Geom. 37, 103–120 (2007)
Crawley-Boevey, W.: Decomposition of pointwise finite-dimensional persistence modules. J. Algebra Appl. 14, 1550066 (2015)
Dey, T.K., Fan, F., Wang, Y.: Computing Topological Persistence for Simplicial Maps. In: Proceedings of the 30th Annual Symposium on Computational Geometry (SoCG ’14), ACM, New York, NY, USA, pp. 345–354 (2014)
Edelsbrunner, H., Harer, J.: Computational Topology: An Introduction. American Mathematical Society, Providence, Rhode Island (2010)
Edelsbrunner, H., Jabłoński, G., Mrozek, M.: The persistent homology of a self-map. Found. Comput. Math. 15, 1213–1244 (2015)
Escolar, E.G., Hiraoka, Y.: Computing Optimal Cycles of Homology Groups. In: Nishii, R., Ei, S., Koiso, M., Ochiai, H., Okada, K., Saito, S., Shirai, T. (eds.) A Mathematical Approach to Research Problems of Science and Technology, pp. 101–118. Springer, Tokyo (2014)
Gabriel, P.: Unzerlegbare Darstellungen I. Manuscr. Math. 6, 71–103 (1972)
Harker, S., Kokubu, H., Mischaikow, K., Pilarczyk, P.: Inducing a map on homology from a correspondence. Proc. Am. Math. Soc. 144, 1787–1801 (2016)
Lesnick, M.: The theory of the interleaving distance on multidimensional persistence modules. Found. Comput. Math. 15, 613–650 (2015)
Obayashi, I.: Volume-optimal cycle: tightest representative cycle of a generator in persistent homology. SIAM J. Appl. Algebra Geometry 2(4), 508–534 (2018)
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The author declares that no conflict of interest exists related to this report or the study it describes.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
I would like to thank Yasuaki Hiraoka for introducing me to this topic, and for many fruitful discussions and stimulating questions. I also thank Emerson G. Escolar for important questions about the well-definedness of the persistence analysis. I also extend my appreciation to Zin Arai for his constructive suggestions and comments on the paper. I acknowledge support by Japan Society for the Promotion of Science KAKENHI Grant No. 16J03138, Japan Society for the Promotion of Science KAKENHI Grant No. 19KK0068, and Japan Science and Technology Agency CREST Mathematics 15656429.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Takeuchi, H. The persistent homology of a sampled map: from a viewpoint of quiver representations. J Appl. and Comput. Topology 5, 179–213 (2021). https://doi.org/10.1007/s41468-021-00065-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s41468-021-00065-3