                            Learning Mixtures of Experts with EM: A Mirror Descent Perspective



Thus we have recovered the decomposition,

                                                                                    

                                                          

                                                           *          +             

                                                                                     

                                                          

                                                            zx                  

                                                                     w

                                                                                     

                                      p(x, y, z; θ) = exp      2   ,     + a(x, y, θ) ,                                    (41)

                                                          

                                                             yzx    β               

                                                                                     

                                                          

                                                           | {z }                   

                                                                                     

                                                              S(x,y,z)





where in a(x, y, θ), the feature variable x cannot be linearly separated from the parameter θ:



                                      x⊤ w (x⊤ β)2            ⊤

                                                                              y2  1

                    a(x, y, θ) =          −        − log 1 + ex w + log p(x) −    − log(2π).

                                       2      2                                2   2

At this point, we pause and discuss the implications of the obtained form. First we recall that for a random variable U to

belong to an exponential family, it must satisfy



                                              p(u; θ) = h(u) exp {⟨s(u), θ⟩ − A(θ)}



for some h(·), s(·), θ, A(·) that are called the normalization function, sufficient statistics, natural parameters, and log-

partition function respectively. To clarify, we note that 1) A(θ) must be a function of the parameters only and cannot depend

on u and 2) h(u) must be a function of the variable u only and cannot depend on the parameters. In other words, it must

be that h(u) and A(θ) are linearly separated inside the exp. With the above in mind, we see that SymMoLinE is not an

exponential family. Further, we remark that the above formulation showing S(x, y, z) is linear with (w, β)⊤ does not

extend beyond the symmetric setting of the Mixture of Linear Experts; for k ≥ 3, this relationships becomes non-linear.

This turns out to be problematic for showing EM is equivalent to MD for k ≥ 3. Lastly, note that taking the expectation of

a(x, y, θ) over (x, y) ∼ p(x, y; θ ∗ ) yields,

                                                              ⊤ 2                       

                                                              (x β)          

                                                                                    x⊤ w

                               EX,Y [a(x, y, θ)] = −EX                + log 1 + e            −C

                                                                 2

                                                    = −A(θ) − C,

                                          ⊤                                            2

where the above follows from EX [ x 2w ] = 0 and C := −EX,Y [log p(x) − y2 − 12 log(2π)] is not a function of the

parameter θ. With the obtained form (41), we now continue with the proof.

Part a): Show EM is MD, i.e., argminθ∈Ω Q(θ|θ t ) = argminθ∈Ω ⟨∇L(θ), θ − θ t ⟩ + DA (θ, θ t ).





Taking the appropriate expectation, the EM objective Q can be written as



                          Q(θ|θ t ) = −EX,Y EZ|x,y;θt [log p(x, y, z; θ)]

                                                                        

                                                                                   

                                    = −EX,Y EZ|x,y;θt [⟨S(x, y, z), θ⟩ + a(x, y, θ)]

                                                                                          

                                    = −EX,Y [a(x, y, θ)] − EX,Y EZ|x,y;θt [⟨S(x, y, z), θ⟩]

                                        = A(θ) − s(θ t ), θ + C



where s(θ t ) := EX,Y EZ|x,y;θt [S(x, y, z)]. As a consequence, it is also true that



                                                 ∇Q(θ t |θ t ) = ∇A(θ t ) − s(θ t ).                                       (42)



Continuing, we use the above to simplify the expression for Q(θ|θ t ) − Q(θ t |θ t ) that will subsequently give us the MD loss:



          Q(θ|θ t ) − Q(θ t |θ t ) = A(θ) − s(θ t ), θ − A(θ t ) + s(θ t ), θ t

                                = − s(θ t ), θ − θ t + ⟨∇A(θ t ), θ − θ t ⟩ − ⟨∇A(θ t ), θ − θ t ⟩ + A(θ) − A(θ t )

                                 i)

                                = ∇Q(θ t |θ t ), θ − θ t + DA (θ, θ t )

                                ii)

                                = ∇L(θ t ), θ − θ t + DA (θ, θ t )



                                                                 19

