                            Learning Mixtures of Experts with EM: A Mirror Descent Perspective



ture of Logistic Experts (where each expert is a logistic            particularly regarding the convergence of EM iterates to

regressor). The router in each case is a linear softmax.             the true model parameters and the rate of this convergence.

                                                                     An adopted framework in the past decade, introduced by

Main Contributions: The primary finding of this paper is

                                                                     Balakrishnan et al. (2017), interprets EM as a variant of the

to unveil the correspondence between EM for general MoE

                                                                     gradient descent algorithm. For latent variable models with

to projected Mirror Descent. A similar correspondence was

                                                                     a strongly convex EM objective that satisfies a condition

first discovered by Kunstner et al. (2021), but was limited

                                                                     known as “first-order stability,” it was shown that EM iter-

to generative models for which the joint complete data dis-

                                                                     ates converge linearly to the true parameters. Subsequent

tribution belongs to an exponential family of distributions;

                                                                     works utilized this framework to show a local linear rate for

this did not include MoE. As such, our contributions can

                                                                     Mixtures of Gaussians and Mixtures of Linear Regressions

be seen as a generalization of (Kunstner et al., 2021) to all

                                                                     (Balakrishnan et al., 2017; Daskalakis et al., 2017; Dwivedi

generative models for which the conditional distribution of

                                                                     et al., 2018; Kwon et al., 2019; Kwon & Caramanis, 2020b;

the target and latent variables conditioned on the feature

                                                                     Kwon et al., 2021; Kwon & Caramanis, 2020a).

variable belongs to an exponential family of distributions.

We next state the details of our contributions.                      In a recent work, Kunstner et al. (2021) proved that EM –

                                                                     where the complete data distribution belongs in an exponen-

 1) In Theorem 4.1, we show that when EM is applied to               tial family – is equivalent to the mirror descent algorithm

    general MoE, the iterates are equivalent to the ones gen-        with unit step-size and Kullback–Leibler (KL) divergence

    erated by projected Mirror Descent on the conditional            regularizer:

    likelihood function with unit step-size and KL diver-                                                            

    gence. Here, the projection is an expectation moment                                                       p(x; θ)

                                                                         KL [p(x; θ)||p(x, ϕ)] = EX|θ log                 . (1)

    projection over the parameter space. By leveraging this                                                    p(x; ϕ)

    correspondence, in Theorem 4.2, we obtain sufficient

    conditions for which EM applied to general MoE con-              This led to the first non-asymptotic convergence rates for

    verges to a stationary point or the true parameters. We          EM, independent of parameterization. While this charac-

    further characterize the explicit convergence rate for           terization of EM included Mixtures of Gaussians, it failed

    each of the considered settings.                                 to extend to Mixtures of Regression or MoE. Still, the au-

                                                                     thors analyzed the setting where the distribution of the latent

 2) Next, in Theorem 5.1, we narrow in on the special cases

                                                                     variable conditioned on all other variables is an exponen-

    of mixtures of 2 linear or logistic experts and show EM

                                                                     tial family distribution for which they showed EM con-

    is equivalent to Mirror Descent with unit step-size and

                                                                     verged sub-linearly to a stationary point. Our work extends

    KL divergence, without requiring any extra projec-

                                                                     these findings to MoE, obtaining sufficient conditions under

    tion. This perspective allows us to recover classic MD

                                                                     which EM converges sub-linearly and linearly to the true

    convergence results which we contextualize for our

                                                                     parameters.

    setting in Corollary B.1. Finally, we characterize the

    sufficient conditions for convergence in terms of the            There have also been works attempting to explore and un-

    Missing Information Matrix (MIM) in Theorem B.2                  derstand how to fit MoE. The foundational paper (Jordan

    and, subsequently, the signal-to-noise ratio (SNR) of            & Jacobs, 1994) was the first to empirically use EM and

    the generative model in Theorem B.4.                             EM-variants to fit MoE, yielding encouraging results. Then,

 3) Finally, on synthetic and small scale proof of concept           the follow-up paper by Jordan & Xu (1995) showed that for

    real world datasets, we observe that EM outperforms              MoE and Hierarchical MoE with strongly convex negative

    gradient descent both in terms of convergence rate               log-likelihood objective, EM and EM-like iterations con-

    and the achieved performance. As well as supporting              verge linearly to the true parameters where the rate constant

    our theoretical results, this re-iterates the power of the       depends on the eigenvalues of the Hessian matrix. How-

    EM algorithm for fitting MoE previously suggested by             ever, the objective is generally non convex, raising doubts

    (Jordan & Jacobs, 1994; Jordan & Xu, 1995).                      about whether the necessary assumptions for their result

                                                                     hold, even locally. Other works have remarked that the na-

                                                                     ture of the gating function creates a form of competition

1.1. Related Work

                                                                     between the experts during training that can lead to local

The EM algorithm (Dempster et al., 1977) is a powerful tool          minima. Bayesian methods for MoE include variational

for fitting latent variable models. Previous research on EM          learning and maximum aposteriori (MAP) estimation. But,

has demonstrated that, under mild smoothness assumptions,            Yuksel et al. (2012) noted that these solutions are not triv-

its parameter iterates converge to a stationary point of the         ial due to the softmax gate not admitting a conjugate prior

log-likelihood objective (Dempster et al., 1977; Wu, 1983;           and are prone to getting stuck at local minima. Makkuva

Tseng, 2004). Subsequent research on EM introduced new               et al. (2019) analyzed a variant of the EM algorithm for

analytical frameworks to provide specialized guarantees,             MoE which consists in 1) first recovering the expert param-



                                                                 2

