Named Entity Recognition Only from Word Embeddings

Ying Luo, Hai Zhao, Junlang Zhan

Abstract

This paper presents a novel, fully unsupervised framework for Named Entity Recognition (NER) that operates without human-annotated data or external dictionaries. By exploiting the latent syntactic and semantic structures within pre-trained word embeddings, the proposed system utilizes Gaussian Hidden Markov Models (GHMM) for span detection and Deep Autoencoding Gaussian Mixture Models (DAGMM) for entity typing. A Reinforcement Learning (RL) refinement stage further denoises the output. Experimental results on CoNLL-2002 and CoNLL-2003 benchmarks demonstrate that this approach achieves performance competitive with weakly supervised systems, reaching an F1 score of 68.64 on English data.

Introduction

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing, typically requiring extensive manually labeled datasets to achieve high performance. However, such resources are often unavailable for low-resource languages or specialized domains. While "distant supervision" offers a partial solution by leveraging external knowledge bases, it still relies on pre-existing structured data. This research addresses the "cold start" problem: building an NER system using only raw word embeddings. The central hypothesis is that entities cluster naturally in vector space due to shared contextual patterns, allowing for the unsupervised discovery of both entity boundaries and categories.

Methodology

The proposed pipeline consists of three primary stages: span detection, type prediction, and neural refinement.

Span Detection and Type Prediction

The initial stage uses a Gaussian Hidden Markov Model (GHMM) to identify entity spans. Word embeddings are first grouped via K-Means to provide a coarse signal for "entity" vs. "non-entity" tokens, which initializes the GHMM. The model treats labels (Inside, Outside, Beginning) as latent states that emit word embeddings following multivariate Gaussian distributions.

Once spans are identified, a Deep Autoencoding Gaussian Mixture Model (DAGMM) performs entity typing. To overcome the challenges of high-dimensional density estimation, an autoencoder compresses entity representations into a lower-dimensional space. A GMM then clusters these compressed vectors into $K$ distinct entity types.

Figure 1: Architecture of the GHMM for span detection and DAGMM for type prediction.

Reinforcement Learning Refinement

To mitigate noise in the initial unsupervised labels, a Reinforcement Learning (RL) framework is employed. An Instance Selector (the RL agent) evaluates auto-labeled sentences and selects high-quality samples to train a standard BiLSTM-CRF NE Tagger. The tagger's performance serves as a reward signal, guiding the selector to filter out unreliable annotations and improve the overall robustness of the final model.

Experimental Results

The framework was evaluated on the CoNLL-2003 (English) and CoNLL-2002 (Spanish) datasets using pre-trained SENNA and GloVe embeddings.

The model demonstrates significant improvements over baseline unsupervised and dictionary-based methods. As shown in the results table, the full system (LSTM-CRF + RL) achieves an F1 score of 68.64 for English and 54.31 for Spanish. Notably, it outperforms distant supervision methods that rely on SENNA-based dictionaries by a wide margin.

Figure 4: Performance comparison of the proposed model against existing supervised and weakly supervised baselines.

The GHMM component proved highly effective for span detection, achieving an F1 score of 0.76 on English data, providing a strong foundation for subsequent classification.

Discussion and Limitations

While the model provides a powerful baseline for zero-resource scenarios, several challenges remain. The system currently struggles with nested entity structures and exhibits a bias toward simpler multi-word entities. Additionally, because the typing is unsupervised, a post-hoc matching step is required to align discovered clusters with human-defined categories (e.g., Person, Location). Future research may explore the integration of contextualized embeddings like BERT, though their high dimensionality currently complicates Gaussian density estimation.

Conclusion

This work demonstrates that word embeddings contain sufficient structural information to enable functional NER without any labeled data. By combining classical probabilistic modeling (GHMM) with deep generative models (DAGMM) and reinforcement learning, the framework bridges the gap between purely unsupervised discovery and practical information extraction.

Summary updated

BibTeX
@inproceedings{luo2020named,
  author = {Ying Luo and Hai Zhao and Junlang Zhan},
  title = {{Named Entity Recognition Only from Word Embeddings}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.723},
}
Figure