Proceedings

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

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 6504-6512.

https://doi.org/10.24963/ijcai.2024/719

Abstract

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.

  1. [Ackerman, 2021] CE Ackerman. What are positive and negative emotions and do we need both? Positive Psy- chology. com, 2021.
  2. [Anastasi, 1964] Anne Anastasi. Fields of applied psychol- ogy. 1964.
  3. [Baker and Berenbaum, 2007] John P Baker and Howard Berenbaum. Emotional approach and problem-focused coping: A comparison of potentially adaptive strategies. Cognition and emotion, 21(1):95-118, 2007.
  4. [Barańczuk, 2019] Urszula Barańczuk. The five factor model of personality and emotion regulation: A meta- analysis. Personality and Individual Differences, 139:217- 227, 2019.
  5. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, Jared D Kaplan, Prafulla Dhari- wal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing sys- tems, 33:1877-1901, 2020.
  6. [Chang et al., 2023] Yupeng Chang, Xu Wang, Jindong Wang, Yuan Wu, Kaijie Zhu, Hao Chen, Linyi Yang, Xi- aoyuan Yi, Cunxiang Wang, Yidong Wang, et al. A survey on evaluation of large language models. arXiv preprint arXiv:2307.03109, 2023.
  7. [Chervenak et al., 2023] Joseph Chervenak, Harry Lieman, Miranda Blanco-Breindel, and Sangita Jindal. The promise and peril of using a large language model to obtain clinical information: Chatgpt performs strongly as a fertil- ity counseling tool with limitations. Fertility and Sterility, 2023.
  8. [Chung et al., 2022] Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416, 2022.
  9. [Collins, 1996] Rebecca L Collins. For better or worse: The impact of upward social comparison on self-evaluations. Psychological bulletin, 119(1):51, 1996.
  10. [Dai et al., 2023] Wei Dai, Jionghao Lin, Hua Jin, Tong- guang Li, Yi-Shan Tsai, Dragan Gašević, and Guanliang Chen. Can large language models provide feedback to stu- dents? a case study on chatgpt. In 2023 IEEE International Conference on Advanced Learning Technologies (ICALT), pages 323-325. IEEE, 2023.
  11. [Deroy et al., 2023] Aniket Deroy, Kripabandhu Ghosh, and Saptarshi Ghosh. How ready are pre-trained abstractive models and llms for legal case judgement summarization? arXiv preprint arXiv:2306.01248, 2023.
  12. [Festinger, 1957] Leon Festinger. A Theory of Cognitive Dis- sonance. Stanford University Press, Redwood City, 1957.
  13. [Fredrickson, 2000] Barbara L Fredrickson. Cultivating pos- itive emotions to optimize health and well-being. Preven- tion & treatment, 3(1):1a, 2000.
  14. [Gibbons and Gerrard, 1989] Frederick X Gibbons and Meg Gerrard. Effects of upward and downward social compar- ison on mood states. Journal of social and clinical psy- chology, 8(1):14-31, 1989.
  15. [Goldsmith et al., 2012] Kelly Goldsmith, Eunice Kim Cho, and Ravi Dhar. When guilt begets pleasure: The positive effect of a negative emotion. Journal of Marketing Re- search, 49(6):872-881, 2012.
  16. [Harmon-Jones and Mills, 2019] Eddie Harmon-Jones and Judson Mills. An introduction to cognitive dissonance the- ory and an overview of current perspectives on the theory. 2019. [Honovich et al., 2022] Or Honovich, Uri Shaham, Samuel R Bowman, and Omer Levy. Instruction in- duction: From few examples to natural language task descriptions. arXiv preprint arXiv:2205.10782, 2022.
  17. [Ickes et al., 2006] William Ickes, Renee Holloway, Linda L Stinson, and Tiffany Graham Hoodenpyle. Self- monitoring in social interaction: The centrality of self- affect. Journal of personality, 74(3):659-684, 2006.
  18. [Kojima et al., 2022] Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. Advances in neural information processing systems, 35:22199-22213, 2022.
  19. [Krohne, 2002] Heinz Walter Krohne. Stress and coping the- ories. Int Encyclopedia of the Social Behavioral Sceinces [cited 2021], 2002.
  20. [Lazarus, 2000] Richard S Lazarus. Toward better research on stress and coping. 2000.
  21. [Li et al., 2023] Cheng Li, Jindong Wang, Kaijie Zhu, Yix- uan Zhang, Wenxin Hou, Jianxun Lian, and Xing Xie. Emotionprompt: Leveraging psychology for large lan- guage models enhancement via emotional stimulus. arXiv preprint arXiv:2307.11760, 2023.
  22. [Lin et al., 2021] Stephanie Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. arXiv preprint arXiv:2109.07958, 2021.
  23. [Liu et al., 2023] Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys, 55(9):1-35, 2023.
  24. [Lund and Wang, 2023] Brady D Lund and Ting Wang. Chatting about chatgpt: how may ai and gpt impact academia and libraries? Library Hi Tech News, 40(3):26- 29, 2023.
  25. [Luszczynska and Schwarzer, 2015] Aleksandra Luszczyn- ska and Ralf Schwarzer. Social cognitive theory. Fac Health Sci Publ, pages 225-51, 2015.
  26. [Oh et al., 2023] Namkee Oh, Gyu-Seong Choi, and Woo Yong Lee. Chatgpt goes to the operating room: evaluating gpt-4 performance and its potential in surgical education and training in the era of large language models. Annals of Surgical Treatment and Research, 104(5):269, 2023.
  27. [OpenAI, 2022] OpenAI. Introducing chatgpt. 2022. [OpenAI, 2023] OpenAI. Gpt-4 technical report, 2023.
  28. [Pressman and Cohen, 2005] Sarah D Pressman and Sheldon Cohen. Does positive affect influence health? Psycholog- ical bulletin, 131(6):925, 2005.
  29. [Scherer, 2005] Klaus R Scherer. What are emotions? and how can they be measured? Social science information, 44(4):695-729, 2005.
  30. [Srivastava et al., 2022] Aarohi Srivastava, Abhinav Ras- togi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, et al. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615, 2022.
  31. [Strongman, 1996] Kenneth T Strongman. The psychology of emotion: Theories of emotion in perspective. John Wi- ley & Sons, 1996.
  32. [Suls and Wheeler, 2012] Jerry Suls and Ladd Wheeler. So- cial comparison theory. Handbook of theories of social psychology, 1:460-482, 2012.
  33. [Tagar et al., 2011] Michal Reifen Tagar, Christopher M Federico, and Eran Halperin. The positive effect of neg- ative emotions in protracted conflict: The case of anger. Journal of Experimental Social Psychology, 47(1):157- 164, 2011.
  34. [Touvron et al., 2023] Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023.
  35. [Tyng et al., 2017] Chai M Tyng, Hafeez U Amin, Mo- hamad NM Saad, and Aamir S Malik. The influences of emotion on learning and memory. Frontiers in psychology, page 1454, 2017.
  36. [Wang et al., 2023] Xuena Wang, Xueting Li, Zi Yin, Yue Wu, and Jia Liu. Emotional intelligence of large lan- guage models. Journal of Pacific Rim Psychology, 17:18344909231213958, 2023.
  37. [Wei et al., 2022] Jason Wei, Xuezhi Wang, Dale Schuur- mans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems, 35:24824-24837, 2022.
  38. [Zhao et al., 2023] Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. A survey of large language models. arXiv preprint arXiv:2303.18223, 2023.
  39. [Zheng et al., 2023] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. arXiv preprint arXiv:2306.05685, 2023.
  40. [Zhou et al., 2022] Yongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan, and Jimmy Ba. Large language models are human- level prompt engineers. arXiv preprint arXiv:2211.01910, 2022.
  41. [Zhou et al., 2024] Yue Zhou, Chenlu Guo, Xu Wang, Yi Chang, and Yuan Wu. A survey on data augmenta- tion in large model era. arXiv preprint arXiv:2401.15422, 2024.
  42. [Zhu et al., 2023] Kaijie Zhu, Jindong Wang, Jiaheng Zhou, Zichen Wang, Hao Chen, Yidong Wang, Linyi Yang, Wei Ye, Neil Zhenqiang Gong, Yue Zhang, et al. Prompt- bench: Towards evaluating the robustness of large lan- guage models on adversarial prompts. arXiv preprint arXiv:2306.04528, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards