An Expectation Maximization Algorithm for Inferring Offset-Normal Shape Distributions

Max WellingAISTATS 2005

Abstract

Statistical shape analysis requires models that are invariant to translation, scale, and rotation. The offset-normal distribution provides a rigorous framework for such analysis by assuming landmarks in figure space are normally distributed. However, estimating full covariance matrices in shape space has historically been challenging due to mathematical singularities. This paper introduces an Expectation-Maximization (EM) algorithm that treats pose as a latent variable, enabling stable and efficient parameter estimation. The method is extended to mixture models and incomplete data, demonstrating high accuracy across various biological and synthetic datasets.

Introduction

In fields such as medical imaging and evolutionary biology, analyzing the "shape" of objects—defined as the geometric information remaining after removing location, scale, and orientation—is critical. The offset-normal distribution is a powerful statistical model for this purpose. While previous research struggled to estimate the full covariance matrix of these distributions, this work provides a clean, efficient algorithm to learn complex shape patterns directly from landmark data.

Methodology

The core of the proposed approach is the application of the Expectation-Maximization (EM) algorithm. By treating the "pose" of baseline landmarks as a hidden variable ($h$), the complex integration required for shape space density becomes manageable.

The EM Framework

  • E-Step: The algorithm calculates the expected position and variance of the hidden baseline landmarks. This is achieved analytically using binomial expansions and Hermite polynomials, avoiding the need for computationally expensive numerical integration.
  • M-Step: The mean vector and full covariance matrix are updated using closed-form rules, ensuring computational efficiency. While efficient, the algorithm requires a Singular Value Decomposition (SVD) for each data point per iteration, which may impact scaling for extremely large datasets.

Extensions

The framework naturally extends to Mixtures of Offset-Normals, allowing for the representation of heterogeneous datasets containing multiple distinct sub-shapes (e.g., different species). Furthermore, by treating missing landmarks as additional latent variables, the algorithm robustly handles occlusions and incomplete data.

Results and Discussion

The algorithm was validated on several classic morphometric datasets, including fossil foraminifera (Brizalina, Globorotalia), mouse vertebrae, and gorilla skulls.

Performance and Stability

The EM approach typically converges in fewer than 20 iterations and demonstrates remarkable stability. Unlike prior methods, it successfully estimates full covariance matrices even for complex data distributions. Qualitative results show that the estimated densities provide an excellent approximation of the underlying landmark clusters in shape space.

Figure 1: Data and estimated DM density in shape space across various test scenarios, demonstrating the model's ability to fit complex clusters.

Qualitative Fit

Visualizations of the estimated densities (contour plots) confirm the model's accuracy. As shown in the figures, the algorithm effectively captures the variance and orientation of landmark clusters, even when they are closely packed or exhibit distinct sub-structures. This robustness is particularly evident in the mixture model applications.

Figure 3: Further examples of density estimation and clustering in shape space, highlighting the robustness of the mixture model approach.

Conclusion

This paper presents the first reliable EM-based method for inferring full-covariance offset-normal shape distributions. By framing pose as latent information, the model achieves robustness to noise and missing data. Future work will explore extending this framework to achieve affine invariance, further broadening its applicability in computer vision and morphometrics.

Summary updated

BibTeX
@inproceedings{welling2005expectation,
  author = {Max Welling},
  title = {{An Expectation Maximization Algorithm for Inferring Offset-Normal Shape Distributions}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2005},
}
Figure