The Multivariate Generalised von Mises: Inference and applications

Alexandre K. W. Navarro, Jes Frellsen, Richard E. Turner

Abstract

Circular variables arise in a multitude of data-modelling contexts ranging from robotics to the social sciences, but they have been largely overlooked by the machine learning community. This paper partially redresses this imbalance by extending some standard probabilistic modelling tools to the circular domain. First we introduce a new multivariate distribution over circular variables, called the multivariate Generalised von Mises (mGvM) distribution. This distribution can be constructed by restricting and renormalising a general multivariate Gaussian distribution to the unit hyper-torus. Previously proposed multivariate circular distributions are shown to be special cases of this construction. Second, we introduce a new probabilistic model for circular regression, that is inspired by Gaussian Processes, and a method for probabilistic principal component analysis with circular hidden variables. These models can leverage standard modelling tools (e.g. covariance functions and methods for automatic relevance determination). Third, we show that the posterior distribution in these models is a mGvM distribution which enables development of an efficient variational free-energy scheme for performing approximate inference and approximate maximum-likelihood learning.

Introduction

In fields ranging from robotics to molecular biology, data often appears as angles or phases. These circular variables, where $0$ and $2\pi$ are equivalent, present unique challenges for standard machine learning tools designed for Euclidean space. Naive approaches that treat angles as real numbers fail to account for the periodic boundary, while vector-based representations (e.g., $[\cos(\phi), \sin(\phi)]$) often place probability mass outside the circular manifold, leading to uncalibrated uncertainty and poor predictive performance.

Existing circular statistics, such as the von Mises distribution, often lack the flexibility required for complex multivariate modeling or high-dimensional scaling. This work introduces the Multivariate Generalised von Mises (mGvM) distribution, a framework that brings the power of Gaussian modeling to the hyper-torus.

The Multivariate Generalised von Mises Distribution

The mGvM distribution is constructed by restricting a high-dimensional Gaussian distribution to a unit hyper-torus and renormalizing. This "intrinsic" construction allows the mGvM to inherit the elegant properties of Gaussians while strictly respecting circular topology.

Flexibility of the mGvM distribution in capturing various joint circular dependencies between two angles.

Unlike previous circular distributions, the mGvM can represent multimodal and asymmetric data. As shown in the figure above, the distribution can capture complex correlations between circular variables $\phi_1$ and $\phi_2$, ranging from simple unimodal peaks to more intricate, elongated structures.

Applications in Machine Learning

The authors leverage the mGvM to extend standard ML techniques to circular domains:

Circular Gaussian Process Regression

By using the mGvM as a prior, the authors develop a circular version of Gaussian Process (GP) regression. This model performs regression where the outputs are angles, maintaining tractability because the mGvM is conjugate to certain likelihoods, ensuring the posterior remains an mGvM.

Circular Gaussian Process regression using the mGvM distribution, showing its ability to handle periodic outputs and multimodal uncertainty.

Circular Principal Component Analysis (cPCA)

The framework also enables a version of PCA where latent variables are angles. This is particularly useful for modeling systems defined by rotations, such as articulated robot arms or human joint movements. Geometrically, while standard PCA describes data in flat planes, cPCA describes data in terms of hidden tori.

Inference and Performance

A key challenge with the mGvM is the lack of a simple normalizing constant. To address this, the authors developed an efficient Variational Inference (VI) scheme. This approach proved to be approximately 150x faster than traditional Gibbs sampling (0.02s vs 3.1s) without sacrificing accuracy.

The models were evaluated on diverse datasets, including NYC ride requests (Uber), tide level predictions, protein side-chain angles, and motion capture data. In regression tasks, the mGvM-based GP significantly outperformed both naive 1D-GPs and vector-based 2D-GPs in log-likelihood scores. In denoising experiments with robot arms, cPCA achieved higher Signal-to-Noise Ratios (SNR) than standard PCA or GP-LVM, especially when angular data was widely distributed.

Conclusion and Future Work

The mGvM distribution provides a robust foundation for circular machine learning. While powerful, some limitations remain, such as numerical instability at very high concentrations and the fact that mGvM distributions are not closed under marginalization. Future work will focus on improving approximate inference for doubly-intractable models and exploring further applications in high-dimensional circular data.

Summary updated

BibTeX
@inproceedings{navarro2017multivariate,
  author = {Alexandre K. W. Navarro and Jes Frellsen and Richard E. Turner},
  title = {{The Multivariate Generalised von Mises: Inference and applications}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10943},
}
Figure