Expectation–maximization algorithm explained

In statistics, an expectation–maximization (EM) algorithm is an iterative method to find (local) maximum likelihood or maximum a posteriori (MAP) estimates of parameters in statistical models, where the model depends on unobserved latent variables.[1] The EM iteration alternates between performing an expectation (E) step, which creates a function for the expectation of the log-likelihood evaluated using the current estimate for the parameters, and a maximization (M) step, which computes parameters maximizing the expected log-likelihood found on the E step. These parameter-estimates are then used to determine the distribution of the latent variables in the next E step. It can be used, for example, to estimate a mixture of gaussians, or to solve the multiple linear regression problem.[2]

History

The EM algorithm was explained and given its name in a classic 1977 paper by Arthur Dempster, Nan Laird, and Donald Rubin.[3] They pointed out that the method had been "proposed many times in special circumstances" by earlier authors. One of the earliest is the gene-counting method for estimating allele frequencies by Cedric Smith.[4] Another was proposed by H.O. Hartley in 1958, and Hartley and Hocking in 1977, from which many of the ideas in the Dempster–Laird–Rubin paper originated.[5] Another one by S.K Ng, Thriyambakam Krishnan and G.J McLachlan in 1977. Hartley’s ideas can be broadened to any grouped discrete distribution. A very detailed treatment of the EM method for exponential families was published by Rolf Sundberg in his thesis and several papers,[6] [7] [8] following his collaboration with Per Martin-Löf and Anders Martin-Löf.[9] [10] [11] [12] [13] The Dempster–Laird–Rubin paper in 1977 generalized the method and sketched a convergence analysis for a wider class of problems. The Dempster–Laird–Rubin paper established the EM method as an important tool of statistical analysis. See also Meng and van Dyk (1997).

The convergence analysis of the Dempster–Laird–Rubin algorithm was flawed and a correct convergence analysis was published by C. F. Jeff Wu in 1983.[14] Wu's proof established the EM method's convergence also outside of the exponential family, as claimed by Dempster–Laird–Rubin.

Introduction

The EM algorithm is used to find (local) maximum likelihood parameters of a statistical model in cases where the equations cannot be solved directly. Typically these models involve latent variables in addition to unknown parameters and known data observations. That is, either missing values exist among the data, or the model can be formulated more simply by assuming the existence of further unobserved data points. For example, a mixture model can be described more simply by assuming that each observed data point has a corresponding unobserved data point, or latent variable, specifying the mixture component to which each data point belongs.

Finding a maximum likelihood solution typically requires taking the derivatives of the likelihood function with respect to all the unknown values, the parameters and the latent variables, and simultaneously solving the resulting equations. In statistical models with latent variables, this is usually impossible. Instead, the result is typically a set of interlocking equations in which the solution to the parameters requires the values of the latent variables and vice versa, but substituting one set of equations into the other produces an unsolvable equation.

The EM algorithm proceeds from the observation that there is a way to solve these two sets of equations numerically. One can simply pick arbitrary values for one of the two sets of unknowns, use them to estimate the second set, then use these new values to find a better estimate of the first set, and then keep alternating between the two until the resulting values both converge to fixed points. It's not obvious that this will work, but it can be proven in this context. Additionally, it can be proven that the derivative of the likelihood is (arbitrarily close to) zero at that point, which in turn means that the point is either a local maximum or a saddle point. In general, multiple maxima may occur, with no guarantee that the global maximum will be found. Some likelihoods also have singularities in them, i.e., nonsensical maxima. For example, one of the solutions that may be found by EM in a mixture model involves setting one of the components to have zero variance and the mean parameter for the same component to be equal to one of the data points.

Description

The symbols

Given the statistical model which generates a set

X

of observed data, a set of unobserved latent data or missing values

Z

, and a vector of unknown parameters

\boldsymbol\theta

, along with a likelihood function

L(\boldsymbol\theta;X,Z)=p(X,Z\mid\boldsymbol\theta)

, the maximum likelihood estimate (MLE) of the unknown parameters is determined by maximizing the marginal likelihood of the observed data

L(\boldsymbol\theta;X)=p(X\mid\boldsymbol\theta)=\intp(X,Z\mid\boldsymbol\theta)dZ=\intp(X\midZ,\boldsymbol\theta)p(Z\mid\boldsymbol\theta)dZ

However, this quantity is often intractable since

Z

is unobserved and the distribution of

Z

is unknown before attaining

\boldsymbol\theta

.

The EM algorithm

The EM algorithm seeks to find the maximum likelihood estimate of the marginal likelihood by iteratively applying these two steps:

Expectation step (E step): Define

