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

Topology Aware Deep Learning for Structural Image Segmentation

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

Version 1 of 131 papers31 conceptsfrozen 2026-10-04

In computer vision, we often measure success by how many pixels a model gets right. Metrics like the Dice coefficient or Cross-Entropy loss reward models for maximizing the overlap between a predicted mask and the ground truth. However, for structures where connectivity is the primary function—such as blood vessels, road networks, or neural membranes—a "pixel-perfect" score can be misleading. A single-pixel gap in a capillary or a tiny bridge between two distinct neurons represents a catastrophic failure in topology, even if 99% of the pixels are correct.

A growing body of research seeks to move beyond pixel-wise accuracy by integrating Topological Data Analysis (TDA) directly into the training loop of deep neural networks. By treating the "connectedness" of an image as a differentiable property, researchers are enabling models to "see" the global skeleton of the data.

The Geometry of Persistence

The central challenge in topology-aware learning is that topological properties, like the number of holes or connected components, are discrete and non-differentiable. You cannot take the derivative of "one hole" to get "zero holes."

To bridge this gap, researchers like Xiaoling Hu, Dimitris Samaras, and Chao Chen utilize Persistent Homology (PH). In Topology-Preserving Deep Image Segmentation, they demonstrate how to track the "birth" and "death" of topological features as an image is thresholded at varying levels of intensity.

Imagine a grayscale prediction of a road. As you lower the threshold for what counts as "road," different segments begin to connect (birth of components) and loops begin to close (birth of holes). PH identifies the "critical pixels" responsible for these structural changes. Because these critical points are tied to specific pixel intensities, they provide a gradient that a neural network can use to "heal" broken connections or "break" incorrect merges during backpropagation.

Beyond Counting: Spatial Correspondence

Early topological losses focused on matching the number of features (Betti numbers), but this lacked spatial context. A model might predict the correct number of loops but place them in the wrong part of the image.

To solve this, Nico Stucki and Johannes C. Paetzold introduced Betti Matching in Topologically faithful image segmentation via induced matching of persistence barcodes. This method uses algebraic topology to ensure that predicted topological features match the ground truth not just in quantity, but in their exact spatial location. By enforcing this "induced matching," the loss function penalizes a model if it hallucinates a hole where none exists or misses a critical junction in a vascular tree.

Efficiency through Graph Representations

While persistent homology is mathematically elegant, it is computationally expensive. Calculating persistence for every training iteration can slow down models significantly.

Recent work has shifted toward more efficient proxies for topology. Alexander H Berger and Laurin Lux developed Topograph (Topograph: An efficient Graph-Based Framework for Strictly Topology Preserving Image Segmentation), which uses component graphs to identify topologically critical regions. By isolating only the errors that change the connectivity of the graph, Topograph achieves state-of-the-art accuracy while running up to six times faster than traditional PH-based methods. Similarly, Steffen Wolf explored greedy, parameter-free partitioning in the Mutex Watershed, which manages connectivity constraints without the need for manual seeds or thresholds.

Generative and Self-Organizing Topology

The utility of topology extends beyond simple segmentation. In generative modeling, Fan Wang 0010 and colleagues introduced TopoGAN (TopoGAN: A Topology-Aware Generative Adversarial Network), which uses a topological loss to ensure synthetic images of neurons or roads maintain realistic connectivity. This has been further extended to diffusion models with TopoDiffusionNet (TopoDiffusionNet: A Topology-aware Diffusion Model), allowing for the generation of structures that strictly adhere to complex spatial reasoning requirements.

Other researchers are looking at topology as a dynamic process. The rNCA (refinement Neural Cellular Automata) framework treats segmentation as a self-organizing system where local update rules "heal" fragmented masks, effectively acting as a learned topological filter (rNCA: Self-Repairing Segmentation Masks).

The 3D Scalability Challenge

Across nearly all these papers, a consistent "frontier" remains: the transition from 2D images to 3D volumetric data. In 3D, topology becomes exponentially more complex; we must account not just for loops, but for tunnels and internal cavities. As noted by Masoud S. Nosrati and Ghassan Hamarneh, maintaining topological integrity in 3D volumes like MRI or CT scans introduces significant computational bottlenecks.

The future of this field lies in developing new algorithmic strategies—perhaps through Discrete Morse Theory or directional connectivity models like DconnNet—that can handle the high-dimensional complexity of the physical world without sacrificing the mathematical rigor of topology.

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_topology_aware_deep_learning_for_structu_ad7da0aa,
  title = {Topology Aware Deep Learning for Structural Image Segmentation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/topology-aware-deep-learning-for-structural-image-segmentation/rdr_ad7da0aa322d4a2eab7c26503f3f76e1},
  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_topology_aware_deep_learning_for_structu_ad7da0aa_v1,
  title = {Topology Aware Deep Learning for Structural Image Segmentation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/topology-aware-deep-learning-for-structural-image-segmentation/rdr_ad7da0aa322d4a2eab7c26503f3f76e1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}