Leveraging Anatomical Consistency for Multi-Object Detection in Ultrasound Images via Source-free Unsupervised Domain Adaptation

Bin Pu, Xingguo Lv, Jiewen Yang, Xingbo Dong, Yiqun Lin, Shengli Li, Kenli Li, Xiaomeng Li

Abstract

Adapting medical AI models to new clinical domains is often restricted by data privacy laws that prevent sharing source datasets. We present Anatomy-aware Alignment Teacher-Student (AATS), a source-free unsupervised domain adaptation (SF-UDA) framework for multi-object detection in ultrasound. AATS leverages the inherent topological consistency of human anatomy to bridge domain gaps. By integrating Unsupervised Structure Refinement (USR) and Graph-aware Morphology Alignment (GMA), AATS achieves state-of-the-art performance on fetal heart and early pregnancy datasets without requiring access to source data.

Introduction

Deep learning has revolutionized medical imaging, yet its clinical deployment faces a significant hurdle: domain shift. Models trained on ultrasound data from one institution often suffer performance degradation when applied to data from another due to variations in equipment, protocols, and patient demographics. While Unsupervised Domain Adaptation (UDA) offers a solution, it typically requires simultaneous access to both source and target datasets. In the medical field, privacy regulations such as HIPAA and GDPR often prohibit such data sharing, necessitating source-free UDA solutions.

Existing source-free methods, largely developed for natural images, overlook a fundamental characteristic of medical imaging: anatomical consistency. Regardless of the imaging modality or domain, the spatial relationships and topological structures of human organs remain relatively constant. AATS exploits these anatomical priors to provide a stable signal for adaptation.

Conceptual overview of anatomical consistency across source and target domains.

The AATS Framework

The AATS framework utilizes a Mean-Teacher architecture to adapt a pre-trained model using only unlabeled target data. It introduces two primary novel modules to enforce consistency across domains.

The AATS framework architecture featuring USR and GMA modules.

Unsupervised Structure Refinement (USR)

The USR module addresses low-level feature discrepancies. It employs an unsupervised clustering algorithm to group features of detected organs. By aligning these feature distributions between the Teacher (which generates pseudo-labels) and the Student (which learns from them), USR ensures that the visual representation of anatomical structures remains consistent, effectively filtering noise from initial pseudo-labels.

Graph-aware Morphology Alignment (GMA)

The GMA module is the framework's core innovation, modeling the "morphological space" of detected organs. It represents detected structures as nodes in a graph to capture their spatial and topological relationships.

  • Intra-domain Modeling: Uses self-attention to capture internal organ relationships within a single image.
  • Inter-domain Alignment: Employs cross-attention and a Hypergraph Convolutional Network (GCN) to align the teacher's stable anatomical graph with the student's evolving graph.
  • Optimization: The framework utilizes Wasserstein distance (Optimal Transport) to minimize discrepancies between the graphs, forcing the student model to learn a biologically plausible anatomical layout.

Experimental Evaluation

AATS was evaluated on two challenging ultrasound tasks: Fetal Heart (FH) structure detection and Early Pregnancy View (EPV) detection.

Fetal Heart (FH) Detection

On the FH benchmark (Center 1 → Center 2), AATS achieved a mean Average Precision (mAP) of 77.71%. This represents a substantial improvement over the previous state-of-the-art source-free method, AT-SF (65.97%), and even surpasses several traditional UDA methods that require source data access. Ablation studies confirmed the necessity of both modules, with the removal of either USR or GMA resulting in a performance drop of approximately 7-10% mAP.

Early Pregnancy View (EPV) Detection

The EPV task is particularly demanding due to the lack of distinct structures in early development. AATS demonstrated remarkable robustness here, improving detection accuracy by 43.72% compared to the "Source Only" baseline. The authors introduced the AATS-EPV benchmark to facilitate further research in this difficult adaptation task.

Conclusion

AATS demonstrates that anatomical topology serves as a powerful anchor for domain adaptation in medical imaging. By shifting focus from pixel-level textures to high-level structural consistency, AATS provides a privacy-preserving, high-performance solution for deploying medical AI across diverse clinical environments. Future work will explore extending this graph-based approach to 3D volumetric data and temporal video sequences.

Code Availability: The authors have made their implementation available at https://github.com/xmed-lab/AATS.

Summary updated

BibTeX
@inproceedings{pu2025leveraging,
  author = {Bin Pu and Xingguo Lv and Jiewen Yang and Xingbo Dong and Yiqun Lin and Shengli Li and Kenli Li and Xiaomeng Li},
  title = {{Leveraging Anatomical Consistency for Multi-Object Detection in Ultrasound Images via Source-free Unsupervised Domain Adaptation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i6.32700},
}
Figure