Curriculum-style Data Augmentation for LLM-based Metaphor Detection

Kaidi Jia, Yanxia Wu, Ming Liu, Rongsheng Li
12/4/2024
cs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Recently, utilizing large language models (LLMs) for metaphor detection has achieved promising results. However, these methods heavily rely on the capabilities of closed-source LLMs, which come with relatively high inference costs and latency. To address this, we propose a method for metaphor detection by fine-tuning open-source LLMs, effectively reducing inference costs and latency with a single inference step. Furthermore, metaphor detection suffers from a severe data scarcity problem, which hinders effective fine-tuning of LLMs. To tackle this, we introduce Curriculum-style Data Augmentation (CDA). Specifically, before fine-tuning, we evaluate the training data to identify correctly predicted instances for fine-tuning, while incorrectly predicted instances are used as seed data for data augmentation. This approach enables the model to quickly learn simpler knowledge and progressively acquire more complex knowledge, thereby improving performance incrementally. Experimental results demonstrate that our method achieves state-of-the-art performance across all baselines. Additionally, we provide detailed ablation studies to validate the effectiveness of CDA.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jia2024curriculumstyle,
  title  = {Curriculum-style Data Augmentation for LLM-based Metaphor Detection},
  author = {Kaidi Jia and Yanxia Wu and Ming Liu and Rongsheng Li},
  year   = {2024},
  eprint = {2412.02956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.02956v2}
}

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.02956.svg)](https://codeofpaper.com/paper/2412.02956)

Discussion