Metaphor Detection via Explicit Basic Meanings Modelling

Yucheng Li, Shun Wang, Chenghua Lin, Frank Guerin

Introduction

Metaphor detection is a critical task in natural language processing, traditionally guided by the Metaphor Identification Procedure (MIP). According to MIP, a word is metaphorical if its contextual meaning contrasts with its "basic" meaning—typically a more concrete, physical, or historically primary sense. For example, in the phrase "He attacked my argument," the basic meaning of "attack" (physical combat) contrasts with its contextual use (verbal disagreement).

The Challenge: The "Frequency Trap"

A significant hurdle for automated systems is the "Frequency Trap." Most models approximate a word's basic meaning using aggregated embeddings, such as static GloVe vectors or decontextualized BERT outputs. However, in large-scale text corpora, metaphorical uses often dominate. For words like "back" or "see," the "average" embedding is heavily influenced by metaphorical senses, obscuring the literal baseline and making contrast detection nearly impossible.

Semantic distribution of the word "back" illustrating how metaphorical senses dominate the vector space and "pollute" the average representation.

Methodology: BasicMIP and BasicBERT

To overcome this, the authors propose BasicMIP, a novel mechanism that explicitly models a word's literal sense. Unlike traditional methods that use a single "average" vector, BasicMIP identifies instances in the training set where a target word is explicitly labeled as literal. These examples are processed through a RoBERTa encoder to create a "clean" representation of the basic meaning.

Architectural comparison between the standard Aggregated MIP (AMIP) and the proposed BasicMIP approach.

The final model, BasicBERT, integrates three distinct signals:

  • BasicMIP: The contrast between contextual meaning and sampled literal meaning.
  • AMIP (Aggregated MIP): The contrast between context and a decontextualized embedding.
  • SPV (Selectional Preference Violation): The contrast between the target word and the overall sentence context (represented by the [CLS] token).

If a word lacks literal examples in the training data, the model gracefully falls back to the standard AMIP method.

Key Insights and Results

The explicit modeling of literal meanings significantly amplifies the contrast signal. The authors found that the cosine distance "gap" between metaphorical and literal cases expanded from 0.13 in traditional models to 0.89 with BasicMIP, greatly simplifying the classification task.

Performance Benchmarks

BasicBERT achieved state-of-the-art (SOTA) results on the VUA18 and VUA20 benchmarks:

  • SOTA Performance: It outperformed previous leaders by 1.0% in F1 score on VUA20.
  • Human-Level Accuracy: For words with literal training examples, the model reached an F1 score of 81.1%, matching the theoretical upper bound of human inter-annotator agreement (~0.80).
  • Ablation Study: Removing the basic meaning component resulted in a performance drop of up to 1.1% F1, validating the importance of explicit literal modeling.

Conclusion

By isolating the literal baseline from metaphorical "pollution," BasicBERT sets a new standard for metaphor detection. While currently dependent on literal examples in training data, future work could leverage external dictionaries to provide basic meanings for a broader vocabulary. This contrast-based framework also offers a promising path for identifying other forms of non-literal language, such as irony and sarcasm.

Summary updated

BibTeX
@inproceedings{li2023metaphor,
  author = {Yucheng Li and Shun Wang and Chenghua Lin and Frank Guerin},
  title = {{Metaphor Detection via Explicit Basic Meanings Modelling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-short.9},
}
Figure