arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.05404cs.CL
收藏

LaiDA:面向隐喻成分识别的结合数据增强的语言学感知上下文学习

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

School of Computer and Artificial Intelligence, Zhengzhou University(郑州大学计算机与人工智能学院)

Hongde Liu, Chenyuan He, Feiyang Meng, Changyong Niu, Yuxiang Jia

AI总结:

针对隐喻成分识别的复杂性与语境依赖难题,提出融合语言学感知与数据增强的LaiDA框架,通过图注意力网络检索相似示例微调大语言模型,在NLPCC2024相关子任务中获第二名。

摘要:

隐喻成分识别(MCI)有助于提升机器对隐喻的理解能力,进而推动下游自然语言处理任务的发展。然而,MCI的复杂性、多样性以及对语境和背景知识的依赖性,为其带来了重大挑战。大语言模型(LLM)凭借强大的语义分析能力和丰富的常识知识,为准确理解复杂自然语言文本提供了新途径。本研究提出了一种基于大语言模型的新框架,名为结合数据增强的语言学感知上下文学习(LaiDA)。具体而言,研究利用ChatGPT和监督微调构建了高质量数据集;LaiDA引入明喻数据集进行预训练,通过图注意力网络编码器生成富含语言学特征的表示,以检索相似示例;随后,使用融合语言学相似示例的提示对大语言模型进行微调。LaiDA在NLPCC2024共享任务9的子任务2中获得第二名,证明了其有效性。代码和数据可在https://github.com/WXLJZ/LaiDA获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