Who Left the Dogs Out? 3D Animal Reconstruction with Expectation Maximization in the Loop

Benjamin Biggs, Oliver Boyne, James Charles, Andrew W. Fitzgibbon, Roberto Cipolla

Abstract

Reconstructing the 3D pose and shape of animals from single "in the wild" images is a significant challenge due to extreme morphological variation across breeds and the lack of 3D ground truth data. This paper presents an end-to-end regression framework that addresses these issues through two primary innovations: the Skinned Multi-Breed Linear Model (SMBLD) and an iterative Expectation Maximization (EM) scheme for learning shape priors. By extending existing models with limb scaling and discovering breed-specific clusters from 2D data, the proposed method achieves state-of-the-art performance on the StanfordExtra dataset without requiring manual intervention at test time.

Introduction

While 3D human reconstruction has seen rapid progress, animal reconstruction remains difficult. Dogs, in particular, exhibit vast skeletal and morphological differences—ranging from the compact frame of a Pug to the elongated limbs of a Greyhound. Furthermore, high-quality 3D training data like motion capture or 3D scans is scarce for animals. Most existing methods rely on slow test-time optimization, which is prone to failure when initial 2D predictions are noisy. This work aims to bridge the gap by providing a robust, fast, direct regression system capable of handling diverse breeds in low-quality internet images.

Methodology

The proposed framework combines deep learning with probabilistic modeling to reconstruct 3D dogs from monocular images.

SMBLD: Skinned Multi-Breed Linear Model

The authors extend the SMAL quadruped model to create SMBLD. By adding six independent scale parameters for subparts like legs, tails, and ears, the model gains the necessary degrees of freedom to represent the diverse proportions found across hundreds of dog breeds.

System Architecture and EM-in-the-Loop

The architecture utilizes a ResNet-50 backbone to encode input images into feature vectors, which are then processed by independent MLP heads to regress pose, shape, camera, and translation parameters.

The proposed architecture featuring an encoder-decoder structure with an EM-based shape prior update loop.

A key innovation is the EM-in-the-Loop training strategy. To handle breed diversity, dog shapes are modeled as a Mixture of Gaussians (MoG) prior. During training, an Expectation Maximization scheme is employed:

  • E-Step: Assign images to shape clusters based on current predictions.
  • M-Step: Update cluster means and variances using the network's latest outputs. This allows the model to iteratively "discover" breed-specific shape priors (e.g., separate clusters for huskies vs. terriers) using only 2D annotations.

Experiments and Results

The model was primarily trained and evaluated on StanfordExtra, a large-scale dataset introduced by the authors containing over 20,000 images with 2D joint and silhouette annotations.

Qualitative results showing the model's ability to reconstruct diverse dog breeds from single images.

Performance Metrics

The method achieved a 73.6% IoU (Intersection over Union) for silhouettes and a 75.7% PCK (Percentage of Correct Keypoints) on the StanfordExtra test set. These results significantly outperform previous baselines like SMAL and CGAS. Furthermore, the model demonstrated strong generalization on the unseen Animal Pose dataset, maintaining a 66.9% IoU.

Speed and Efficiency

Unlike optimization-based methods that require iterative fitting at test time, this direct regression approach is significantly faster, making it more suitable for real-world applications.

Conclusion

By integrating explicit part scaling with a probabilistic shape prior learned directly from 2D variety, this work provides a robust solution for 3D animal reconstruction. While challenges remain in capturing complex ear articulations and handling multi-animal occlusions, the proposed EM-in-the-loop framework sets a new standard for learning 3D priors from large-scale 2D data.

Summary updated

BibTeX
@inproceedings{biggs2020who,
  author = {Benjamin Biggs and Oliver Boyne and James Charles and Andrew W. Fitzgibbon and Roberto Cipolla},
  title = {{Who Left the Dogs Out? 3D Animal Reconstruction with Expectation Maximization in the Loop}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58621-8\_12},
}
Figure