Introduction
Word embeddings like GloVe and Word2Vec have become cornerstones of modern NLP, leveraging the distributional hypothesis to represent word meanings based on their context. However, these models often struggle to distinguish between semantic similarity (e.g., east and west) and topical relatedness (e.g., coffee and cup). To refine these spaces, researchers employ "specialization" or retrofitting, which uses external lexical resources like WordNet to adjust vector positions, pulling synonyms closer and pushing antonyms apart.
A significant bottleneck in current specialization methods is their limited scope: they only modify vectors for words explicitly present in the external resource. Since these resources typically cover less than 20% of a standard vocabulary, the resulting vector space becomes inconsistent, leaving the majority of "unseen" words unrefined. This paper introduces post-specialization, a method to propagate semantic improvements across the entire vocabulary.
The Post-Specialization Framework
The authors propose a two-stage approach to ensure that the benefits of specialization extend to the entire vector space. First, an initial specialization step uses a state-of-the-art model, such as ATTRACT-REPEL, to refine the vectors of words found in linguistic constraints (the "seen" words).
Second, a global mapping function $f$ is learned to translate distributional vectors into their specialized counterparts. Unlike previous linear approaches, the authors model this transformation as a complex, non-linear distortion. They implement $f$ as a Deep Feed-Forward Neural Network (DFFN).
Key technical innovations in the DFFN include:
- Swish Activation: The use of the Swish function ($x \cdot \text{sigmoid}(\beta x)$) helps the model learn deeper representations more effectively than standard ReLU.
- Contrastive Loss: A Contrastive Margin-based Ranking objective is used to ensure the predicted specialized vector is closer to the target than to random negative samples, rather than simply minimizing mean squared error.
Experimental Methodology
The framework was evaluated using various base embeddings (GloVe, SGNS, FastText) and linguistic constraints from PPDB and BabelNet. Performance was measured through intrinsic benchmarks (SimLex-999 and SimVerb-3500) and downstream applications, including Dialogue State Tracking (DST) and Lexical Simplification (LS), across English, German, and Italian.
Results and Discussion
The experiments demonstrate that specializing the entire vocabulary consistently outperforms methods that only target seen words. For instance, in a hold-out test on SimLex-999, Spearman’s correlation for GloVe vectors improved from 0.408 to 0.603.
As shown in the figure above, performance gains are strongly correlated with the depth of the mapping network. However, these gains tend to saturate around 5 to 6 hidden layers, suggesting a limit to the semantic signal currently extractable from available lexical resources.
In downstream tasks, post-specialized vectors achieved a joint goal accuracy of 83.5% on the Wizard-of-Oz (WOZ) dataset, significantly higher than the 79.7% achieved by original distributional vectors. Similarly, in lexical simplification, the method provided a 5-6% accuracy boost, confirming that improved synonym representation directly enhances text processing tasks.
Conclusion
Post-specialization effectively "repairs" the entire word vector space by learning the underlying structural transformation between distributional and semantic spaces. This approach is language-agnostic and particularly beneficial for the "unseen" majority of vocabularies, such as slang or technical terms. Future work will explore handling asymmetric relations like hypernymy and developing even more sophisticated non-linear mapping functions.
Summary updated