Q(\boldsymbol\theta\mid\boldsymbol\theta(t))

as the expected value of the log likelihood function of

\boldsymbol\theta

, with respect to the current conditional distribution of

Z

given

X

and the current estimates of the parameters

\boldsymbol\theta(t)

:

Q(\boldsymbol\theta\mid\boldsymbol\theta(t))=

\operatorname{E}
Z\simp(|X,\boldsymbol\theta(t))

\left[logp(X,Z|\boldsymbol\theta)\right]

Maximization step (M step): Find the parameters that maximize this quantity:

\boldsymbol\theta(t+1)=\underset{\boldsymbol\theta}{\operatorname{argmax}}Q(\boldsymbol\theta\mid\boldsymbol\theta(t))

More succinctly, we can write it as one equation:\boldsymbol\theta^ = \underset \operatorname_\left[\log p (\mathbf{X},\mathbf{Z} | \boldsymbol\theta) \right] \,

Interpretation of the variables

The typical models to which EM is applied use

Z

as a latent variable indicating membership in one of a set of groups:
  1. The observed data points

X

may be discrete (taking values in a finite or countably infinite set) or continuous (taking values in an uncountably infinite set). Associated with each data point may be a vector of observations.
  1. The missing values (aka latent variables)

Z

are discrete, drawn from a fixed number of values, and with one latent variable per observed unit.
  1. The parameters are continuous, and are of two kinds: Parameters that are associated with all data points, and those associated with a specific value of a latent variable (i.e., associated with all data points whose corresponding latent variable has that value).

However, it is possible to apply EM to other sorts of models.

The motivation is as follows. If the value of the parameters

\boldsymbol\theta

is known, usually the value of the latent variables

Z

can be found by maximizing the log-likelihood over all possible values of

Z

, either simply by iterating over

Z

or through an algorithm such as the Viterbi algorithm for hidden Markov models. Conversely, if we know the value of the latent variables

Z

, we can find an estimate of the parameters

\boldsymbol\theta

fairly easily, typically by simply grouping the observed data points according to the value of the associated latent variable and averaging the values, or some function of the values, of the points in each group. This suggests an iterative algorithm, in the case where both

\boldsymbol\theta

and

Z

are unknown:
  1. First, initialize the parameters

\boldsymbol\theta

to some random values.
  1. Compute the probability of each possible value of

Z

, given

\boldsymbol\theta

.
  1. Then, use the just-computed values of

Z

to compute a better estimate for the parameters

\boldsymbol\theta

.
  1. Iterate steps 2 and 3 until convergence.

The algorithm as just described monotonically approaches a local minimum of the cost function.

Properties

Although an EM iteration does increase the observed data (i.e., marginal) likelihood function, no guarantee exists that the sequence converges to a maximum likelihood estimator. For multimodal distributions, this means that an EM algorithm may converge to a local maximum of the observed data likelihood function, depending on starting values. A variety of heuristic or metaheuristic approaches exist to escape a local maximum, such as random-restart hill climbing (starting with several different random initial estimates

\boldsymbol\theta(t)

), or applying simulated annealing methods.

EM is especially useful when the likelihood is an exponential family, see Sundberg (2019, Ch. 8) for a comprehensive treatment:[15] the E step becomes the sum of expectations of sufficient statistics, and the M step involves maximizing a linear function. In such a case, it is usually possible to derive closed-form expression updates for each step, using the Sundberg formula[16] (proved and published by Rolf Sundberg, based on unpublished results of Per Martin-Löf and Anders Martin-Löf).[7] [8] [10] [11] [12] [13]

The EM method was modified to compute maximum a posteriori (MAP) estimates for Bayesian inference in the original paper by Dempster, Laird, and Rubin.

Other methods exist to find maximum likelihood estimates, such as gradient descent, conjugate gradient, or variants of the Gauss–Newton algorithm. Unlike EM, such methods typically require the evaluation of first and/or second derivatives of the likelihood function.

Proof of correctness

Expectation-Maximization works to improve

Q(\boldsymbol\theta\mid\boldsymbol\theta(t))

rather than directly improving

logp(X\mid\boldsymbol\theta)

. Here it is shown that improvements to the former imply improvements to the latter.[17]

For any

Z

with non-zero probability

p(Z\midX,\boldsymbol\theta)

, we can write

logp(X\mid\boldsymbol\theta)=logp(X,Z\mid\boldsymbol\theta)-logp(Z\midX,\boldsymbol\theta).

We take the expectation over possible values of the unknown data

Z

under the current parameter estimate

\theta(t)

by multiplying both sides by

p(Z\midX,\boldsymbol\theta(t))

and summing (or integrating) over

Z

. The left-hand side is the expectation of a constant, so we get:

\begin{align} logp(X\mid\boldsymbol\theta)& =\sumZp(Z\midX,\boldsymbol\theta(t))logp(X,Z\mid\boldsymbol\theta) -\sumZp(Z\midX,\boldsymbol\theta(t))logp(Z\midX,\boldsymbol\theta)\\ &=Q(\boldsymbol\theta\mid\boldsymbol\theta(t))+H(\boldsymbol\theta\mid\boldsymbol\theta(t)), \end{align}

where

H(\boldsymbol\theta\mid\boldsymbol\theta(t))

is defined by the negated sum it is replacing.This last equation holds for every value of

\boldsymbol\theta

including

\boldsymbol\theta=\boldsymbol\theta(t)

,

logp(X\mid\boldsymbol\theta(t)) =Q(\boldsymbol\theta(t)\mid\boldsymbol\theta(t))+H(\boldsymbol\theta(t)\mid\boldsymbol\theta(t)),

and subtracting this last equation from the previous equation gives

logp(X\mid\boldsymbol\theta)-logp(X\mid\boldsymbol\theta(t)) =Q(\boldsymbol\theta\mid\boldsymbol\theta(t))-Q(\boldsymbol\theta(t)\mid\boldsymbol\theta(t)) +H(\boldsymbol\theta\mid\boldsymbol\theta(t))-H(\boldsymbol\theta(t)\mid\boldsymbol\theta(t)).

However, Gibbs' inequality tells us that

H(\boldsymbol\theta\mid\boldsymbol\theta(t))\geH(\boldsymbol\theta(t)\mid\boldsymbol\theta(t))

, so we can conclude that

logp(X\mid\boldsymbol\theta)-logp(X\mid\boldsymbol\theta(t)) \geQ(\boldsymbol\theta\mid\boldsymbol\theta(t))-Q(\boldsymbol\theta(t)\mid\boldsymbol\theta(t)).

In words, choosing

\boldsymbol\theta

to improve

Q(\boldsymbol\theta\mid\boldsymbol\theta(t))

causes

logp(X\mid\boldsymbol\theta)

to improve at least as much.

As a maximization–maximization procedure

The EM algorithm can be viewed as two alternating maximization steps, that is, as an example of coordinate descent.[18] [19] Consider the function:

F(q,\theta):=\operatorname{E}q[logL(\theta;x,Z)]+H(q),

where q is an arbitrary probability distribution over the unobserved data z and H(q) is the entropy of the distribution q. This function can be written as

F(q,\theta)=-DKL(q\parallelpZ\mid(\midx;\theta))+logL(\theta;x),

where

pZ\mid(\midx;\theta)

is the conditional distribution of the unobserved data given the observed data

x

and

DKL

is the Kullback–Leibler divergence.

Then the steps in the EM algorithm may be viewed as:

Expectation step: Choose

q

to maximize

F

:

q(t)=\operatorname{argmax}qF(q,\theta(t))

Maximization step: Choose

\theta

to maximize

F

:

\theta(t+1)=\operatorname{argmax}\thetaF(q(t),\theta)

Applications

Filtering and smoothing EM algorithms

A Kalman filter is typically used for on-line state estimation and a minimum-variance smoother may be employed for off-line or batch state estimation. However, these minimum-variance solutions require estimates of the state-space model parameters. EM algorithms can be used for solving joint state and parameter estimation problems.

Filtering and smoothing EM algorithms arise by repeating this two-step procedure:

