One-Shot Medical Landmark Localization by Edge-Guided Transform and Noisy Landmark Refinement

Zihao Yin, Ping Gong, Chunyu Wang, Yizhou Yu, Yizhou Wang

Abstract

Supervised landmark localization in medical imaging is a critical task but is often hindered by the high cost of expert annotation and the limited size of specialized datasets. To address these challenges, we present a two-stage framework for one-shot medical landmark localization. Our approach first generates pseudo-labels via unsupervised registration from a single labeled exemplar to unlabeled targets, utilizing a novel edge-guided cascade of global and local deformations. In the second stage, we refine these noisy labels through a Consistency Co-Teaching (C2T) strategy that leverages self-consistency and cross-consistency. Our method achieves state-of-the-art performance across diverse anatomical datasets, including head, hand, and chest X-rays.

Introduction

Accurate anatomical landmark localization is fundamental to various medical applications, from diagnostic measurements to surgical planning. While deep learning has significantly advanced this field, the reliance on large-scale, manually annotated datasets remains a bottleneck. Expert annotation is not only time-consuming but also expensive.

One-shot learning offers a promising alternative, aiming to train models using only a single labeled image. However, the inherent anatomical variability between patients and differences in image acquisition make one-shot localization in medical imaging particularly challenging. Previous attempts often relied on local patch matching, which ignores global structure, or self-supervised pre-training, which requires massive amounts of data that medical fields often lack.

Methodology

The proposed framework operates in two distinct stages: unsupervised registration-based pseudo-labeling and robust detector refinement.

Stage I: Edge-Guided Registration

Rather than relying on local patch matching, we employ an image registration approach. The model learns to "warp" a labeled exemplar to match the structure of an unlabeled target image.

  • Cascade Architecture: The registration process involves a global affine transformation followed by local deformations. This ensures that the model first aligns the general orientation and scale before fine-tuning local anatomical features.
  • Attention Mechanisms: By incorporating Transformer-style self-attention and cross-attention blocks, the model captures long-range dependencies, allowing it to understand the spatial relationships between distant anatomical structures.
  • Edge Guidance: Standard registration methods often struggle with intensity variations in X-rays. We introduce novel loss functions, $\mathcal{L}_{esim}$ and $\mathcal{L}_{esmooth}$, which prioritize edge information. By focusing on structural boundaries (e.g., bone edges) rather than raw pixel intensities, the registration becomes significantly more robust to noise and exposure differences.

Stage II: Noisy Landmark Refinement (C2T)

The landmarks generated in Stage I serve as "pseudo-labels." While structurally consistent, they are inherently noisy. To refine these labels, we introduce Consistency Co-Teaching (C2T).

In this stage, two separate networks are trained simultaneously. We utilize a "small-loss" selection criterion, where images that yield high confidence (low loss) in one network are used to train the peer network. Furthermore, we enforce cross-consistency: the model is penalized if its predictions do not remain spatially consistent under geometric augmentations like rotation or flipping. This dual-network approach prevents the models from overfitting to the noise present in the initial pseudo-labels.

Experimental Results

We evaluated our framework on three public X-ray datasets: Cephalometric (Head), Hand Radiographs, and Chest X-rays.

Performance Metrics

Our method demonstrated superior performance compared to existing one-shot and self-supervised methods:

  • Head Dataset: The Mean Radial Error (MRE) was reduced from the previous state-of-the-art of 2.72mm to 2.13mm. The Successful Detection Rate (SDR) within a 2mm threshold improved from 42% to approximately 55%.
  • Hand Dataset: The model achieved an MRE of 1.82mm, a substantial improvement over the 2.51mm baseline.
  • Chest Dataset: Consistent improvements were observed, confirming the generalizability of the edge-guided approach across different body parts.

Discussion and Insights

A key takeaway from this research is the superiority of registration over simple patch matching for one-shot tasks. By warping the entire image, the model maintains the global anatomical topology, preventing "impossible" landmark placements (e.g., a fingertip landmark appearing in the palm).

Additionally, the emphasis on edge information addresses a common pitfall in medical imaging where intensity values are inconsistent across different scanners. The C2T refinement stage is crucial for bridging the gap between unsupervised registration and fully supervised performance. By maintaining a "healthy divergence" between the two networks through varied data augmentations, the system effectively filters out registration errors.

Conclusion

This two-stage framework provides a robust solution for medical landmark localization in data-scarce environments. By combining edge-guided registration with consistency-based refinement, we significantly narrow the performance gap between one-shot and fully supervised models. While the choice of the single labeled exemplar still impacts performance, this method offers a more stable and accurate alternative to existing few-shot techniques. Future work will explore the extension of this framework to 3D volumetric data, such as CT and MRI scans.

Summary updated

Abstract

As an important upstream task for many medical applications, supervised landmark localization still requires non-negligible annotation costs to achieve desirable performance. Besides, due to cumbersome collection procedures, the limited size of medical landmark datasets impacts the effectiveness of large-scale self-supervised pre-training methods. To address these challenges, we propose a two-stage framework for one-shot medical landmark localization, which first infers landmarks by unsupervised registration from the labeled exemplar to unlabeled targets, and then utilizes these noisy pseudo labels to train robust detectors. To handle the significant structure variations, we learn an end-to-end cascade of global alignment and local deformations, under the guidance of novel loss functions which incorporate edge information. In stage II, we explore self-consistency for selecting reliable pseudo labels and cross-consistency for semi-supervised learning. Our method achieves state-of-the-art performances on public datasets of different body parts, which demonstrates its general applicability.
BibTeX
@inproceedings{yin2022one,
  author = {Zihao Yin and Ping Gong and Chunyu Wang and Yizhou Yu and Yizhou Wang},
  title = {{One-Shot Medical Landmark Localization by Edge-Guided Transform and Noisy Landmark Refinement}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19803-8\_28},
}
Figure