X-Pose: Detecting Any Keypoints

Jie Yang, Ailing Zeng, Ruimao Zhang, Lei Zhang

Abstract

X-Pose is a novel end-to-end framework designed for universal keypoint detection across any object category—articulated, rigid, or soft. By leveraging multi-modal prompts (textual or visual) and the massive UniKPT dataset, X-Pose overcomes the limitations of traditional closed-set, two-stage detectors. It demonstrates superior generalization, handling diverse visual styles and unseen categories with high efficiency.

Introduction

Traditional keypoint detection systems are often restricted to specific domains, such as human pose estimation, and require separate models for different object classes. X-Pose addresses these bottlenecks by introducing a "point-and-detect" paradigm that generalizes to any keypoint through flexible prompting.

X-Pose achieves high detection performance and generalization across various visual styles and object categories using visual and textual prompts.

The framework identifies three primary challenges in existing systems: the "two-stage trap" of top-down detectors, rigid single-modality prompting, and the scarcity of unified keypoint data. X-Pose solves these by moving to an end-to-end architecture capable of processing diverse prompts.

Methodology

X-Pose utilizes a DETR-like end-to-end framework that processes the entire image simultaneously, guided by multi-modal prompts.

The X-Pose architecture features a hierarchical encoding process, cross-modality feature enhancement, and decoupled object-level and keypoint-level decoders.

Multi-Modal Prompting and Encoding

Users can specify keypoints via Textual Prompts (e.g., "left eye of a cat") or Visual Prompts (a support image with annotated keypoints). The model employs a hierarchical structure to represent objects, parts, and keypoints, facilitating a deep semantic understanding of spatial relationships.

Cross-Modality Alignment and Decoding

A Cross-Modality Feature Enhancer aligns image features with prompt features using contrastive learning. This ensures consistent internal representations across different modalities and object types. The decoding process follows a coarse-to-fine strategy: first identifying object-level queries and then refining them into precise keypoint localizations.

UniKPT: A Unified Dataset

To support open-world generalization, the authors introduced UniKPT, a large-scale dataset created by unifying 13 specialized datasets.

  • Scale: 1,237 categories and 338 unique keypoint types.
  • Standardization: Semantic labels are standardized across categories (e.g., "left eye" is consistent across species), which is vital for cross-category learning.

Key Results and Insights

X-Pose establishes new state-of-the-art benchmarks for promptable pose estimation:

  • Performance: Outperformed previous methods by 27.7 AP on AP-10K and showed a 6.44 PCK improvement in visual-prompt scenarios.
  • Zero-Shot Generalization: Demonstrated a 7.0 AP lead over previous models on unseen animal species.
  • Robustness: Successfully detects keypoints in non-photorealistic styles, including oil paintings, statues, and cartoons.
  • Efficiency: Maintains a near-constant inference time (~59ms), unlike top-down methods that scale linearly with the number of objects.

Conclusion

X-Pose represents a significant step toward universal visual understanding. While specialized models may still lead on narrow, high-density benchmarks like COCO, X-Pose's ability to "detect anything" makes it a versatile tool for robotics, tracking, and large-scale vision-language integration.

Summary updated

BibTeX
@inproceedings{yang2024x,
  author = {Jie Yang and Ailing Zeng and Ruimao Zhang and Lei Zhang},
  title = {{X-Pose: Detecting Any Keypoints}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72952-2\_15},
}
Figure