Abstract: Patrick Lee, Iyanuoluwa Shode, Alain Trujillo, Yuan Zhao, Olumide Ojo, Diana Plancarte, Anna Feldman, Jing Peng. Proceedings of the 12th Joint Conference on Lexical and Computational Semantics (*SEM 2023).
2023.
Introduction
Euphemisms—terms like "between jobs" or "neutralize"—are linguistic tools used to mask sensitive or unpleasant topics. While humans navigate these nuances naturally, modern AI models face significant challenges in disambiguating them. This paper, presented at *SEM 2023, investigates the role of "vagueness" in euphemism detection and expands the field's reach by introducing the first major euphemism datasets for Mandarin Chinese, Spanish, and Yorùbá.
The Challenge of Potentially Euphemistic Terms (PETs)
In Natural Language Processing (NLP), these expressions are referred to as Potentially Euphemistic Terms (PETs) because their meaning is inherently context-dependent. For instance, "passed away" is almost universally a euphemism for death. However, a phrase like "between jobs" can be euphemistic (referring to unemployment) or literal (referring to the physical transition between two workplaces).
While previous research established that transformer-based models like BERT are effective at this disambiguation task, the underlying reasons for their success remained unclear. Furthermore, research has been predominantly focused on English, leaving a gap in multilingual understanding.
Methodology
The researchers conducted three primary investigations:
- Vagueness Analysis: To determine if "vagueness" serves as a signal for models, the team labeled PETs as Vague Euphemistic Terms (VETs) or non-VETs. They used an indirect proxy for vagueness: six linguists provided paraphrases for PETs. If the paraphrases were highly diverse (indicated by low cosine similarity using Sentence-BERT), the term was classified as "vague."
- Sensitivity Scoring: To analyze model errors, the team used a "sensitive word list" (e.g., 'death', 'kill', 'sex') and calculated the sensitivity of sentence contexts using Word2Vec. This tested whether models were simply associating sensitive keywords with the euphemism label.
- Multilingual Benchmarking: The study established performance baselines across different language families by fine-tuning mBERT, XLM-RoBERTa-base, and XLM-RoBERTa-large on new datasets.
Multilingual Datasets
The study utilized four distinct datasets to broaden the scope of euphemism research:
- English: An updated corpus of 1,952 examples.
- Mandarin Chinese: 1,552 examples sourced from news articles.
- Spanish: 961 examples covering Latin American and Castilian dialects.
- Yorùbá: 1,942 examples from news, religious texts, and social media. Yorùbá is a particularly significant addition as a low-resource, tonal language.
Key Results and Insights
The experimentation yielded several critical findings regarding how models process euphemisms:
Vagueness as a Linguistic Signal
A major finding was that models performed significantly better on vague terms than on non-vague ones. RoBERTa-base achieved an F1 score of 0.853 on vague PETs compared to 0.793 on non-vague PETs. This suggests that intentional vagueness leaves specific linguistic markers that transformers are adept at identifying.
The "Sensitive Word" Trap
Error analysis revealed a potential weakness: models often get "confused" by sensitive vocabulary. When a non-euphemistic sentence contains words like "death" or "politics," models are more likely to incorrectly label it as a euphemism. This indicates an over-reliance on keyword associations rather than deep pragmatic understanding.
Multilingual Performance
- Mandarin Chinese: Achieved the highest performance, with mBERT reaching an F1 of 0.901.
- Spanish: Reached an F1 of 0.776 using XLM-R Large.
- Yorùbá: Established a solid baseline with an F1 of 0.729 using mBERT. Notably, mBERT often outperformed the newer XLM-RoBERTa-base in Yorùbá, despite the latter not being specifically pre-trained on the language.
Limitations and Future Directions
The authors identified several areas for improvement:
- Data Artifacts: Brackets used to mark PETs in the Chinese dataset may have inflated scores by acting as hints.
- Yorùbá Diacritics: The lack of proper tonal marks in web-sourced Yorùbá data likely hindered performance.
- Contextual Vagueness: The study assumed vagueness is a property of the term itself, whereas it can often be context-dependent.
Future research will explore other pragmatic features such as indirectness and politeness, while refining datasets to ensure models are learning deep linguistic patterns rather than surface-level artifacts.
Summary updated