arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09177cs.CLcs.AI
收藏

基于多阶段提示大语言模型的中文隐喻识别

Chinese Metaphor Recognition Using a Multi-stage Prompting Large Language Model

School of Information Science and Engineering Yunnan University(云南大学信息科学与工程学院)

Jie Wang, Jin Wang, Xuejie Zhang

AI总结:

针对现有预训练模型无法处理缺本体/喻体的中文隐喻识别问题,提出多阶段生成式启发增强提示框架,结合小模型置信度、问题聚类采样和示例构建提示,在NLPCC-2024相关评测中取得优异成绩。

摘要:

隐喻在日常语言中十分常见,模型对隐喻的识别与理解有助于实现对文本的更好理解。现有研究主要通过预训练模型进行隐喻识别与生成,但无法处理隐喻中不包含本体或喻体的情况。使用大语言模型(Large Language Models, LLMs)可有效解决该问题,但这一研究领域尚处于早期阶段,仍有很大的探索空间。本研究提出一种多阶段生成式启发增强提示框架,以提升LLMs识别中文隐喻中本体、喻体和喻底的能力。第一阶段,训练一个小模型以获得生成候选答案所需的置信度分数;第二阶段,按照特定规则对问题进行聚类和采样;最后,结合生成的候选答案和示例构建所需的启发增强提示。所提模型在NLPCC-2024 Shared Task 9中取得了子任务1赛道1第3名、子任务1赛道2第1名,以及子任务2两个赛道均第1名的成绩。

英文摘要:

Metaphors are common in everyday language, and the identification and understanding of metaphors are facilitated by models to achieve a better understanding of the text. Metaphors are mainly identified and generated by pre-trained models in existing research, but situations, where tenors or vehicles are not included in the metaphor, cannot be handled. The problem can be effectively solved by using Large Language Models (LLMs), but significant room for exploration remains in this early-stage research area. A multi-stage generative heuristic-enhanced prompt framework is proposed in this study to enhance the ability of LLMs to recognize tenors, vehicles, and grounds in Chinese metaphors. In the first stage, a small model is trained to obtain the required confidence score for answer candidate generation. In the second stage, questions are clustered and sampled according to specific rules. Finally, the heuristic-enhanced prompt needed is formed by combining the generated answer candidates and demonstrations. The proposed model achieved 3rd place in Track 1 of Subtask 1, 1st place in Track 2 of Subtask 1, and 1st place in both tracks of Subtask 2 at the NLPCC-2024 Shared Task 9.

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

↑