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

This paper presents an end-to-end framework for reconstructing the 3D pose and shape of dogs from single "in-the-wild" images. The approach introduces the Skinned Multi-Breed Linear Model (SMBLD), which extends existing models with limb scaling to capture extreme morphological diversity. A novel training loop incorporates Expectation Maximization (EM) to iteratively refine a Mixture of Gaussians (MoG) shape prior using 2D image evidence. Experimental results on the StanfordExtra dataset demonstrate state-of-the-art performance in both accuracy and speed.

Introduction

While 3D reconstruction of human bodies has advanced significantly, animals remain a challenging frontier in computer vision. Dogs, in particular, present unique difficulties due to the staggering morphological diversity between breeds—ranging from Chihuahuas to Great Danes. Existing methods often struggle with data scarcity, as high-quality 3D scans are rare, and optimization bottlenecks that make real-time applications impractical.

Methodology

The authors propose an automatic, end-to-end pipeline consisting of three main pillars: the SMBLD model, an EM-based training loop, and a regression-based architecture.

SMBLD (Skinned Multi-Breed Linear Model)

Building on the SMAL model, SMBLD introduces new scale parameters ($\kappa$) that allow for independent scaling of subparts like legs, ears, and tails. This flexibility enables a single parametric model to represent the vastly different proportions of various dog breeds.

The EM Training Loop

The paper's primary contribution is the use of Expectation Maximization (EM) to iteratively update a Mixture of Gaussians (MoG) shape prior during training. Instead of relying on a static prior from limited 3D scans, the network predicts shapes that are grouped into clusters (e.g., "stocky" vs. "long-legged") based on 2D evidence from keypoints and silhouettes. This allows the model to learn 3D breed diversity directly from 2D image data.

The proposed end-to-end architecture featuring the EM training loop and Mixture Shape Prior.

Architecture

A ResNet-50 backbone acts as an encoder, feeding into independent prediction heads that regress pose, shape, scale, and camera parameters. A differentiable renderer calculates a silhouette loss, enabling the model to learn 3D geometry from 2D outlines.

Results and Evaluation

To evaluate the model, the authors introduced StanfordExtra, a large-scale benchmark containing over 20,000 images with 2D joint locations and silhouette masks.

Performance and Speed

The method achieved a 74.2% Intersection-over-Union (IoU) for silhouettes and a 78.8% Percentage of Correct Keypoints (PCK), significantly outperforming previous optimization-based methods. Because it uses direct regression, the model is orders of magnitude faster at test time than iterative energy minimization approaches.

Qualitative results showing 3D reconstructions across various dog breeds and poses.

Discussion and Insights

A key finding of this work is that 2D image data is sufficient to build robust 3D priors when combined with a smart clustering mechanism like the EM loop. The multi-modal nature of the Mixture of Gaussians prior is essential; a single "average dog" prior fails to capture the necessary detail for specific breeds. Furthermore, explicit limb scaling proved to be the "secret sauce" for handling extreme proportions.

Limitations

Despite its success, the model has limitations in ear articulation, as it currently uses only one joint per ear. It also faces challenges with extreme occlusions, motion blur, and multi-dog scenes. Future work may involve incorporating temporal constraints from video data to improve shape consistency.

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