Introduction
Word Sense Disambiguation (WSD) is a fundamental task in Natural Language Processing that involves identifying the correct meaning of a polysemous word in context. A significant challenge in WSD is the extreme data imbalance between Most Frequent Senses (MFS) and Least Frequent Senses (LFS). Models trained on standard datasets like SemCor often overfit to common senses, failing to generalize to rare ones. While data augmentation techniques like oversampling exist, they often lead to memorization rather than conceptual learning.
Methodology: SMSMix
To address the "long tail" problem, we propose SMSMix (Sense-Maintained Sentence Mixup). This technique creates synthetic training data by blending sentences while preserving the target word's specific sense. The workflow consists of three primary stages:
- Saliency-based Span Selection: Using gradient-based saliency scores, the model identifies the "sense-maintained span"—the minimal context required to anchor the target word's meaning.
- External Mixup: The identified span is injected into a random "host" sentence from a large external corpus (Wikipedia). This provides diverse linguistic environments for the target sense.
- T5 Smoothing: To ensure grammatical coherence, a T5 model predicts tokens at the boundaries of the injected span, smoothing the transition between the original context and the new host sentence.
Experimental Setup
The method was evaluated using SemCor for training and a standard suite of WSD benchmarks, including Senseval-2, Senseval-3, SemEval-2007, SemEval-2013, and SemEval-2015. Wikipedia served as the external corpus for host sentences.
Key Insights and Results
The primary success of SMSMix lies in its ability to improve performance on rare senses without degrading overall accuracy. On Least Frequent Senses (LFS), SMSMix achieved a 2.0 point Macro-F1 improvement over the baseline BEM model. On the aggregated "ALL" test set, it reached a Macro-F1 of 74.8, outperforming both the baseline (73.9) and simple oversampling (74.6).
A critical finding is that diversity in context is more valuable than raw data quantity. External mixup outperformed internal mixup, suggesting that exposure to varied syntactic structures helps the model learn more robust sense representations.
As shown in the t-SNE visualization above, the synthetic sentences generated by SMSMix cluster closely with original human-annotated senses in the model's latent space. This confirms that the "sense-maintained span" effectively preserves semantic meaning even when transplanted into entirely new contexts.
Limitations and Future Work
Despite its success, SMSMix faces challenges. Occasionally, the T5 model fails to reconcile highly disparate contexts, leading to ungrammatical outputs. Furthermore, the random selection of host sentences is currently sub-optimal; future work could utilize sentence similarity metrics to find more compatible host environments. Finally, the use of generative models like T5 introduces additional computational overhead during the data augmentation phase.
Summary updated