MedSapiens: Taking a Pose to Rethink Medical Imaging Landmark Detection

Marawan Elbatel, Anbang Wang, Keyuan Liu, Kaouther Mouheb, Enrique Almar-Munoz, Lizhuo Lin, Yanqi Yang, Karim Lekadir, Xiaomeng LiarXiv 2025 · DOI

TL;DR

MedSapiens adapts Sapiens, a massive human-centric pose estimation foundation model, to the task of medical landmark detection. By leveraging spatial priors learned from millions of human figures, the model achieves new state-of-the-art results across multiple medical imaging modalities and demonstrates superior generalization in data-scarce, few-shot scenarios.

The Challenge of Medical Landmark Detection

Anatomical landmark detection—identifying specific points like bone corners, joint centers, or organ boundaries—is a cornerstone of clinical tasks ranging from surgical navigation to orthodontic analysis. Historically, this has been a "specialist's game." Researchers typically build bespoke models for specific body parts (e.g., just for hands or just for teeth), which often fail to generalize to new tasks or handle the limited data common in medical fields.

While "foundation models" (like SAM for segmentation) have revolutionized other areas of medical imaging, landmark detection has lagged. Existing generalist models often struggle because they lack a deep understanding of spatial hierarchies—the way different points on a body relate to one another. The authors of MedSapiens argue that we don't need a new architecture; we need to rethink our starting point by using models already "expert" at understanding human posture and point-to-point relationships.

Methodology: Adapting Sapiens

The core innovation of MedSapiens is the adaptation of Sapiens, a Vision Transformer (ViT) foundation model pre-trained on over 300 million "in-the-wild" human images for pose estimation.

Architecture of MedSapiens utilizing a frozen Sapiens backbone with LoRA layers and a heatmap decoder.

Key technical components include:

  • Backbone: They utilize the Sapiens 0.3B parameter ViT. Because it was trained to find keypoints on humans (knees, elbows, etc.), it inherently possesses strong spatial priors useful for anatomical landmarks.
  • Parameter-Efficient Fine-Tuning (PEFT): Instead of retraining the entire massive model, the authors use LoRA (Low-Rank Adaptation). This injects small, trainable layers into the transformer blocks while keeping the original weights frozen.
  • Heatmap-Based Decoding: The model translates transformer features into spatial confidence maps (heatmaps). A dedicated "Heatmap Head" upsamples these features to pinpoint the exact coordinates of landmarks.
  • Generalist vs. Specialist: The authors first train a "Generalist" model on a harmonized collection of diverse medical datasets. They then create "Specialists" by further fine-tuning on specific tasks using LoRA, preserving the generalist's knowledge while optimizing for local nuances.

Datasets and Evaluation

The study harmonized four primary datasets for training and evaluation, totaling 1,778 images and nearly 48,000 landmark points:

  • Head X-ray: Lateral cephalograms for orthodontic analysis.
  • Hand X-ray: Radiographs used for bone age and structural assessment.
  • Chest X-ray (China Set): Focused on lung boundary landmarks.
  • BMPLE (Legs): X-rays for lower extremity analysis.
  • LDTeeth (Evaluation only): A few-shot dental CBCT dataset used to test the model’s ability to generalize to entirely "unseen" tasks.

Key Insights

  • Pose Estimation as a Proxy: Medical landmark detection is structurally analogous to human pose estimation. A model that knows how to find a human wrist in a crowded photo is surprisingly well-equipped to find a specific bone structure in a medical scan.
  • The Power of Spatial Priors: Unlike general vision models, pose-centric models understand that landmarks don't exist in isolation; they exist in a fixed spatial relationship to one another. This "anatomical common sense" makes the model much more robust.
  • Efficiency via LoRA: The paper demonstrates that you don't need to "boil the ocean" to adapt a foundation model. Using LoRA allowed the team to achieve SOTA results with a fraction of the trainable parameters.

Results and Performance

MedSapiens consistently outperformed both generalist and specialist SOTA models across various benchmarks.

Performance comparison of MedSapiens against UniverDetect on Chest and Head datasets.
  • Superior Generalization: The MedSapiens generalist model outperformed the previous leading generalist (UniverDetect) by 5.26% in average Success Detection Rate (SDR).
  • Specialist Dominance: When fine-tuned as a specialist, it achieved up to a 21.81% improvement in SDR over existing specialist models (like NFDP).
  • Few-Shot Excellence: On the unseen dental landmark task, MedSapiens achieved a 2.69% improvement over the previous few-shot SOTA, proving it can adapt to new clinical needs with very few annotated examples.
  • Precision: On the strict 2mm error threshold, MedSapiens showed a relative improvement of 8.46% on head X-rays, indicating much higher clinical accuracy.

Limitations and Future Work

While MedSapiens is a significant step forward, several areas remain for exploration:

  • Modality Constraints: The current study focuses heavily on X-ray and CBCT. Future work is needed to validate performance on MRI and Ultrasound, where boundaries are often less distinct.
  • Scaling: While 0.3B parameters is large, the Sapiens family includes models up to 2B parameters. Exploring whether "bigger is better" for medical landmarks remains an open question.
  • Multimodal Integration: The authors suggest that future versions could incorporate text prompts, allowing clinicians to interactively "ask" the model to find specific landmarks using natural language.

Summary updated

BibTeX
@misc{elbatel2025medsapiens,
  author = {Marawan Elbatel and Anbang Wang and Keyuan Liu and Kaouther Mouheb and Enrique Almar-Munoz and Lizhuo Lin and Yanqi Yang and Karim Lekadir and Xiaomeng Li},
  title = {{MedSapiens: Taking a Pose to Rethink Medical Imaging Landmark Detection}},
  year = {2025},
  eprint = {2511.04255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.04255},
}
Figure