E-step
  • Operate a Kalman filter or a minimum-variance smoother designed with current parameter estimates to obtain updated state estimates.
    M-step
  • Use the filtered or smoothed state estimates within maximum-likelihood calculations to obtain updated parameter estimates.

    Suppose that a Kalman filter or minimum-variance smoother operates on measurements of a single-input-single-output system that possess additive white noise. An updated measurement noise variance estimate can be obtained from the maximum likelihood calculation

    2
    \widehat{\sigma}
    v

    =

    1
    N
    N
    \sum
    k=1

    {(zk-\widehat{x}

    2,
    k)}

    where

    \widehat{x}k

    are scalar output estimates calculated by a filter or a smoother from N scalar measurements

    zk

    . The above update can also be applied to updating a Poisson measurement noise intensity. Similarly, for a first-order auto-regressive process, an updated process noise variance estimate can be calculated by
    2
    \widehat{\sigma}
    w

    =

    1
    N
    N
    \sum
    k=1

    {(\widehat{x}k+1

    2,
    -\widehat{F}\widehat{{x}}
    k)}

    where

    \widehat{x}k

    and

    \widehat{x}k+1

    are scalar state estimates calculated by a filter or a smoother. The updated model coefficient estimate is obtained via

    \widehat{F}=

    N
    \sum{(\widehat{x
    k=1
    k+1

    -\widehat{F}

    N
    \widehat{x}
    k=1
    2}.
    \widehat{x}
    k

    The convergence of parameter estimates such as those above are well studied.[25] [26] [27] [28]

    Variants

    A number of methods have been proposed to accelerate the sometimes slow convergence of the EM algorithm, such as those using conjugate gradient and modified Newton's methods (Newton–Raphson).[29] Also, EM can be used with constrained estimation methods.

    Parameter-expanded expectation maximization (PX-EM) algorithm often provides speed up by "us[ing] a `covariance adjustment' to correct the analysis of the M step, capitalising on extra information captured in the imputed complete data".[30]

    Expectation conditional maximization (ECM) replaces each M step with a sequence of conditional maximization (CM) steps in which each parameter θi is maximized individually, conditionally on the other parameters remaining fixed.[31] Itself can be extended into the Expectation conditional maximization either (ECME) algorithm.[32]

    This idea is further extended in generalized expectation maximization (GEM) algorithm, in which is sought only an increase in the objective function F for both the E step and M step as described in the As a maximization–maximization procedure section.[18] GEM is further developed in a distributed environment and shows promising results.[33]

    It is also possible to consider the EM algorithm as a subclass of the MM (Majorize/Minimize or Minorize/Maximize, depending on context) algorithm,[34] and therefore use any machinery developed in the more general case.

    α-EM algorithm

    The Q-function used in the EM algorithm is based on the log likelihood. Therefore, it is regarded as the log-EM algorithm. The use of the log likelihood can be generalized to that of the α-log likelihood ratio. Then, the α-log likelihood ratio of the observed data can be exactly expressed as equality by using the Q-function of the α-log likelihood ratio and the α-divergence. Obtaining this Q-function is a generalized E step. Its maximization is a generalized M step. This pair is called the α-EM algorithm[35] which contains the log-EM algorithm as its subclass. Thus, the α-EM algorithm by Yasuo Matsuyama is an exact generalization of the log-EM algorithm. No computation of gradient or Hessian matrix is needed. The α-EM shows faster convergence than the log-EM algorithm by choosing an appropriate α. The α-EM algorithm leads to a faster version of the Hidden Markov model estimation algorithm α-HMM.[36]

    Relation to variational Bayes methods

    EM is a partially non-Bayesian, maximum likelihood method. Its final result gives a probability distribution over the latent variables (in the Bayesian style) together with a point estimate for θ (either a maximum likelihood estimate or a posterior mode). A fully Bayesian version of this may be wanted, giving a probability distribution over θ and the latent variables. The Bayesian approach to inference is simply to treat θ as another latent variable. In this paradigm, the distinction between the E and M steps disappears. If using the factorized Q approximation as described above (variational Bayes), solving can iterate over each latent variable (now including θ) and optimize them one at a time. Now, k steps per iteration are needed, where k is the number of latent variables. For graphical models this is easy to do as each variable's new Q depends only on its Markov blanket, so local message passing can be used for efficient inference.

    Geometric interpretation

    In information geometry, the E step and the M step are interpreted as projections under dual affine connections, called the e-connection and the m-connection; the Kullback–Leibler divergence can also be understood in these terms.

    Examples

    Gaussian mixture

    Let

    x=(x1,x2,\ldots,xn)

    be a sample of

    n

    independent observations from a mixture of two multivariate normal distributions of dimension

    d

    , and let

    z=(z1,z2,\ldots,zn)

    be the latent variables that determine the component from which the observation originates.[19]

    Xi\mid(Zi=1)\siml{N}d(\boldsymbol{\mu}1,\Sigma1)

    and

    Xi\mid(Zi=2)\siml{N}d(\boldsymbol{\mu}2,\Sigma2),

    where

    \operatorname{P}(Zi=1)=\tau1

    and

    \operatorname{P}(Zi=2)=\tau2=1-\tau1.

    The aim is to estimate the unknown parameters representing the mixing value between the Gaussians and the means and covariances of each:

    \theta=(\boldsymbol{\tau},\boldsymbol{\mu}1,\boldsymbol{\mu}2,\Sigma1,\Sigma2),

    where the incomplete-data likelihood function is

    L(\theta;x)=

    n
    \prod
    i=1
    2
    \sum
    j=1

    \taujf(xi;\boldsymbol{\mu}j,\Sigmaj),

    and the complete-data likelihood function is

    L(\theta;x,z)=p(x,z\mid\theta)=

    n
    \prod
    i=1
    2
    \prod
    j=1

    [f(xi;\boldsymbol{\mu}j,\Sigmaj)

    I(zi=j)
    \tau
    j]

    ,

    or

    L(\theta;x,z)=\exp\left\{

    n
    \sum
    i=1
    2
    \sum
    j=1

    I(zi=j)[log\tauj-\tfrac{1}{2}log|\Sigmaj|-\tfrac{1}{2}(xi-\boldsymbol{\mu}

    -1
    j

    (xi-\boldsymbol{\mu}j)-\tfrac{d}{2}log(2\pi)]\right\},

    where

    I

    is an indicator function and

    f

    is the probability density function of a multivariate normal.

    In the last equality, for each, one indicator

    I(zi=j)

    is equal to zero, and one indicator is equal to one. The inner sum thus reduces to one term.

    E step

    Given our current estimate of the parameters θ(t), the conditional distribution of the Zi is determined by Bayes theorem to be the proportional height of the normal density weighted by τ:

    (t)
    T
    j,i

    :=\operatorname{P}(Zi=j\midXi=xi;\theta(t))=

    (t)
    \tauf(xi;\boldsymbol{\mu
    j
    j

    (t)

    (t)
    ,\Sigma
    j
    (t)
    )}{\tau
    1

    f(xi;\boldsymbol{\mu}

    (t)
    1
    (t)
    ,\Sigma
    1

    )+

    (t)
    \tau
    2

    f(xi;\boldsymbol{\mu}

    (t)
    2
    (t)
    ,\Sigma
    2

    )}.

    These are called the "membership probabilities", which are normally considered the output of the E step (although this is not the Q function of below).

    This E step corresponds with setting up this function for Q:

    \begin{align}Q(\theta\mid\theta(t)) &=

    \operatorname{E}
    Z\midX=x;\theta(t)

    [logL(\theta;x,Z)]\\ &=

    \operatorname{E}
    Z\midX=x;\theta(t)

    [log

    n
    \prod
    i=1

    L(\theta;xi,Zi)]\\ &=

    \operatorname{E}
    Z\midX=x;\theta(t)
    n
    [\sum
    i=1

    logL(\theta;xi,Zi)]\\ &=

    n\operatorname{E}
    \sum
    ZXi=x
    (t)
    i;\theta
    i\mid

    [logL(\theta;xi,Zi)]\\ &=

    n
    \sum
    i=1
    2
    \sum
    j=1

    P(Zi=j\midXi=xi;\theta(t))logL(\thetaj;xi,j)\\ &=

    n
    \sum
    i=1
    2
    \sum
    j=1
    (t)
    T
    j,i

    [log\tauj-\tfrac{1}{2}log|\Sigmaj|-\tfrac{1}{2}(xi-\boldsymbol{\mu}

    -1
    j

    (xi-\boldsymbol{\mu}j)-\tfrac{d}{2}log(2\pi)]. \end{align}

    The expectation of

    logL(\theta;xi,Zi)

    inside the sum is taken with respect to the probability density function

    P(Zi\midXi=xi;\theta(t))

    , which might be different for each

    xi

    of the training set. Everything in the E step is known before the step is taken except

    Tj,i

    , which is computed according to the equation at the beginning of the E step section.

    This full conditional expectation does not need to be calculated in one step, because τ and μ/Σ appear in separate linear terms and can thus be maximized independently.

    M step

    Q(\theta\mid\theta(t))

    being quadratic in form means that determining the maximizing values of

    \theta

    is relatively straightforward. Also,

    \tau

    ,

    (\boldsymbol{\mu}1,\Sigma1)

    and

    (\boldsymbol{\mu}2,\Sigma2)

    may all be maximized independently since they all appear in separate linear terms.

    To begin, consider

    \tau

    , which has the constraint

    \tau1+\tau2=1

    :

    \begin{align}\boldsymbol{\tau}(t+1)&=\underset{\boldsymbol{\tau}}{\operatorname{argmax}}Q(\theta\mid\theta(t))\\ &=\underset{\boldsymbol{\tau}}{\operatorname{argmax}}\left\{\left[

    n
    \sum
    i=1
    (t)
    T
    1,i

    \right]log\tau1+\left[

    n
    \sum
    i=1
    (t)
    T
    2,i

    \right]log\tau2\right\}. \end{align}

    This has the same form as the maximum likelihood estimate for the binomial distribution, so
    (t+1)
    \tau
    j

    =

    n
    \sum
    (t)
    T
    j,i
    i=1
    n
    \sum
    (t)
    (T
    1,i
    +
    (t)
    T
    2,i
    )
    i=1

    =

    1
    n
    n
    \sum
    i=1
    (t)
    T
    j,i

    .

    For the next estimates of

    (\boldsymbol{\mu}1,\Sigma1)

    :
    (t+1)
    \begin{align}(\boldsymbol{\mu}
    1
    (t+1)
    ,\Sigma
    1

    ) &=\underset{\boldsymbol{\mu}1,\Sigma1}\operatorname{argmax}Q(\theta\mid\theta(t))\\ &=\underset{\boldsymbol{\mu}1,\Sigma1}

    n
    \operatorname{argmax}\sum
    i=1
    (t)
    T
    1,i

    \left\{-\tfrac{1}{2}log|\Sigma1|-\tfrac{1}{2}(xi-\boldsymbol{\mu}

    -1
    1

    (xi-\boldsymbol{\mu}1)\right\} \end{align}.

    This has the same form as a weighted maximum likelihood estimate for a normal distribution, so
    (t+1)
    \boldsymbol{\mu}
    1

    =

    n
    \sum
    (t)
    T
    1,i
    xi
    i=1
    n
    \sum
    (t)
    T
    1,i
    i=1

    and
    (t+1)
    \Sigma
    1

    =

    n
    \sum
    (t)
    T
    1,i
    (xi-\boldsymbol{\mu
    i=1
    1

    (t+1))(xi-

    (t+1)
    \boldsymbol{\mu}
    1

    )\top

    n
    }{\sum
    i=1
    (t)
    T
    1,i
    } and, by symmetry,
    (t+1)
    \boldsymbol{\mu}
    2

    =

    n
    \sum
    (t)
    T
    2,i
    xi
    i=1
    n
    \sum
    (t)
    T
    2,i
    i=1

    and
    (t+1)
    \Sigma
    2

    =

    n
    \sum
    (t)
    T
    2,i
    (xi-\boldsymbol{\mu
    i=1
    2

    (t+1))(xi-

    (t+1)
    \boldsymbol{\mu}
    2

    )\top

    n
    }{\sum
    i=1
    (t)
    T
    2,i
    }.

    Termination

    Conclude the iterative process if

    E
    Z\mid\theta(t),x

    [logL(\theta(t);x,Z)]\leq

    E
    Z\mid\theta(t-1),x

    [logL(\theta(t-1);x,Z)]+\varepsilon

    for

    \varepsilon

    below some preset threshold.

    Generalization

    The algorithm illustrated above can be generalized for mixtures of more than two multivariate normal distributions.

    Truncated and censored regression

    The EM algorithm has been implemented in the case where an underlying linear regression model exists explaining the variation of some quantity, but where the values actually observed are censored or truncated versions of those represented in the model.[37] Special cases of this model include censored or truncated observations from one normal distribution.[37]

    Alternatives

    EM typically converges to a local optimum, not necessarily the global optimum, with no bound on the convergence rate in general. It is possible that it can be arbitrarily poor in high dimensions and there can be an exponential number of local optima. Hence, a need exists for alternative methods for guaranteed learning, especially in the high-dimensional setting. Alternatives to EM exist with better guarantees for consistency, which are termed moment-based approaches[38] or the so-called spectral techniques.[39] [40] Moment-based approaches to learning the parameters of a probabilistic model enjoy guarantees such as global convergence under certain conditions unlike EM which is often plagued by the issue of getting stuck in local optima. Algorithms with guarantees for learning can be derived for a number of important models such as mixture models, HMMs etc. For these spectral methods, no spurious local optima occur, and the true parameters can be consistently estimated under some regularity conditions.

    See also

    Further reading

    External links

    Notes and References

    1. Meng . X.-L. . van Dyk . D. . The EM algorithm – an old folk-song sung to a fast new tune . J. Royal Statist. Soc. B . 1997 . 59 . 3 . 511–567. 10.1111/1467-9868.00082 . 17461647 . free .
    2. Jeongyeol Kwon, Constantine Caramanis

      Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, PMLR 108:1727-1736, 2020.

    3. Dempster . A.P. . Arthur P. Dempster . Laird . N.M. . Nan Laird . Rubin . D.B. . Donald Rubin . Maximum Likelihood from Incomplete Data via the EM Algorithm . . 1977 . 39 . 1 . 1–38 . 2984875 . 0501537.
    4. Ceppelini . R.M. . The estimation of gene frequencies in a random-mating population . Ann. Hum. Genet. . 20 . 2 . 97–115 . 10.1111/j.1469-1809.1955.tb01360.x. 13268982 . 1955 . 38625779 .
    5. Hartley . Herman Otto . 1958 . Maximum Likelihood estimation from incomplete data . Biometrics . 14 . 2 . 174–194. 10.2307/2527783 . 2527783 .
    6. Sundberg . Rolf . Maximum likelihood theory for incomplete data from an exponential family . Scandinavian Journal of Statistics . 1 . 1974 . 2 . 49–58 . 4615553 . 381110.
    7. Rolf Sundberg. 1971. Maximum likelihood theory and applications for distributions generated when observing a function of an exponential family variable. Dissertation, Institute for Mathematical Statistics, Stockholm University.
    8. Sundberg . Rolf . 1976 . An iterative method for solution of the likelihood equations for incomplete data from exponential families . Communications in Statistics – Simulation and Computation . 5 . 1 . 55–64 . 10.1080/03610917608812007 . 443190.
    9. See the acknowledgement by Dempster, Laird and Rubin on pages 3, 5 and 11.
    10. [Per Martin-Löf]
    11. [Per Martin-Löf]
    12. Martin-Löf, P. The notion of redundancy and its use as a quantitative measure of the deviation between a statistical hypothesis and a set of observational data. With a discussion by F. Abildgård, A. P. Dempster, D. Basu, D. R. Cox, A. W. F. Edwards, D. A. Sprott, G. A. Barnard, O. Barndorff-Nielsen, J. D. Kalbfleisch and G. Rasch and a reply by the author. Proceedings of Conference on Foundational Questions in Statistical Inference (Aarhus, 1973), pp. 1–42. Memoirs, No. 1, Dept. Theoret. Statist., Inst. Math., Univ. Aarhus, Aarhus, 1974.
    13. Martin-Löf . Per . The notion of redundancy and its use as a quantitative measure of the discrepancy between a statistical hypothesis and a set of observational data . Scand. J. Statist. . 1 . 1974 . 1 . 3–18 .
    14. C. F. Jeff. Wu. On the Convergence Properties of the EM Algorithm. Annals of Statistics. 11. 1. Mar 1983. 95–103. 2240463. 10.1214/aos/1176346060. 684867. free.
    15. Book: Sundberg . Rolf . Statistical Modelling by Exponential Families . 2019 . Cambridge University Press . 9781108701112.
    16. Book: Laird . Nan . Encyclopedia of Statistical Sciences . Sundberg formulas . https://doi.org/10.1002/0471667196.ess2643.pub2 . Wiley . 2006. 10.1002/0471667196.ess2643.pub2 . 0471667196 .
    17. Book: Little . Roderick J.A. . Rubin . Donald B. . Donald Rubin . Statistical Analysis with Missing Data . limited . Wiley Series in Probability and Mathematical Statistics . 1987 . John Wiley & Sons . New York . 978-0-471-80254-9 . 134–136.
    18. Book: Neal . Radford . Hinton . Geoffrey . Geoffrey Hinton . A view of the EM algorithm that justifies incremental, sparse, and other variants . Learning in Graphical Models . Michael I. Jordan . Michael I. Jordan . 355–368 . MIT Press . Cambridge, MA . 1999 . 978-0-262-60032-3 . 2009-03-22.
    19. Book: Hastie . Trevor. Trevor Hastie. Tibshirani. Robert. Robert Tibshirani. Friedman. Jerome . 2001 . The Elements of Statistical Learning . limited . 978-0-387-95284-0 . Springer . New York . 8.5 The EM algorithm . 236–243.
    20. 10.1080/01621459.1988.10478693 . Newton—Raphson and EM Algorithms for Linear Mixed-Effects Models for Repeated-Measures Data . Journal of the American Statistical Association . 83 . 404 . 1014 . 1988 . Lindstrom . Mary J . Bates . Douglas M .
    21. 10.2307/1390614 . 1390614 . Fitting Mixed-Effects Models Using Efficient EM-Type Algorithms . Journal of Computational and Graphical Statistics . 9 . 1 . 78–98 . 2000 . Van Dyk . David A .
    22. 10.1111/anzs.12208 . A new REML (parameter expanded) EM algorithm for linear mixed models . Australian & New Zealand Journal of Statistics . 59 . 4 . 433 . 2017 . Diffey . S. M . Smith . A. B . Welsh . A. H . Cullis . B. R . free . 1885/211365 . free .
    23. Matarazzo, T. J., and Pakzad, S. N. (2016). “STRIDE for Structural Identification using Expectation Maximization: Iterative Output-Only Method for Modal Identification.” Journal of Engineering Mechanics.http://ascelibrary.org/doi/abs/10.1061/(ASCE)EM.1943-7889.0000951
    24. Kreer. Markus. Kizilersu. Ayse. Thomas. Anthony W.. 2022. Censored expectation maximization algorithm for mixtures: Application to intertrade waiting times. Physica A: Statistical Mechanics and Its Applications. 587. 1. 126456. 10.1016/j.physa.2021.126456. 2022PhyA..58726456K . 244198364 . 0378-4371.
    25. Einicke. G. A.. Malos. J. T.. Reid. D. C.. Hainsworth. D. W.. Riccati Equation and EM Algorithm Convergence for Inertial Navigation Alignment. IEEE Trans. Signal Process.. 57. 1. 370–375. January 2009. 10.1109/TSP.2008.2007090. 2009ITSP...57..370E. 1930004.
    26. Einicke. G. A.. Falco. G.. Malos. J. T.. EM Algorithm State Matrix Estimation for Navigation. IEEE Signal Processing Letters. 17. 5. 437–440. May 2010. 10.1109/LSP.2010.2043151. 2010ISPL...17..437E . 14114266.
    27. Einicke. G. A.. Falco. G.. Dunn. M. T.. Reid. D. C.. Iterative Smoother-Based Variance Estimation. IEEE Signal Processing Letters. 19. 5. 275–278. May 2012. 2012ISPL...19..275E. 10.1109/LSP.2012.2190278. 17476971.
    28. Einicke. G. A.. Iterative Filtering and Smoothing of Measurements Possessing Poisson Noise. IEEE Transactions on Aerospace and Electronic Systems. 51. 3. 2205–2011. Sep 2015. 10.1109/TAES.2015.140843. 2015ITAES..51.2205E. 32667132.
    29. Mortaza . Jamshidian . Robert I. . Jennrich. Acceleration of the EM Algorithm by using Quasi-Newton Methods . 1997 . . 59 . 2 . 569–587 . 10.1111/1467-9868.00083 . 1452026 . 121966443 .
    30. 10.1093/biomet/85.4.755 . Parameter expansion to accelerate EM: The PX-EM algorithm . Biometrika . 85 . 4 . 755–770 . 1998 . Liu . C . 10.1.1.134.9617 .
    31. Meng . Xiao-Li . Rubin . Donald B. . 40571416 . Donald Rubin . Maximum likelihood estimation via the ECM algorithm: A general framework . 1993 . . 80 . 2 . 267–278 . 10.1093/biomet/80.2.267 . 1243503.
    32. 10.1093/biomet/81.4.633. 2337067 . The ECME Algorithm: A Simple Extension of EM and ECM with Faster Monotone Convergence . Biometrika . 81 . 4 . 633 . 1994 . Liu . Chuanhai . Rubin . Donald B .
    33. Jiangtao Yin . Yanfeng Zhang . Lixin Gao . Accelerating Expectation–Maximization Algorithms with Frequent Updates . Proceedings of the IEEE International Conference on Cluster Computing . 2012 .
    34. Hunter DR and Lange K (2004), A Tutorial on MM Algorithms, The American Statistician, 58: 30–37
    35. Matsuyama . Yasuo. The α-EM algorithm: Surrogate likelihood maximization using α-logarithmic information measures. IEEE Transactions on Information Theory. 49 . 2003 . 692–706 . 3. 10.1109/TIT.2002.808105.
    36. Matsuyama . Yasuo. Hidden Markov model estimation based on alpha-EM algorithm: Discrete and continuous alpha-HMMs. International Joint Conference on Neural Networks. 2011 . 808–816.
    37. Maximum likelihood estimation in a linear model from confined and censored normal data . Wolynetz . M.S. . . 1979 . 28 . 2 . 195–206 . 10.2307/2346749. 2346749 .
    38. Pearson. Karl. 1894. Contributions to the Mathematical Theory of Evolution. Philosophical Transactions of the Royal Society of London A. 185. 71–110. 0264-3820. 90667. 10.1098/rsta.1894.0003. 1894RSPTA.185...71P. free.
    39. Shaban. Amirreza. Mehrdad. Farajtabar. Bo. Xie. Le. Song. Byron. Boots. 2015. Learning Latent Variable Models by Improving Spectral Solutions with Exterior Point Method. UAI. 792–801. 2019-06-12. 2016-12-24. https://web.archive.org/web/20161224102320/https://www.cc.gatech.edu/~bboots3/files/SpectralExteriorPoint-NIPSWorkshop.pdf. dead.
    40. Book: Balle, Borja Quattoni, Ariadna Carreras, Xavier. Local Loss Optimization in Operator Models: A New Insight into Spectral Learning. 2012-06-27. 815865081.
    41. Web site: Lange. Kenneth. The MM Algorithm.