# Cascaded Pyramid Network for Multi-Person Pose Estimation

Cascaded Pyramid Network localizes hard keypoints in multi-person pose estimation

Yilun Chen, Zhicheng Wang, Yuxiang Peng, Zhiqiang Zhang, Gang Yu, Jian Sun · arXiv · 2017-11-20

- **Problem** Occluded, invisible and cluttered-background keypoints are hard to localize, and standard training does not single them out. Errors concentrate on these joints, so overall accuracy stalls.
- **Method** CPN adds a RefineNet after a feature-pyramid GlobalNet. RefineNet concatenates all pyramid levels and backpropagates only from the eight hardest of 17 keypoints per person.
- **Results** CPN reaches 69.4 AP(OKS) on COCO minival with a single ResNet-50 at 256 × 192 input. The ensembled CPN+ reaches 73.0 AP on test-dev.

## Why hard keypoints stay difficult

The setting is multi-person pose estimation, where the keypoints of every person in an image have to be located. Errors concentrate on joints that are occluded, out of sight, or set against a cluttered background. The authors argue that these joints cannot be recognized from appearance features alone, using the torso as an example, and that training never gives them special attention.

The proposed answer splits the work into a stage that localizes easy keypoints from pyramid features and a stage that revisits the hard ones. Pyramid features supply the surrounding context that the authors consider necessary to infer occluded joints, so the second stage has material to work from.

## Top-down pipeline, detector and crop preprocessing

Pose estimation runs in two steps. A human detector first proposes a box for each person, and the single-person estimator then works on each cropped box. The detector is based on FPN with ROIAlign in place of ROIPooling and is trained on all eighty COCO categories, but only the human boxes feed the pose stage.

Each box is widened to a fixed height-to-width ratio of 256 : 192 and cropped without distorting the aspect ratio, then resized to 256 by 192 pixels by default. Training augments the crops with random flips, random rotations between −45° and +45°, and random scaling between 0.7 and 1.35.

At test time the heatmaps are smoothed with a Gaussian filter and averaged with those of the flipped image, and each keypoint is read out with a quarter-pixel offset from the highest response toward the second highest. The box score is multiplied by the average keypoint score to give the final pose score.

## GlobalNet and ReﬁneNet

GlobalNet takes the last residual block of each conv stage, C2 to C5, and applies 3 × 3 convolutions to them to produce keypoint heatmaps. Shallow levels have fine spatial resolution but weak semantics, and deep levels have the reverse, so a top-down pyramid merges the two. The authors place a 1 × 1 convolution before each element-wise sum in the upsampling path, which is the difference from the original feature pyramid network.

GlobalNet on its own localizes easy joints such as eyes well but misjudges hips, which need wider context than nearby appearance provides.

ReﬁneNet concatenates features from all pyramid levels through upsampling, in the manner of HyperNet, rather than using only the upsampled features at the end of a stack. The deeper and smaller levels get more bottleneck blocks, which the authors describe as a trade-off between effectiveness and efficiency. Because training would otherwise focus on the simple keypoints of the majority, ReﬁneNet selects its hard keypoints online from the training loss.

## How hard keypoints are selected in the loss

GlobalNet is trained with an L2 loss over all annotated keypoints. In ReﬁneNet only the M keypoints with the largest losses are penalized, out of the N annotated keypoints of a person, which is 17 for COCO. Gradients are back-propagated from the selected keypoints only.

Across the sweep, M = 6 gives 68.8 AP(OKS), M = 8 gives 69.4, M = 10, 12 and 14 each give 69.0, and M = 17 gives 68.6. The authors choose M = 8 as the balance between hard and simple keypoints.

Mining in ReﬁneNet raises the minival result from 68.6 to 69.4, a gain of 0.8 AP over plain L2 in that stage. Applying the same mining in GlobalNet as well gives 69.1, and mining in GlobalNet alone lowers the result by 0.3 AP.

