Unsupervised Part-Of-Speech Tagging with Anchor Hidden Markov Models

Karl Stratos, Michael Collins, Daniel J. Hsu

Abstract

Unsupervised Part-of-Speech (POS) tagging is a critical task for processing low-resource languages where labeled data is unavailable. Traditional Hidden Markov Models (HMMs) trained via Expectation-Maximization (EM) often suffer from poor convergence to local optima. This paper introduces Anchor HMMs, which leverage the "anchor assumption"—the idea that each POS tag is uniquely associated with at least one specific word. By utilizing a Non-negative Matrix Factorization (NMF) framework for parameter estimation, the authors provide a mathematically consistent algorithm that avoids the pitfalls of EM. The resulting model is highly interpretable and demonstrates competitive performance across ten diverse languages.

Introduction

Part-of-Speech (POS) tagging serves as a foundational step for many natural language processing applications. While supervised taggers have reached high levels of maturity, unsupervised tagging remains a significant challenge. Historically, generative models like Hidden Markov Models (HMMs) were the primary tool for this task. However, when trained using the standard Baum-Welch (EM) algorithm, HMMs frequently fail to learn meaningful linguistic categories, often producing "flat" distributions that lack discriminative power.

To address these limitations, researchers have often turned to more complex discriminative models. This paper explores an alternative: maintaining the simplicity and generative nature of the HMM while improving its structural assumptions and estimation methodology.

The Anchor HMM Framework

The proposed model, the Anchor HMM (A-HMM), is built upon the anchor assumption. This assumption posits that for every hidden state (POS tag), there exists at least one "anchor" word that can only be generated by that specific state. For instance, in English, the word "the" serves as an anchor for the determiner tag. Empirical analysis across ten languages in the Universal Treebank confirms that this assumption holds true for universal tagsets.

NMF-Based Parameter Estimation

Rather than relying on iterative likelihood maximization, the authors employ a method-of-moments approach based on Non-negative Matrix Factorization (NMF). The learning process involves:

  1. Context Matrix Construction: Building a matrix that represents the contextual distributions of words (e.g., the probability of surrounding words).
  2. Geometric Identification: In a high-dimensional space, the context vectors of all words form a convex hull. The vertices of this hull correspond to the anchor words.
  3. Analytical Solution: Once anchors are identified, the HMM's transition and emission probabilities can be calculated directly. This approach provides a consistent estimator that is theoretically guaranteed to recover the true parameters in the limit of infinite data, effectively bypassing the local optima that plague EM.

Dimensionality Reduction and Feature Engineering

A key challenge in applying NMF to natural language is the high dimensionality of the word context matrix. To make the computation tractable, the matrix must be projected into a lower-dimensional space using a projection matrix $\Omega$. The authors evaluated several choices for $\Omega$, including random projections and Canonical Correlation Analysis (CCA).

Impact of the projection matrix $\Omega$ on tagging accuracy.

As shown in the table above, the choice of projection method significantly impacts performance. Projections based on Brown clustering (a hierarchical word clustering method) yielded the highest accuracy, substantially outperforming random and CCA-based methods.

Furthermore, the framework allows for the inclusion of feature augmentation. By appending sub-word features—such as capitalization, hyphens, and suffixes—to the context vectors, the model can better group morphologically similar words. This is particularly effective for handling rare words that may not have sufficient context for accurate anchoring.

Experimental Evaluation

The model was evaluated on the Universal Treebank (v2.0) and the English Penn Treebank (WSJ).

  • Multilingual Results: On the 12-tag Universal Treebank, the feature-augmented Anchor HMM achieved the highest many-to-one accuracy on 5 out of 10 languages compared to baselines including Baum-Welch EM and unsupervised log-linear models.
  • Ablation Study: On English data, the base Anchor HMM achieved 66.1% accuracy. The addition of spelling features boosted this to 71.4%, highlighting the benefit of incorporating morphological cues into the NMF framework.
  • Interpretability: A significant advantage of the A-HMM is its inherent interpretability. Because states are tied to specific anchor words, researchers can easily identify the linguistic category a state represents (e.g., "the state anchored by 'closed'" representing verbs).

Conclusion and Future Work

Anchor HMMs provide a robust and theoretically grounded approach to unsupervised POS tagging. By combining the anchor assumption with NMF-based estimation, the model achieves competitive results while remaining highly interpretable. While the current model struggles with fine-grained tagsets (such as the 45-tag WSJ set) where morphological overlaps are more complex, future research will focus on extending these NMF techniques to more complex model families and relaxing the strict anchor requirement to handle a broader class of HMMs.

Summary updated

BibTeX
@article{stratos2016unsupervised,
  author = {Karl Stratos and Michael Collins and Daniel J. Hsu},
  title = {{Unsupervised Part-Of-Speech Tagging with Anchor Hidden Markov Models}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2016},
  doi = {10.1162/tacl\_a\_00096},
}
Figure