---
title: 'PH-landmarks: Outlier-Robust PH Subsampling'
url: https://www.emergentmind.com/topics/ph-landmarks-outlier-robust-local-ph-subsampling
type: topic
---

# PH-landmarks: Outlier-Robust PH Subsampling

PH-landmarks is an outlier-robust subsampling methodology for landmark selection in persistent homology (PH) computations, designed to efficiently capture the topological signal of large, noisy point clouds. Motivated by the Mayer–Vietoris sequence, the algorithm assigns each point a local PH-based outlier score by evaluating the maximal persistence of homology classes in the δ-link of its neighborhood. Using these scores, PH-landmarks selects a fixed-size subset of representative or vital points whose inclusion preserves the topological structure of the data while discarding noise and outliers. Empirical comparisons on synthetic datasets demonstrate its superiority over conventional random, sequential max–min, and robust $k$-means-based landmarking for low to moderate sampling densities in the presence of outlier noise [2103.14743].

## 1. Mathematical Formulation and Outlier Definition

Given a point cloud $D = \{y_1, ..., y_n\} \subset \mathbb{R}^d$, the PH-landmarks approach selects a subset $L \subset D$ of $m \ll n$ landmarks such that the Vietoris–Rips PH of $L$ approximates that of the “signal” in $D$, mitigating the influence of outliers. Two core parameters are fixed: a local neighborhood radius $\delta > 0$ and the desired number of landmarks $m$.

For each $y \in D$, the local neighborhood is defined as:
$$
\Delta_y = \{ z \in D \setminus \{y\} : \|z - y\| \leq \delta \}.
$$
The Vietoris–Rips complex $\mathrm{VR}(\Delta_y)$ is constructed at all scales. The δ-link $Lk^\delta(y)$ is the subcomplex comprising all simplices in $\mathrm{VR}(\Delta_y)$ not containing $y$. Its “star closure” $\overline{\mathrm{St}}^\delta(y)$ is the union of $Lk^\delta(y)$ and all simplices containing $y$ and entirely supported in $\Delta_y$; by construction, this is contractible and serves as a local neighborhood for Mayer–Vietoris analysis.

The local PH-score quantifying outlierness is:
$$
|\mathrm{PH}_n(Lk^\delta(y))| := \max_{[b, e) \in \mathcal{B}_n(Lk^\delta(y))}(e - b),
$$
where $\mathcal{B}_n(\cdot)$ denotes the persistence barcode in dimension $n$ (excluding infinite intervals). Two variants are used:
- $out\_PH^{0,1,2}(y) := \max_{n=0,1,2} |\mathrm{PH}_n(Lk^\delta(y))|$ (captures large deviations in low dimensions)
- $out\_PH^1(y) := |\mathrm{PH}_1(Lk^\delta(y))|$ (sensitive only to 1D topological features)

A point $y$ with $|\Delta_y| < 2$ is deemed a “super-outlier,” indicating extreme isolation. Such points are ranked last and only selected if $|D| - $ (number of super-outliers) $ < m$, ensuring outliers are rarely prioritized.

Two landmarking strategies are defined:
- “Representative” (PH-I): select $m$ points with smallest outlier score.
- “Vital” (PH-II): select $m$ points with largest outlier score.

## 2. Mayer–Vietoris Motivation and Theoretical Rationale

The PH-landmarks methodology is rooted in the Mayer–Vietoris long exact sequence. For a complex $X = A \cup B$:
$$
\dots \to H_n(A \cap B) \xrightarrow{\Phi_*} H_n(A) \oplus H_n(B) \xrightarrow{\Psi_*} H_n(X) \xrightarrow{\partial_*} H_{n-1}(A \cap B) \to \dots
$$
Setting $A = X \setminus \{y\}$, $B = \overline{\mathrm{St}}(y)$ (which is contractible), and $A \cap B = Lk(y)$, if $H_n(Lk(y)) = 0$, then for $n > 0$, $H_n(A) \cong H_n(X)$. In practical data settings, $H_n(Lk^\delta(y))$ rarely vanishes exactly, but the largest finite-persistence class in $\mathrm{PH}(Lk^\delta(y))$ measures the deviation from this isomorphism. Thus, points with small $|\mathrm{PH}_n(Lk^\delta(y))|$ are inessential to global PH, while large values indicate points critical to the dataset’s topology [2103.14743].

## 3. Algorithmic Workflow and Pseudocode

The annotated PH-landmarks (representative version) workflow is as follows:

1. **Initialization**: $S \leftarrow \varnothing$ (super-outlier set).
2. **For each $y \in D$**:
   - Compute $\Delta_y$.
   - If $|\Delta_y| < 2$: assign $y$ to $S$.
   - Otherwise: build the Vietoris–Rips filtration of $\Delta_y$ up to dimension 2 and compute $out\_PH(y)$.
