Exploiting Morphological Regularities in Distributional Word Representations

Arihant Gupta, Syed Sarfaraz Akhtar, Avijit Vajpayee, Arjit Srivastava, Madan Gopal Jhanwar, Manish Shrivastava

Abstract

Traditional word embeddings rely on simple vector arithmetic to capture semantic relationships, but this approach often fails to robustly handle morphological variations like tense and plurality. This paper proposes a method to extract morphological rules from a corpus and represent them as global linear transformation matrices. By solving $AX=B$ for word pairs sharing a rule, the model learns to map root embeddings to their morphological variants. Evaluation on the MSR word analogy task demonstrates a state-of-the-art accuracy of 85%, significantly outperforming standard vector-offset methods.

Introduction

In Natural Language Processing (NLP), word embeddings like word2vec have become the standard for representing lexical meaning in high-dimensional vector spaces. A celebrated property of these spaces is their ability to perform "vector arithmetic" (e.g., $vec("king") - vec("man") + vec("woman") \approx vec("queen")$). However, applying this simple linear offset to morphology—the structural changes words undergo to express tense, number, or case—is often noisy and inconsistent.

Furthermore, rare or out-of-vocabulary (OOV) words suffer from poor embedding quality due to data sparsity. This research addresses these challenges by moving beyond simple vector subtraction, instead treating morphological rules as global geometric transformations that can be learned and applied to "hallucinate" accurate embeddings for unseen word forms.

Methodology

The authors introduce a two-stage unsupervised pipeline to capture morphological regularities:

  1. Rule Extraction: The system utilizes a TRIE data structure to automatically identify common prefixes and suffixes within a corpus. By analyzing transitions (e.g., the addition of "-s" or "-ed"), it identifies potential morphological rules without requiring a predefined dictionary. These rules are pruned based on frequency and the cosine similarity of the resulting word vectors.
  2. Learning Transformation Matrices: The core innovation lies in representing morphological shifts as linear transformation matrices ($X$). For a given rule, the system identifies word pairs that follow it (e.g., <walk, walks>, <run, runs>) and organizes their embeddings into matrices $A$ (source) and $B$ (target). It then solves the linear equation $AX = B$ to find a global matrix capable of transforming any root word into its variant.
The system architecture for rule extraction and transformation matrix learning.

When processing an analogy query, the system first attempts to apply a learned transformation operator. If no specific rule is found, it falls back to standard vector arithmetic (CosSum or CosMul) as a robust safety net.

Experimental Setup and Results

The model was trained using Skip-gram embeddings derived from the Google News corpus (100 billion tokens). Evaluation was conducted on the MSR word analogy test set, which contains 8,000 questions across various parts of speech.

The results indicate a significant advancement in unsupervised morphology. The hybrid model, which combines standard embeddings with the matrix transformation approach, achieved a state-of-the-art accuracy of 85%. This represents a 12% improvement over previous top-performing systems.

Comparison of model performance on the MSR analogy task, showing the hybrid model's superior accuracy.

Discussion and Key Insights

  • Matrices vs. Vectors: Unlike a single vector offset, which provides a fixed translation, a transformation matrix can align itself with the specific geometry of a source word's embedding. This allows for more nuanced shifts that accurately capture the semantic change of a suffix across diverse word types.
  • Part-of-Speech Agnosticism: The learned matrices for suffixes like "-s" proved effective regardless of whether they were applied to nouns (pluralization) or verbs (tense change), suggesting the model successfully learns the underlying orthographic-to-semantic mapping.
  • Addressing Sparsity: The matrix approach provides a powerful tool for handling OOV words. If a model has an embedding for a root like "prepared" but lacks "preparedness," it can apply the learned <null, ness> matrix to generate a high-quality embedding on the fly.

Conclusion

By shifting from vector offsets to global transformation matrices, this research provides a more robust framework for handling morphology in distributional semantics. While currently limited to prefix and suffix additions, the model's high accuracy and ability to mitigate data sparsity mark a significant step forward for unsupervised NLP. Future work will explore more complex affixation and the utility of these generated embeddings in downstream tasks like machine translation.

Summary updated

BibTeX
@inproceedings{gupta2017exploiting,
  author = {Arihant Gupta and Syed Sarfaraz Akhtar and Avijit Vajpayee and Arjit Srivastava and Madan Gopal Jhanwar and Manish Shrivastava},
  title = {{Exploiting Morphological Regularities in Distributional Word Representations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1028},
}
Figure