Abstract
Semantic segmentation is important in medical image analysis. Inspired by the strong ability of traditional image analysis techniques in capturing shape priors and inter-subject similarity, many deep learning (DL) models have been recently proposed to exploit such prior information and achieved robust performance. However, these two types of important prior information are usually studied separately in existing models. In this paper, we propose a novel DL model to model both type of priors within a single framework. Specifically, we introduce an extra encoder into the classic encoder-decoder structure to form a Siamese structure for the encoders, where one of them takes a target image as input (the image-encoder), and the other concatenates a template image and its foreground regions as input (the template-encoder). The template-encoder encodes the shape priors and appearance characteristics of each foreground class in the template image. A cosine similarity based attention module is proposed to fuse the information from both encoders, to utilize both types of prior information encoded by the template-encoder and model the inter-subject similarity for each foreground class. Extensive experiments on two public datasets demonstrate that our proposed method can produce superior performance to competing methods.
Introduction
In medical imaging, anatomical structures such as the brain or liver generally follow consistent shapes and spatial arrangements across different patients. Traditional "atlas-based" segmentation methods relied heavily on this consistency. However, modern Deep Learning (DL) models often struggle to incorporate these "priors" effectively, typically requiring massive amounts of annotated data to learn these patterns from scratch.
Existing DL approaches often tackle this in a fragmented way, focusing either on shape priors (modeling what an organ looks like) or inter-subject similarity (modeling how one patient's anatomy maps to another's). This paper introduces Prior-Net, a unified framework designed to model both types of information within a single, robust architecture, significantly improving performance even in data-scarce scenarios.
Methodology
Prior-Net modifies the standard 3D U-Net architecture into a Siamese-like structure to explicitly leverage prior knowledge from a template image.
Dual Encoders
The architecture employs two distinct encoders:
- Image-Encoder: Processes the target image to be segmented.
- Template-Encoder: Takes a "template" image (a sample from the training set) concatenated with its ground-truth segmentation masks. This allows the network to explicitly encode the shape priors and appearance characteristics of foreground classes.
Cosine Similarity Based Attention Module (CSAM)
The core innovation is the CSAM, which fuses information from both encoders. Instead of simple feature concatenation, CSAM computes the cosine similarity between the feature vectors of the target and template images at every spatial position. These similarity scores act as "attention weights," highlighting regions in the target image that correspond to known structures in the template. This mechanism mimics the logic of classical atlas-based segmentation within a flexible, high-dimensional feature space.
Hierarchical Fusion
This attention mechanism is applied at every level of the encoder, allowing the model to match everything from low-level textures to high-level anatomical shapes across the two subjects.
Experiments and Evaluation
The model was evaluated on two public benchmarks:
- CANDI: 103 T1-weighted brain MRI scans, focusing on 28 anatomical structures.
- LiTS (Liver Tumor Segmentation Challenge): 201 abdominal CT scans, used to test performance in data-scarce scenarios.
Key Results
Prior-Net demonstrated superior accuracy and remarkable robustness to small datasets.
- State-of-the-Art Performance: On the CANDI brain dataset, Prior-Net achieved a Dice score of 89.07%, significantly outperforming the standard 3D U-Net baseline (83.10%) and specialized models like SWANS (82.40%) and VoxelMorph (81.13%).
- Data Efficiency: On the LiTS dataset, when trained with only 1% of the available data (a single volume), Prior-Net achieved a Dice score of 90.24%, outperforming the previous state-of-the-art Siamese model (CFCN) which scored 88.40%.
- Ablation Study: The CSAM module was found to be critical; its inclusion provided a 2.49% boost in Dice score compared to simple feature concatenation in a dual-encoder setup.
Conclusion
Prior-Net effectively bridges the gap between traditional atlas-based methods and modern deep learning. By using an explicit "cheat sheet" in the form of a template mask and a similarity-based attention mechanism, the model achieves high accuracy and exceptional data efficiency. Future work may explore more sophisticated template selection strategies and further optimize the computational requirements of the dual-encoder structure.
Summary updated