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

NegativePrompt:利用心理学通过负面情绪刺激增强大型语言模型

NegativePrompt: Leveraging Psychology for Large Language Models Enhancement via Negative Emotional Stimuli

School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);Institute of Software, CAS(中国科学院软件研究所);Microsoft Research Asia(微软亚洲研究院);Key Laboratory of Symbolic Computation and Knowledge Engineering, Jilin University(吉林大学符号计算与知识工程重点实验室);International Center of Future Science, Jilin University(吉林大学未来科学国际合作联合实验室)

Xu Wang, Cheng Li, Yi Chang, Jindong Wang, Yuan Wu

AI总结:

本文提出基于心理学原理的 NegativePrompt,用十种负面情绪刺激提示增强 LLM,并在五个模型、45 项任务上验证其显著性能提升。

摘要:

大型语言模型(LLM)已成为从传统计算任务到高级人工智能(AI)应用等广泛应用中不可或缺的一部分。这种广泛采用推动了包括社会科学在内的多个学科对 LLM 进行深入研究。值得注意的是,已有研究表明 LLM 具备情绪智力,并且这种能力可以通过积极情绪刺激进一步发展。这一发现引出了一个有趣的问题:负面情绪是否同样能够影响 LLM,并可能提升其性能?针对该问题,我们提出 NegativePrompt,这是一种以心理学原理为基础的新方法,包含十种专门设计的负面情绪刺激。我们对 Flan-T5-Large、Vicuna、Llama 2、ChatGPT 和 GPT-4 等五个 LLM,在一组 45 项任务上开展严格实验评估。结果颇具启发性:NegativePrompt 显著提升了 LLM 的性能,Instruction Induction 任务相对提升 12.89%,BIG-Bench 任务相对提升 46.25%。此外,我们进行注意力可视化实验,以解释 NegativePrompt 产生影响的潜在机制。本研究显著促进了对 LLM 与情绪交互的理解,证明 NegativePrompt 作为一种情绪驱动方法的实际有效性,并为真实世界应用中的 LLM 增强提供了新的见解。代码可在 https://github.com/wangxu0820/NegativePrompt 获取。

英文摘要:

Large Language Models (LLMs) have become integral to a wide spectrum of applications, ranging from traditional computing tasks to advanced artificial intelligence (AI) applications. This widespread adoption has spurred extensive research into LLMs across various disciplines, including the social sciences. Notably, studies have revealed that LLMs possess emotional intelligence, which can be further developed through positive emotional stimuli. This discovery raises an intriguing question: can negative emotions similarly influence LLMs, potentially enhancing their performance? In response to this question, we introduce NegativePrompt, a novel approach underpinned by psychological principles, involving ten specifically designed negative emotional stimuli. We embark on rigorous experimental evaluations of five LLMs including Flan-T5-Large, Vicuna, Llama 2, ChatGPT, and GPT-4, across a set of 45 tasks. The results are revealing: NegativePrompt markedly enhances the performance of LLMs, evidenced by relative improvements of 12.89% in Instruction Induction tasks and 46.25% in BIG-Bench tasks. Moreover, we conduct attention visualization experiments to decipher the underlying mechanisms of NegativePrompt's influence. Our research contributes significantly to the understanding of LLMs and emotion interaction, demonstrating the practical efficacy of NegativePrompt as an emotion-driven method and offering novel insights for the enhancement of LLMs in real-world applications. The code is available at https://github.com/wangxu0820/NegativePrompt.

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

↑