Abstract
Traditional word embeddings often conflate multiple meanings into a single vector, leading to ambiguity in downstream tasks. This paper presents CapsDecE2S, a framework that leverages Capsule Networks to decompose unsupervised word embeddings into multiple "morpheme-like" semantic units. By reassembling these units through a context-aware attention mechanism, the model generates precise, context-specific sense representations. Evaluated on Word Sense Disambiguation (WSD) and Word-in-Context (WiC) tasks, CapsDecE2S achieves new state-of-the-art performance, demonstrating the effectiveness of capsule-based semantic decomposition.
Introduction
Ambiguity remains a fundamental challenge in Natural Language Processing (NLP). While unsupervised embeddings like Word2Vec or GloVe provide dense representations, they typically collapse all senses of a polysemous word into a single vector. Even contextualized models like BERT, while powerful, often lack explicit sense labels and fail to fully utilize the latent semantic information within unsupervised embeddings.
The authors identify two critical gaps: the difficulty of extracting specific sense information from conflated embeddings and the "label bottleneck" in supervised WSD, which requires classifying words into thousands of predefined sense labels. This paper addresses these issues by treating word embeddings as a mixture of semantic signals that can be "unmixed" using Capsule Networks.
Methods
The CapsDecE2S (Capsule network-based method to Decompose unsupervised word Embedding into context-specific Sense embedding) architecture consists of three primary modules:
1. Embedding Decomposing Module
Inspired by the ability of Capsule Networks to recognize overlapping features in computer vision, the authors apply them to segment word embeddings. An unsupervised embedding is processed by a Capsule Decomposing Network to produce $p$ "morpheme-like vectors," which serve as basic semantic building blocks.
The internal mechanism of the capsule network involves dynamic routing between layers to determine how lower-level features (morpheme-like units) contribute to higher-level sense representations.
2. Context Learning Module
Simultaneously, a neural encoder (e.g., BERT) processes the input sentence to generate both global and local context representations. This ensures the model understands the specific environment in which the target word appears.
3. Attention and Recomposition
An attention mechanism determines the relevance of each morpheme-like vector to the current context. These vectors are then weighted and combined using an L2-norm composition to form the final sense representation.
Word Sense Matching Training
To overcome the label bottleneck, the authors propose a binary Word Sense Matching task. Instead of multi-class classification, the model predicts whether a target word in two different sentences shares the same sense. This approach facilitates zero-shot generalization by allowing the model to match word senses against WordNet glosses.
Results
The model was evaluated on the Word-in-Context (WiC) task and the English All-Words WSD benchmark (Senseval and SemEval suites), using SemCor 3.0 for training.
- WiC Task: CapsDecE2S achieved 70.6% accuracy, significantly outperforming BERT-large (65.5%) and the previous state-of-the-art (69.1%).
- WSD Task: On the "All-words" benchmark, the model reached an overall F1-score of 78.6%, setting a new state-of-the-art. Notably, it improved performance on Senseval-3 by 5.5%.
- Ablation Study: Removing the Capsule Network resulted in a 6.2% drop in F1-score, confirming that the decomposition step is critical to the model's success.
Conclusion
CapsDecE2S demonstrates that Capsule Networks can effectively "unmix" semantic signals within ambiguous word embeddings. By decomposing embeddings into a flexible "vocabulary of concepts," the model creates more robust and distinct representations than standard contextualized models.
While the model shows great promise, challenges remain in handling linking verbs (e.g., "be," "have") and distinguishing between extremely fine-grained senses. Future work will explore applying these decomposed vectors to other tasks like machine translation and summarization, as well as reducing annotation costs through larger, diverse corpora.
Summary updated