Abstract
Transformers have been shown to work well for the task of English euphemism disambiguation, in which a potentially euphemistic term (PET) is classified as euphemistic or non-euphemistic in a particular context. In this study, we expand on the task in two ways. First, we annotate PETs for vagueness, a linguistic property associated with euphemisms, and find that transformers are generally better at classifying vague PETs, suggesting linguistic differences in the data that impact performance. Second, we present novel euphemism corpora in three different languages: Yoruba, Spanish, and Mandarin Chinese. We perform euphemism disambiguation experiments in each language using multilingual transformer models mBERT and XLM-RoBERTa, establishing preliminary results from which to launch future work.
Introduction
Euphemisms serve as linguistic tools to soften harsh realities or navigate sensitive topics, such as using "passed away" instead of "died" or "between jobs" instead of "unemployed." In Natural Language Processing (NLP), the task of euphemism disambiguation involves determining whether a "Potentially Euphemistic Term" (PET) is used in its literal sense or as a figurative euphemism within a specific context. While transformer-based models have achieved high performance in English, significant questions remain regarding the linguistic properties these models exploit and their generalizability across diverse languages.
Methodology: Probing Vagueness and Sensitivity
To better understand model behavior, this research introduces two key analytical frameworks: vagueness labeling and sensitivity scoring.
Vagueness Labeling
Vagueness is a core characteristic of euphemisms, yet it is difficult to define objectively. The authors implemented an indirect annotation task where annotators provided paraphrases for PETs. A term was classified as a Vague Euphemistic Term (VET) if the paraphrases provided by multiple annotators showed high semantic diversity, quantified by low cosine similarity of Sentence-BERT embeddings.
Sensitivity Scoring
The study also investigated whether models rely on "keyword spotting" rather than pragmatic understanding. By identifying 22 "sensitive" words (e.g., death, sex, crime) and using Word2Vec to calculate a "sensitivity score" for contexts, the researchers could analyze if the presence of these words influenced model predictions.
Multilingual Dataset Expansion
A major contribution of this work is the creation of new euphemism corpora for three languages:
- Mandarin Chinese: 1,552 examples sourced from news articles.
- Spanish: 961 examples covering various dialects (Latin American and Castilian).
- Yorùbá: 1,942 examples sourced from diverse media, including news, religious texts, and social media. As a low-resourced, tonal, and agglutinative language, Yorùbá presents unique challenges for NLP models.
Results and Analysis
The experiments revealed that linguistic properties significantly impact model performance.
The Impact of Vagueness
Transformers demonstrated a clear advantage when processing vague terms. In English, RoBERTa-base achieved an F1-score of 0.853 on vague PETs, compared to 0.793 for non-vague terms. This suggests that the indirect nature of VETs provides a more distinct signal for the models to capture.
The "Sensitive Word" Crutch
Error analysis indicated that models might use sensitive keywords as a heuristic. Euphemisms missed by the model often appeared in contexts with low sensitivity scores (fewer "scary" words), while literal terms incorrectly labeled as euphemisms often appeared in high-sensitivity contexts.
Cross-Lingual Performance
Multilingual models (mBERT and XLM-RoBERTa) provided solid baselines across all three new languages. Mandarin Chinese showed the highest performance (mBERT F1: 0.901), though this was likely aided by the presence of angle brackets around PETs in the dataset. Spanish and Yorùbá achieved respectable baseline F1 scores of 0.747 and 0.729, respectively.
Conclusion and Future Work
This study highlights that while transformers are effective at euphemism disambiguation, they may rely on surface-level cues like vagueness and sensitive keywords. The expansion into Yorùbá, Spanish, and Mandarin Chinese opens new avenues for cross-lingual research. Future work will focus on incorporating other pragmatic features like politeness and expanding these datasets to support more robust transfer learning.
Summary updated