English

LaiDA: Linguistics-aware In-context Learning with Data Augmentation for Metaphor Components Identification

Computation and Language 2024-08-13 v1

Abstract

Metaphor Components Identification (MCI) contributes to enhancing machine understanding of metaphors, thereby advancing downstream natural language processing tasks. However, the complexity, diversity, and dependency on context and background knowledge pose significant challenges for MCI. Large language models (LLMs) offer new avenues for accurate comprehension of complex natural language texts due to their strong semantic analysis and extensive commonsense knowledge. In this research, a new LLM-based framework is proposed, named Linguistics-aware In-context Learning with Data Augmentation (LaiDA). Specifically, ChatGPT and supervised fine-tuning are utilized to tailor a high-quality dataset. LaiDA incorporates a simile dataset for pre-training. A graph attention network encoder generates linguistically rich feature representations to retrieve similar examples. Subsequently, LLM is fine-tuned with prompts that integrate linguistically similar examples. LaiDA ranked 2nd in Subtask 2 of NLPCC2024 Shared Task 9, demonstrating its effectiveness. Code and data are available at https://github.com/WXLJZ/LaiDA.

Keywords

Cite

@article{arxiv.2408.05404,
  title  = {LaiDA: Linguistics-aware In-context Learning with Data Augmentation for Metaphor Components Identification},
  author = {Hongde Liu and Chenyuan He and Feiyang Meng and Changyong Niu and Yuxiang Jia},
  journal= {arXiv preprint arXiv:2408.05404},
  year   = {2024}
}

Comments

This paper has been accepted by NLPCC 2024 Shared Tasks

R2 v1 2026-06-28T18:09:11.621Z