Introduction
In Natural Language Processing, the shift from static word embeddings to contextualized representations has significantly improved performance across various tasks. However, a middle ground exists: sense embeddings, which assign a unique vector to each individual sense of a word. Despite their utility, existing sense embedding models are often fragmented, varying in training data (dictionary glosses vs. sense-tagged corpora) and coverage (e.g., WordNet subsets).
This fragmentation presents two primary challenges. First, no single model offers perfect coverage, leading to "missing senses" in downstream applications. Second, there is an "alignment gap": sense embeddings and contextual embeddings (like those from BERT) often reside in different vector spaces, making direct comparison difficult. This paper introduces Neighbour Preserving Meta-Sense Embeddings (NPMS), the first method designed to create meta-embeddings at the word-sense level by intelligently combining multiple pretrained sources.
Methodology: The NPMS Framework
The core of NPMS is a learned projection matrix for each source embedding that maps them into a unified "meta" space. The training objective is governed by two specialized loss functions:
- Sense Information Preservation ($L_{pip}$): Utilizing Pairwise Inner Product (PIP), NPMS ensures that the relative similarity between senses in the source space is preserved in the meta-space. This neighborhood-based approach allows the system to integrate models with vastly different dimensionalities (e.g., 2048-dim vs. 50-dim) without losing structural integrity.
- Contextual Alignment ($L_{cont}$): To bridge the alignment gap, meta-sense embeddings are forced to align with contextualized word embeddings from Masked Language Models (MLMs) like BERT. This ensures the resulting meta-embeddings are "plug-and-play" for modern transformer-based architectures.
NPMS handles missing senses by computing the meta-embedding as an average of the available projected versions from the source models.
Experimental Setup
The authors evaluated NPMS using several source embeddings, including LMMS (BERT, XLNet, and RoBERTa variants), SenseEmBERT, ARES, and DeConf. Performance was benchmarked on:
- Word Sense Disambiguation (WSD): A suite of five standard datasets (Senseval-2, Senseval-3, SemEval-07, SemEval-13, and SemEval-15).
- Word-in-Context (WiC): A binary classification task determining if a word shares the same sense across two sentences.
Training for contextual alignment was performed using the SemCor dataset.
Key Results
NPMS consistently outperformed individual source embeddings and standard meta-embedding baselines such as Singular Value Decomposition (SVD) and simple concatenation (CONC).
As shown in the results, NPMS achieved a state-of-the-art F1 score of 78.37 on the "ALL" WSD benchmark and 71.47% accuracy on WiC. These results demonstrate that NPMS effectively leverages the strengths of multiple models to surpass the performance of any single source.
Robustness to Model Diversity
A significant finding of the study is NPMS's ability to combine highly diverse embedding sources. While simple averaging (AVG) often fails when source models have different characteristics, NPMS's projection-based approach thrives.
For instance, combining a high-dimensional XLNet-based model with a low-dimensional GloVe-based model (DeConf) resulted in a nearly 10-point F1 gain in WSD performance compared to standard averaging. This highlights the effectiveness of the $L_{pip}$ loss in maintaining information across disparate vector spaces.
Conclusion
NPMS represents a significant advancement in sense representation, transforming static sense embeddings from isolated look-up tables into integrated components of modern NLP pipelines. By prioritizing neighborhood preservation and contextual alignment, NPMS solves the issues of coverage and compatibility that have previously limited the utility of sense embeddings. Future work will look toward extending this framework to multilingual contexts and exploring non-linear projection methods.
Summary updated