Named Entity Recognition Only from Word Embeddings

Ying Luo, Hai Zhao, Junlang Zhan

Abstract

Named Entity Recognition (NER) typically relies on extensive human-annotated datasets or external knowledge bases. This paper introduces a fully unsupervised NER framework that bootstraps exclusively from pre-trained word embeddings. By modeling entity spans and types through Gaussian Hidden Markov Models (Gaussian-HMM) and Deep Autoencoding Gaussian Mixture Models (DAGMM), and refining results via reinforcement learning, the system achieves a 68.64 F1 score on the CoNLL-2003 English benchmark. This research demonstrates that the latent semantic structures within distributional word representations are sufficient to perform complex sequence labeling without explicit supervision.

Introduction

Identifying people, locations, and organizations in text is a fundamental task in Natural Language Processing. While supervised models achieve high performance, they are constrained by the need for massive labeled datasets, which are often unavailable for low-resource languages or niche domains. Existing "unsupervised" methods frequently utilize external dictionaries or part-of-speech tags, which can be seen as a form of indirect supervision. This work investigates whether a functional NER system can be constructed using only the raw distributional information found in word embeddings like SENNA or GloVe.

Methodology

The proposed system utilizes a multi-stage pipeline designed to move from coarse word clustering to refined sequence tagging.

1. Discovery and Span Detection

The process begins with K-Means clustering on the vocabulary to separate potential entities from non-entities, creating a noisy initial dictionary. To detect entity boundaries, the authors employ a Gaussian Hidden Markov Model (Gaussian-HMM). Unlike traditional HMMs that operate on discrete tokens, the Gaussian-HMM treats word embeddings as continuous emissions from latent states (Inside, Outside, Beginning - IOB). This allows the model to capture the characteristic "shape" of entity spans in vector space.

2. Entity Typing

Once spans are identified, they must be categorized (e.g., Person vs. Location). The system uses a Deep Autoencoding Gaussian Mixture Model (DAGMM). This component utilizes a deep autoencoder to compress entity representations into a lower-dimensional space, where a Gaussian Mixture Model clusters them into specific entity types.

The unsupervised pipeline featuring Gaussian-HMM for span detection and DAGMM for entity typing.

3. Reinforcement Learning Refinement

To mitigate the noise inherent in unsupervised clustering, the authors implement a reinforcement learning (RL) based instance selector. An RL agent decides which sentences from the noisy output are of high enough quality to serve as training data for a standard BiLSTM-CRF tagger. The tagger’s prediction confidence provides a reward signal to the agent, effectively filtering the dataset for the most reliable examples.

Experimental Results

The model was evaluated on the CoNLL-2003 English and CoNLL-2002 Spanish benchmarks. Using only word embeddings, the system achieved a remarkable 68.64 F1 score on the English dataset. While this is lower than supervised state-of-the-art models (which reach ~90 F1), it significantly outperforms other zero-resource baselines and approaches the performance of some distantly supervised methods that use external dictionaries.

Performance comparison of the proposed unsupervised model against supervised and distantly supervised baselines.

In Spanish, the model achieved an F1 of 54.31. The performance gap between languages is largely attributed to the quality and coverage of the underlying word embeddings. Analysis of entity types showed that the model performs best on Locations (LOC) and Persons (PER), which tend to have more distinct semantic neighborhoods than the more varied Miscellaneous (MISC) category.

Discussion and Limitations

Despite its success, the model faces challenges with nested entities (e.g., "South Africa") where modifiers may be separated from the core entity. Furthermore, the "MISC" category remains difficult to capture without supervision due to its lack of a cohesive semantic signature. The authors also noted that high-dimensional contextual embeddings (like BERT) are currently difficult to use with Gaussian modeling due to sparsity, suggesting a need for better compression techniques in future work.

Conclusion

This work provides a proof of concept for "zero-resource" NLP. By leveraging the statistical regularities of word co-occurrences captured in embeddings, it is possible to extract sophisticated structural information from text without any human intervention. This paves the way for more accessible NLP tools in languages and domains where labeled data is non-existent.

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