Source-linked AI summary

A Method of Moments for Mixture Models and Hidden Markov Models

Animashree Anandkumar, Daniel Hsu, Sham M. Kakade

arXiv:1203.0683v3cs.LGstat.ML

TL;DR

Mixture-model estimation needs alternatives to EM and existing methods because EM can fail through slow convergence or poor local optima, while moment methods can become difficult for large mixtures. The paper develops a low-order, computationally efficient method of moments based on multiple views and applies it to broad high-dimensional mixture classes, including Gaussian mixtures and HMMs. It provides rigorous unsupervised estimation guarantees and a simple procedure based on standard numerical linear algebra.

  • Problem

    EM has slow convergence and suboptimal local optima, while conventional moment methods struggle with high-dimensional mixtures because accurate high-order moments are difficult to estimate.

  • Method

    The paper uses low-order observable moments and multiple indirect views of latent variables, with estimators implemented through singular value and eigenvalue decompositions.

  • Results

    The method provides rigorous unsupervised learning guarantees for broad high-dimensional mixture models with many components, including certain Gaussian mixtures and HMMs.

  • Takeaways & Limitations

    The resulting procedure offers a simple method-of-moments alternative to EM for practical deployment.

  • Takeaways & Limitations

    Conventional moment methods can require high-order moments with large variance, and the topic-model theorem assumes non-degeneracy and random selection of the observation vector.

Abstract

from arXiv · show

Mixture models are a fundamental tool in applied statistics and machine learning for treating data taken from multiple subpopulations. The current practice for estimating the parameters of such models relies on local search heuristics (e.g., the EM algorithm) which are prone to failure, and existing consistent methods are unfavorable due to their high computational and sample complexity which typically scale exponentially with the number of mixture components. This work develops an efficient method of moments approach to parameter estimation for a broad class of high-dimensional mixture models with many components, including multi-view mixtures of Gaussians (such as mixtures of axis-aligned Gaussians) and hidden Markov models. The new method leads to rigorous unsupervised learning results for mixture models that were not achieved by previous works; and, because of its simplicity, it offers a viable alternative to EM for practical deployment.

1 Introduction

The paper motivates a low-order method-of-moments alternative to EM for high-dimensional mixture models, addressing the instability and complexity of existing approaches. Its multi-view framework targets mixtures with many components, including Gaussian mixtures and HMMs.

  • EM is widely used for mixture-model parameter estimation but can converge slowly and reach suboptimal local optima.
  • Standard method-of-moments approaches can require high-order moments whose large variance makes accurate estimation difficult for large, high-dimensional mixtures.
  • The paper develops an efficient method of moments using only low-order moments to estimate parameters in broad high-dimensional mixture models with many components.
  • The method uses multiple indirect views of a latent variable, including temporal views in HMMs and coordinate partitions in mixtures of product distributions.
  • The covered applications include certain multivariate Gaussian mixtures, HMMs, and models without explicit likelihood equations.
  • The paper develops the basic topic-model estimator, presents a general procedure with guarantees, and discusses applications to Gaussian mixtures and HMMs.

2 Warm-up: bag-of-words document topic modeling

The paper develops a method-of-moments estimator for bag-of-words topic models by expressing pairwise and triple-wise word probabilities through the topic parameters. An observable-operator construction yields an estimation procedure whose convergence is established under non-degeneracy and sampling assumptions.

  • Model: Documents are generated by first sampling one topic, then drawing ℓ≥3 words independently from that topic’s multinomial word distribution.The model has k topics, vocabulary size d, mixing weights w, and topic-specific word distributions collected in M.
  • Assumptions: Non-degeneracy requires positive topic weights and a rank-k conditional-probability matrix M.This excludes topics whose word distributions can be represented as mixtures of the others.
  • Moment factorization: Pairwise and triple-wise word probabilities factor as Pairs=M diag(w)M^⊤ and Triples(η)=M diag(M^⊤η)diag(w)M^⊤.The factorization follows from conditional independence of the word vectors given the latent topic.
  • Observable operators: Observable operators constructed from pairwise and triple-wise probabilities expose a similarity transform of diag(M^⊤η), enabling recovery of the topic-word matrix.The operators depend only on observable joint probabilities, while suitable projections U and V make the required pairwise matrix invertible.
  • Estimation procedure: Algorithm A estimates empirical pair and triple moments, computes top-k singular subspaces, selects η, and uses eigenvectors to return an estimate of M.The procedure is a plug-in method based on the second- and third-order moment identities; mixing weights are estimated separately.
  • Guarantees and remarks: Under Condition 2.1, independent empirical moments, and a random unit-vector choice η=Ûθ, Algorithm A has a high-probability convergence guarantee up to permutation and scaling factors.Confidence can be boosted by repeating the random-η step when estimated eigenvalues are insufficiently separated; direct ℓ1 recovery without unknown scaling factors requires larger sample complexity depending on d.

3 A method of moments for multi-view mixture models

