SAMv2: A Unified Framework for Learning Appearance, Semantic and Cross-Modality Anatomical Embeddings

Xiaoyu Bai, Fan Bai, Xiaofei Huo, Jia Ge, Jingjing Lu, Xianghua Ye, Ke Yan, Yong XiaarXiv 2023 · DOI

Published in Medical Image Analysis (2024), this research introduces Universal Anatomical Embedding (UAE), a unified framework designed to overcome the challenges of identifying and matching anatomical structures across different patients, time points, and imaging modalities.

Introduction

Accurate anatomical matching is a cornerstone of medical AI, particularly for "exemplar-based" landmark detection. This technology allows clinicians to select a region of interest in one scan and have the system automatically locate it in subsequent scans or different patients. However, existing methods frequently fail due to semantic ambiguity (organs with similar textures), appearance shifts (contrast variations), and the fundamental intensity differences between modalities like CT and MRI.

Methodology

The UAE framework addresses these issues through two specialized variants: UAE-S (single-modality) and UAE-M (multi-modality).

Semantic-Enhanced Anatomical (SEA) Embedding

To resolve semantic ambiguity, the authors implemented a Semantic Head. Unlike purely self-supervised models that rely on visual similarity, this head is trained on large-scale public organ segmentation datasets using a prototypical supervised contrastive (SupCon) loss. This forces the embedding space to group voxels based on their biological identity (e.g., distinguishing between the liver and kidney) rather than just local pixel intensity.

Fixed-Point-Based Matching

A key innovation in UAE is the transition from simple nearest-neighbor matching to an iterative fixed-point strategy. By identifying "stable" matches—points that map to each other consistently in both forward and backward directions—the model effectively filters out noise and handles missing structures in images with different fields of view.

Iterative Cross-Modality Learning

UAE-M bridges the gap between CT and MRI by employing an iterative refinement process. Starting with a modality-agnostic model, the system progressively improves both the registration accuracy and the quality of the embeddings. This allows for precise alignment even when the MRI scan covers only a small fraction of the CT's field of view.

Cross-modality anatomical matching between CT and MRI across different fields of view.

Key Results

The researchers validated UAE across multiple benchmarks, including the NIH-Lymph Node and Total Segmentator datasets.

  • Longitudinal Lesion Tracking: On the DLS dataset, UAE-S achieved a 93.02% Correct Point Matching (CPM) rate, significantly surpassing the previous state-of-the-art SAM model (91.56%).
  • Cross-Modality Accuracy: In challenging CT-MRI registration tasks, UAE-M reduced the Mean Euclidean Distance (MED) error to 5.1mm, compared to 13.4mm for existing learning-based methods like C2FViT.
  • Downstream Impact: When integrated into tumor segmentation workflows, the improved alignment provided by UAE-M increased the Dice score from 74.1% to 76.4%, proving that better registration leads to better clinical outcomes.
Example of lesion tracking and landmark matching between baseline and follow-up scans.

Conclusion

By prioritizing "stability over similarity" and integrating high-level semantic knowledge, UAE provides a robust, universal solution for anatomical embedding. The framework's success in the MICCAI LLD-MMRI 2023 challenge (securing 2nd place) underscores its potential for real-world clinical applications in longitudinal study and multi-modal diagnosis.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Full DLS datasetSAMCPM@Radius93.44Anatomical Landmark Detection
Source quote
L231: SAM \cite{yan2022sam} │ 88.94 │ 93.44 │ 2.4± 3.0 │ 2.5±3.1 │ 3.6±3.8 │ 5.8±5.0
BibTeX
@misc{bai2023samv,
  author = {Xiaoyu Bai and Fan Bai and Xiaofei Huo and Jia Ge and Jingjing Lu and Xianghua Ye and Ke Yan and Yong Xia},
  title = {{SAMv2: A Unified Framework for Learning Appearance, Semantic and Cross-Modality Anatomical Embeddings}},
  year = {2023},
  eprint = {2311.15111},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.15111},
}
Figure