Slang represents a significant hurdle for Natural Language Processing (NLP) because it involves the creative, non-literal reuse of existing vocabulary. For instance, when a speaker says they are "steamed," they are using a word associated with heat and vapor to convey anger. This paper introduces SSI (Semantically Informed Slang Interpretation), a framework designed to bridge the gap between literal definitions and informal usage by combining contextual clues with a semantic model of how word meanings naturally extend.
The Challenge of Informal Language
Traditional NLP systems often struggle with slang because it is highly contextual and relies on "flexible extended use." Most current approaches attempt to guess a word's meaning by looking solely at the surrounding context. However, context alone is frequently ambiguous.
Consider the sentence: "I got really [blank] when my car broke down." A standard language model might predict "sick," "upset," or "tired" as likely fillers. If the original word was "steamed," a model relying only on context might fail to connect the literal sense of the word to the intended slang meaning of anger. The authors argue that true slang understanding requires a model to grasp the semantic relationship between a word's conventional sense and its slang extension.
The SSI Framework
The authors propose a three-stage framework to interpret slang more effectively:
- Context-based Interpretation: A baseline model generates an $n$-best list of candidate meanings. This can be done using a pre-trained language model (like GPT-2) for "cloze tasks" or a dual encoder that processes both the slang word's spelling and its context.
- Semantic Model of Slang: This is the core innovation. Inspired by human metaphorical reasoning, the authors use contrastive learning (Siamese networks) to create a semantic space. In this space, slang meanings are mathematically pulled closer to their conventional counterparts (e.g., mapping "vapor" near "angry").
- Semantically Informed Reranking: The framework takes the initial candidates and reranks them using the semantic model. It also incorporates collaborative filtering, based on the assumption that words with similar literal meanings (like "boiling" and "steamed") likely extend into similar slang meanings.
By applying this reranking, the model can filter out contextually plausible but semantically unlikely candidates, such as "sick" or "drunk," in favor of the correct interpretation, "angry."
Datasets and Training
The study leverages three primary resources to train and evaluate the model:
- Online Slang Dictionary (OSD): A high-quality dataset used for low-resource and zero-shot evaluation.
- Urban Dictionary (UD): A massive, noisy collection used for training larger neural models.
- Oxford Dictionary (OD): Used to provide the "conventional" or literal senses of words, helping the model learn the trajectories of meaning extension.
Key Insights and Results
A central finding of the research is that slang extensions are non-random. Slang follows predictable paths of semantic change, such as metaphor or metonymy. By modeling these paths, the SSI system can generalize to slang it has never encountered before, demonstrating strong zero-shot capabilities. For example, even without fine-tuning on specific slang data, the SSI-enhanced model achieved significant gains in Mean Reciprocal Rank (MRR) on the OSD dataset.
Furthermore, the framework significantly improves Machine Translation (MT). By interpreting slang into a literal paraphrase before translation, the system avoids the nonsensical literal translations common in standard models. In English-to-French and English-to-German tests, SSI led to markedly higher quality scores across BLEU, BLEURT, and COMET metrics.
Limitations and Future Directions
While SSI marks a major step forward, the authors note several limitations. The current framework focuses on "semantic extensions" of existing words rather than the "coinage" of entirely new word forms (e.g., "yeet"). It is also currently optimized for single-word slang rather than multi-word expressions or idioms. Finally, because the models are trained on resources like Urban Dictionary, they risk inheriting social biases or offensive content, highlighting the need for ongoing ethical filtering in informal language processing.
Summary updated