From Persistence to Survival: Hypothesis Testing, Effect Sizes and Vectorisation for Topological Features

Juliette Murris, Bernadette J. Stolz, Karsten BorgwardtNeurIPS 2026

TL;DR

Topological Data Analysis (TDA) captures the hidden "shape" of data, but its standard output—persistence diagrams—splits practitioners between disconnected tools for machine learning prediction and statistical hypothesis testing. STRAND bridges this divide by reframing topological features as clinical survival data, treating a feature's lifespan across spatial scales just like a patient's time-to-event. From a single survival curve, you get rigorous hypothesis tests, interpretable effect sizes, and compact feature vectors for ML—ensuring the exact features driving your classifier are the ones you test for statistical significance.

What Problem Does This Paper Address?

Imagine studying functional brain networks or molecular graphs. Local statistics miss global shape—like loops, cavities, and connected components. Persistent homology tracks these features across spatial scales: as you gradually "thicken" data points, holes appear (birth, $b$) and eventually fill in (death, $d$). The result is a persistence diagram (PD): a scatter plot of $(b, d)$ pairs.

PDs are messy multisets of varying sizes—meaning standard ML algorithms choke on them, and classical statistics don't naturally apply. Until now, TDA suffered from a split personality:

  1. Vectorisation methods flatten PDs into fixed-length arrays for classification, but offer zero statistical inference.
  2. Inference methods use expensive permutation or kernel tests to spit out a binary $p$-value between groups, but tell you nothing about how much two cohorts differ (effect size) or where they differ, nor do they give you vectors for downstream ML.

If you wanted to both classify cohorts and run statistical comparisons, you had to use two completely different mathematical objects, breaking the interpretive link between what predicts and what is statistically significant.

Methods

STRAND (Survival Topological Representation ANalysis of Diagrams) unifies TDA under classical survival analysis. Every topological feature has a lifetime, or persistence, $p = d - b$. STRAND treats each $p$ as a fully observed "time-to-event" and estimates the persistence survival function, $S(t) = \mathbb{P}(p > t)$—the probability that a random topological feature survives beyond scale $t$, estimated via the standard Kaplan–Meier curve.

Figure 1: From a point cloud (1, here a torus), persistent homology produces a persistence diagram with features in dimensions H0, H1 and H2 (2). Each feature contributes its lifetime p = d −b as a fully observed survival time, and STRAND estimates the persistence survival function S(t) = P(p > t) separately for each homology dimension (3).

What is standard here is the survival machinery (Kaplan–Meier, log-rank tests, hazard ratios); what is novel is adapting it to collections of PDs:

  • Clustered Hypothesis Testing: Because features within the same diagram are topologically coupled (violating independence), naive pooling massively inflates false positives. STRAND introduces a clustered log-rank variance estimator (treating whole diagrams as sampling units) alongside an exact label-permutation test.
  • Effect Sizes: Instead of bare $p$-values, STRAND outputs Hazard Ratios (HR) (how much faster features die out in Group B vs. Group A) and median persistence differences.
  • Vectorisation: Evaluating the survival curve $\hat{S}(t)$ on a 1D grid of $g$ points yields a compact, fixed-length vector for ML, backed by an integrated $1$-Wasserstein stability bound. Variants optionally append birth-time survival curves (STRAND-F) or condition on birth entry via left-truncation (STRAND-B).

Datasets

No new datasets are introduced, though the authors note theirs is the first systematic benchmark of TDA vectorisations on 3D point clouds at this scale:

  • Synthetic Manifolds: Point clouds sampled from a 4D torus, 4D Klein bottle, and 3D sphere under varying noise regimes.
  • Graph Benchmarks: 10 datasets from the TU Dortmund collection (e.g., MUTAG, PROTEINS, NCI1, IMDB-B).
  • 3D Point Clouds: 4 datasets via the flooder package (SwissCheese, Corals, MCB, and ModelNet10 with up to 250,000 points per cloud).
  • Neuroimaging: Functional brain connectivity from ABIDE I (contrasting 130 typically developing children vs. 110 adults across AAL90, CC200, and Schaefer-400 brain atlases).

