Low-Rank Spectral Learning

Alex Kulesza, N. Raj Rao, Satinder SinghAISTATS 2014

Abstract

Spectral learning methods have recently been proposed as alternatives to slow, non-convex optimization algorithms like Expectation-Maximization (EM) for a variety of probabilistic models in which hidden information must be inferred. These methods are typically controlled by a rank hyperparameter that sets the complexity of the model; when the model rank matches the true rank of the process generating the data, the resulting predictions are provably consistent. However, in practice, the true rank is often unknown or prohibitively large, necessitating low-rank approximations. Counterintuitively, we show that even when the singular values omitted by lowering the rank are arbitrarily small, the resulting prediction errors can be arbitrarily large. We identify two distinct causes for this behavior—non-stationary initial distributions and poorly conditioned observation matrices—and prove that when these are avoided, prediction error is bounded by the magnitude of omitted singular values.

Introduction

Latent variable models, such as Hidden Markov Models (HMMs), are foundational to machine learning but traditionally rely on EM for training. EM is computationally expensive and prone to local optima. Spectral learning has emerged as a robust alternative, utilizing Singular Value Decomposition (SVD) on "moment matrices" (empirical statistics of observed data) to derive model parameters in a single, closed-form step.

While standard theory guarantees consistency when the model rank equals the true number of hidden states, practitioners frequently use low-rank approximations to manage complexity. The prevailing intuition—that small omitted singular values lead to small errors—is often incorrect in the context of spectral learning. This paper explores why these approximations fail and establishes the conditions under which they succeed.

The Fragility of Low-Rank Approximations

To analyze the impact of rank reduction, we consider the foundational HMM spectral learning algorithm in an "infinite data" scenario. We measure performance using the $L_1$ variational distance between the predicted and true probability distributions of observation sequences.

Our analysis reveals a "Small Singular Value Trap": in spectral learning, omitting a singular value, no matter how small, can lead to a total prediction failure (an $L_1$ error of 1.0). We identify two primary failure modes that drive this phenomenon.

Failure Mode 1: Incompatible Initial Distributions

The first failure mode occurs when the training data starts in a state that does not reflect the long-term "stationary" behavior of the system. In such cases, the SVD prioritizes correlations present in the initial transients rather than the underlying transition dynamics.

Figure 1: A 2-state HMM where a non-stationary initial distribution $\pi$ can lead to significant prediction errors in low-rank spectral learning if $\epsilon$ is small.

In the example shown in Figure 1, the system oscillates between states 1 and 2. If the initial distribution $\pi$ is heavily biased (small $\epsilon$), the spectral method may fail to capture the full dynamics of the system when the rank is reduced, despite the omitted information appearing statistically negligible.

Failure Mode 2: Poor Observation Conditioning

The second failure mode arises when different hidden states produce very similar observations. This makes the states nearly indistinguishable from the perspective of the observed moments.

Figure 4: A 3-state HMM where the observation matrix $O$ is poorly conditioned. States 2 and 3 produce nearly identical observations when $\epsilon$ is small, causing rank reduction to fail.

As illustrated in Figure 4, if the observation matrix $O$ has a high condition number (i.e., its columns are nearly linearly dependent), the spectral method loses the ability to resolve the hidden state space accurately under a low-rank constraint.

Theoretical Guarantees

Despite these failure modes, low-rank spectral learning is viable under specific conditions. We prove that if the system is in a stationary distribution ($T\pi = \pi$) and the observation matrix is well-conditioned, the prediction error is bounded. Our primary result, Theorem 1, provides an upper bound on the prediction error for a sequence of length $t$:

$$\text{Error} \leq \sqrt{m} \left( \sigma_{\min}^{-1}(O)\sqrt{m} \right)^{t+3} \sigma_{k+1}$$

Where $\sigma_{k+1}$ is the largest omitted singular value, $\sigma_{\min}(O)$ is the smallest singular value of the observation matrix, and $m$ is the number of hidden states. While this bound grows exponentially with sequence length, it offers the first formal guarantee of consistency for low-rank spectral learning under realistic assumptions.

Conclusion

Low-rank spectral learning is a powerful tool, but its reliability depends on the stationarity of the data and the distinctness of observations across hidden states. While the requirement for stationarity is often met in long, continuous data streams, applications involving short sequences (like natural language) may require further methodological refinements, such as the use of "multi-observations" to improve the conditioning of the observation space.

Summary updated

BibTeX
@inproceedings{kulesza2014low,
  author = {Alex Kulesza and N. Raj Rao and Satinder Singh},
  title = {{Low-Rank Spectral Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2014},
  url = {https://openreview.net/forum?id=pGqCphOLTF},
}
Figure