Paper commentary
Stacked Hourglass Networks for Human Pose Estimation
Stacked hourglass networks chain repeated scale-revisiting modules to estimate human pose
- Problem Pose networks make local predictions that miss global context, and supervision placed early in the network cannot fix this. The authors ask how a network can move back and forth between scales to revisit its own estimates.
- Method The stacked hourglass network chains eight hourglass modules end to end. Each hourglass pools features down and rebuilds them with skip connections, and each module gets its own heatmap loss.
- Results On MPII, the network scored 90.9 PCKh, compared to 88.5 for Wei et al. It also set state-of-the-art results on FLIC.
Why single-pass predictions miss global context
Pose estimation asks for the exact pixel location of each body keypoint from one RGB image. Early work relied on robust local image features and structured prediction to enforce a globally consistent pose. ConvNets then replaced that pipeline and drove large gains on standard benchmarks. Many ConvNet approaches pool down to a very low resolution, upsample, and combine features across resolutions.
The difficulty is that a prediction made from local receptive fields is blind to critical global cues. Supervision placed after upsampling gives the features no chance to be reevaluated against each other in a larger context. Supervision placed before pooling sees only a relatively local receptive field, so it doesn't fix the problem either.
The authors therefore ask how the network can go back and forth between scales to revisit its own estimates.
Inside one hourglass module
One hourglass is a symmetric encoder-decoder that pools features down and then rebuilds them. Skip connections carry spatial detail from each resolution to the step that rebuilds that same resolution. The lowest resolution reached is 4x4 pixels, so small filters can compare features across the whole image.
On the way up, nearest neighbor upsampling of the coarser features is added elementwise to the features of the finer resolution. The authors use this simple upsampling instead of unpooling or deconvolution layers.
Each block is a residual module, and no filter is larger than 3x3. Its bottleneck limits the number of parameters per layer, which keeps memory use down. The network starts with a 7x7 convolution of stride 2 and a max pooling step, bringing the 256x256 input down to 64x64. Two 1x1 convolution rounds after the hourglass turn the output into one heatmap per joint, each giving a probability at every pixel.
Stacking hourglasses with intermediate supervision
The stacked hourglass network chains hourglasses end to end, so the output of one becomes the input of the next. Heatmaps are predicted after every hourglass, which gives a place to apply a loss at each stage. The authors use eight hourglasses and don't share weights across them.
A 1x1 convolution maps each stage's heatmaps to a larger number of channels. That mapped output is added to the hourglass's intermediate features, together with the features from the previous hourglass. The sum then feeds the next hourglass, so early estimates can be reassessed with the global context that later stages have built.
Every hourglass gets a loss that uses the same ground truth. The loss is a mean-squared error between each predicted heatmap and a 2D Gaussian centered on the joint, with a standard deviation of 1 px. Joints without a ground truth annotation get an all-zeros heatmap as the target.
Training data, crops and test-time averaging
FLIC has 5003 images, with 3987 for training and 1016 for testing. MPII has around 25k images and 40k annotated samples, but its test annotations aren't public. The authors therefore train on a subset of MPII's training images and evaluate on a held-out validation set of around 3000 samples.
For MPII, the provided center and scale define the crop around the target person, which is resized to 256x256. On FLIC the crop is centered on the torso box along the x-axis, with no scale normalization.
Training uses Torch7 and rmsprop with a learning rate of 2.5e-4, and takes about 3 days on a 12 GB TitanX. A single forward pass takes 75 ms. At test time the original image and its flipped version both go through the network, and their heatmaps are averaged. The authors report that this averaging gives about a 1% average improvement on validation.
FLIC and MPII benchmark results
FLIC is scored with PCK@0.2, with distance normalized by torso size. On the elbow the model scored 99.0, compared to 97.6 for Wei et al. On the wrist it scored 97.0, compared to 95.0 for Wei et al. The authors note these results are observer-centric, which matches how others have evaluated on FLIC.
On MPII the model's total PCKh@0.5 is 90.9, compared to 88.5 for Wei et al. The gains are largest on the harder joints, where the authors report a 3.5% average improvement at PCKh@0.5. On those joints the average error rate falls from 16.3% to 12.8%. The wrist reaches 87.1 and the elbow 91.2, and the authors describe these as state-of-the-art across all joints.
Stacking versus intermediate supervision
The authors first check whether stacking helps beyond extra capacity, so they compare designs with about the same parameter count. A two-stack network with four residual modules per stage was compared to a single hourglass with eight residual modules. The stacked design trained a bit faster despite having about the same number of layers and parameters.
Intermediate supervision on a single hourglass was tried at several points, and the best placement came after upsampling at the next two highest resolutions. That supervision improved performance, but not enough to match the gain from stacking with supervision.
Final validation accuracy, averaged over the wrists, elbows, knees and ankles, rose from 87.4% for two stacks to 87.8% for four and 88.1% for eight. Halfway through each network, the intermediate accuracies were 84.6%, 86.5% and 87.1%. The authors say the effect is more notable at intermediate stages, and the eight-stack midpoint is just short of the two-stack final accuracy.
Occlusion and annotation presence
Occluded joints fall into two groups, those that can be inferred from context and those with no information at all. MPII flags the first group with a visibility annotation, which the system doesn't use. About 75% of the annotated elbows and wrists in the validation set are labeled visible. Visible wrists reach 93.6%, compared to 85.5% over all wrists, while exclusively occluded joints reach 61.1%.
For the elbow, accuracy goes from 90.5% overall to 95.1% for visible joints and 74.0% for occluded ones.
Joints without an annotation are excluded from PCK, so predictions for them can't be scored. The authors check whether the mean heatmap activation can tell whether a knee or ankle is annotated, since these joints are cropped most often. On a validation set of 2958 samples, 16.1% of possible knees and 28.4% of possible ankles lack an annotation.
The mean activation gives an AUC of 92.1% for knees and 96.0% for ankles, which the authors read as a useful signal for truncation and severe occlusion.
Limitations
The network gets only the crop, so the center and scale annotations are its sole cue for who to annotate. When people stand close or overlap, that cue can be ambiguous. In the dancer example, the two center annotations differ by only 26 pixels in a 720x1280 image, yet the scale change flips the predictions. The authors consider a wrist estimated without regard to its owner undesirable behavior.
Multi-person annotation is out of scope, and the authors say many failures come from confusing the joints of several people. The work covers only keypoint localization for one person from an RGB image. Truncated or occluded joints without annotation aren't counted in the PCK score, so their predictions go unmeasured. The annotation-presence analysis is run only on knees and ankles.
Paper info
- Authors
- Alejandro Newell, Kaiyu Yang, Jia Deng
- Venue
- arXiv · Preprint
- First published
- 2016-3-22
- Added
- 2026-11-11
- Updated
- 2016-7-26
- Version
- v2
- arXiv
- 1603.06937
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
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
Alejandro Newell, Kaiyu Yang, Jia Deng (2016). Stacked Hourglass Networks for Human Pose Estimation. arXiv:1603.06937v2. https://arxiv.org/abs/1603.06937v2
BibTeX
@misc{newell2016stacked,
title = {{Stacked Hourglass Networks for Human Pose Estimation}},
author = {Alejandro Newell and Kaiyu Yang and Jia Deng},
year = {2016},
eprint = {1603.06937},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1603.06937v2}
}