Key Insights and Ideas

  • Naive feature pooling is a statistical trap: Treating topological features from the same diagram as independent observations causes Type I error rates to explode (up to 67.1% at a nominal $\alpha = 0.05$!). Clustering variance at the diagram level restores nominal calibration.
  • Survival curves $\neq$ Betti curves: Betti curves count how many features are alive at filtration threshold $t$, whereas STRAND counts how many features have a lifespan exceeding $t$. Two diagrams can have identical Betti curves yet completely different feature lifetimes.
  • 1D beats 2D for efficiency: Summarizing lifetimes in 1D ($O(n \log n)$ sorting cost, zero pairwise diagram comparisons) drastically cuts dimensionality compared to 2D Persistence Images without sacrificing predictive signal.

Key Results

  • Calibration & Power: Across synthetic manifolds, clustered and permutation tests maintain nominal Type I error ($\approx 0.022–0.066$ at $\alpha = 0.05$) and achieve $1.00$ statistical power with just 5 diagrams per group.
  • Classification: Using SVMs, STRAND matches top baselines on TU Dortmund graphs (61.5% average accuracy vs. 61.6% for Sliced Wasserstein Kernels) and leads on 3D point clouds (79.5% average vs. 76.7% for Persistence Images, jumping +5.6pp on ModelNet10).
  • Massive Speedups: STRAND uses just 58–112 features versus 5,000 for Persistence Images—a 45–86$\times$ dimensionality reduction and ~30$\times$ faster SVM runtime on graphs (6.1s vs. 188.8s). On ModelNet10, kernel baselines require an estimated $\sim 10^4$ hours; STRAND finishes in 258 seconds.
  • Brain Connectivity: STRAND detects significant developmental differences in $H_1$ loops across all brain atlases ($\text{HR} = 1.092\text{ to }1.148, p < 0.001$), quantifying that topological loops in children's functional connectomes are shorter-lived than in adults'.

Limitations and Future Work

  • Sample Size Floor: Valid inference requires the clustered variance or permutation test and at least 5 diagrams per group (below $n=4$, permutation discreteness prevents reaching $p < 0.05$).
  • Translation Blindness: Because persistence $p = d - b$ only measures lifetime, standard STRAND ignores when features are born (shifting $(b, d)$ to $(b+c, d+c)$ looks identical), though STRAND-F partially mitigates this for ML.
  • Integrated vs. Pointwise Stability: Discretizing $\hat{S}(t)$ on a grid isn't pointwise continuous as $W_1 \to 0$ (tiny noise features shift normalization from $1/n$ to $1/(n+1)$); the mathematical stability guarantee holds on the integrated curve.
  • Future Work: Extending STRAND to attribute-aware graph filtrations, and treating topological features that survive past a truncated filtration cutoff as right-censored observations—unlocking another classic superpower of survival analysis.

Summary updated

Abstract

Persistence diagrams are common representations in topological data analysis, but they do not naturally live in a vector space, and the statistical tools developed for comparing them have largely evolved separately from those used for downstream prediction. We introduce STRAND (Survival Topological Representation ANalysis of Diagrams), which treats collections of PDs as survival data: each topological feature with persistence $p = d - b$ is a fully observed time-to-event, and groups of diagrams are compared through the persistence survival function $S(t) = \mathbb{P}(p > t)$, the marginal distribution of feature lifetimes. From this single representation we derive (i) a non-parametric two-sample test on collections of diagrams, (ii) interpretable effect sizes, and (iii) a fixed-dimensional feature vector for downstream machine learning, whose integrated deviation is bounded by the 1-Wasserstein distance. We validate calibration and power on synthetic manifolds with controlled topology, show that the vectorisation is competitive across 14 graph and 3D point cloud benchmarks, and apply the method to developmental differences in functional brain connectivity. The implementation of STRAND is available at https://github.com/BorgwardtLab/strand-tda.
BibTeX
@inproceedings{murris2026from,
  author = {Juliette Murris and Bernadette J. Stolz and Karsten Borgwardt},
  title = {{From Persistence to Survival: Hypothesis Testing, Effect Sizes and Vectorisation for Topological Features}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=JxamHvfzlr},
}
Figure