Topological Deep Learning: From Persistent Homology to Higher-Order Message Passing

7 minute read

Published:

TL;DR: Topological Data Analysis extracts shape — connected components, loops, voids — and tracks it across every scale at once, producing summaries that are provably stable under noise. Topological Deep Learning goes further: instead of computing topological features and handing them to an ordinary model, it puts the network on the topological object, so message passing can travel along triangles and rings rather than only along edges. This book covers both, and this page is the map.

Two different things share one name

Most confusion about this field comes from running two distinct programmes together. They are complementary, not rivals, but they answer different questions.

Two pipelines: topology as preprocessing versus topology as the domainThe upper row computes a persistence diagram, vectorises it, and feeds the vector to an ordinary model. The lower row lifts the data to a complex and runs message passing directly on its cells. Two programmes, one name TDA as features — topology is preprocessing point cloud filtration diagram vector any model TDL — topology is the domain graph / data lift to a complex message passing over cells of every rank prediction Differentiable persistence deliberately joins the two: it makes the upper row trainable end to end.
The two programmes this book covers. In the upper row topology is a fixed feature extractor and the learning happens in Euclidean space; in the lower row the network runs on the complex itself.

The first chapter of the deep-learning half works through the distinction properly, including why a graph is already a topological object and where the boundary genuinely blurs.

Part one — what persistent homology does

Intuition first. Crumple a sheet of paper into a ball and unfold it. Geometrically the result is unrecognisable; topologically it is identical — one piece, no holes. Topology ignores distance and curvature and keeps only what survives continuous deformation. TDA borrows that invariance to extract features immune to noise and small perturbation.

Data has shape. Points sampled from a torus differ fundamentally from points sampled from a sphere: the torus has \(\beta_1 = 2\) independent loops and the sphere none, though both sit in \(\mathbb{R}^3\). Classical statistics tells you where data lives; homology tells you how it is connected.

The pipeline in four steps

The four-step persistent homology pipelineA scatter of points becomes a simplicial complex, whose Betti numbers are recorded, and whose features are plotted as a persistence diagram. 1. Point cloud 2. Filtration 3. Betti numbers 4. Diagram unfilled — the loop is real b₀ = 1 b₁ = 1 b₂ = 0 signal
The pipeline. The triangle at step 2 is drawn unfilled on purpose: three edges with no 2-cell genuinely carry one independent loop, so b₁ = 1. Fill the face and the complex becomes contractible and b₁ drops to 0. Points far from the diagonal in step 4 are the features that survive many scales.

Step 1 — point cloud. Start with a finite metric space \((P, d)\): points plus pairwise distances. Any dataset with a notion of similarity qualifies.

Step 2 — filtration. Build a nested sequence of simplicial complexes

\[ \emptyset = K_0 \subseteq K_1 \subseteq \cdots \subseteq K_n = K, \]

where \(K_i\) approximates the shape of \(P\) at scale \(\varepsilon_i\). The canonical construction is the Vietoris–Rips filtration: join two points once their distance drops below the current scale, then fill in every clique.

Step 3 — homology. For each \(K_i\) compute \(H_k(K_i)\). The Betti number \(\beta_0\) counts connected components, \(\beta_1\) independent loops, \(\beta_2\) enclosed voids.

Step 4 — persistence diagram. Track how those groups change along the filtration. Each feature has a birth \(b\) and a death \(d\), and the pair \((b,d)\) is plotted in the diagram \(\mathrm{dgm}(P)\). The set of intervals \([b_i, d_i)\) is the barcode.

Why “persistent”

Inclusions \(K_{\varepsilon_1} \hookrightarrow K_{\varepsilon_2}\) for \(\varepsilon_1 \leq \varepsilon_2\) induce linear maps \(H_k(K_{\varepsilon_1}) \to H_k(K_{\varepsilon_2})\). A class is born when it first appears outside the image of earlier maps, and dies when it merges into an older class or becomes trivial. Its lifetime is what matters:

\[ \operatorname{pers}(b, d) \;=\; d - b . \]

Long bars are structure; short bars are noise. The elder rule settles merges — when two components meet, the younger dies and the older survives — which makes the birth–death pairing unique.

The property that makes it usable: persistent homology does not commit to a scale, it records all of them. And the stability theorem guarantees the summary is well behaved — perturb the input a little and the diagram moves only a little, in bottleneck distance. Without that theorem, none of this would be safe to put in a pipeline.

A concrete case. Sample 200 points from a noisy circle. At \(\varepsilon = 0\) there are 200 components, so \(\beta_0 = 200\). As \(\varepsilon\) grows components merge until \(\beta_0 = 1\), and a loop appears with \(\beta_1 = 1\). Grow \(\varepsilon\) far enough and the loop fills in, returning \(\beta_1 = 0\). The diagram records that loop as one point far from the diagonal. You never chose a threshold; persistence gave you every threshold at once and let you read off which feature survived them.

Part two — learning on the topology

The second half of the book changes what the network runs on. A graph edge is intrinsically a pairwise relation, so any genuine group interaction — a benzene ring, a co-authorship of three people, a triangular face in a mesh — has to be encoded indirectly, and the usual encodings lose information.

Three chapters are live:

Where the two halves meet: differentiable persistence. If the map from data to diagram can be differentiated, the upper pipeline stops being fixed preprocessing and becomes a trainable layer — at which point the clean separation drawn above is a spectrum rather than a dichotomy.

TDA against classical statistics

Classical statistics assumes a distribution and summarises it with moments or a density. TDA assumes only a metric and asks what shape the data has. Take three concentric rings in \(\mathbb{R}^2\): the mean and covariance describe one roughly circular blob, while \(\mathrm{dgm}_1\) shows three prominent points, one per loop. Neither summary is wrong; they answer different questions, and strong pipelines use both.

How this book is organised

Status, plainly. The three higher-order message-passing chapters listed above are published. The persistent-homology run — foundations, the core theory, the computational chapters, and the applications — is written but still in draft, so most chapter cards below this overview are marked offline. This page is deliberately self-contained enough to be read on its own in the meantime.
  1. Topological foundations — topological spaces, simplicial complexes, homology groups, chain complexes, filtrations, the nerve theorem.
  2. Persistent homology core — diagrams and barcodes, stability, the interleaving distance, the elder rule, zigzag and multidimensional persistence.
  3. Algorithms and computation — boundary-matrix reduction, the twist optimisation, sparse filtrations, Vietoris–Rips and Čech complexes, the software landscape.
  4. Machine learning integration — persistence images and landscapes, differentiable persistence, topological regularisation, Mapper and Reeb graphs, and the higher-order message-passing chapters.
  5. Applications — time series, point clouds, vision, drug discovery, materials.

References