The authors distinguish this keypoint-level selection from OHEM, which works on examples such as pixel-level heatmap losses, and they say it is more stable and more accurate than OHEM. The units give no OHEM number, so this comparison is a claim without a measured row.

## Stacking depth, GlobalNet and ReﬁneNet ablations

The authors find that two stacked hourglass modules perform comparably to eight, so the stack depth alone is not what separates the baselines. On minival, the 2-stage hourglass reaches 66.5 AP(OKS) at 6.14G FLOPs and the 8-stage hourglass 66.9 at 19.48G.

GlobalNet alone reaches 66.6 AP(OKS) at 3.90G FLOPs. Adding ReﬁneNet adds 2.0 AP to reach 68.6, and online hard keypoints mining brings the full CPN to 69.4 at the same 6.20G FLOPs. Dilation of the residual stages costs more compute: dilating res3 to res5 raises the FLOPs to 68.70G without a reported AP.

Within ReﬁneNet, the concatenation-only variant reaches 68.5 AP(OKS) at 5.87G FLOPs, and the variant with one bottleneck before concatenation reaches 69.2 at 6.92G. The chosen design reaches 69.4 at 6.20G.

Reading only C2 gives 68.3 AP(OKS). Adding C3 gives 68.4, adding C4 gives 69.1, and using C2 to C5 gives 69.4, so more pyramid levels help at growing FLOPs, from 5.02G to 6.20G.

## Detector quality and NMS effects on keypoints

Soft-NMS reaches 41.1 AP(all) and 69.4 AP(OKS) with the same model, while hard NMS at thresholds 0.3, 0.4, 0.5 and 0.6 gives AP(OKS) of 68.2, 68.9, 69.2 and 69.2. The best hard-NMS row reaches 40.8 AP(all).

Across detector variants, keypoint AP(OKS) moves from 68.8 with FPN-1 to 69.4 with FPN-2, 69.7 with FPN-3, and 69.8 with the ensembles. When detection AP rises from 44.3 to 49.3, keypoint AP(OKS) changes only from 69.7 to 69.8, and the AR of the detector rises marginally.

The authors conclude that boxes already cover most medium and large persons at this detection level, so the remaining problem is hard keypoints rather than more boxes.

## Effect of crop resolution

For the hourglass baseline, going from 256 × 192 to 256 × 256 raises AP(OKS) from 66.9 to 67.1, and the FLOPs grow from 19.5G to 25.9G.

For CPN with ResNet-50 at 384 × 288, the FLOPs are 13.9G and AP(OKS) is 71.6 with mining and 70.6 without it, compared with 69.4 and 68.6 at 256 × 192 and 6.2G. The authors note that mining gains a full point at the larger input.

## COCO test-dev and test-challenge results

On test-dev, the single CPN model reaches 72.1 AP, and the ensembled CPN+ reaches 73.0 AP, with the authors comparing the latter with 60.5 from the COCO 2016 keypoint challenge as a 19% relative improvement.

On test-challenge2017, CPN+ reaches 72.1 AP, where its human detector has an AP of 62.9 on the human class of minival.

The test-dev and test-challenge tables use a ResNet-Inception backbone, so these numbers are not the ResNet-50 minival results used in the ablations. On minival, the CPN rows reach 72.7 AP, and the ensembled CPN+ reaches 74.5 AP.

## Limits of the comparisons

Several test-dev and test-challenge rows come from methods that use extra training data, while the CPN rows are trained without extra data, so the comparisons do not share one training set.

The ablations use a single ResNet-50 setting on minival at 256 × 192, apart from the input-size and dilation rows, and the test-dev numbers use ResNet-Inception with ensembling.

Efficiency is reported as FLOPs, with no wall-clock time. The OHEM comparison has no measured row, and the mining sweep covers only the minival split.

## Paper info

