ArticleslgStudy

mathematics

Persistent homology

Persistent homology is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Persistent homology rather than just read about it. In short: In topological data analysis, persistent homology is a method for computing topological features of a space at different spatial resolutions. More persistent features are detected over a wide range of spatial scales and are deemed more likely to represent true features of the underlying space rather than artifacts of sampling, noise, or particular choice of parameters.

Key takeaways

  • Persistent homology belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Persistent homology to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Persistent homology from memory before moving on to harder problems.

Reference excerpt

In topological data analysis, persistent homology is a method for computing topological features of a space at different spatial resolutions. More persistent features are detected over a wide range of spatial scales and are deemed more likely to represent true features of the underlying space rather than artifacts of sampling, noise, or particular choice of parameters. To find the persistent homology of a space, the space must first be represented as a simplicial complex. A distance function on the underlying space corresponds to a filtration of the simplicial complex, that is a nested sequence of increasing subsets. One common method of doing this is via taking the sublevel filtration of the distance to a point cloud, or equivalently, the offset filtration on the point cloud and taking its nerve in order to get the simplicial filtration known as Čech filtration. A similar construction uses a nested sequence of Vietoris–Rips complexes known as the Vietoris–Rips filtration.

Definition Formally, consider a real-valued function on a simplicial complex f:K→ℝ that is non-decreasing on increasing sequences of faces, so f(σ)≤f(τ) whenever σ is a face of τ in K. Then for every a∈ℝ the sublevel set Ka=f−1((−∞,a]) is a subcomplex of K, and the ordering of the values of f on the simplices in K (which is in practice always finite) induces an ordering on the sublevel complexes that defines a filtration

∅︀=K0⊆K1⊆⋯⊆Kn=K When 0≤i≤j≤n, the inclusion Ki↪Kj induces a homomorphism fpi,j:Hp(Ki)→Hp(Kj) on the simplicial homology groups for each dimension p. The pth persistent homology groups are the images of these homomorphisms, and the pth persistent Betti numbers βpi,j are the ranks of those groups. Persistent Betti numbers for p=0 coincide with the size function, a predecessor of persistent homology. Any filtered complex over a field F can be brought by a linear transformation preserving the filtration to so called canonical form, a canonically defined direct sum of filtered complexes of two types: one-dimensional complexes with trivial differential d(eti)=0 and two-dimensional complexes with trivial homology d(esj+rj)=erj. A persistence module over a partially ordered set P is a set of vector spaces Ut indexed by P, with a linear map uts:Us→Ut whenever s≤t, with utt equal to the identity and uts∘usr=utr for r≤s≤t. Equivalently, we may consider it as a functor from P considered as a category to the category of vector spaces (or R-modules). There is a classification of persistence modules over a field F indexed by ℕ: U≃⨁ixti⋅F[x]⊕(⨁jxrj⋅(F[x]/(xsj⋅F[x]))). Multiplication by x corresponds to moving forward one step in the persistence module. Intuitively, the free parts on the right side correspond to the homology generators that appear at filtration level ti and never disappear, while the torsion parts correspond to those that appear at filtration level rj and last for sj steps of the filtration (or equivalently, disappear at filtration level sj+rj). Each of these two theorems allows us to uniquely represent the persistent homology of a filtered simplicial complex with a persistence barcode or persistence diagram. A barcode represents each persistent generator with a horizontal line beginning at the first filtration level where it appears, and ending at the filtration level where it disappears, while a persistence diagram plots a point for each generator with its x-coordinate the birth time and its y-coordinate the death time. Equivalently the same data is represented by Barannikov's canonical form, where each generator is represented by a segment connecting the birth and the death values plotted on separate lines for each p.

Stability Persistent homology is stable in a precise sense, which provides robustness against noise. The bottleneck distance is a natural metric on the space of persistence diagrams given by W∞(X,Y):=infφ:X→Ysupx∈X‖x−φ(x)‖∞, where φ ranges over bijections. A small perturbation in the input filtration leads to a small perturbation of its persistence diagram in the bottleneck distance. For concreteness, consider a filtration on a space X homeomorphic to a simplicial complex determined by the sublevel sets of a continuous tame function f:X→ℝ. The map D taking f to the persistence diagram of its kth homology is 1-Lipschitz with respect to the sup-metric on functions and the bottleneck distance on persistence diagrams. That is, W∞(D(f),D(g))≤‖f−g‖∞.

Computation The principal algorithm is based on the bringing of the filtered complex to its canonical form by upper-triangular matrices and runs in worst-case cubical complexity in the number of simplices. The fastest known algorithm for computing persistent homology runs in matrix multiplication time. Since the number of simplices is highly relevant for computation time, finding filtered simplicial complexes with few simplexes is an active research area. Several approaches have been proposed to reduce the number of simplices in a filtered simplicial complex in order to approximate persistent homology.

Software There are various software packages for computing persistence intervals of a finite filtration. Widely used implementations include Ripser, specializing in Vietoris–Rips filtrations and exploits several algorithmic optimizations, GUDHI, providing more versatile data structures for simplicial complexes and several filtration types, PHAT, a toolbox of matrix-reduction algorithms for persistence, javaPlex, and giotto-tda, integrating persistent homology into machine-learning pipelines. A comparison of the performance of several of these packages is given by Otter et al.

See also Computational topology

References

Worked examples

Example 1 — a first encounter with Persistent homology

Start with the simplest possible case. Write down what Persistent homology claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Persistent homology before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Persistent homology ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Persistent homology

In research
Persistent homology appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Persistent homology in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Persistent homology is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational topology, Homology theory, so understanding it makes those chapters shorter.
In everyday life
Look for Persistent homology outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Persistent homology” →

How to study Persistent homology in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Persistent homology means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Persistent homology out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Persistent homology in simple terms?

In topological data analysis, persistent homology is a method for computing topological features of a space at different spatial resolutions. More persistent features are detected over a wide range of spatial scales and are deemed more likely to represent true features of the underlying space rathe…

Why does Persistent homology matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Persistent homology?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Persistent homology.

Tags

  • Computational topology
  • Homology theory

Keep exploring