GenCape: Structure-Inductive Generative Modeling for Category-Agnostic Pose Estimation

Jiyong Rao, Yu Wang, Shengjie Zhao

TL;DR

GenCape is a novel generative framework for category-agnostic pose estimation (CAPE) that automatically learns keypoint relationships without relying on manual "skeleton" templates or text descriptions. By employing an iterative variational autoencoder and a sophisticated graph-fusion strategy, GenCape achieves state-of-the-art accuracy across diverse object categories, even when provided with only a single example image.

The Challenge of Category-Agnostic Pose Estimation

Pose estimation—the task of identifying specific keypoint locations like a "left eye" or "front wheel"—is traditionally designed for specific, known categories such as humans or cars. Category-Agnostic Pose Estimation (CAPE) introduces a significantly harder challenge: localizing keypoints on any object, including those never seen during training, using only a few annotated "support" images for guidance.

Comparison of traditional CAPE support formats versus GenCape's inferred adjacency matrix approach.

Current CAPE methods face two major hurdles:

  1. Structural Rigidity: Existing approaches either treat keypoints as isolated entities (ignoring their kinematic relationships) or rely on manually defined skeleton priors. These skeletons are expensive to annotate and lack the flexibility needed to adapt to the massive variety of object shapes in the real world.
  2. Support Noise: In a "few-shot" setting, visual ambiguities—such as blurry example images or heavy occlusions—can easily confuse models that rely on rigid structural assumptions.

Methodology: Generative Structure Modeling

To overcome these limitations, the authors introduce GenCape, a framework that shifts away from fixed skeletons toward generative structure modeling. The architecture infers keypoint relationships solely from image-based support inputs, eliminating the need for additional textual descriptions or predefined skeletons.

The GenCape architecture featuring the iterative Structure-aware Variational Autoencoder (i-SVAE) and Graph Transformer Decoder.

The framework consists of two principal innovations:

  • Iterative Structure-aware Variational Autoencoder (i-SVAE): Instead of predicting a single, fixed graph, this module learns a distribution of possible keypoint relationships. Operating layer-by-layer within a Graph Transformer Decoder, it progressively refines "soft," instance-specific adjacency matrices. This allows the model to capture complex structural cues directly from support features through variational inference.
  • Compositional Graph Transfer (CGT): Because the i-SVAE is probabilistic, it generates multiple structural "hypotheses." The CGT module adaptively aggregates these latent graphs into a query-aware structure using Bayesian fusion and attention-based reweighting. This query-guided gating mechanism ensures the final structure is highly relevant to the specific target image, enhancing resilience to visual uncertainty and support-induced bias.

By combining these components, GenCape effectively "imagines" the most likely structural skeleton for a novel object on the fly.

Datasets and Key Insights

The researchers evaluated GenCape on the MP-100 dataset, currently the primary public benchmark for CAPE tasks. MP-100 contains 100 sub-categories and 8 super-categories (e.g., animals, clothes, furniture), totaling over 18,000 images, split into 5 folds to test generalization to completely unseen categories.

The success of GenCape highlights several key insights:

  • Generative over Deterministic: By modeling the uncertainty of keypoint relationships via the SVAE, GenCape handles ambiguous or noisy support images far better than models predicting a single deterministic adjacency matrix.
  • Task-Driven Structure: Qualitative results indicate the model discovers functional connections rather than strictly anatomical ones. For instance, it might strongly connect the corners of a bed or the nose and eyes of an animal to serve as robust "anchors" for localization.
  • Coarse-to-Fine Refinement: The iterative nature of the i-SVAE enables the model to establish broad, global relationships in early layers before narrowing down to precise, local dependencies in the final layers.

Key Results

GenCape establishes a new state-of-the-art benchmark for the CAPE task:

  • Overall Performance: On the MP-100 dataset, it outperformed previous graph-support baselines by +1.59% mPCK (mean Probability of Correct Keypoint) across all evaluation thresholds.
  • Few-Shot Success: The model achieved an impressive average PCK of 88.09% in the 1-shot setting and 93.53% in the 5-shot setting.
  • Cross-Category Robustness: In challenging "cross-species" tests (e.g., training on humans and testing on rabbits), GenCape demonstrated massive improvements—scoring up to +21.05 points higher than previous methods. This proves it learns generalizable structural logic rather than merely memorizing shapes.

Limitations and Future Work

While highly robust, GenCape faces a few remaining challenges:

  • Visual Ambiguity: The model can struggle with objects lacking distinct textures (e.g., certain swivel chairs), where visual cues are insufficient to anchor the inferred structure.
  • Heavy Occlusion: Although it handles mild occlusion well, performance drops when more than 50% of the query image is masked, as the generative process lacks the visual evidence needed to reliably reconstruct missing keypoints.

Future work may involve integrating powerful vision-language models to provide stronger semantic guidance for these highly ambiguous cases.

Summary updated

BibTeX
@inproceedings{rao2026gencape,
  author = {Jiyong Rao and Yu Wang and Shengjie Zhao},
  title = {{GenCape: Structure-Inductive Generative Modeling for Category-Agnostic Pose Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=IVjs6vNDhV},
}
Figure