Learning Latent Variable Models by Improving Spectral Solutions with Exterior Point Method

Amirreza Shaban, Mehrdad Farajtabar, Bo Xie, Le Song, Byron BootsUAI 2015

Abstract

Probabilistic latent variable models (LVMs), such as Hidden Markov Models (HMMs), are powerful tools for capturing hidden structures in data but present significant training challenges. Traditional Expectation-Maximization (EM) is computationally expensive and prone to poor local optima, while fast spectral methods often yield "invalid" parameters (e.g., negative probabilities). This paper proposes a two-stage "best of both worlds" approach: using spectral methods for initialization followed by an exterior point method for refinement. By allowing parameters to temporarily traverse through invalid space, the algorithm avoids the pitfalls of naive projection and finds superior local optima faster than EM.

Introduction

Latent variable models are essential in fields ranging from natural language processing to bioinformatics. However, the optimization landscape for these models is non-convex and constrained. Researchers typically choose between the high-accuracy but slow EM algorithm and the fast but statistically unconstrained spectral methods. Spectral methods rely on linear algebra (like SVD) to estimate moments, but because they do not enforce probability constraints, they frequently produce parameters that reside outside the feasible simplex. The standard remedy—projecting these invalid solutions back into the valid space—often significantly degrades model accuracy.

The Exterior Point Refinement Method

The authors introduce a two-stage learning framework designed to bridge the gap between speed and validity:

  1. Spectral Initialization: A spectral method of moments provides an initial estimate that is mathematically close to the ground truth but likely outside the feasible set of valid probabilities.
  2. Exterior Point Refinement: Instead of a hard projection, the algorithm uses an iterative optimization scheme. It minimizes the residual error (fit to observed moments) while applying penalty terms for constraint violations (non-negativity and sum-to-one constraints).
Visualization of the exterior point method navigating through invalid space (outside the dashed boundary) to reach a better local optimum compared to standard paths.

The "Exterior" nature of this approach is critical. Unlike interior point methods that must stay strictly within valid bounds, this method allows the search trajectory to move through "invalid" territory. This flexibility enables the algorithm to navigate narrow feasible regions and avoid getting trapped in the poor local minima that often plague EM or interior point methods.

Key Insights: Avoiding the Projection Trap

A central contribution of this work is identifying the "Projection Trap." When a spectral solution is naively projected onto a valid simplex, the resulting point can be significantly further from the true optimal solution than the original invalid estimate. By using a refinement process based on a forward-backward splitting algorithm, the proposed method (EX&SVD) can handle non-smooth penalty terms efficiently, ensuring the final solution is both valid and accurate.

Furthermore, because the refinement stage optimizes based on pre-computed moments rather than raw data points, the optimization cost is asymptotically independent of the number of training samples. This makes the method uniquely suited for massive datasets where EM becomes prohibitively slow.

Experimental Results

The researchers evaluated the EX&SVD method against standard EM, pure spectral methods (SVD), and spectral-initialized EM (EM&SVD) using synthetic HMMs and a real-world DNA Splice dataset.

Performance comparison showing that EX&SVD (purple) maintains low error while being significantly faster than standard EM (blue) as model complexity increases.

Performance Highlights

  • Accuracy and Robustness: EX&SVD consistently outperformed other methods, particularly when training data was limited. In small-sample scenarios, EM tends to overfit, while pure SVD produces highly invalid parameters; EX&SVD successfully bridged this gap.
  • Computational Efficiency: As shown in the performance plots, EX&SVD remains an order of magnitude faster than EM while achieving lower estimation error as the number of hidden states increases.
  • Real-World Application: On the DNA Splice dataset (3,190 sequences), the exterior point method achieved lower classification error than EM in recognizing intron-exon boundaries, demonstrating its practical utility.

Conclusion

The exterior point refinement method offers a robust alternative for training latent variable models. By treating spectral solutions as a starting point for a flexible, constraint-aware optimization rather than a final result, the method achieves high accuracy without the computational burden of EM. Future work may extend this framework to more complex structures like latent trees and explore automated tuning for the penalty hyperparameters.

Summary updated

BibTeX
@inproceedings{shaban2015learning,
  author = {Amirreza Shaban and Mehrdad Farajtabar and Bo Xie and Le Song and Byron Boots},
  title = {{Learning Latent Variable Models by Improving Spectral Solutions with Exterior Point Method}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2015},
}
Figure