Topological data analysis
Topological data analysis
In applied mathematics, topological based data analysis (TDA) is an approach to the analysis of datasets using techniques from topology. Extraction of information from datasets that are high-dimensional, incomplete and noisy is generally challenging. TDA provides a general framework to analyze such data in a manner that is insensitive to the particular metric chosen and provides dimensionality reduction and robustness to noise. Beyond this, it inherits functoriality, a fundamental concept of modern mathematics, from its topological nature, which allows it to adapt to new mathematical tools.[citation needed]
The initial motivation is to study the shape of data. TDA has combined algebraic topology and other tools from pure mathematics to allow mathematically rigorous study of "shape". The main tool is persistent homology, an adaptation of homology to point cloud data. Persistent homology has been applied to many types of data across many fields. Moreover, its mathematical foundation is also of theoretical importance. The unique features of TDA make it a promising bridge between topology and geometry.[citation needed]
Basic theory[edit]
Intuition[edit]
TDA is premised on the idea that the shape of data sets contains relevant information. Real high-dimensional data is typically sparse, and tends to have relevant low dimensional features. One task of TDA is to provide a precise characterization of this fact. For example, the trajectory of a simple predator-prey system governed by the Lotka–Volterra equations[1] forms a closed circle in state space. TDA provides tools to detect and quantify such recurrent motion.[2]
Many algorithms for data analysis, including those used in TDA, require setting various parameters. Without prior domain knowledge, the correct collection of parameters for a data set is difficult to choose. The main insight of persistent homology is to use the information obtained from all parameter values by encoding this huge amount of information into an understandable and easy-to-represent form. With TDA, there is a mathematical interpretation when the information is a homology group. In general, the assumption is that features that persist for a wide range of parameters are "true" features. Features persisting for only a narrow range of parameters are presumed to be noise, although the theoretical justification for this is unclear.[3]
Early history[edit]
Precursors to the full concept of persistent homology appeared gradually over time.[4] In 1990, Patrizio Frosini introduced the size function, which is equivalent to the 0th persistent homology.[5] Nearly a decade later, Vanessa Robins studied the images of homomorphisms induced by inclusion.[6] Finally, shortly thereafter, Edelsbrunner et al. introduced the concept of persistent homology together with an efficient algorithm and its visualization as a persistence diagram.[7] Carlsson et al. reformulated the initial definition and gave an equivalent visualization method called persistence barcodes,[8] interpreting persistence in the language of commutative algebra.[9]
In algebraic topology the persistent homology has emerged through the work of Sergey Barannikov on Morse theory. The set of critical values of smooth Morse function was canonically partitioned into pairs "birth-death", filtered complexes were classified, their invariants, equivalent to persistence diagram and persistence barcodes, together with the efficient algorithm for their calculation, were described under the name of canonical forms in 1994 by Barannikov.[10][11]
Concepts[edit]
Some widely used concepts are introduced below. Note that some definitions may vary from author to author.
A point cloud is often defined as a finite set of points in some Euclidean space, but may be taken to be any finite metric space.
The Čech complex of a point cloud is the nerve of the cover of balls of a fixed radius around each point in the cloud.
A persistence module indexed by is a vector space for each , and a linear map whenever , such that for all and whenever [12] An equivalent definition is a functor from considered as a partially ordered set to the category of vector spaces.
The persistent homology group of a point cloud is the persistence module defined as , where is the Čech complex of radius of the point cloud and is the homology group.
A persistence barcode is a multiset of intervals in , and a persistence diagram is a multiset of points in ().
The Wasserstein distance between two persistence diagrams and is defined as
The bottleneck distance between and is
Basic property[edit]
Structure theorem[edit]
The first classification theorem for persistent homology appeared in 1994[10] via Barannikov's canonical forms. The classification theorem interpreting persistence in the language of commutative algebra appeared in 2005:[9] for a finitely generated persistence module with field coefficients,
Persistent homology is visualized through a barcode or persistence diagram. The barcode has its root in abstract mathematics. Namely, the category of finite filtered complexes over a field is semi-simple. Any filtered complex is isomorphic to its canonical form, a direct sum of one- and two-dimensional simple filtered complexes.
Stability[edit]
Stability is desirable because it provides robustness against noise. If is any space which is homeomorphic to a simplicial complex, and are continuous tame[14] functions, then the persistence vector spaces and are finitely presented, and , where refers to the bottleneck distance[15] and is the map taking a continuous tame function to the persistence diagram of its -th homology.
Workflow[edit]
The basic workflow in TDA is:[16]
point cloud | nested complexes | persistence module | barcode or diagram |
- If is a point cloud, replace with a nested family of simplicial complexes (such as the Čech or Vietoris-Rips complex). This process converts the point cloud into a filtration of simplicial complexes. Taking the homology of each complex in this filtration gives a persistence module
- Apply the structure theorem to provide a parameterized version of Betti number, persistence diagram, or equivalently, barcode.
Graphically speaking,
Computation[edit]
The first algorithm over all fields for persistent homology in algebraic topology setting was described by Barannikov[10] through reduction to the canonical form by upper-triangular matrices. The first algorithm for persistent homology over was given by Edelsbrunner et al.[7] Zomorodian and Carlsson gave the first practical algorithm to compute persistent homology over all fields.[9] Edelsbrunner and Harer's book gives general guidance on computational topology.[18]
One issue that arises in computation is the choice of complex. The Čech complex and Vietoris–Rips complex are most natural at first glance; however, their size grows rapidly with the number of data points. The Vietoris–Rips complex is preferred over Čech complex because its definition is simpler and the Čech complex requires extra effort to define in a general finite metric space. Efficient ways to lower the computational cost of homology have been studied. For example, the α-complex and witness complex are used to reduce the dimension and size of complexes.[19]
Recently, Discrete Morse theory has shown promise for computational homology because it can reduce a given simplicial complex to a much smaller cellular complex which is homotopic to the original one.[20] This reduction can in fact be performed as the complex is constructed by using matroid theory, leading to further performance increases.[21] Another recent algorithm saves time by ignoring the homology classes with low persistence.[22]
Various software packages are available, such as javaPlex, Dionysus, Perseus, PHAT, DIPHA, GUDHI, Ripser, and TDAstats. A comparison between these tools is done by Otter et al.[23] Giotto-tda is a Python package dedicated to integrating TDA in the machine learning workflow by means of a scikit-learn [1] API. An R package TDA is capable of calculating recently invented concepts like landscape and the kernel distance estimator.[24] The Topology ToolKit is specialized for continuous data defined on manifolds of low dimension (1, 2 or 3), as typically found in scientific visualization. Another R package, TDAstats, implements the Ripser library to calculate persistent homology.[25]
Visualization[edit]
High-dimensional data is impossible to visualize directly. Many methods have been invented to extract a low-dimensional structure from the data set, such as principal component analysis and multidimensional scaling.[26] However, it is important to note that the problem itself is ill-posed, since many different topological features can be found in the same data set. Thus, the study of visualization of high-dimensional spaces is of central importance to TDA, although it does not necessarily involve the use of persistent homology. However, recent attempts have been made to use persistent homology in data visualization.[27]
Carlsson et al. have proposed a general method called MAPPER.[28] It inherits the idea of Serre that a covering preserves homotopy.[29] A generalized formulation of MAPPER is as follows:
Let and be topological spaces and let be a continuous map. Let be a finite open covering of . The output of MAPPER is the nerve of the pullback cover , where each preimage is split into its connected components.[27] This is a very general concept, of which the Reeb graph [30] and merge trees are special cases.
This is not quite the original definition.[28] Carlsson et al. choose to be or , and cover it with open sets such that at most two intersect.[3] This restriction means that the output is in the form of a complex network. Because the topology of a finite point cloud is trivial, clustering methods (such as single linkage) are used to produce the analogue of connected sets in the preimage when MAPPER is applied to actual data.
Mathematically speaking, MAPPER is a variation of the Reeb graph. If the is at most one dimensional, then for each ,
Three successful applications of MAPPER can be found in Carlsson et al.[33] A comment on the applications in this paper by J. Curry is that "a common feature of interest in applications is the presence of flares or tendrils."[34]
A free implementation of MAPPER is available online written by Daniel Müllner and Aravindakshan Babu. MAPPER also forms the basis of Ayasdi's AI platform.
Multidimensional persistence[edit]
Multidimensional persistence is important to TDA. The concept arises in both theory and practice. The first investigation of multidimensional persistence was early in the development of TDA,.[35] Carlsson-Zomorodian introduced the theory of multidimensional persistence in [36] and in collaboration with Singh [37] introduced the use of tools from symbolic algebra (Grobner basis methods) to compute MPH modules. Their definition presents multidimensional persistence with n parameters as a graded module over a polynomial ring in n variables. Tools from commutative and homological algebra are applied to the study of multidimensional persistence in work of Harrington-Otter-Schenck-Tillman.[38] The first application to appear in the literature is a method for shape comparison, similar to the invention of TDA.[39]
The definition of an n-dimensional persistence module in is[34]
- vector space is assigned to each point in
- map is assigned if (
- maps satisfy for all
It might be worth noting that there are controversies on the definition of multidimensional persistence.[34]
One of the advantages of one-dimensional persistence is its representability by a diagram or barcode. However, discrete complete invariants of multidimensional persistence modules do not exist.[40] The main reason for this is that the structure of the collection of indecomposables is extremely complicated by Gabriel's theorem in the theory of quiver representations,[41] although a finitely generated n-dim persistence module can be uniquely decomposed into a direct sum of indecomposables due to the Krull-Schmidt theorem.[42]
Nonetheless, many results have been established. Carlsson and Zomorodian introduced the rank invariant , defined as the , in which is a finitely generated n-graded module. In one dimension, it is equivalent to the barcode. In the literature, the rank invariant is often referred as the persistent Betti numbers (PBNs).[18] In many theoretical works, authors have used a more restricted definition, an analogue from sublevel set persistence. Specifically, the persistence Betti numbers of a function are given by the function , taking each to , where and .
Some basic properties include monotonicity and diagonal jump.[43] Persistent Betti numbers will be finite if is a compact and locally contractible subspace of .[44]
Using a foliation method, the k-dim PBNs can be decomposed into a family of 1-dim PBNs by dimensionality deduction.[45] This method has also led to a proof that multi-dim PBNs are stable.[46] The discontinuities of PBNs only occur at points where either is a discontinuous point of or is a discontinuous point of under the assumption that and is a compact, triangulable topological space.[47]
Persistent space, a generalization of persistent diagram, is defined as the multiset of all points with multiplicity larger than 0 and the diagonal.[48] It provides a stable and complete representation of PBNs. An ongoing work by Carlsson et al. is trying to give geometric interpretation of persistent homology, which might provide insights on how to combine machine learning theory with topological data analysis.[49]
The first practical algorithm to compute multidimensional persistence was invented very early.[50] After then, many other algorithms have been proposed, based on such concepts as discrete morse theory[51] and finite sample estimating.[52]
Other persistences[edit]
The standard paradigm in TDA is often referred as sublevel persistence. Apart from multidimensional persistence, many works have been done to extend this special case.
Zigzag persistence[edit]
The nonzero maps in persistence module are restricted by the preorder relationship in the category. However, mathematicians have found that the unanimity of direction is not essential to many results. "The philosophical point is that the decomposition theory of graph representations is somewhat independent of the orientation of the graph edges".[53] Zigzag persistence is important to the theoretical side. The examples given in Carlsson's review paper to illustrate the importance of functorality all share some of its features.[3]
Extended persistence and levelset persistence[edit]
Some attempts is to lose the stricter restriction of the function.[54] Please refer to the Categorification and cosheaves and Impact on mathematics sections for more information.
It's natural to extend persistence homology to other basic concepts in algebraic topology, such as cohomology and relative homology/cohomology.[55] An interesting application is the computation of circular coordinates for a data set via the first persistent cohomology group.[56]
Circular persistence[edit]
Normal persistence homology studies real-valued functions. The circle-valued map might be useful, "persistence theory for circle-valued maps promises to play the role for some vector fields as does the standard persistence theory for scalar fields", as commented in Dan Burghelea et al.[57] The main difference is that Jordan cells (very similar in format to the Jordan blocks in linear algebra) are nontrivial in circle-valued functions, which would be zero in real-valued case, and combining with barcodes give the invariants of a tame map, under moderate conditions.[57]
Two techniques they use are Morse-Novikov theory[58] and graph representation theory.[59] More recent results can be found in D. Burghelea et al.[60] For example, the tameness requirement can be replaced by the much weaker condition, continuous.
Persistence with torsion[edit]
The proof of the structure theorem relies on the base domain being field, so not many attempts have been made on persistence homology with torsion. Frosini defined a pseudometric on this specific module and proved its stability.[61] One of its novelty is that it doesn't depend on some classification theory to define the metric.[62]
Categorification and cosheaves[edit]
One advantage of category theory is its ability to lift concrete results to a higher level, showing relationships between seemingly unconnected objects. Bubenik et al.[63] offers a short introduction of category theory fitted for TDA.
Category theory is the language of modern algebra, and has been widely used in the study of algebraic geometry and topology. It has been noted that "the key observation of [9] is that the persistence diagram produced by [7] depends only on the algebraic structure carried by this diagram."[64] The use of category theory in TDA has proved to be fruitful.[63][64]
Following the notations made in Bubenik et al.,[64] the indexing category is any preordered set (not necessarily or ), the target category is any category (instead of the commonly used ), and functors are called generalized persistence modules in , over .
One advantage of using category theory in TDA is a clearer understanding of concepts and the discovery of new relationships between proofs. Take two examples for illustration. The understanding of the correspondence between interleaving and matching is of huge importance, since matching has been the method used in the beginning (modified from Morse theory). A summary of works can be found in Vin de Silva et al.[65] Many theorems can be proved much more easily in a more intuitive setting.[62] Another example is the relationship between the construction of different complexes from point clouds. It has long been noticed that Čech and Vietoris-Rips complexes are related. Specifically, .[66] The essential relationship between Cech and Rips complexes can be seen much more clearly in categorical language.[65]
The language of category theory also helps cast results in terms recognizable to the broader mathematical community. Bottleneck distance is widely used in TDA because of the results on stability with respect to the bottleneck distance.[12][15] In fact, the interleaving distance is the terminal object in a poset category of stable metrics on multidimensional persistence modules in a prime field.[62][67]
Sheaves, a central concept in modern algebraic geometry, are intrinsically related to category theory. Roughly speaking, sheaves are the mathematical tool for understanding how local information determines global information. Justin Curry regards level set persistence as the study of fibers of continuous functions. The objects that he studies are very similar to those by MAPPER, but with sheaf theory as the theoretical foundation.[34] Although no breakthrough in the theory of TDA has yet used sheaf theory, it is promising since there are many beautiful theorems in algebraic geometry relating to sheaf theory. For example, a natural theoretical question is whether different filtration methods result in the same output.[68]
Stability[edit]
Stability is of central importance to data analysis, since real data carry noises. By usage of category theory, Bubenik et al. have distinguished between soft and hard stability theorems, and proved that soft cases are formal.[64] Specifically, general workflow of TDA is
data | topological persistence module | algebraic persistence module | discrete invariant |
The soft stability theorem asserts that is Lipschitz continuous, and the hard stability theorem asserts that is Lipschitz continuous.
Bottleneck distance is widely used in TDA. The isometry theorem asserts that the interleaving distance is equal to the bottleneck distance.[62] Bubenik et al. have abstracted the definition to that between functors when is equipped with a sublinear projection or superlinear family, in which still remains a pseudometric.[64] Considering the magnificent characters of interleaving distance,[69] here we introduce the general definition of interleaving distance(instead of the first introduced one):[12] Let (a function from to which is monotone and satisfies for all ). A -interleaving between F and G consists of natural transformations and , such that and .
The two main results are[64]
- Let be a preordered set with a sublinear projection or superlinear family. Let be a functor between arbitrary categories . Then for any two functors , we have .
- Let be a poset of a metric space , be a topological space. And let (not necessarily continuous) be functions, and to be the corresponding persistence diagram. Then .
These two results summarize many results on stability of different models of persistence.
For the stability theorem of multidimensional persistence, please refer to the subsection of persistence.
Comments
Post a Comment