                            Learning Mixtures of Experts with EM: A Mirror Descent Perspective



C. Additional Experiments

C.1. Experiment on Grayscale CIFAR-10

In this section, we consider an additional mini-batch experiment on grayscale CIFAR-10 with a 5-component MoE. The

MoE to be trained consists of individual experts that each consist of a single hidden layer MLP with hidden dimension

100 and ReLU activation. The gating function also consists of a single hidden layer MLP with hidden dimension 100 and

ReLU activation. We randomly initialize each linear layer to have rows that are unit-norm and execute the algorithms on the

same datasets and with the same initializations. For Gradient EM, the only additional code needed over GD is to define the

EM Loss function appropriately, and then perform a Gradient Step on the Gating parameters and the Expert parameters

separately as describe in Algorithm 2. For EM, for each iteration, we perform several gradient steps in an inner loop to

approximately recover the solutions to the sub-problems described in (9). We report our findings for the mini-batch iteration

of the respective algorithms in Figure 4.

We report the respective final test accuracy and cross-entropy loss values after 50 epochs of EM, Gradient EM and GD

for fitting a 5-component MoE on the CIFAR-10. We see that EM boasts a much improved final test accuracy of 41.6%.

Meanwhile, Gradient EM also registers an improvement over GD at 37.4%. Finally, GD obtained a final accuracy of 34.5%.

While these accuracies are themselves not good, the challenge was to find an optimal partitioning of the data and utilize very

weak experts. In Figure 4, we report the progress made on the accuracy for the test set over the 50 epochs, averaged over

25 instances. As was observed in our synthetic experiment and Fashion MNIST experiments, EM takes considerably less

iterations to fit the mixture than both Gradient EM and GD, where the former also takes considerably less time to fit the

mixture than GD. To validate our results further, we perform a paired t-test. For EM and Gradient EM compared to GD, we

obtain a T-statistic ≥ 22 indicating that the difference in final accuracy is statistically significant (p-value ∼ 0.000).









                      Figure 4. Convergence in predicted label Accuracy for different optimization methods.









                                                               34

