Improving segmentation of thin shapes by adaptive connection fixes

TRACE: Topology-Aware Reconnection via Prediction-Adaptive Connectivity Enforcement for Thin-Structure Segmentation

Computer Vision and Pattern RecognitionArtificial Intelligence

Summary

Thin and long structures in images are hard to correctly outline because small mistakes can break their shape's continuity. The authors developed a method called TRACE that looks for easier ways to reconnect broken parts based on what the computer currently predicts. Instead of focusing only on a fixed path, TRACE adapts to these changing predictions to keep the shapes connected. This approach leads to better consistency in segmenting thin structures without extra training cost.

What this means in practice

  • For medical image analysts: Enhance continuity and accuracy in segmenting vessels or fibers in medical scans where thin structures are common and critical to analyze.
  • For material scientists: Improve segmentation of fine, elongated features in microscopy images to better characterize material properties and structures.

Authors

Junho Moon, Ikbeom Jang

Abstract

Thin, elongated structures are particularly sensitive to connectivity errors, as even a few local segmentation mistakes can disrupt otherwise continuous paths. Existing skeleton-based objectives typically supervise fixed centerline locations and do not account for alternative local routes that may restore connectivity. We propose TRACE, a topology-aware, prediction-adaptive objective that uses a target skeleton to define required local connections. For each connection, TRACE identifies the easiest valid reconnection under the current prediction and jointly supervises its bottleneck with the corresponding skeleton point. The supervision thus adapts to the evolving prediction rather than remaining fixed to the centerline. We further introduce a topology-aware skeleton carrier that preserves both foreground and class-specific topology, enabling reliable definition of these connections. Extensive experiments across six 2D and 3D benchmarks show that TRACE improves connectivity and topology while maintaining strong segmentation accuracy with low training overhead. Code will be released upon acceptance.