Edge Weight Prediction For Category-Agnostic Pose Estimation
Or Hirschorn, Shai Avidan
TL;DR
EdgeCape tackles category-agnostic pose estimation by learning weighted pose-graphs that refine a user-provided unweighted graph $A_{prior}$. It refines structure-aware features via a dual-attention decoder and then predicts residual edges as $\Delta A$, combining them with $A_{prior}$ through a learnable scaling to form a symmetric, row-normalized adjacency $\tilde{A}$. A self-supervised masking strategy provides adjacency supervision, while a Markov Attention Bias integrates graph-distance information into self-attention using multi-hop relations $\tilde{A}, \tilde{A}^2, \dots$, enabling robust, global spatial reasoning. Evaluated on MP-100, EdgeCape achieves state-of-the-art results in 1-shot and leads among similar-sized methods in 5-shot, with notable gains at multiple thresholds and strong robustness to noisy graph priors. The approach offers practical improvements for CAPE by combining learned structural priors with efficient inference, and its publicly available code facilitates broader adoption.
Abstract
Category-Agnostic Pose Estimation (CAPE) localizes keypoints across diverse object categories with a single model, using one or a few annotated support images. Recent works have shown that using a pose graph (i.e., treating keypoints as nodes in a graph rather than isolated points) helps handle occlusions and break symmetry. However, these methods assume a static pose graph with equal-weight edges, leading to suboptimal results. We introduce EdgeCape, a novel framework that overcomes these limitations by predicting the graph's edge weights which optimizes localization. To further leverage structural priors, we propose integrating Markovian Structural Bias, which modulates the self-attention interaction between nodes based on the number of hops between them. We show that this improves the model's ability to capture global spatial dependencies. Evaluated on the MP-100 benchmark, which includes 100 categories and over 20K images, EdgeCape achieves state-of-the-art results in the 1-shot setting and leads among similar-sized methods in the 5-shot setting, significantly improving keypoint localization accuracy. Our code is publicly available.
