Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Model Optimal Transport

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Boïté, Samuel, Tanguy, Eloi, Delon, Julie, Desolneux, Agnès, Flamary, Rémi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912614659915776
author Boïté, Samuel
Tanguy, Eloi
Delon, Julie
Desolneux, Agnès
Flamary, Rémi
author_facet Boïté, Samuel
Tanguy, Eloi
Delon, Julie
Desolneux, Agnès
Flamary, Rémi
contents The Expectation-Maximisation (EM) algorithm is a central tool in statistics and machine learning, widely used for latent-variable models such as Gaussian Mixture Models (GMMs). Despite its ubiquity, EM is typically treated as a non-differentiable black box, preventing its integration into modern learning pipelines where end-to-end gradient propagation is essential. In this work, we present and compare several differentiation strategies for EM, from full automatic differentiation to approximate methods, assessing their accuracy and computational efficiency. As a key application, we leverage this differentiable EM in the computation of the Mixture Wasserstein distance $\mathrm{MW}_2$ between GMMs, allowing $\mathrm{MW}_2$ to be used as a differentiable loss in imaging and machine learning tasks. To complement our practical use of $\mathrm{MW}_2$, we contribute a novel stability result which provides theoretical justification for the use of $\mathrm{MW}_2$ with EM, and also introduce a novel unbalanced variant of $\mathrm{MW}_2$. Numerical experiments on barycentre computation, colour and style transfer, image generation, and texture synthesis illustrate the versatility of the proposed approach in different settings.
format Preprint
id arxiv_https___arxiv_org_abs_2509_02109
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Model Optimal Transport
Boïté, Samuel
Tanguy, Eloi
Delon, Julie
Desolneux, Agnès
Flamary, Rémi
Machine Learning
Probability
The Expectation-Maximisation (EM) algorithm is a central tool in statistics and machine learning, widely used for latent-variable models such as Gaussian Mixture Models (GMMs). Despite its ubiquity, EM is typically treated as a non-differentiable black box, preventing its integration into modern learning pipelines where end-to-end gradient propagation is essential. In this work, we present and compare several differentiation strategies for EM, from full automatic differentiation to approximate methods, assessing their accuracy and computational efficiency. As a key application, we leverage this differentiable EM in the computation of the Mixture Wasserstein distance $\mathrm{MW}_2$ between GMMs, allowing $\mathrm{MW}_2$ to be used as a differentiable loss in imaging and machine learning tasks. To complement our practical use of $\mathrm{MW}_2$, we contribute a novel stability result which provides theoretical justification for the use of $\mathrm{MW}_2$ with EM, and also introduce a novel unbalanced variant of $\mathrm{MW}_2$. Numerical experiments on barycentre computation, colour and style transfer, image generation, and texture synthesis illustrate the versatility of the proposed approach in different settings.
title Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Model Optimal Transport
topic Machine Learning
Probability
url https://arxiv.org/abs/2509.02109