- **Authors**: Yilun Chen, Zhicheng Wang, Yuxiang Peng, Zhiqiang Zhang, Gang Yu, Jian Sun
- **Venue**: arXiv · Preprint
- **First published**: 2017-11-20
- **Added**: 2026-11-12
- **Updated**: 2018-4-8
- **Version**: v2
- **arXiv**: 1711.07319
- **Category**: cs.CV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1711.07319v2) · [PDF ↗](https://arxiv.org/pdf/1711.07319v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Yilun Chen, Zhicheng Wang, Yuxiang Peng, Zhiqiang Zhang, Gang Yu, Jian Sun (2017). Cascaded Pyramid Network for Multi-Person Pose Estimation. arXiv:1711.07319v2. https://arxiv.org/abs/1711.07319v2

**BibTeX**

```
@misc{chen2017cascaded,
  title = {{Cascaded Pyramid Network for Multi-Person Pose Estimation}},
  author = {Yilun Chen and Zhicheng Wang and Yuxiang Peng and Zhiqiang Zhang and Gang Yu and Jian Sun},
  year = {2017},
  eprint = {1711.07319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.07319v2}
}
```

## Other paper commentary

- [Photonics for artificial intelligence and neuromorphic computing](https://refivu.com/en/papers/20f5aec1-bc52-4917-93d6-725c8afc0672-photonics-for-artificial-intelligence-and-neuromorphic.md)
- [Neural Architecture Search: A Survey](https://refivu.com/en/papers/b954b27d-f3d7-4513-8986-c9a0dfb01e6e-neural-architecture-search-a-survey.md)
- [Learning Structured Sparsity in Deep Neural Networks](https://refivu.com/en/papers/904b80d6-c19c-420d-861d-be919e5725b1-learning-structured-sparsity-in-deep-neural-networks.md)
- [Pyramid Stereo Matching Network](https://refivu.com/en/papers/30a53566-121d-41b6-baca-53b0c10d01cc-pyramid-stereo-matching-network.md)
- [Learning both Weights and Connections for Efficient Neural Networks](https://refivu.com/en/papers/f86825de-2cbc-432f-bed0-b6b664200688-learning-both-weights-and-connections-for-efficient-neural.md)
- [Understanding Neural Networks Through Deep Visualization](https://refivu.com/en/papers/a476f0b3-a482-45fe-9135-826b92cf7a73-understanding-neural-networks-through-deep-visualization.md)
- [The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games](https://refivu.com/en/papers/7c9c355e-16b7-49a8-b767-07760b1c48a4-the-surprising-effectiveness-of-ppo-in-cooperative-multi.md)
- [OpenNMT: Open-Source Toolkit for Neural Machine Translation](https://refivu.com/en/papers/d158ab7b-d0c6-4ffd-a069-53d34c28b7eb-opennmt-open-source-toolkit-for-neural-machine-translation.md)
- [Instruction-Following Evaluation for Large Language Models](https://refivu.com/en/papers/87d7b3e4-5def-4a0c-ac6d-4f0204c38402-instruction-following-evaluation-for-large-language-models.md)
- [NTU RGB+D 120: A Large-Scale Benchmark for 3D Human Activity Understanding](https://refivu.com/en/papers/3fe61b53-c129-49a6-9839-f52dcd0e5d8d-ntu-rgb-d-120-a-large-scale-benchmark.md)
- [Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning](https://refivu.com/en/papers/fddce09d-7fcc-4378-9b7f-d421fd3b3e85-imbalanced-learn-a-python-toolbox-to-tackle-the.md)

## Terms in this paper

- [FLOPs](https://refivu.com/en/terms/14c405888d5b-flops)
- [OHEM](https://refivu.com/en/terms/539047a448da-ohem)
- [Soft-NMS](https://refivu.com/en/terms/2394dbd2b1ba-soft-nms)
- [multi-person pose estimation](https://refivu.com/en/terms/49ac00eedd7d-multi-person-pose-estimation)
- [stacked hourglass](https://refivu.com/en/terms/ecfb84a60824-stacked-hourglass)
- [ReﬁneNet](https://refivu.com/en/terms/14a4beee3ad8-refinenet)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/917d4471-88d7-4f2f-b082-558d51356b78-cascaded-pyramid-network-for-multi-person-pose-estimation)
