Applying Additional Auxiliary Context Using Large Language Model for Metaphor Detection
Metaphor detection is challenging in natural language processing (NLP) because it requires recognizing nuanced semantic shifts beyond literal meaning, and conventional models often falter when contextual cues are limited. We propose a method to enhance metaphor detection by augmenting input sentences with auxiliary context generated by ChatGPT. In our approach, ChatGPT produces semantically relevant sentences that are inserted before, after, or on both sides of a target sentence, allowing us to analyze the impact of context position and length on classification. Experiments on three benchmark datasets (MOH-X, VUA_All, VUA_Verb) show that this context-enriched input consistently outperforms the no-context baseline across accuracy, precision, recall, and F1-score, with the MOH-X dataset achieving the largest F1 gain. These improvements are statistically significant based on two-tailed t-tests. Our findings demonstrate that generative models can effectively enrich context for metaphor understanding, highlighting context placement and quantity as critical factors. Finally, we outline future directions, including advanced prompt engineering, optimizing context lengths, and extending this approach to multilingual metaphor detection.
Authors
- Minoru Sasaki (ORCID: https://orcid.org/0000-0002-8101-2796)
- Takuya Hayashi
Institutions
- Ibaraki University (JP)
Publication Details
- Journal
- Big Data and Cognitive Computing
- Published
- 2025-08-25
- DOI
- https://doi.org/10.3390/bdcc9090218
- Primary Topic
- Language, Metaphor, and Cognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Japan Society for the Promotion of Science