[Paper Review] End-to-End Trainable Multi-Instance Pose Estimation with Transformers
This paper proposes POET, an end-to-end trainable multi-instance pose estimation model using a transformer-based encoder-decoder architecture that directly predicts keypoint sets for multiple individuals in a single forward pass. By formulating pose estimation as a set prediction problem with a novel set-based loss and bipartite matching, POET achieves state-of-the-art accuracy on COCO while being faster and more parameter-efficient than prior top-down and bottom-up methods, and generalizes well to animal pose estimation via transfer learning.
We propose an end-to-end trainable approach for multi-instance pose estimation, called POET (POse Estimation Transformer). Combining a convolutional neural network with a transformer encoder-decoder architecture, we formulate multiinstance pose estimation from images as a direct set prediction problem. Our model is able to directly regress the pose of all individuals, utilizing a bipartite matching scheme. POET is trained using a novel set-based global loss that consists of a keypoint loss, a visibility loss and a class loss. POET reasons about the relations between multiple detected individuals and the full image context to directly predict their poses in parallel. We show that POET achieves high accuracy on the COCO keypoint detection task while having less parameters and higher inference speed than other bottom-up and top-down approaches. Moreover, we show successful transfer learning when applying POET to animal pose estimation. To the best of our knowledge, this model is the first end-to-end trainable multi-instance pose estimation method and we hope it will serve as a simple and promising alternative.
Motivation & Objective
- To develop an end-to-end trainable multi-instance pose estimation method that eliminates the need for post-processing or two-stage networks.
- To address the limitations of existing top-down and bottom-up approaches, which are not end-to-end trainable and require complex post-processing.
- To formulate multi-instance pose estimation as a direct set prediction problem using transformers and bipartite matching.
- To improve inference speed and model efficiency while maintaining high accuracy on challenging benchmarks like COCO.
- To demonstrate transferability of the model to few-shot and domain-shifted settings, such as animal pose estimation.
Proposed method
- POET combines a convolutional neural network backbone with a transformer encoder-decoder architecture to predict the poses of multiple individuals in a single forward pass.
- Each predicted pose is represented as a vector including the center coordinates, relative offsets for each keypoint, and visibility scores.
- The model uses a novel set-based global loss function combining keypoint regression loss, visibility loss, and class loss to supervise the predictions.
- Bipartite matching is applied between predicted and ground-truth poses to assign the closest predictions to the true instances during training.
- The loss is differentiable and enables end-to-end backpropagation, allowing the model to learn joint representations of individuals and image context.
- The architecture is inspired by DETR, but adapted for keypoint prediction by introducing a learnable center representation and relative offset prediction.
Experimental results
Research questions
- RQ1Can a transformer-based architecture achieve end-to-end training for multi-instance pose estimation without post-processing or two-stage networks?
- RQ2How does the proposed set-based loss with bipartite matching improve accuracy and generalization compared to standard regression losses?
- RQ3To what extent can a model pre-trained on COCO generalize to a different domain, such as animal pose estimation, with limited data?
- RQ4What is the impact of the center loss and delta loss components on keypoint localization accuracy?
- RQ5How does the model's inference speed scale with the number of people in an image compared to existing top-down and bottom-up methods?
Key findings
- POET achieves 48.5 mAP on the COCO keypoint validation set, outperforming baseline models even with higher input resolution.
- The model is faster than lightweight bottom-up and top-down methods, with inference speed invariant to the number of people in an image.
- Transfer learning from COCO pre-training boosts performance on MacaquePose to 77.1 mAP, significantly outperforming a ResNet-50 + associative embedding baseline.
- Ablation studies show that the center loss and delta loss components are critical, with the full loss configuration yielding the highest performance.
- The model trained with only relative offsets and center loss (without absolute coordinates) achieves 35.5 mAP after 250 epochs, falling short of the full model’s 48.5 mAP.
- Attention visualization reveals that the transformer attends to inter-individual relationships and global image context, supporting its ability to reason about pose grouping.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.