TL;DR
MORI-Seg is a novel deep learning framework that achieves robust instance segmentation of complex kidney structures using only semantic-level annotations. By jointly modeling object-centric distance fields and boundary-band representations during training, it successfully decomposes connected semantic regions into distinct instances without requiring labor-intensive instance-level masks or adding any computational overhead during inference.
What Problem Does This Paper Address?
In digital pathology, quantifying individual functional units in the kidney (like tubules and capillaries) is crucial for understanding disease progression. However, most publicly available datasets only provide semantic segmentation labels. In a semantic mask, adjacent objects of the same class are merged into a single continuous blob.
Delineating thousands of individual microstructures to create instance segmentation datasets is incredibly expensive and time-consuming. Traditional workarounds either rely on rigid, error-prone heuristic post-processing (like watershed transforms) that fail in crowded tissue areas, or weakly-supervised learning methods that lack explicit geometric awareness. MORI-Seg bridges this "supervision gap" by learning how to separate individual objects using nothing but standard semantic masks.
Methods
MORI-Seg is built on top of the native RTMDet-Ins architecture. Its core innovation lies in introducing two auxiliary, training-only branches that force the network to learn the underlying geometry of individual structures:
- Instance Disentanglement Branch: This module projects shared mask features into a distinct embedding space. It applies a cosine-based consistency loss that pulls pixels of the same instance together while pushing neighboring instances apart, ensuring clear identity-level separation.
- Morphological Geometry Branch: This branch simultaneously models two complementary geometric signals derived directly from the semantic masks:
- Distance Map Prior: Computes a normalized Euclidean distance-to-boundary field for each connected component. Crucially, the authors apply an exponential reparameterization ($\alpha = 3$) to damp boundary noise and preserve a sharp dynamic range in the object interiors.
- Boundary Map Prior: Generates a thick "boundary band" using morphological gradients (dilation minus erosion) to explicitly highlight contact interfaces where instances touch.
The most elegant feature of this architecture is efficiency: all auxiliary heads are discarded at inference time. The final model retains the native RTMDet-Ins decoding pipeline, delivering high-quality instance segmentation with zero additional computational cost during deployment.
Datasets
The framework was trained and evaluated using two distinct, complementary kidney pathology datasets:
- KI (Training): Provides semantic-level annotations of five structures—arteries (ART), peritubular capillaries (PTC), distal tubules (DT), proximal tubules (PT), and glomerular capsules (CAP)—curated from the NEPTUNE project.
- KPMP (Evaluation): Contains 385 PAS-stained whole-slide images with predefined, manual instance-level annotations. A subset of 66 slides was used exclusively to evaluate the model's zero-shot instance separation capabilities.
Key Insights and Ideas
- Baking Geometry into Features: Instead of designing complex post-processing algorithms to split merged masks, MORI-Seg bakes geometric and structural awareness directly into the network's feature representations during training.
- The Power of Exponential Scaling: Linear distance maps are highly sensitive to boundary noise and label ambiguity in crowded tissue fields. Reshaping the target distance field exponentially creates a cleaner, monotonic decay from center to boundary, making touching objects much easier to separate.
- Complementary Geometric Priors: Object-centric distance fields excel at identifying the "cores" of compact objects, but struggle with long, irregular, or elongated structures. Introducing the boundary-band prior provides the missing interface cues needed to handle complex biological topologies.
Key Results
MORI-Seg significantly outperformed classical post-processing pipelines and state-of-the-art semantic-to-instance learning methods on the KPMP evaluation dataset.
- Quantitative Superiority: MORI-Seg achieved an average mAP of 0.389, markedly outperforming the RTMDet-Ins baseline (0.317) and outclassing the top competing semantic-to-instance method, SIM (0.354).
- Robustness in Complex Zones: The model showed massive improvements in morphologically challenging categories, reaching a 0.611 mAP on glomerular capsules (CAP) and 0.596 mAP on tubules (DT+PT).
- Ablation Validation: Ablation experiments confirmed that combining both the exponential distance prior and the boundary prior yields the highest performance gains, validating their complementary nature.
Limitations and Future Work
While MORI-Seg demonstrates remarkable performance on kidney pathology, the authors note that its evaluation was focused specifically on renal functional units. Future work will involve exploring how well this morphology-aware geometric paradigm generalizes to other highly heterogeneous tissues and diverse medical image analysis tasks where instance-level annotations remain scarce.
Summary updated