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

LLMs能否感知情绪?通过提示、检索和课程学习进行情绪识别

Do LLMs Feel? Teaching Emotion Recognition with Prompts, Retrieval, and Curriculum Learning

Xinran Li, Yu Liu, Jiaqi Qiao, Xiujuan Xu

AI总结:

本文提出PRC-Emo框架,结合提示工程、示范检索和课程学习,探索LLM在对话中感知情绪的能力,实验表明在IEMOCAP和MELD数据集上达到新的SOTA性能。

摘要:

对话中情绪识别(ERC)是理解人类情感和实现自然人机交互的关键任务。尽管大型语言模型(LLMs)在该领域展现出巨大潜力,但其捕捉显性与隐性情绪之间内在联系的能力仍有限。我们提出了一种新的ERC训练框架PRC-Emo,整合提示工程、示范检索和课程学习,旨在探索LLMs是否能有效感知对话中的情绪。具体而言,我们设计了基于显性和隐性情绪线索的emotion-sensitive提示模板,以更好地引导模型理解说话者的心理状态。我们构建了首个专门的示范检索仓库,包含广泛使用的数据集中的训练样本,以及由LLMs生成并人工验证的高质量对话示例。此外,我们引入课程学习策略到LoRA微调过程中,结合同说话人和异说话人之间的情绪变化权重,为对话样本分配难度级别,然后按由易到难的顺序进行训练。在两个基准数据集IEMOCAP和MELD上的实验结果表明,我们的方法达到了新的SOTA性能,证明了我们的方法在提升基于LLM的情绪理解方面的有效性与通用性。

英文摘要:

Emotion Recognition in Conversation (ERC) is a crucial task for understanding human emotions and enabling natural human-computer interaction. Although Large Language Models (LLMs) have recently shown great potential in this field, their ability to capture the intrinsic connections between explicit and implicit emotions remains limited. We propose a novel ERC training framework, PRC-Emo, which integrates Prompt engineering, demonstration Retrieval, and Curriculum learning, with the goal of exploring whether LLMs can effectively perceive emotions in conversational contexts. Specifically, we design emotion-sensitive prompt templates based on both explicit and implicit emotional cues to better guide the model in understanding the speaker's psychological states. We construct the first dedicated demonstration retrieval repository for ERC, which includes training samples from widely used datasets, as well as high-quality dialogue examples generated by LLMs and manually verified. Moreover, we introduce a curriculum learning strategy into the LoRA fine-tuning process, incorporating weighted emotional shifts between same-speaker and different-speaker utterances to assign difficulty levels to dialogue samples, which are then organized in an easy-to-hard training sequence. Experimental results on two benchmark datasets -- IEMOCAP and MELD -- show that our method achieves new state-of-the-art (SOTA) performance, demonstrating the effectiveness and generalizability of our approach in improving LLM-based emotional understanding.

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

↑