The paper develops a general method-of-moments estimator for multi-view mixtures using low-order observable moments and eigenvalue problems. Under non-degeneracy and concentration conditions, it estimates component mean parameters efficiently, with guarantees extending to discrete models and multivariate Gaussians.

  • 3.1 General setting: The multi-view model has k latent components and at least three conditionally independent views, with positive weights and full-rank conditional-mean matrices.The framework does not otherwise restrict each view’s conditional distribution, which may be continuous, discrete, or hybrid.
  • 3.2 Observable moments and operators: Because only conditional means are specified, the method estimates parameters from second- and third-order observable moments through polynomial equations arising from eigenvalue problems.The relevant moments are P1,2 = E[x1 ⊗ x2] and P1,2,3 = E[x1 ⊗ x2 ⊗ x3].
  • 3.2 Observable moments and operators: The observable operator’s characteristic-polynomial roots are ⟨η, µ3,j⟩, allowing conditional means to be reconstructed from eigenvalues obtained using different observation vectors.This resolves the eigenvector-scaling ambiguity that otherwise prevents direct recovery of M.
  • 3.2 Observable moments and operators: Unlike standard moment methods requiring up to Ω(k)-th order moments, this approach expresses M3 through a linear system whose right-hand side uses roots of polynomials formed from low-order moments.Low-order moments are easier to estimate and yield low-variance estimates.
  • 3.3 Main result: general estimation procedure and sample complexity bound: Algorithm B computes empirical second- and third-order moments, obtains singular-vector subspaces, and applies observable-operator eigenvalue computations to estimate component means.The procedure can estimate all views, although independently recovered views may have inconsistently ordered columns.
  • 3.3 Main result: general estimation procedure and sample complexity bound: Under Conditions 3.1 and 3.2, with a random rotation and sufficiently many samples, Algorithm B returns permuted estimates of M3 with probability at least 1 − 5δ.The concentration condition applies to discrete models and can also be established for multivariate Gaussian mixtures using standard techniques.

4 Applications

The paper applies its multi-view method to Gaussian mixtures and HMMs, obtaining learnability results and extensions to covariance recovery and continuous observations.

  • The method yields new learnability results for Gaussian mixture models and hidden Markov models within the multi-view framework.
  • Multi-view Gaussian mixture models: Gaussian mixtures fit the framework when each component covariance is block diagonal across conditionally independent views, including axis-aligned Gaussians.
  • Multi-view Gaussian mixture models: The method requires each view’s conditional mean matrix to have full column rank, a non-degeneracy condition used for parameter recovery.
  • Multi-view Gaussian mixture models: Algorithm B directly recovers component means, while a slight variation can also recover component covariances.
  • Hidden Markov models: The framework handles discrete and continuous observations, including high-dimensional Gaussian emissions that previous methods did not handle.
  • Hidden Markov models: HMMs become three-view mixtures by identifying the latent mixture variable with the second hidden state, making the observations conditionally independent.

A.2 Proof of Theorem 2.1

The proof controls empirical moment errors and analyzes a simultaneous diagonalization operator to establish recovery under the theorem’s conditions.

  • The empirical pair and triple moments are controlled with high probability using concentration bounds and a union-bound argument.
  • The estimated operator is formed by multiplying projected empirical triple moments by the inverse of projected empirical pair moments.
  • The corresponding population operator is similar to diag(M^Tη), so its eigenvectors encode the component parameters.
  • The perturbation analysis requires the operator error parameter ε3 to be less than 1 under the stated sample-size and bound conditions.
  • A permutation aligns estimated eigenvectors with component means, while uniqueness up to sign follows when each eigenvalue has geometric multiplicity 1.

A.3 Some illustrative empirical results

A modified implementation was tested on four 20 Newsgroups categories and produced topic-word groups that aligned with their corresponding subject areas.

  • The experiment used four 20 Newsgroups categories, k = 25 topics, and d = 5441 after stop-word removal and stemming.
  • Results were similar for k ∈ {10, 15, 20, 25, 30}, according to the experimental setup.
  • The first and fourth topics matched computer graphics, the fifth and sixth baseball, the third encryption, and the second Christianity.
  • Algorithm A can use two passes over the data, while hashing or random projections reduce memory to O(k^2 + kd).

B.2 Proof of Lemma 3.2

The proof derives observable operators from projected pair moments and uses shared eigenstructure to recover parameters across multiple views, with column ordering requiring additional care.

  • Projected pair moments factor through the view matrices and mixture weights, yielding an invertible operator under the rank assumptions.
  • The operator simplifies to a similarity transform of diag(M^T_3η), which enables recovery through eigen-decomposition.
  • The main caveat is that independently estimated views may have inconsistent column orderings, which must be resolved using cross-view consistency.
  • The method estimates other view matrices by reusing eigenvectors because the corresponding operators share eigenvectors.
  • Eigenvalues from differently ordered operators can be matched to align eigenvectors before estimating the remaining view matrix.

B.6 Proof of Theorem 3.1

