NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Spatially Constrained Topological Matching for Image Segmentation

This direction is split into other directions: fused filtration for topological descriptors, spatially-constrained topological matching. Its last version stays readable and citable here.

Version 1 of 133 papers68 conceptsfrozen 2026-10-04

Standard image segmentation models are often judged by how well their predicted pixels overlap with the ground truth. However, pixel-perfect overlap doesn't guarantee structural integrity. A model might achieve a high Dice score while still producing a "broken road" or a "merged cell"—errors that are catastrophic in medical imaging or autonomous driving.

To fix this, researchers have turned to Topological Data Analysis (TDA). By using persistent homology, we can penalize a model when it gets the "connectivity" of an object wrong. But early versions of these topological losses had a hidden flaw: they were "location-blind."

The Problem of Location Blindness

Imagine a segmentation task where the ground truth has a single hole in the top-left corner. If a model predicts a hole of the same size in the bottom-right corner, a standard topological loss function might look at the "persistence barcode"—a summary of the holes' sizes and contrasts—and conclude that the prediction is perfect. Because the barcodes match, the loss is zero.

As Johannes C. Paetzold, Ulrich Bauer, and their colleagues point out in Topologically faithful image segmentation via induced matching of persistence barcodes, this lack of spatial awareness creates a "non-monotonic" optimization signal. The model might be penalized for a hole it correctly placed just because it doesn't match the abstract persistence value of a ground-truth hole elsewhere. This "location-blindness" can lead to hallucinated structures or gradients that try to "teleport" topological features across the image.

Anchoring Topology in Space

To solve this, the research direction has shifted toward Spatially Constrained Topological Matching. The goal is to ensure that a predicted topological feature (like a connected component or a loop) is only paired with a ground-truth feature if they occupy the same physical region.

One breakthrough method, termed Betti Matching, establishes this correspondence by embedding both the prediction and the ground truth into a shared "ambient space." In Topologically Faithful Image Segmentation via Induced Matching of Persistence Barcodes, Nico Stucki and Johannes C. Paetzold describe using the entry-wise maximum of the two images as a bridge. This comparison image acts as a mathematical map: a feature in the prediction and a feature in the ground truth are only "matched" if they both persist into the same feature in the combined image.

This ensures that the gradient signal specifically targets the local contrast of structures in their correct geometric locations. If a model predicts a hole where none exists, the loss function identifies exactly where that error is, rather than matching it to a distant, unrelated hole.

Localized Filtrations and Homotopy

Other researchers have approached this by modifying the "filtration"—the process of growing shapes to find holes. Doruk Oner and Pascal Fua introduced localized filtration functions in Persistent Homology with Improved Locality Information for more Effective Delineation. By incorporating spatial coordinates (like height functions) directly into the TDA process, they force topological features to appear at different "scales" based on their location, preventing global matching algorithms from confusing distant regions.

A more recent evolution, Topograph, developed by Alexander H Berger and Laurin Lux, moves away from expensive persistent homology calculations toward a graph-based approach. They enforce homotopy equivalence between the intersection and union of the predicted and ground-truth masks. If the intersection (where they overlap) doesn't have the same "shape" as the union, it's a sign that the topological features are not spatially aligned.

Why This Works

The intuition behind these methods is that topology without geometry is incomplete for vision. By forcing a one-to-one spatial correspondence:

  1. Gradients become local: The network receives a signal to "close this gap here" rather than "reduce the number of components globally."
  2. Structural artifacts are reduced: Models are less likely to hallucinate "correct-looking" barcodes in the wrong places to satisfy a global loss.
  3. Efficiency improves: As shown in Efficient Betti Matching Enables Topology-Aware 3D Segmentation via Persistent Homology, highly optimized spatial matching makes it feasible to train large 3D networks (like those for vascular systems) that were previously too computationally heavy for TDA.

By grounding abstract algebraic invariants in physical coordinates, this research direction ensures that deep learning models don't just "count" the structure of the world, but actually place it where it belongs.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_spatially_constrained_topological_matchi_1cf45b73,
  title = {Spatially Constrained Topological Matching for Image Segmentation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spatially-constrained-topological-matching-for-image-segmentation/rdr_1cf45b734d874f01917c4b0b705b0db2},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_spatially_constrained_topological_matchi_1cf45b73_v1,
  title = {Spatially Constrained Topological Matching for Image Segmentation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spatially-constrained-topological-matching-for-image-segmentation/rdr_1cf45b734d874f01917c4b0b705b0db2/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}