Wasserstein-Stable Topological Consistency Loss
Implementation & benchmark of arXiv:2608.08858 — A Hilbert space embedding of persistence diagrams and barcodes
Source paper: A Hilbert space embedding of persistence diagrams and barcodes arXiv:2608.08858 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Regularize a network by requiring augmented views or independently perturbed feature filtrations to have nearby persistence landscapes. This replaces an expensive or nondifferentiable diagram matching penalty with an \(L^2\) loss on fixed-grid landscape tensors while retaining an upper bound in terms of the underlying Wasserstein diagram discrepancy.
Formulas
Mathematical statement
For diagrams \(\alpha=\sum_j(b_j,d_j)\) and \(\beta=\sum_j(\widetilde b_j,\widetilde d_j)\), construct landscape tensors using \(\triangle_{(b,d)}(t)=\max\{0,\min(t-b,d-t)\}\). Use the squared Hilbert loss \(\mathcal{L}_{\mathrm{land}}(\alpha,\beta)=\sum_{k=1}^{K}\sum_{r=1}^{R}w_r(\Lambda_\alpha(k,t_r)-\Lambda_\beta(k,t_r))^2\), which approximates \(\|\Lambda_\alpha-\Lambda_\beta\|_{L^2}^2\). Theorem 4.6 gives \(\|\Lambda_\alpha-\Lambda_\beta\|_{L^2}\le W_2^\triangle(\alpha,\beta)\), so the landscape consistency penalty is controlled by the Wasserstein perturbation of the diagrams. Here \(K\) is the number of retained landscape ranks, \(t_r\) are grid locations, and \(w_r\) are quadrature weights, normally \(w_r=\Delta t\).
Implementation notes
Add the auxiliary loss after the model generates a persistence diagram from each input and an augmented version of that input. Use graph edge dropout, image noise or cropping, point-cloud jitter, or feature noise according to the invariance desired. Choose one shared grid t[0:R] for both diagrams. For each diagram, compute v[j,r] = max(0, min(t[r]-birth[j], death[j]-t[r])), mask padded points, take the top K values over j, and obtain L_a and L_b. Then compute land_loss = sum(k,r, w[r] * (L_a[k,r]-L_b[k,r])**2) and optimize task_loss + lambda * land_loss, using w[r]=delta_t. Initially stop gradients through the topological computation if the persistence library is nondifferentiable; later test a differentiable filtration implementation. The mathematical component is the fixed-grid Hilbert metric together with its Wasserstein upper-bound interpretation. Estimate empirically the best lambda, grid range, K, persistence threshold, and whether gradients through birth/death coordinates are stable. First test a small graph neural network on MUTAG or Cora with edge-dropout views, against no consistency loss and a raw birth-death MSE loss. Track clean accuracy, view-to-view prediction disagreement, calibration, training variance across seeds, and robustness to stronger perturbations. Success is improved accuracy or robustness at equal task loss, lower prediction disagreement, and only a modest training-time increase.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.