3. **Sort** $D' = D \setminus S$ by non-decreasing $out\_PH(y)$.
4. **Select** the first $\min(m, |D'|)$ points for $L$ (the landmark set).
5. **If** $|L| < m$, append arbitrary points from $S$ to reach size $m$.
6. **Return** $(L, S)$.

All Vietoris–Rips computations are performed locally on $\Delta_y$, significantly reducing computational complexity for large $n$. Super-outliers are included as landmarks only when unavoidable, guarding against isolated noise dominating the landmark set.

## 4. Computational Complexity

Let $n = |D|$, $m$ the landmark budget, and $|\Delta_y| \leq k$ (average neighborhood size), where typically $k \ll n$. The main computational costs are:

- Building $\mathrm{VR}(\Delta_y)$ up to dimension 2: $O(k^3)$ in the worst case (all $k$-vertex cliques).
- Computing persistence via Ripser: $O(k^3)$ worst-case, typically much faster.
- Total over all points: $O(n k^3)$.
- Sorting $n$ outlier scores: $O(n \log n)$.
- Top $m$ selection: $O(m)$.

Thus, overall cost is $O(n C(\delta) + n \log n)$ with $C(\delta) \approx k^3$ increasing with $\delta$, so $\delta$ is chosen to keep $k$ moderate [2103.14743].

## 5. Experimental Evaluation on Synthetic Data

PH-landmarks was benchmarked on six synthetic point clouds ($n=3000$), each a mixture of signal (structured manifold) and noise components:

- **3D examples (with $p \in \{0.3, 0.6, 0.9\}$):**
  - Sphere–cube ($p \cdot \mathrm{Uniform}(S^2) + (1-p) \cdot \mathrm{Uniform}([-1,1]^3)$)
  - Sphere–plane ($p \cdot \mathrm{Uniform}(S^2) + (1-p) \cdot \mathrm{Uniform}([-3,3]^2)$, $z=0$)
  - Sphere–line, Sphere–Laplace-line (with additive Laplace noise)

- **4D examples:**
  - Torus ($p \cdot \mathrm{Uniform}(T^2 \subset \mathbb{R}^4)$ plus thickened noise)
  - Klein bottle (similarly thickened)

For each dataset, sampling density $s = m/n$ was varied from $0.05$ to $1.0$. The primary metric was the “fraction of signal landmarks” (i.e., selected points drawn from the ground-truth manifold). Standard deviation over 20 randomizations was recorded for stochastic methods.

## 6. Quantitative Comparison with Competing Subsampling Schemes

PH-landmarks was compared with random-uniform, sequential max–min (de Silva–Carlsson), and robust $k^2$-means⁻ (Chawla–Gionis, with and without explicit outlier removal) subsampling. The following table (for $p=0.6$ in the “sphere–cube” dataset) summarises the fraction of signal landmarks at various sampling densities ($s$):

| $s = m/n$ | Random         | MaxMin         | $k^{--}$        | $k^{--}_{\mathrm{outf}}$ | PH-I    | PH-II   |
|-----------|---------------|----------------|-----------------|-------------------------|---------|---------|
| 0.05      | 0.60 ± 0.02   | 0.12 ± 0.05    | 0.58 ± 0.03     | 0.42 ± 0.04             | **0.75**| 0.68    |
| 0.10      | 0.60 ± 0.02   | 0.08 ± 0.04    | 0.60 ± 0.03     | 0.55 ± 0.04             | **0.82**| 0.75    |
| 0.50      | 0.60 ± 0.02   | 0.45 ± 0.06    | 0.62 ± 0.02     | 0.61 ± 0.02             | 0.79    | **0.83**|
| 1.00      | 0.60 ± 0.02   | 0.60 ± 0.02    | 0.60 ± 0.02     | 0.60 ± 0.02             | 0.60    | 0.60    |

At low $s$ ($s \lesssim 0.3$), PH-I and PH-II consistently achieve higher signal fractions than all competitors. Max–min is highly susceptible to noise in low-density regions, resulting in very low signal coverage at small $s$. Random and $k^2$-means⁻ maintain signal fractions near $p$ but lack explicit outlier rejection. PH-landmarks outperforms by down-weighting or excluding outliers, with PH-I favored when $p$ is low or noise is uniform, and PH-II performing best with clustered noise or high $p$ [2103.14743].

## 7. Conclusions and Significance

PH-landmarks establishes a theoretically motivated, outlier-robust framework for topological landmark selection in persistent homology. By leveraging local PH computations tied to the Mayer–Vietoris sequence, the method efficiently ranks and selects representative or vital subsamples, preserving topological signal in the presence of substantial noise. Computational tractability is maintained as all PH calculations are localized. Extensive benchmarking confirms that PH-landmarks surpasses random, max–min, and robust $k$-means⁻ schemes at low to moderate sampling densities, demonstrating reliable outlier resistance and signal fidelity [2103.14743]. This suggests PH-landmarks constitutes a practical advance in scalable and robust topological data analysis.

Source: https://www.emergentmind.com/topics/ph-landmarks-outlier-robust-local-ph-subsampling