The proof establishes the theorem through event bounds, observable-operator construction, and perturbation-based recovery of eigenvalues, eigenvectors, and component parameters.

  • The proof defines events E1 and E2 and obtains Pr[E1 ∩ E2] ≥ 1 − 5δ.The bound combines Pr[E1] ≥ 1 − 3δ with Pr[E2|E1] ≥ 1 − 2δ.
  • The construction defines an estimated observable operator using projected moment matrices and an invertible projected factor.The operator is formed from projected matrices and diag(M_3^T η_i).
  • Distinct eigenvalues make the right eigenvector matrix unique up to column scaling and ordering.This uniqueness enables consistent matching of estimated eigenvalues and eigenvectors across components.
  • The recovered vectors are related to the component means through the orthogonal factorization involving Θ, ˆU_3, and M_3.The proof uses orthogonality of Θ to transfer the estimated quantities into component-parameter estimates.
  • The remaining accuracy guarantee follows by applying perturbation bounds and substituting the resulting inequalities into the target bound.The proof explicitly invokes Lemma C.1 and then performs the required substitutions.

C Perturbation analysis for observable operators

This section develops perturbation results for singular subspaces, projected inverses, eigenvalues, eigenvectors, and jointly diagonalizable observable operators.

  • Singular-value decomposition of a perturbation approximates the fundamental row and column spaces of the original matrix.The framework controls subspace error through perturbation size and the smallest singular value.
  • The observation operator’s error is bounded in terms of errors in estimated second-order and third-order moments.This connects empirical moment concentration to downstream operator accuracy.
  • Projected matrices remain invertible, and their inverse differences are bounded by perturbation quantities.The same framework bounds errors in products of projected matrices and their inverses.
  • For a diagonalizable matrix with distinct real eigenvalues, perturbations preserve eigenvalue reality and give matched eigenvalue and eigenvector error bounds.The eigenvalue error scales with ε3 · γA, while eigenvector and eigenbasis errors depend on ∥R−1∥2 and k.
  • Condition-number bounds control the normalized eigenvector matrix and its inverse when constructed from an invertible matrix V.Specifically, ∥R∥2, ∥R−1∥2 ≤ κ(V) and κ(R) ≤ κ(V)^2.

D.1 Proof of Proposition 4.1

The proof applies the multi-view method to product distributions by randomly partitioning coordinates into views and verifying non-degeneracy through incoherence.

  • Product distributions are treated as a special case of multi-view distributions handled directly by Algorithm B.The section assumes an incoherence condition on the component means.
  • Randomly partitioning coordinates into ℓ ≥ 3 views creates roughly equal-dimensional blocks under the product-distribution assumption.The key remaining requirement is that each block preserve sufficient rank and singular-value structure.
  • The incoherence condition requires the matrix’s non-degeneracy to be witnessed across many vertical blocks.Its parameter ranges from 1 to n/k, with smaller values corresponding to more spread-out singular vectors.
  • For multi-view Gaussian mixtures, empirical second- and third-order moments concentrate using conditional independence and existing spectral-norm techniques.The third-order statistic is controlled because x_3 is conditionally independent of x_1 and x_2 given h.
  • The required concentration condition also holds when each conditional view distribution is subgaussian with positive-definite covariance.Standard concentration techniques provide the corresponding parameters under these assumptions.

E General results from matrix perturbation theory

This section collects standard concentration and matrix-perturbation tools used to control empirical probabilities, singular subspaces, eigenvalues, eigenvectors, and invertibility.

  • The perturbation toolkit includes Weyl’s theorem, Wedin’s theorem, Bauer-Fike, and an inverse-perturbation lemma.These results respectively address singular values, singular subspaces, eigenvalues, and invertibility.
  • Wedin’s theorem bounds the canonical-angle errors between singular subspaces of a matrix and its perturbation under a singular-value gap condition.The theorem applies to both left and right singular subspaces.
  • Bauer-Fike bounds perturbed eigenvalue displacement using the eigenvector condition number and the perturbation norm.The result applies when the reference matrix is diagonalizable.
  • Empirical probability estimates are controlled using bounded differences and an expectation bound for the Euclidean estimation error.The cited proof uses McDiarmid’s inequality.
  • Random projection and matrix Chernoff results provide concentration tools for random directions and extremal eigenvalues of sums of random matrices.These tools support the random-partition and random-projection arguments elsewhere in the analysis.

G Insufficiency of second-order moments

Pairwise probabilities can be insufficient to identify model parameters: under Chang’s conditions, distinct parameterizations share the same marginal distribution over (x1, x2), while triple-wise probabilities can differ.

  • Chang’s proposition constructs an invertible matrix Q satisfying conditions that preserve the model’s pairwise marginal distribution.One stated condition is that Q diag(w⃗)Q⊤ is diagonal.
  • The transformed parameters M̃ := MQ^-1 and w̃ := Qw⃗ produce the same marginal distribution over (x1, x2).
  • For d = k = 2, choosing p = 0.25 gives an example satisfying Chang’s conditions.
  • Both parameterizations yield identical pairwise probabilities, but their triple-wise probabilities differ for η = (1, 0).
Loading 1203.0683v3…