Introduction
Word Sense Disambiguation (WSD) remains a fundamental challenge in Natural Language Processing, requiring models to distinguish between multiple meanings of the same word based on context (e.g., distinguishing "bank" as a financial institution from "bank" as a river edge). A persistent obstacle in this field is the extreme data imbalance found in natural language: a few "Most Frequent Senses" (MFS) appear constantly, while the vast majority of "Least Frequent Senses" (LFS) are rarely represented in training corpora. This "long tail" distribution causes models to develop a strong bias toward common meanings, leading to poor performance on rare but critical word senses.
To address this, the authors propose SMSMix (Sense-Maintained Sentence Mixup), a novel data augmentation technique designed to provide diverse, sense-preserving contexts for rare word meanings. Unlike traditional Mixup techniques that often degrade textual coherence, SMSMix leverages gradient-based saliency and generative smoothing to create high-quality synthetic training data.
The SMSMix Methodology
The SMSMix pipeline consists of four distinct stages designed to expand the linguistic environment of a target word without altering its intended sense.
1. Saliency Mapping
The first step involves identifying which parts of a sentence are most critical to the target word's specific sense. The model calculates a "saliency score" for each token by computing the gradient of the classification loss with respect to the input embeddings. Tokens with high saliency are those that the model relies on most to determine the correct sense.
2. Span Extraction
Based on the saliency scores, the method identifies a "sense-maintained span." This window of text includes the target word and its most salient neighbors, ensuring that the essential semantic clues remain intact during the augmentation process.
3. External Injection
While standard data augmentation often mixes examples from within the training set, SMSMix utilizes an external corpus (Wikipedia). The extracted span is injected into a random sentence from Wikipedia. This approach prioritizes context diversity over simple regularization, exposing the model to entirely new syntactic and semantic structures that it would not encounter in the original training set.
4. T5-Based Smoothing
Directly inserting a span into a random sentence often results in ungrammatical "strong edges" at the boundaries. To resolve this, the authors employ a T5 model. Mask tokens are placed at the junction points between the original span and the new Wikipedia context, and T5 is tasked with "filling in the blanks" to create a grammatically fluid and natural-sounding sentence.
Experimental Results
The authors evaluated SMSMix using the SemCor training set and tested it across standard English all-words WSD benchmarks, including Senseval-2, Senseval-3, and SemEval (2007, 2013, 2015). To verify sense preservation, they also utilized OMSTI for latent space visualization.
Performance Gains
The results demonstrate that SMSMix provides a significant boost over strong baselines like BEM (Bi-Encoder Model) and simple oversampling:
- Overall Accuracy: On the aggregated "ALL" test set, SMSMix improved the macro-F1 score from 73.9 to 74.8.
- Impact on Rare Senses: The most notable improvement occurred in the Least Frequent Senses (LFS) category, where the macro-F1 score rose to 59.7—a 2.0 point increase over the baseline.
- Generalization: The method also showed improved robustness in zero-shot settings (0-lex and 0-def), suggesting that the model learned more generalized semantic representations rather than just memorizing specific contexts.
Key Insights
The success of SMSMix highlights several important principles for NLP data augmentation:
- Context Diversity > Regularization: Mixing with external Wikipedia sentences proved more effective than internal mixing. This suggests that for rare senses, the primary need is for a wider variety of linguistic environments to improve generalization.
- Saliency as a Guardrail: Using gradients to select the span acts as a mathematical guardrail, ensuring that the "clues" defining a sense are never lost during the transformation. t-SNE visualizations confirmed that embeddings of SMSMix-generated sentences cluster tightly with original labeled data.
- Smoothing is Essential: The use of T5 for smoothing was critical. High-quality synthetic data that maintains grammatical integrity is far more beneficial for model training than noisy, ungrammatical "pasted" sentences.
Limitations and Future Directions
Despite its success, SMSMix has areas for refinement. The authors noted that T5 occasionally fails to bridge the gap between highly disparate contexts, leading to grammatical errors. Furthermore, the current process selects Wikipedia sentences at random; future iterations could use sentence similarity metrics to find more compatible external contexts. Finally, the computational overhead of using a T5-large model for data generation is higher than simpler methods, representing a trade-off between performance and efficiency.
Summary updated