Morph-fitting: Fine-Tuning Word Vector Spaces with Simple Language-Specific Rules

Ivan Vulic, Nikola Mrksic, Roi Reichart, Diarmuid Ó Séaghdha, Steve J. Young, Anna Korhonen

Abstract

Morphologically rich languages accentuate two properties of distributional vector space models: 1) the difficulty of inducing accurate representations for low-frequency word forms; and 2) insensitivity to distinct lexical relations that have similar distributional signatures. These effects are detrimental for language understanding systems, which may infer that 'inexpensive' is a rephrasing for 'expensive' or may not associate 'acquire' with 'acquires'. In this work, we propose a novel morph-fitting procedure which moves past the use of curated semantic lexicons for improving distributional vector spaces. Instead, our method injects morphological constraints generated using simple language-specific rules, pulling inflectional forms of the same word close together and pushing derivational antonyms far apart. In intrinsic evaluation over four languages, we show that our approach: 1) improves low-frequency word estimates; and 2) boosts the semantic quality of the entire word vector collection. Finally, we show that morph-fitted vectors yield large gains in the downstream task of dialogue state tracking, highlighting the importance of morphology for tackling long-tail phenomena in language understanding tasks.

Introduction

Modern Natural Language Processing (NLP) relies heavily on word embeddings—vector representations where words with similar meanings are positioned close together. These models are typically built on the distributional hypothesis: words appearing in similar contexts share similar meanings. However, this approach faces significant hurdles, particularly in morphologically rich languages.

First, the Rare Word Problem arises because concepts in languages like German or Russian can have dozens of inflections. Rare forms suffer from data sparsity, leading to poor-quality vectors. Second, the Antonym Trap occurs because distributional models often fail to distinguish between synonyms and antonyms. Words like "expensive" and "inexpensive" appear in nearly identical contexts, causing their vectors to cluster together—a major issue for language understanding.

Previous "semantic specialization" methods required expensive, hand-curated lexicons like WordNet. This research introduces morph-fitting, a resource-light alternative that uses simple, rule-based morphological constraints to refine vector spaces.

Methodology: The Morph-Fitting Procedure

Morph-fitting is a post-processing procedure applied to pre-trained vector spaces (e.g., Word2Vec, GloVe). It utilizes the ATTRACT-REPEL algorithm to adjust vector positions based on two types of constraints derived from simple language-specific rules:

  1. ATTRACT Constraints: Rules identify inflectional forms (e.g., in English, adding "-ing", "-ed", or "-s" to a root). These forms are pulled closer together in the vector space.
  2. REPEL Constraints: Common antonymy prefixes (e.g., un-, dis-, ir-) are used to identify words that should be pushed apart.
Conceptual overview of morph-fitting: pulling inflectional forms together and pushing antonyms apart.

To preserve the general semantic knowledge learned from the original corpus, a regularization term ensures the new vectors do not drift too far from their initial positions. This "black-box" approach is highly flexible and can be applied to any existing word vector collection.

Evaluation and Results

The method was evaluated across four languages: English, German, Italian, and Russian. Vectors were induced from Wikipedia dumps and tested on both intrinsic and extrinsic tasks.

Intrinsic Evaluation: Word Similarity

Using benchmarks like SimLex-999 and SimVerb-3500, the researchers found that morph-fitting consistently improved correlation with human similarity judgments. For instance, an English Context2Vec model's score rose from 0.388 to 0.459 on SimVerb-3500.

Extrinsic Evaluation: Dialogue State Tracking (DST)

The vectors were also tested on a Dialogue State Tracking task using the WOZ 2.0 dataset. DST requires a system to accurately track user goals (e.g., "cheap" vs. "expensive" restaurants). Morph-fitted vectors provided substantial gains, particularly for morphologically complex languages.

Performance gains in word similarity (SimLex) and dialogue state tracking (DST) for English and Italian across different morph-fitting variants.

As shown in the results, the full morph-fitting model (MFit-AR) significantly outperforms the base distributional model (Distrib) and the version with only attraction constraints (MFit-A) in both similarity and downstream task performance.

Discussion and Key Insights

The success of morph-fitting highlights that morphology is a "free" signal. Effective rules can be drafted even by non-fluent speakers to capture significant semantic structure. By associating rare inflectional forms with their frequent roots, rare words "inherit" semantic quality, effectively solving the sparsity problem.

Furthermore, the method enforces true similarity rather than just relatedness. While standard models might link "cup" and "coffee" (related), morph-fitting ensures "costly" and "expensive" are close while "inexpensive" is far (similar), which is critical for logic-heavy tasks like dialogue systems.

Limitations

While effective, the rule-based approach can introduce noise (e.g., incorrectly linking "press" and "impress"). Future work will explore automatically learning these rules from raw text and comparing the results against gold-standard morphological lexicons to further refine the process.

Conclusion

Morph-fitting offers a simple yet powerful way to inject linguistic knowledge into word vectors. By addressing the specific challenges of morphologically rich languages, it significantly improves both the semantic quality of embeddings and their performance in practical language understanding applications.

Summary updated

BibTeX
@inproceedings{vulic2017morph,
  author = {Ivan Vulic and Nikola Mrksic and Roi Reichart and Diarmuid Ó Séaghdha and Steve J. Young and Anna Korhonen},
  title = {{Morph-fitting: Fine-Tuning Word Vector Spaces with Simple Language-Specific Rules}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  url = {https://openreview.net/forum?id=BJVDk3lObB},
}
Figure