Topograph: An Efficient Graph-Based Framework for Strictly Topology Preserving Image Segmentation

Abstract

Topological correctness plays a critical role in many image segmentation tasks, yet most networks are trained using pixel-wise loss functions, such as Dice, neglecting topological accuracy. Existing topology-aware methods often lack robust topological guarantees, are limited to specific use cases, or impose high computational costs. In this work, we propose a novel, graph-based framework for topologically accurate image segmentation that is both computationally efficient and generally applicable. Our method constructs a component graph that fully encodes the topological information of both the prediction and ground truth, allowing us to efficiently identify topologically critical regions and aggregate a loss based on local neighborhood information. Furthermore, we introduce a strict topological metric capturing the homotopy equivalence between the union and intersection of prediction-label pairs. We formally prove the topological guarantees of our approach and empirically validate its effectiveness on binary and multi-class datasets, demonstrating state-of-the-art performance with up to fivefold faster loss computation compared to persistent homology methods.

Cite

Text

Lux et al. "Topograph: An Efficient Graph-Based Framework for Strictly Topology Preserving Image Segmentation." International Conference on Learning Representations, 2025.

Markdown

[Lux et al. "Topograph: An Efficient Graph-Based Framework for Strictly Topology Preserving Image Segmentation." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/lux2025iclr-topograph/)

BibTeX

@inproceedings{lux2025iclr-topograph,
  title     = {{Topograph: An Efficient Graph-Based Framework for Strictly Topology Preserving Image Segmentation}},
  author    = {Lux, Laurin and Berger, Alexander H and Weers, Alexander and Stucki, Nico and Rueckert, Daniel and Bauer, Ulrich and Paetzold, Johannes C.},
  booktitle = {International Conference on Learning Representations},
  year      = {2025},
  url       = {https://mlanthology.org/iclr/2025/lux2025iclr-topograph/}
}