                             Learning Mixtures of Experts with EM: A Mirror Descent Perspective



Finally, in both cases, the map A(θ) is strictly convex in θ

and L(θ) is 1-smooth relative to A(θ).



As shown in the proof of the result, it is evident from (41)

and (45) that p(x, y, z; θ) does not belong to an exponen-

tial family of distributions for either SymMoLinE or Sym-

MoLogE. Therefore, this result does not simply follow as

a corollary of (Kunstner et al., 2021, Proposition 1), but

stands as an independent finding, introducing another class                            (a)                                (b)

of latent variable models where EM is equivalent to MD. A

                                                                       Figure 1. Convergence of objective errors L(θ t ) − L(θ ∗ ) and

couple of follow-up remarks are in order.

                                                                       L(θ t ) − L(θ T ) in Fig 1a and Fig 1b, respectively, averaged over

First, as the loss is 1-smooth relative to A, this validates the       50 instances when fitting a SymMoLinE.

choice of η = 1 for the Mirror Descent update, and subse-

quent convergence results from the MD literature. Specifi-

cally, in Corollary B.1 of Appendix B.4, we contextualize

convergence results from (Lu et al., 2018; Kunstner et al.,

2021) for SymMoLinE and SymMoLogE that feature 1) a

guaranteed sub-linear rate of convergence to a stationary

point at no additional assumption, 2) a sub-linear rate of con-

vergence to the true parameter if initialized within a convex

region of the loss-function that includes the true parameters,

and 3) a linear rate of convergence to the true parameter

if initialized within a region of the loss function that con-                          (a)                                (b)

tains the true parameters and is strongly-convex relative to           Figure 2. This figure shows the progress made towards the true

the mirror map. Then, in Theorem B.2 of Appendix B.5,                                 t   ∗           t   ∗

                                                                       parameters, ∥β∥β−β

                                                                                        ∗∥

                                                                                            ∥2

                                                                                               and ∥w∥w−w

                                                                                                        ∗∥

                                                                                                            ∥2

                                                                                                               in figures 2a and 2b respec-

we further characterize the assumptions required for linear                               2               2

                                                                       tively, averaged over 50 instances when fitting a SymMoLinE

convergence by relating the relative strong convexity of the

objective to the eigenvalues of the MIM. Lastly, in Theo-

rem B.4 of Appendix B.6, we characterize the existence of              Synthetic Dataset. We created the synthetic dataset so

the local region of convergence as a function of the SNR               as to simulate a population setting of SymMoLinE. We

of the generative model for the cases of SymMoLinE and                 sampled 103 data points from an SymMoLinE with known

SymMoLogE. We then conclude in Appendix B.7 with a                     additive unit Gaussian noise (i.e. N (0, 1)) and true param-

discussion of the implications of the results.                         eters β ∗ , w∗ ∈ R10 that sastisfy ∥β ∗ ∥2 = ∥w∗ ∥2 = 4.

                                                                       Subsequently, we run full-batch EM, Gradient EM, and GD

6. Experiments                                                         for 50 iterations and report the results on the training set

                                                                       averaged over 50 instances. Each time, re-sampling the

In this section, we empirically validate our theoretical re-           true parameters, initial parameters, and whole dataset. The

sults by comparing the performance of EM with Gradient                 initial parameters, are randomly initialize within a neighbor-

EM (Algorithm 2), and Gradient Descent (GD, Algorithm                  hood of the true parameters, and are consistent across all

3). Recall that EM for MoE obtains its next parameter iter-            benchmarks.

ate as the concatenation to the solutions of two minimization

                                                                       Figure 1 shows the objective function progress. EM requires

problems. Instead, Gradient EM obtains its next parameter

                                                                       fewer iterations to fit the mixture compared to both Gradient

iterate as the concatenation of a single gradient update on

                                                                       EM and GD, with Gradient EM also outperforming GD

the respective sub-minimization problems of EM. This dif-

                                                                       in fitting time. Figure 2 illustrates the progress toward

fers from GD that obtains its next parameter iterate as the

                                                                       recovering the true SymMoLinE parameters. Once again,

gradient update on the negative log-likelihood objective θ.

                                                                       EM requires significantly fewer iterations to fit the mixture

We evaluate these methods on both a synthetic dataset and

                                                                       compared to both Gradient EM and GD, with Gradient EM

the real-world Fashion MNIST dataset, consistently report-

                                                                       also taking considerably less time than GD.

ing significant improvements for EM and Gradient EM over

GD. We also provide mini-batch CIFAR-10 experiments                    Overall, we observe that all three algorithms exhibit a linear

with more than 2-experts in Appendix C.1. Note that our                convergence rate, both in optimizing the objective function

aim is not to achieve state-of-the-art accuracy, but to reiter-        and fitting the true parameters. This aligns with our theo-

ate that EM can be more suitable than GD for fitting specific          retical results for MoE and is consistent with findings for

models.                                                                Mixtures of Gaussians and Mixtures of Linear Regression



                                                                   8

