A Dual-Perspective Metaphor Detection Framework Using Large Language Models

Yujie Lin, Jingyao Liu, Yan Gao, Ante Wang, Jinsong Su
12/23/2024
cs.CL

No official code found. Best implementation: XMUDeepLIT/DMD (4 stars, last commit 2024-12-22).

Abstract

Metaphor detection, a critical task in natural language processing, involves identifying whether a particular word in a sentence is used metaphorically. Traditional approaches often rely on supervised learning models that implicitly encode semantic relationships based on metaphor theories. However, these methods often suffer from a lack of transparency in their decision-making processes, which undermines the reliability of their predictions. Recent research indicates that LLMs (large language models) exhibit significant potential in metaphor detection. Nevertheless, their reasoning capabilities are constrained by predefined knowledge graphs. To overcome these limitations, we propose DMD, a novel dual-perspective framework that harnesses both implicit and explicit applications of metaphor theories to guide LLMs in metaphor detection and adopts a self-judgment mechanism to validate the responses from the aforementioned forms of guidance. In comparison to previous methods, our framework offers more transparent reasoning processes and delivers more reliable predictions. Experimental results prove the effectiveness of DMD, demonstrating state-of-the-art performance across widely-used datasets.

View on arXivView PDF

Code Implementations(1)

XMUDeepLIT/DMDCommunity100%

Code for "A Dual-Perspective Metaphor Detection Framework Using Large Language Models" (ICASSP 2025).

41Jupyter NotebookDec 22, 20241 years ago

Similar Papers

Cite this paper

@article{lin2024dualperspective,
  title  = {A Dual-Perspective Metaphor Detection Framework Using Large Language Models},
  author = {Yujie Lin and Jingyao Liu and Yan Gao and Ante Wang and Jinsong Su},
  year   = {2024},
  eprint = {2412.17332},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17332v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.17332.svg)](https://codeofpaper.com/paper/2412.17332)

Discussion