E XPLICIT
B OX
D
ETECTION U NIFIES E ND - TO -E ND
M ULTI -P ERSON P OSE E STIMATION
Anonymous authors
Paper under double-blind review
A BSTRACT
This paper presents a novel end-to-end framework with Explicit box Detection for multi-person Pose estimation, called ED-Pose, where it unifies the contextual learning between human-level (global) and keypoint-level (local) information.
Different from previous one-stage methods, ED-Pose re-considers this task as two explicit box detection processes with a unified representation and regression supervision.
First, we introduce a human detection decoder from encoded tokens to extract global features.
It can provide a good initialization for the latter keypoint detection, making the training process converge fast.
Second, to bring in contextual information near keypoints, we regard pose estimation as a keypoint box detection problem to learn both box positions and contents for each keypoint.
A human-to-keypoint detection decoder adopts an interactive learning strategy between human and keypoint features to further enhance global and local feature aggregation.
In general, ED-Pose is conceptually simple without post-processing and dense heatmap supervision.
It demonstrates its effectiveness and efficiency compared with both two-stage and one-stage methods.
Notably, explicit box detection boosts the pose estimation performance by 4.5 AP on COCO and 9.9 AP on CrowdPose.
For the first time, as a fully end-to-end framework with a L regression loss, ED-Pose surpasses heatmap-based Top-down methods under the same backbone by 1.2 AP on COCO and achieves the state-of-the-art with 76.
AP on CrowdPose without bells and whistles.
I NTRODUCTION
[Figure]
M e t hodo l ogy T w o - s t a g e
O n e - s t a
[Figure]
Multi-person human pose estimation has attracted much attention in the computer vision community for decades for its wide applications in areas of augmented reality (AR), virtual reality (VR), and human-computer interaction (HCI).
Given an image, it targets to localize the 2D keypoint positions for every person in the image.
Although many methods have been developed (Xiao et al., 2018;
Sun et al., 2019; Cheng et al., 2020; Mao et al., 2022; Shi et al., 2022), it remains challenging and intractable for situations with heavy occlusions, hard poses, and diverse body part scales.
Intuitively, as shown in Figure 1, this task needs to focus on both global (human-level) and local (keypoint-level) dependencies, which concentrate on different levels of semantic granularity.
Mainstream solutions are normally two-stage methods, which divide the problem into two separate subproblems (e.g., the global person detection and local keypoint regression).
Such solutions include
Top-Down (TD) methods (Xiao et al., 2018; Sun et al., 2019; Li et al., 2021b; Mao et al., 2022) which are of high performance yet with a high inference cost and Bottom-Up (BU) solutions (Cao et al., 2017;
Newell et al., 2017; Cheng et al., 2020) which are fast in inference yet with relatively lower precision.
However, all of these methods are non-differentiable between their global and local stages due to hand-crafted operations, like Non-Maximum Suppression (NMS), Region of Interest (RoI) cropping, and keypoint grouping
post-processing.
Lately, Poseur (Mao et al., 2022) tries to directly apply top-down methods to an end-to-end framework and finds that there will be a significant performance drop (about 8.7 AP on COCO), indicating the optimization conflicts between the learning of global and local relations.
Exploring a fully end-to-end trainable method to unify the two disassembled subproblems is attractive and important.
Inspired by the success of recent end-to-end object detection methods, like
DETR (Carion et al., 2020), there is a surge of related approaches that regard human pose estimation as a direct set prediction problem.
They utilize a bipartite matching for one-to-one prediction with Transformers to avoid cumbersome post-processings (Li et al., 2021b; Mao et al., 2021a; 2022;
Stoffl et al., 2021; Shi et al., 2022).
Recently, PETR (Shi et al., 2022) proposes a fully end-to-end framework to predict instance-aware poses without any post-processings and shows a favorable potential.
Nevertheless, it directly uses a pose decoder with randomly initialized pose queries to query local features from images.
The only local dependency makes keypoint matching across persons ambiguous and thus leading to inferior performance, especially for occlusions, complex poses, and diverse human scales in crowded scenes.
Moreover, either two-stage methods or DETR-based estimators suffer from slow training convergence and need more epochs (e.g., train a model above a week) to achieve high precision.
Additionally, the convergence speed of DETR-based methods is even slower than bottom-up methods (Cheng et al., 2020).
We address the details in Sec.3.
Based on the above observations, this work re-
considers multi-person pose estimation as two Explicit box Detection processes named ED-Pose.
We realize each box detection by using a decoder and cascade them to form an end-to-end framework, which makes the model fast in convergence, precise, and scalable.
Specifically, to obtain global dependencies, the first process detects boxes for all persons via human box queries selected from the encoded image tokens.
This simple step can provide a good initialization for the latter keypoint detection to accelerate the training convergence.
Then, to capture local contextual relations and reduce ambiguities in the feature alignment, we regard the following pose estimation task as a keypoint box detection problem, where it learns both box positions and local contents for each keypoint.
Such an approach can leverage contextual information near a keypoint by directly regressing the keypoint box position and learning local keypoint content queries without dense supervision (e.g., heatmap).
To further enhance the global-local interactivity among external human-human, internal human-keypoint, and internal keypoint-keypoint, we design interactive learning between human detection and keypoint detection.
Following the two Explicit box Detection processes, we can unify the global and local feature learning using the consistent regression loss and the same box representation in an end-to-end framework.
We summarize the related methods from the supervisions and representations.
Compared with previous works, ED-Pose is more conceptually simple.
Notably, we find that explicit global box detection will gain 4.5 AP on COCO and 9.9 AP on CrowdPose compared with a solution without such a scheme.
In comparison to top-down methods, ED-Pose makes the human and keypoint detection share the same encoders to avoid redundant costs from human detection and further boost performance by 1.2 AP on COCO and 9.1 AP on CrowdPose under the same ResNet-50 backbone.
Moreover, ED-Pose surpasses the previous end-to-end model PETR significantly by 2.8 AP on COCO and 5.0 AP on CrowdPose.
In crowded scenes, ED-Pose achieves the state-of-the-art with 76.6 AP (by 4.2 AP improvement over the previous SOTA (Yuan et al., 2021)) without any bells and whistles (e.g., without multi-scale test and flipping).
We hope this simple attempt at explicit box detection, simplification of losses, and no post-processing to unify the whole pipeline could bring in new perspectives to further one-stage framework designs.
R ELATED WORK
One-stage Multi-Person Pose Estimation: With the development of anchor-free object detectors (Tian et al., 2019b; Huang et al., 2015), DirectPose (Tian et al., 2019a) directly predicts instanceaware keypoints for all persons from an image.
The direct end-to-end framework provides a new both
[Table]
perspective to avoid the above cumbersome issues met in two-stage methods.
Generally speaking, these methods densely locate a set of pose candidates, which consist of joint positions from the same person.
FCPose (Mao et al., 2021b) builds upon dynamic filters (Jia et al., 2016) in compact keypoint heads to boost both accuracy and speed.
Meanwhile, Inspose (Shi et al., 2021) designs instance-aware dynamic networks to adaptively adjust part of the network parameters for each instance.
Nevertheless, these one-stage methods still need NMS to remove duplicates in the postprocessing stage.
To further remove such hand-crafted components, PETR (Shi et al., 2022) views pose estimation as a hierarchical set prediction problem and proposes the first fully end-to-end pose estimation framework with the advent of DETR (Carion et al., 2020).
Detection Transformers: For the first time, DETR (Carion et al., 2020) performs object detection in an end-to-end manner by using a set-based global loss that forces directly unique predictions via bipartite matching and a Transformer encoder-decoder architecture.
It simplifies object detection as a direct set prediction problem, dropping multiple hand-designed components and prior knowledge.
Due to the effectiveness of DETR and its varieties ( e.g. , Deformable DETR (Zhu et al., 2020)), their frameworks have been widely transferred in many complex tasks, such as Mask DINO (Li et al., 2022b) for segmentation and PETR (Shi et al., 2022) for pose estimation.
Following the top-down methods, PRTR (Li et al., 2021b) and TFPose (Mao et al., 2021a) adopt Detection Transformers to estimate the cropped single-person images as a query-based regression task.
To capture the underlying output distribution and further improve performance in the regression paradigm,
Poseur (Mao et al., 2022) brings Residual Log-likelihood Estimation (RLE) (Li et al., 2021a) into the
DETR-based top-down framework, achieving the state-of-the-art performance of regression-based methods.
For the one-stage manner, POET (Stoffl et al., 2021) utilizes the property of DETR to directly regress the poses (instead of bounding boxes) of all person instances in an image.
Recently,
PETR (Shi et al., 2022) designs a fully end-to-end paradigm with hierarchical attention decoders to capture both relations between poses and kinematic joints.
All the aforementioned methods take advantage of Detection Transformers and densely regress a set of poses (only local relations).
However, they ignore the importance of introducing explicit box detection in pose estimation to model both global and local dependencies well.
R ETHINKING O NE - STAGE M ULTI -P ERSON POSE ESTIMATION
The Necessities of One-stage Methods: For a long time, the two-stage paradigm dominates the mainstream methods for multi-person pose estimators.
It can be generally divided into top-down methods and bottom-up methods.
Top-Down (TD) methods (Xiao et al., 2018; Sun et al., 2019; Mao et al., 2022) disentangle the task into detecting and cropping each person with an object detector ( e.g. , Mask RCNN (He et al., 2017)) in an image from the global (person-level) dependency and then conduct the single-person pose estimation via another model.
They focus on local (keypointlevel) relation modeling and improving the accuracy of single-person pose estimation.
However, these methods still suffer from 1).
heavy reliance on the performance of the human detector, 2).
redundantly computational costs for additional human detection and RoI operations, and 3).
the separate training for the human detector and the corresponding pose estimator.
Instead, BottomUp (BU) methods (Cao et al., 2017;
Newell et al., 2017; Cheng et al., 2020) first detect all the keypoints in an instance-agnostic fashion.
Next, they employ a heuristical grouping algorithm to associate the detected keypoints that belong to the same person, which improves efficiency.
Even so, the complicated grouping scheme makes bottom-up methods hard to handle heavy occlusions and multiple-person scales, resulting in inferior performance.
More importantly, both of them suffer from non-differentiable optimization between the global and local features, which is not perceptive.
Intuitively, one-stage methods could alleviate the above issues since all modules can be optimized in an end-to-end manner, and balance effectiveness and efficiency.
Interestingly, the recent DETRbased top-down method Poseur (Mao et al., 2022) tries to directly apply it to a one-stage framework and finds that it suffers from a significant performance drop.
It might be the optimization conflicts between the global and local dependency learning using the shared encoder.
Thus, how to design a one-stage framework effectively is still challenging and questionable.
The Bottlenecks of Existing One-stage Methods: In terms of existing DETR-based methods, most of them still adopt top-down framework, and improve the second single-person pose estimation via regarding it as a sequence prediction problem (Tian et al., 2019a; Mao et al., 2021b; Shi et al., 2021).
PETR is the first work to make the whole pipeline end-to-end without any post-processing.
However, existing methods still have some limitations.
First, all of them only utilize local dependencies to regress keypoints.
Directly regressing keypoints for each person via pose queries is semantically ambiguous as the bottom-up strategies to find all keypoints from raw images instead of from cropped images.
Second, the pose or keypoint queries proposed in above methods are randomly initialized without utilizing previous extracted features, making the training phase slow and ineffective.
Third, the keypoint representation as a point lacks contextual information when it queries from the encoded features, leading to feature misalignment.
Last, the interactions among global-to-global, global-tolocal, and local-to-local are complex, especially in crowd scenes.
The current models do not pay attention to handle these complicated relations.
In this article, we try to tackle the above issues by leveraging unified box representations and regression losses in a one-stage process.
M ETHODOLOGY 4. O VERVIEW
[Table]
[Figure]
E n c od e r
[Figure]
As illustrated in Figure 2, the proposed ED-Pose is a fully end-to-end multi-person pose estimation framework without any post-processing.
Given an input image, we firstly utilize a backbone to extract multi-scale features and obtain tokenized representations F , and then feed them into the
Transformer encoder (e.g., deformable attention modules (Zhu et al., 2020)) with Positional Embeddings ( PE ) to calculate the refined tokens F ′ .
To improve the efficiency of the following decoding process, we conduct coarse human query selection from F ′ to obtain the sparse human content queries Q cH .
Then we utilize Q cH to generate the corresponding position queries Q pH via a FeedForward Network (FFN) and feed both Q cH and Q pH into the Human Detection Decoder to update into the corresponding queries Q c ′ H and Q p ′ H , respectively (see Sec.4.2).
For each output human content query, we attach a human box regression and class entropy supervision ( L lh and L lc ) at the l -th decoder layer.
Next, we further perform fine human query selection to discard the redundant human queries, obtaining content queries Q c H s and position queries Q p H s .
We initialize keypoint queries based on these retained high-quality human queries and concatenate the human and keypoint queries together to form human-keypoint queries.
We name such a scheme as human-to-keypoint query expansion, and the obtained human-keypoint content queries Q cH,K and position queries Q pH,K are fed into Human-to-Keypoint Detection Decoder .
In this way, we realize the keypoint detection at an instance level and update these queries to Q c
′ H,K and Q p ′ H,K layer by layer (see Sec.4.3).
Also, the keypoint and human box regression loss and class loss ( L lk , L lh and L lc ) are added to the l -th decoder layer.
Finally, we use several FFN heads to regress the keypoint positions in each human box.
Loss: Following the DETR (Carion et al., 2020), we employ a set-based Hungarian loss that forces a unique prediction for each ground-truth box and keypoint.
Our overall loss functions contain classification L c , human box regression L h , and keypoint regression loss L k .
Notably, L k simply consists of the normal L1 loss and the constrained L1 loss named Object Keypoint Similarity (OKS) loss (Shi et al., 2022) without any dense supervision (e.g., heatmap).
[Table]
[Figure]
4. H UMAN D ETECTION D ECODER
In Figure 3 (a), the porposed Human Detection Decoder aims to predict the candidate bounding box positions for each person in the image, as well as the corresponding content representation by leveraging image context from all encoded tokens.
Given N input human content queries Q cH ∈ R N × D and human position queries Q pH ∈ R N × 4 , where D is the channel dimension, the Human
Detection Decoder outputs N refined human box positions Q pH ′ and content representations Q cH ′ .
Coarse-to-Fine Human Query Selection : Unlike previous work (Shi et al., 2022) to randomly initialize the input queries, we adopt the query selection (QS) strategy for better initialization (Zhang et al., 2022).
Specifically, we propose a coarse-to-fine scheme to progressively select high-quality human queries.
In practice, the coarse human QS selects first from a large number of refined tokens
F ′ ∈ R T × D , where T is the number of the tokens (e.g., about 15 K).
Thus, the human content queries Q cH ∈ R N × D are initialized by the top- N refined tokens’ features, ranked by their instance classification scores.
Here N indicates the number of candidate human boxes (e.g., 900 ).
Then we use these selected human content queries to calculate their position queries Q pH ∈ R N × 4 by employing a simple detection head.
After passing through the Human Detection Decoder, we further conduct the fine human QS by only retaining M (e.g., 100 ) refined human content queries and their position queries according to the classification scores, denoted as Q cH s ∈ R M × D and Q pH s ∈ R M × 4 .
Human Box Detection
: As illustrated in Figure 3 (a), we combine Q cH with Q pH and feed them into Human-to-Human Attention ( i.e. a self-attention layer) to calculate the relations among human queries, and output contextual enhanced ones.
Motiveted by the deformable DETR Zhu et al.
(2020), these enhanced human content queries, together with their position queries are further fed into Deformable Token-to-Human Attention ( i.e. a cross-attention layer) to update human queries by conducting interaction with multi-scale tokens.
Next, to adjust the human box positions, we leverage updated human queries to calculate the 4D offsets following the DAB-DETR (Liu et al., 2022), and add them back to previous human position queries.
In this way, the Human Detection Decoder refine the human content and position queries progressively by stacking multiple aforementioned layers and output Q c ′ H ∈ R N × D and Q p ′
H ∈ R N × 4 .
4. H UMAN - TO -K EYPOINT D ETECTION D ECODER
To unify both human and keypoint representations as the box and facilitate follow-up interactive learning, we regard multi-person pose estimation as the multiple set keypoint box detection problems.
Based on the selected high quality human queries Q pH s and Q cH s , we initialize multiple sets of keypoint queries ( i.e. including both content and position queries) through the Human-to-Keypoint
Query Expansion process, and concatenate the human and keypoint queries together as inputs of the
Human-to-Keypoint Detection Decoder (Figure. 3 (b)) to calculate the precise keypoint positions for each person.
Human-to-Keypoint Query Expansion : After obtaining Q pH s and Q cH s , the keypoint content query and positional query are initialized by the relevant human query instead of random initialization.
In practice, we first initialize a set of learnable keypoint embeddings V e ∈ R 1 × K × D where K is the total number of keypoints (e.g., 17).
To concretize these embeddings to multiple specific persons’ keypoint queries, we broadcast the first dimension of V e to the number of human queries M and then add it with Q cH s ∈ R M × 1 × D to obtain M set of keypoint content queries.
For a specific set of keypoint position queries, we separate the initialization process into center coordinate initialization (e.g., { x, y } ) and box size initialization (e.g., { w, h } ).
For the former, we adopt an FFN to regress all of the K positions’ coordinates by employing the corresponding human content query.
For the latter, the sizes of K boxes are conditioned by the width and height of the corresponding human box via dot-multiplying dynamic weights W ∈ R K × 2 .
After that, we consider each human box and the corresponding set of keypoint boxes as a whole and generate the human-keypoint content queries
Q cH,K ∈ R ( M + M ∗ K ) × D and position queries Q pH,K ∈ R ( M + M ∗ K ) × 4 for further predictions.
The Interactive Learning between Human and Keypoint Detection : As illustrated in Figure(b) and (c), after generating human-keypoint queries, we feed them into Human-to-Keypoint Interactive Attention to learn relations from internal human-keypoint, internal keypoint-keypoint, and external human-human.
Such an interactive learning method between global and local feature aggregations has been ingeniously introduced to ensure the effectiveness of keypoint feature extraction.
In practice, we find that the fully connected interactive learning with external keypoint-keypoint would cause a large disturbance, especially in crowded situations, similar to problems encountered in bottom-up methods.
In contrast, our external human-human interactions effectively propagate global context across different candidates and distinguish their relations clearly.
Then we take the enhanced human-to-keypoint content queries to conduct the interaction with multi-scale encoded tokens to obtain updated human-to-keypoint queries.
By stacking multiple layers illustated in Figure(b), we finally obtain the refined human-to-keypoint queries, denoted as Q c
H,K and Q p
′ H,K .
E XPERIMENTS
Due to the page limit, we leave the detailed experiment setup in A, comparison results on COCO test-dev in B, comparisons on human detection in C, and more qualitative results and analyses in D.
5. R ESULTS ON C ROWD P OSE
We first verify the effectiveness of ED-Pose with other state-of-the-art methods on the CrowdPose test set in Table 2.
Compared with the top-down methods, we surpass the SimpleBaseline (Xiao et al., 2018) under the same backbone by 9 . 1 AP.
we also show superiority on all previous methods combined with Swin-L (Liu et al., 2021) backbone and outperform PETR by 1 . 5 AP under the same backbone.
When we enlarge the scales of backbones, ED-Pose will achieve the state-of-the-art as 76.6 AP without multi-scale and flip tests.
5. R ESULTS ON COCO
We further make comparisons with the state-of-the-art methods on COCO val2017 and test-dev in Table.
3 and Table.
8 respectively.
In general, our ED-Pose outperforms all existing bottom-up methods and one-stage methods under the same backbone without any tricks, even the dense heatmap-based top-down methods.
The proposed method achieves 71 .
6 AP (by 2 .
8 AP improvement) with a 51 . 4% inference time reduction via ResNet-50 backbone.
Additionally, our [Table] best model with the Swin-L* backbone achieves a 75 .
8 AP, showing a consistent performance improvement.
The improvements in the test-dev are similar.
The underlined highlights the compared results.
Emphasized number in inference time is tested by us, otherwise, from original papers directly or the MMPose official
[Table]
5.2. C OMPARISON OF E FFECTIVENESS
Comparison with one-stage methods : Our method significantly outperforms all existing one-stage methods, especially in Table.
8, such as DirecetPose (Tian et al., 2019a), FCPose (Mao et al., 2021b),
Inspose (Shi et al., 2021), CenterNet (Zhou et al., 2019)
[Table]
and PETR (Shi et al., 2022), showing that
ED-Pose with explicit box detection is an effective solutions for the end-to-end framework
[Table]
Comparison with two-stage methods : For bottom-up methods, ED-Pose outperforms state-of-theart methods by a large margin, such as HigherHRNet (Cheng et al., 2020), DEKR (Geng et al., 2021), and SWAHR (Luo et al., 2021).
Specifically, ED-Pose significantly surpasses the recently proposed SWAHR by 3.7 AP ( 71 . 6 AP vs .
9 AP) even with a much smaller backbone (ResNetvs .
HRNet-w32).
For top-down methods, ED-Pose is 1 . 2 AP and 3 .
4 AP higher than SimpleBaseline (Xiao et al., 2018)
(Sim.Base.) and PRTR (Li et al., 2021b), respectively.
To the best of our knowledge, this is the first time that a fully end-to-end framework can surpass top-down methods.
Comparison with end-to-end top-down methods : Poseur (Mao et al., 2022) extends its framework to end-to-end human pose estimation with Mask-RCNN.
Similarly, PRTR presents its end-to-end variant.
However, compared to their two-stage paradigms, their end-to-end frameworks produce substantially inferior performance.
Our fully end-to-end framework achieves much higher AP scores than theirs, indicating the effectiveness of our proposed methods.
Qualitative results: With explicit box detection, ED-Pose can perform well on a wide range of poses, containing viewpoint change, occlusion, motion blur, and crowded scenes.
Fig.
4 demonstrates the results of the detected person and the corresponding keypoints.
As can be observed, the human boxes are precise under many severe cases, thus they can provide effective global human information for further keypoint detection.
The local regions of the keypoint boxes are also reasonable for bringing abundant contextual information near the keypoint.
We present both explicitly detected person boxes and keypoint boxes to understand how they work.
5.2. C OMPARISON OF E FFICIENCY
For the inference time, ED-Pose surpasses all the bottom-up and one-stage methods in both speed and accuracy fields from Table.
3 and 8.
Notably, from the right of Fig. 5, we compare the inference under different AP
ED achieves the best
Under the competitive performance (about 74 . 2 ) with the DETR-Based top-down method (Poseur with RLE loss (Li et al., 2021a)), ED-Pose can boost inference speed by 30 .
Moreover, the left of Fig.
5 shows the convergence speeds in the training stage that are rarely discussed before.
EPPose introducing explicit detection is faster than all methods and obtains better performance under the early epochs.
Interestingly, all DETR-based methods are slower than even bottom-up methods.
5. A BLATION S TUDY
Explicit human detection : We first analyze the effectiveness of explicit human detection on both the COCO val2017 and the CrowdPose test , using the ResNet-50 backbone.
We remove all human detection losses in decoder layers to verify its effectiveness.
Results in Table.
4 clearly verify that explicit human detection supervision significantly improves the convergence speed of keypoint detection and precision, yielding + 4 .
5 AP on COCO and + 9 .
9 AP on CrowdPose.
[Table]
Keypoint detection representation : ED-Pose reformulates pose estimation as the keypoint box detection, where the 2D center-point coordinate ( x, y ) of keypoint is extended to the 4D representation ( x, y, w, h ) .
As the region of feature aggregation for keypoint depends on the width and height of the keypoint box, we explore the effect of ( w, h ) under five initialization ways: 1).
None discards width and height and keeps the original 2D coordinate representation ; 2).
Min. denotes that the keypoint is initialized by 1% width and height of the corresponding human box; 3).
Max. means that a keypoint is directly initialized by the width and height of its corresponding human box; 4).
FFN.
is that we apply an FFN network upon the human content query to regress a 2D weight of each keypoint within the human box ; 5).
Ours means that we initialize learnable embeddings for each keypoint across the whole dataset and utilize it to weigh the width and height of the human box.
As shown in Table.
5, the result without width and height representation is much lower than those of the other four settings, leading to a 13 .
3 AP drop compared with the best initialization way (Ours) since it will lose contextual information to query the local and global relations.
Learnable width and height obtain better performance than the fixed sizes.
The interactive learning between human and keypoint detection : Our human-to-keypoint detection decoder enhances the interactivity among external human-to-human, internal human-tokeypoint, and internal keypoint-to-keypoint.
Thus, we explore the impact of different interactive learning strategies: 1) Full makes all human queries and keypoint queries interact one by one; 2) w/o H-K removes the internal human-to-keypoint interaction; 3) w/o H-H discards the external human-to-human interaction; 4) Ours is our full interactive learning strategy.
As shown in Table.
6, direct full connection for all queries could lead to 1 .
2 AP degradation.
The reason is that external keypoint-keypoint interaction in a full connection strategy may cause a large disturbance, especially in crowded situations.
Besides, other interactive strategies slightly affect performance as well.
Hyperparameter tuning : To explore the effect on the number M of selected queries in Sec.
4.2, we conduct three numbers with 50 , 100 , and 200 , respectively.
As shown in Table.
7, increasing selected human queries can improve performance, but it meets a bottleneck for further improvement.
[Table]
[Table] [Table]
C ONCLUSION
In this work [Table] we re-consider the multi-person pose estimation task as two explicit box detection processes.
We unify the global person and local keypoint into the same box representation [Table] and they can be optimized by the consistent regression loss in a fully end-to-end manner.
Based on the novel methods, the proposed ED-Pose surpasses existing end-to-end methods by a large margin and shows superiority over the long-standing two-stage methods on both COCO and CrowdPose.
This is a simple attempt to make the whole pipeline succinct and effective.
We hope this work could inspire further one-stage designs.
Appendix: Explicit Box Detection Unifies End-to-End Multi-Person Pose Estimation
In this Appendix, we provide descriptions of a detailed experimental setup (in Sec.
A), more comparisons under COCO test-dev (in Sec.
B), results of human detection on both COCO and CrowdPose datasets (in Sec. C), and more visualization to show the effect of explicit box detection and comparison with PETR (in Sec.
D).
We also append our code to reproduce the results.
A E XPERIMENT S ETUP
Dataset.
Our experiments are mainly conducted on the popular COCO2017 Keypoint Detection benchmark (Lin et al., 2014), which contains about 250 K person instances with 17 keypoints.
We compare with other state-of-the-art methods on both of the val2017 set and test-dev set.
To verify the superiority of explicit detection, we also evaluate our approach on the CrowdedPose dataset (Li et al., 2019) which is more challenging and includes many crowded and occlusion scenes.
It consists of 20 K images containing about 80 K persons with 14 keypoints.
For ablation studies, we report results on the COCO val2017 set.
The OKS-based Average Precision (AP) is employed as the main evaluation metric on both datasets.
Implementation details.
In the training stage, we augment input images by random crop, random flip, and random resize with the shorter sides in [480 , 800] and the longer sides less or equal to 1333 following DETR (Carion et al., 2020) and PETR (Shi et al., 2022).
To accelerate the early explicit human detection, we use a human query denoising training strategy from DN-DETR (Li et al., 2022a).
We use the AdamW (Kingma & Ba, 2014; Loshchilov & Hutter, 2017) optimizer with weight decay of 1 × 10 − 4 and train our model on Nvidia A100 GPUs with batch size 16 forepochs and 80 epochs on COCO and CrowdPose, respectively.
The initial learning rate is 1 × 10 −and is decayed at the 55 th epoch and 75 th epoch by a factor of 0.1 on COCO and CrowdPose, respectively.
The channel dimension D is set to 256.
In the test stage, the input images are resized to have their shorter sides being 800 and their longer sides less or equal to 1333 .
B C OMPARISON OF COCO T EST - DEV
From Table.
[Table] our method without dense heatmap loss can significantly outperform all existing onestage methods, such as DirecetPose (Tian et al., 2019a), FCPose (Mao et al., 2021b), Inspose (Shi et al., 2021), CenterNet (Zhou et al., 2019)
[Table]
and PETR (Shi et al., 2022).
To be specific, our proposed ED-Pose has 2 .
2 AP gains compared with the fully end-to-end method PETR (Shi et al., 2022) with a ResNet-50 backbone or Swin-L backbone with about 50% inference time reduction.
underlined highlights the compared results.
[Table]
C R ESULTS OF H UMAN D ETECTION
Due to the explicit person detection in our methods, we also report the human detection performance on the COCO val2017 set and CrowdPose test set in Figure.
For the COCO dataset, ED-Pose with Swin-L* backbone gains 7 .
7 AP M and 6 .
7 AP L improvement compared with Faster-RCNN (Ren et al., 2015).
For the CrowdPose dataset, most top-down methods directly use YOLOv3 (Redmon & Farhadi, 2018) pre-trained on COCO trainval to generate the detected human bounding boxes, making their performance even worse than recent bottom-up methods. EDPose can provide human detection results with nearly doubling performance on AP M and AP L to serve future work.
Moreover, in Table 10, we study the impact of different decoders ( i.e. , human detection decoder and human-keypoint detection decoder) for human detection and keypoint detection.
First, we discover that the keypoint initialization provided by the human detection decoder has already achieved good results on COCO and CrowdPose datasets, which proves the effectiveness of explicit human detection.
Second, the keypoint detection introduced via the human-keypoint detection decoder is also helpful to improve large-scale human detection and obtain similar performance on medium-scale human detection.
Different from previous observations of severe optimization conflicts between human detection and keypoint detection, ED-Pose unifies the contextual learning between human-level and keypoint-level information and gains benefits from each other.
[Table] [Table]
[Table]
D Q UALITATIVE R ESULTS
Qualitative ablations for explicit human detection :
In the main article, we verify the effectiveness of explicit human detection for convergence speed and precision of the keypoint detection.
Here, we present the corresponding qualitative results on the CrowdPose test set as shown in Fig. [Table]
In general, explicit human detection has several advantages: 1). It can provide global human-level information, enabling the model to be aware of flipping easily like the case in the first row. 2).
It can give a clear human identity to the crowded scene to avoid the keypoint mismatching across persons, such as the case in the second row.
It is friendly for small human pose estimation as it can provides a precise prior of human box position, e.g., the case in the third row.
Qualitative comparisons between PETR and ED-Pose : We present the visualization comparisons of ED-Pose and PETR (Shi et al., 2022) on the COCO dataset, as shown in Fig 7.
From the first row, ED-Pose can pay attention to the flipping issue due to the introduction of explicit detection and the realization of human-keypoint feature propagation.
The second row further reflects that explicit detection in ED-Pose can make the model aware of the human position when conducting pose estimation, rather than the chaotic and unconscious query on a full image like PETR.
All possible detected keypoints from PETR have low scores, making it hard to distinguish the right and wrong results.
The third row shows that the enhancement of the global-local interactivity could relieve the estimation problem of the hard pose with heavy occlusions.