Metaphor identification—distinguishing between literal usage (e.g., "the keys to the car") and figurative usage (e.g., "the keys to success")—remains a fundamental challenge in Natural Language Processing. Traditional approaches often treat this as a sequence labeling task limited to individual sentences. However, this EMNLP 2021 paper argues that metaphors are deeply tied to broader discourse context and the "metaphorical status" of surrounding words.
The Core Problem: Context and Consistency
The authors identify two critical gaps in existing metaphor identification models:
- Contextual Label Information: The metaphoricity of one word often signals the metaphoricity of its neighbors. For instance, if "gambler" is identified as a metaphor, it increases the likelihood that "gambled" in the same sentence is also metaphorical.
- Discourse-Level Consistency: Metaphors often persist throughout a document. A word's usage in an early paragraph can help disambiguate its meaning in a later section.
Proposed Methodology
To address these gaps, the researchers introduced a hierarchical model built upon a BERT baseline, incorporating three architectural innovations to capture both local and global dependencies.
1. Label-Enhanced Contextualized Representation
This module embeds metaphoric and literal labels into the same vector space as word features. During training, a diagonal mask prevents a word from "seeing" its own label to avoid data leakage. During inference, an "Early Prediction" module provides preliminary labels to inform the final classification stage.
2. Position-Aware Global Memory Network
This network maintains a "memory" of every occurrence of a specific word across an entire document. Using a dot-product attention mechanism, the model compares the current target word with its previous appearances, weighted by their relative positions, to ensure discourse-level consistency.
3. Hierarchical Attention
The model incorporates local discourse context by considering a window of $k$ preceding and $k$ succeeding sentences around the target sentence, providing a broader view than single-sentence models.
Key Results
The model was evaluated on the VU Amsterdam Metaphor Corpus (VUA), the gold standard for the field, specifically targeting the VUA ALL POS and VUA Verbs tasks. The results demonstrated that the proposed approach achieves new state-of-the-art (SOTA) performance for models not relying on external linguistic knowledge.
As shown in the table above, the model consistently outperformed the previous SOTA, DeepMet. In controlled experiments using RoBERTa, the model achieved an F1 score of 74.3 on the ALL POS task (a 1.0% improvement) and 78.3 on the Verbs task (a 1.4% improvement). Ablation studies confirmed that the "label-enhance" module was the most significant contributor to these gains, proving that contextual metaphor information is a powerful signal.
Conclusion and Future Work
By treating labels as features and tracking word usage across documents, this hierarchical approach effectively captures the "figurative mood" of a text. While highly effective in logic-heavy genres like News and Academic writing, the model faces challenges with short, sparse contexts found in casual conversation. Future research aims to expand the global memory network to include semantic "frames," allowing the model to link related metaphorical concepts (e.g., "attack" and "defense") even if the exact words do not repeat.
Summary updated