Disentangling 3D Attributes from a Single 2D Image: Human Pose, Shape and Garment

Xue Hu, Xinghui Li, Benjamin Busam, Yiren Zhou, Ales Leonardis, Shanxin Yuan

Abstract

Recovering 3D human geometry from a single 2D image is a fundamental challenge in computer vision, complicated by the inherent ambiguity of 2D-to-3D projection and the complex entanglement of pose, body shape, and clothing. This paper presents a novel framework designed to "unbake" these attributes into distinct latent representations. By leveraging a multi-head encoder-decoder architecture and a 3D shape prior based on Signed Distance Functions (SDF), the proposed method enables the manipulation and transfer of specific 3D properties—such as garment style or body shape—directly from a single RGB image. Experimental results demonstrate that the model achieves high-fidelity reconstructions and smooth attribute interpolation, significantly outperforming occupancy-based alternatives.

1. Introduction

In computer vision, "disentanglement" refers to the ability to isolate independent factors of variation within an image. While significant progress has been made in 2D-to-2D disentanglement (e.g., changing a subject's hair color or facial expression), extending this capability to the 3D domain remains a significant hurdle. The task of generating a 3D model from a single 2D photo is "under-constrained," as a single viewpoint lacks the depth information required to perfectly describe a 3D volume. Furthermore, in standard photography, the subject's pose, their underlying body shape, and the drape of their clothing are deeply intertwined. Previous approaches often required 3D meshes as input to perform attribute swaps; this research addresses the challenge using only a single 2D RGB image as the starting point.

2. Methodology

The researchers developed a three-stage pipeline that utilizes a high-dimensional feature map as a bridge between the 2D image and the 3D output.

2.1 Feature Extraction and Disentanglement

The process begins with a standard Hourglass Network that extracts a feature map from the input image. This map is then passed to a Multi-head Encoder-Decoder. This component acts as the primary disentangler, employing three separate encoders ($h_\theta, h_\beta, h_\gamma$) to compress the feature map into three specific latent codes representing pose, shape, and garment style. The decoder is designed to take any combination of these codes—including swapped codes from different source images—to reconstruct a modified feature map.

2.2 3D Surface Prediction

To transform the manipulated feature map into a 3D surface, the framework employs a technique inspired by Pixel-aligned Implicit Functions (PiFU). A Multi-Layer Perceptron (MLP) acts as a 3D shape prior, taking the modified feature map and 3D coordinates as input to predict the surface geometry.

The study compared two types of 3D representations: Occupancy (OCC) and Signed Distance Functions (SDF). The authors found that supervising the model with SDF—which measures the exact distance to the nearest surface—allowed the model to capture significantly finer details, such as clothing wrinkles and precise surface normals, compared to binary occupancy grids.

3. Experimental Setup and Datasets

Training a model to disentangle attributes requires highly controlled data. The authors modified the TailorNet dataset, which contains physically simulated 3D sequences of dressed humans based on the SMPL body model.

To facilitate learning, the researchers created a paired dataset where, for any given pair of images, only one attribute (pose, shape, or garment) varies while the other two remain constant. This "control variate" strategy forces the encoder-decoder to map specific visual differences into the correct latent sub-manifold. The final training set included 1,369 pose-varying pairs, 51 shape-varying pairs, and 761 garment-varying pairs, all rendered into 2D images.

4. Results and Discussion

The framework successfully demonstrates "cross-domain" attribute transfers, such as applying the pose from one image to the body shape and clothing of another.

4.1 Quantitative and Qualitative Performance

The choice of SDF over Occupancy proved critical. In cross-pose transfer tasks, the SDF-based model achieved a median Chamfer distance of 1.26mm, a substantial improvement over the occupancy-based version's 4.73mm. Qualitatively, the SDF supervision recovered intricate clothing folds that were otherwise smoothed over in occupancy-based reconstructions.

4.2 Latent Space Interpolation

Beyond simple swapping, the model's latent space is shown to be "smooth." This allows for interpolation between two different garment codes, enabling the generation of hybrid clothing styles that do not exist in the training data. This suggests the model has learned a meaningful representation of garment geometry rather than just memorizing specific templates.

5. Conclusion and Future Work

This research provides a robust method for disentangling 3D human attributes from 2D images, moving closer to intuitive 3D content creation from simple photography. However, a primary limitation remains the reliance on synthetic training data. The current model requires strictly controlled image pairs that are nearly impossible to find in "in-the-wild" photography. Future research will focus on relaxing these requirements through self-supervised learning techniques, potentially allowing the model to learn from unconstrained photos of people where all attributes vary simultaneously.

Summary updated

BibTeX
@inproceedings{hu2022disentangling,
  author = {Xue Hu and Xinghui Li and Benjamin Busam and Yiren Zhou and Ales Leonardis and Shanxin Yuan},
  title = {{Disentangling 3D Attributes from a Single 2D Image: Human Pose, Shape and Garment}},
  booktitle = {BMVC},
  year = {2022},
  url = {https://openreview.net/forum?id=4WbIkPWzIj},
}
Figure