UOD: Universal One-Shot Detection of Anatomical Landmarks

Heqin Zhu, Quan Quan, Qingsong Yao, Zaiyi Liu, S. Kevin Zhou

TL;DR

Universal One-shot Detection (UOD) is a new two-stage framework that allows AI to identify anatomical landmarks across different body parts (like the head, hand, and chest) using only one labeled image per domain. By combining domain-specific "adaptors" with a shared transformer architecture, UOD achieves state-of-the-art accuracy while being significantly more robust to the choice of the single training image than previous methods.

What Problem Does This Paper Address?

In medical imaging, pinpointing anatomical landmarks (like the corner of a jaw or a specific bone in the hand) is essential for surgery planning and disease assessment. However, training deep learning models for this task usually requires thousands of manually annotated images—a process that is expensive and time-consuming for medical experts.

"One-shot" learning aims to solve this by training a model using just a single annotated example. But existing one-shot methods face two major hurdles:

  1. Domain Specialization: A model trained on hand X-rays is useless for chest X-rays. Building separate models for every anatomical region is inefficient.
  2. Template Sensitivity: One-shot models are notoriously brittle. If the single image chosen for annotation is "sub-optimal" (e.g., slightly blurry or atypical anatomy), the model’s performance collapses.

The authors of this paper propose a "universal" approach that learns from multiple anatomical domains simultaneously, sharing knowledge between them to improve the robustness and accuracy of each.

Methods

The UOD framework operates in two distinct stages, moving from local patch matching to global context understanding.

Stage I: Self-Supervised Pseudo-Labeling

The model first learns to recognize local patterns without needing any labels. Using a Siamese network (a pair of identical neural networks), it practices matching small patches of an image to their augmented versions.

  • Innovation: The authors use a "universal convnet" equipped with domain adaptors. These are small, domain-specific modules plugged into a standard VGG/UNet backbone.
  • Outcome: Once trained, the model takes the one annotated "template" image and finds similar points in all other unlabeled images, creating "pseudo-labels" that serve as noisy training data for the next stage.

Stage II: Domain-Adaptive Transformer (DATR)

To refine the noisy pseudo-labels, the authors design a novel Domain-Adaptive Transformer (DATR). While Stage I focused on local patches, Stage II uses the global attention mechanism of transformers to understand the spatial relationships between landmarks across the whole image.

  • The DATB Block: The core innovation is the Domain-Adaptive Transformer Block. In a standard transformer, the "Query," "Key," and "Value" matrices are shared. In UOD, the Query matrix is duplicated for each domain (e.g., one for head, one for hand), allowing the model to look for domain-specific features. Meanwhile, the Key and Value matrices are shared to capture universal image features.
  • Learnable Scaling: They also introduce domain-specific diagonal matrices ($D_1, D_2$) that scale the features, helping the model eliminate "domain preference" and focus on the relevant anatomy.

Datasets

The researchers evaluated UOD on three widely used public X-ray datasets:

  1. Head: IEEE ISBI 2015 challenge dataset (400 cephalometric images).
  2. Hand: A digital hand atlas (909 images).
  3. Chest: The JSRT radiography database (247 images).

These datasets represent diverse anatomical structures and varying image resolutions, providing a rigorous test for a "universal" model.

Key Insights and Ideas

  • Strength in Diversity: The most striking finding is that training on multiple domains at once actually makes the model better at each individual domain. The shared modules act as a regularizer, helping the model learn a more robust representation of what a "landmark" looks like generally.
  • Solving the "Bad Template" Problem: Traditional one-shot models suffer if you pick a bad image to annotate. UOD significantly narrows the performance gap between "good" and "bad" templates because the domain-shared knowledge compensates for the weaknesses of a single sample.
  • Efficient Adaptation: By only making the "Query" matrix domain-specific, the authors keep the parameter count low while still allowing the model to specialize its "search" for landmarks in different body parts.

Key Results

UOD achieved State-of-the-Art (SOTA) performance across all three domains, outperforming CC2D (the previous leading one-shot method) by a significant margin:

  • Head Dataset: Achieved a Mean Radial Error (MRE) of 2.43mm, compared to 2.76mm for CC2D.
  • Hand Dataset: Achieved an MRE of 2.52mm, outperforming even some supervised models trained with 25 annotated images.
  • Chest Dataset: Achieved an MRE of 8.49mm, showing much higher stability than existing methods which often fail on the chest domain in low-label scenarios.

Qualitatively, the ablation studies proved that the domain-adaptive components (the specific queries and diagonal matrices) were responsible for nearly all the performance gains in Stage II.

Limitations and Future Work

While UOD is a major step forward, some areas remain for exploration:

  • Anatomical Complexity: The chest dataset still shows higher error rates than the head or hand, likely due to the high variability of soft tissue and overlapping structures in lung X-rays.
  • Dimensionality: The current work is focused on 2D X-rays. Extending this universal one-shot approach to 3D volumes (like CT or MRI scans) would be a significant next step, though it would introduce much higher computational costs.
  • Domain Expansion: The paper tests three domains; it remains to be seen how the model scales when dozens of different anatomical regions are added simultaneously.

Summary updated

BibTeX
@inproceedings{zhu2023uod,
  author = {Heqin Zhu and Quan Quan and Qingsong Yao and Zaiyi Liu and S. Kevin Zhou},
  title = {{UOD: Universal One-Shot Detection of Anatomical Landmarks}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  doi = {10.1007/978-3-031-43907-0\_3},
}
Figure