Paper commentary
End-to-end Recovery of Human Shape and Pose
Human Mesh Recovery learns full 3D body meshes from single images
- Problem Accurate 3D body labels come from controlled motion capture, so models transfer poorly to ordinary photos. A single view also fits many implausible body shapes.
- Method HMR regresses SMPL body parameters from one image, with an adversary judging realism.
- Results With paired 3D supervision it reaches 56.8 mm reconstruction error on Human3.6M Protocol 2, and 66.5 mm without it.
Why single-image mesh recovery is hard
Most 3D human pose systems learn from motion capture, and the images carrying accurate 3D labels were recorded in controlled MoCap settings. A model fit to those frames transfers poorly to ordinary photographs, and large sets of in-the-wild images have no matching 3D annotation.
A single view is ambiguous: several 3D body configurations project onto the same 2D keypoints, and some of them are anthropometrically implausible, for example through impossible joint angles or very thin bodies. Estimating the camera on top of that adds a scale ambiguity between the person's size and the camera distance.
Multi-stage pipelines first detect 2D joints and then estimate 3D parameters from them, so they depend on the detector and can discard image context. Rotations are another obstacle: binning angles into classes sacrifices precision, and the class probabilities are hard to differentiate through a reprojection loss.
Regressing SMPL parameters from pixels
Inputs are crops centered on the person, resized to 224 × 224 with the aspect ratio preserved, and at test time the ground truth bounding box is used.
Rather than regress everything in one pass, the regressor starts from the mean parameter vector and adds a predicted residual at each step, so the estimate is corrected over three rounds. Earlier feedback schemes rendered the current estimate into image space; here the image features and the current parameters are concatenated and passed on in latent space, which the authors found to work well where differentiable rendering is hard to build.
The regressor is two fully connected layers of 1024 neurons with a dropout layer between them, followed by an 85-dimensional output.
Inference is a fixed number of regressor calls on a bounding-box crop, with no optimization loop, which is why the model runs in real time.
SMPL parameters, the camera and the projection
The body is described with SMPL, which separates a 10-dimensional shape vector β from a pose θ of relative 3D rotations for K = 23 joints in axis-angle form. The mesh is built from a template: shape conditions the template vertices, the bones are articulated by forward kinematics over the joint rotations, and linear blend skinning deforms the surface, giving 6980 vertices.
The 3D keypoints used by the loss are linear regressions from the final mesh rather than single vertices, and 19 keypoints are used in total. The camera is weak-perspective, with a global rotation R in axis-angle form, a translation t in R2 and a scalar scale s; together with θ and β these form the 85-dimensional vector Θ.
The predicted 2D keypoints come from rotating the 3D keypoints, applying an orthographic projection, then scaling and translating: \[ \hat{x} = s\,\Pi(R\,X(\theta,\beta)) + t \] Because the orthographic projection drops depth, the 2D fit depends on the rotated 3D shape but not on the camera distance.
How the losses are combined
Training minimizes a single objective of the form: \[ L = \lambda\left(L_{reproj} + \mathbb{1}\,L_{3D}\right) + L_{adv} \] The indicator switches the 3D term on only for images that have ground truth 3D, and λ scales the reprojection and 3D terms against the adversarial term.
The reprojection term sums, over keypoints, the L1 distance between each annotated 2D point and its prediction, each weighted by a per-keypoint visibility flag. \[ L_{reproj} = \sum_i \lVert v_i(x_i - \hat{x}_i)\rVert_1 \] Here x_i is the ith annotated 2D keypoint and v_i is 1 when that keypoint is visible and 0 otherwise.
The 3D term is the sum of a joint loss and an SMPL-parameter loss, both squared L2 distances: The authors do not use the bounded correction targets of earlier iterative regressors, because those assume ground truth is known for every image.
The reprojection and 3D losses act only on the final estimate, while the adversarial loss is applied to the estimate at every iteration. The authors argue that supervising every iteration with the final objective makes the regressor overshoot and settle in local minima, and that per-iteration adversarial supervision pushes each intermediate step toward plausible bodies.
A factorized adversarial prior
The reprojection loss alone can be minimized by implausible bodies, including bodies that intersect themselves, so discriminators are added to learn what real body parameters look like. Because they judge only the predicted parameters, the discriminators act as a weak supervision signal for in-the-wild images that have no 3D annotation.
The discriminators follow the structure of SMPL: one for shape, one for each joint rotation, and one for the whole pose. Shape is judged on its 10 values, each joint rotation on the 9 entries of its rotation matrix, and the whole pose on 9K values. The 23 per-joint discriminators share one embedding network applied to each rotation matrix, and the whole-pose discriminator concatenates the K * 32 embeddings through two fully connected layers of 1024 neurons, making K + 2 discriminators in total.
The authors argue that this lets the angle limits of each joint be learned from data instead of being preset.
Each discriminator outputs a value between 0 and 1, read as the probability that its input comes from the data, and is trained with a least-squares objective for stability. The encoder's adversarial term pushes each discriminator's output on the predicted parameters toward 1: \[ \min L_{adv}(E) = \sum_i \mathbb{E}_{\Theta\sim p_E}\left[(D_i(E(I)) - 1)^2\right] \] \[ \min L(D_i) = \mathbb{E}_{\Theta\sim p_{data}}\left[(D_i(\Theta)-1)^2\right] + \mathbb{E}_{\Theta\sim p_E}\left[D_i(E(I))^2\right] \] The encoder and all discriminators are optimized jointly.
The authors argue that mode collapse is less of a concern here, because the network must also reduce reprojection error, so its outputs have to match the modes present in the images. They also state that without the factorization pose and shape are regularized poorly, but no separate experiment for the factorization is reported.
Data and optimization settings
The in-the-wild 2D sources are LSP with LSP-extended, MPII and MS COCO, giving training sets of 1k, 10k, 20k and 80k images respectively. Images that are too small or have fewer than six visible keypoints were dropped, and the standard train and test splits were used.
The 3D sources are Human3.6M and MPI-INF-3DHP, which together provide 150k training images with 3D joint annotations. Subject 8 of MPI-INF-3DHP was held out to tune hyperparameters, and the full training set was used for the final experiments. For Human3.6M, SMPL parameters were obtained by running MoSh on the raw marker data. The unpaired mesh pool combines CMU, the Human3.6M training set and PosePrior, with 390k, 150k and 180k samples respectively.
Training uses mini-batches of 64, and when 3D supervision is on each batch is half 2D and half 3D samples. Images are randomly scaled, translated and flipped. The 23 SMPL joints do not match the common joint definitions, so the 14 Human3.6M joints are regressed from the mesh and 5 face keypoints from MS COCO are added, giving 19 keypoints in the reprojection error.
Training took around 5 days on a single Titan 1080ti GPU, and the λ values and other hyperparameters were set on validation data from MPI-INF-3DHP.
Human3.6M reconstruction and joint error
Protocol 2 uses the same train and test split as Protocol 1 but tests only on the frontal camera, camera 3, and reports reconstruction error. Among the methods that output more than joints, SMPLify reaches 82.3 mm, SMPLify from 91 keypoints reaches 80.7 mm, and the regression forest from 91 keypoints is at 93.9 mm. Supervised HMR reaches 56.8 mm and the unpaired variant 66.5 mm, both below those three.
HMR is above the joint-only methods of Pavlakos et al. at 51.9 mm and Martinez et al. at 47.7 mm.
Protocol 1 trains on five subjects, S1, S5, S6, S7 and S8, tests on S9 and S11, and downsamples videos from 50fps to 10fps. Supervised HMR records an MPJPE of 87.97 mm and a reconstruction error of 58.1 mm. The unpaired variant records 106.84 mm MPJPE and 67.45 mm reconstruction error, worse than the supervised model on both. Both MPJPE values, 87.97 mm and 106.84 mm, are below the 107.26 mm reported for Deep Kinematic Pose.
MPJPE does not track visual quality well, since many results with high MPJPE look reasonable in the percentile samples.
MPI-INF-3DHP with and without rigid alignment
The MPI-INF-3DHP test set has 2929 valid frames from six subjects doing seven actions, and is scored by PCK at 150 mm, AUC over a range of thresholds and MPJPE. Without alignment, supervised HMR scores 72.9 PCK, 36.5 AUC and 124.2 mm MPJPE. Mehta et al. report 75.7, 39.3 and 117.6 mm, and VNect 76.6, 40.4 and 124.7 mm, so HMR is below both on PCK and AUC, below VNect on MPJPE and above Mehta et al.
on MPJPE.
After rigid alignment, supervised HMR reaches 86.3 PCK, 47.8 AUC and 89.8 mm MPJPE. VNect reaches 83.9, 47.3 and 98.0 mm under alignment, and only HMR and VNect are reported aligned, computed with VNect's public code. Under alignment HMR is higher than VNect on PCK and AUC and lower on MPJPE.
The unpaired variant scores 59.6 PCK, 27.9 AUC and 169.5 mm MPJPE without alignment, and 77.1, 40.7 and 113.2 mm after alignment. The ground truth 3D annotations of this dataset carry some noise, which is a caveat on how far these scores can be pushed.
LSP segmentation and run time
The segmentation evaluation uses the 1000 LSP test images labeled by Lassner et al. with six body-part segments and background. No 3D labels and no segmentation labels are used in training. Accuracy and F1 are averaged over all parts including background, and foreground-background is also reported; because the SMPL part definitions differ from the annotation, accuracy is capped below 100%.
HMR reaches 91.67 foreground-background accuracy with F1 0.87, and 87.12 part accuracy with F1 0.60. The SMPLify oracle, which uses ground truth segmentation and keypoints, reaches 92.17 and 88.82 with F1 0.88 and 0.67. Decision Forests reach 86.60 and 82.32 with F1 0.80 and 0.51.
Run time is 0.04 sec per image for HMR, 0.13 sec for Decision Forests, and about 1 min for SMPLify. HMR is therefore comparable to the oracle on these scores and is real-time given a bounding box.
Training without paired 3D supervision
The unpaired setting keeps the reprojection loss and the adversarial prior and drops the 3D term, so training uses 2D keypoint annotations and the pool of unpaired meshes. On Human3.6M Protocol 2 this gives 66.5 mm against 56.8 mm for the supervised model. On MPI-INF-3DHP the gap is larger, with 59.6 PCK against 72.9 without alignment. The authors describe these results as surprisingly competitive given the setting.
A model trained with neither the discriminator nor the 3D supervision produces what the authors call monsters: extreme shapes and poses whose 2D projections still fit the annotated keypoints closely.
Limitations
No ground truth mesh annotations exist for current datasets, so mesh quality is assessed only through joint-based metrics. The authors note that MPJPE does not correlate well with visual quality, and show percentile samples as a visual check.
Protocol 2 is tested only on the frontal camera, camera 3. No dataset exists for evaluating 3D mesh reconstruction on in-the-wild images, so the quantitative evaluation uses the standard 3D joint task, while in-the-wild results are qualitative.
The unpaired variant trails the supervised model on Human3.6M Protocol 1 and on MPI-INF-3DHP in both absolute and aligned scores. Whether increasing the amount of 2D data would significantly increase 3D accuracy remains open.
The segmentation ceiling comes from the mismatch between SMPL part definitions and the annotation. SMPL joint definitions do not align perfectly with the dataset joints, so the authors use a regressor and face keypoints to bridge them. The factorization of the prior is motivated, but the paper reports no separate experiment for it.
Paper info
- Authors
- Angjoo Kanazawa, Michael J. Black, David W. Jacobs, Jitendra Malik
- Venue
- arXiv · Preprint
- First published
- 2017-12-18
- Added
- 2026-11-12
- Updated
- 2018-6-23
- Version
- v2
- arXiv
- 1712.06584
- 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
Angjoo Kanazawa, Michael J. Black, David W. Jacobs, Jitendra Malik (2017). End-to-end Recovery of Human Shape and Pose. arXiv:1712.06584v2. https://arxiv.org/abs/1712.06584v2
BibTeX
@misc{kanazawa2017recovery,
title = {{End-to-end Recovery of Human Shape and Pose}},
author = {Angjoo Kanazawa and Michael J. Black and David W. Jacobs and Jitendra Malik},
year = {2017},
eprint = {1712.06584},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1712.06584v2}
}