Matching Is Not Enough: A Two-Stage Framework for Category-Agnostic Pose Estimation

Min Shi, Zihao Huang, Xianzheng Ma, Xiaowei Hu, Zhiguo Cao
2/14/2026

No official code found. Best implementation: flyinglynx/CapeFormer (54 stars, Apache-2.0, last commit 2023-07-13).

Abstract

Category-agnostic pose estimation (CAPE) aims to predict keypoints for arbitrary categories given support images with keypoint annotations. Existing approaches match the keypoints across the image for localization. However, such a one-stage matching paradigm shows inferior accuracy: the prediction heavily relies on the matching results, which can be noisy due to the open set nature in CAPE. For example, two mirror-symmetric keypoints (e.g., left and right eyes) in the query image can both trigger high similarity on certain support keypoints (eyes), which leads to duplicated or opposite predictions. To calibrate the inaccurate matching results, we introduce a two-stage framework, where matched keypoints from the first stage are viewed as similarity-aware position proposals. Then, the model learns to fetch relevant features to correct the initial proposals in the second stage. We instantiate the framework with a transformer model tailored for CAPE. The transformer encoder incorporates specific designs to improve the representation and similarity modeling in the first matching stage. In the second stage, similarity-aware proposals are packed as queries in the decoder for refinement via cross-attention. Our method surpasses the previous best approach by large margins on CAPE benchmark MP-100 on both accuracy and efficiency. Code available at github.com/flyinglynx/CapeFormer

DOISemantic Scholar

Code Implementations(1)

Apache-2.0

Official Implementation for "Matching Is Not Enough: A Two-Stage Framework for Category-Agnostic Pose Estimation", CVPR 2023.

540Mar 14, 20233 years agoApache-2.0

Cite this paper

@article{shi2026matching,
  title  = {Matching Is Not Enough: A Two-Stage Framework for Category-Agnostic Pose Estimation},
  author = {Min Shi and Zihao Huang and Xianzheng Ma and Xiaowei Hu and Zhiguo Cao},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.00706},
  url    = {https://doi.org/10.1109/CVPR52729.2023.00706},
  journal = {CVPR 2023 2023}
}

Discussion