As LLMs exhibit a high degree of human-like capability, increasing attention has been paid to role-playing research areas in which responses generated by LLMs are expected to mimic human replies. This has promoted the exploration of role-playing agents in various applications, such as chatbots that can engage in natural conversations with users and virtual assistants that can provide personalized support and guidance. The crucial factor in the role-playing task is the effective utilization of character memory, which stores characters' profiles, experiences, and historical dialogues. Retrieval Augmented Generation (RAG) technology is used to access the related memory to enhance the response generation of role-playing agents. Most existing studies retrieve related information based on the semantic similarity of memory to maintain characters' personalized traits, and few attempts have been made to incorporate the emotional factor in the retrieval argument generation (RAG) of LLMs. Inspired by the Mood-Dependent Memory theory, which indicates that people recall an event better if they somehow reinstate during recall the original emotion they experienced during learning, we propose a novel emotion-aware memory retrieval framework, termed Emotional RAG, which recalls the related memory with consideration of emotional state in role-playing agents. Specifically, we design two kinds of retrieval strategies, i.e., combination strategy and sequential strategy, to incorporate both memory semantic and emotional states during the retrieval process. Extensive experiments on three representative role-playing datasets demonstrate that our Emotional RAG framework outperforms the method without considering the emotional factor in maintaining the personalities of role-playing agents. This provides evidence to further reinforce the Mood-Dependent Memory theory in psychology.
AMAQA: A Metadata-based QA Dataset for RAG Systems
Institute for Informatics and Telematics, National Research Council(信息与电信研究院,国家研究院);Department of Information Engineering, University of Pisa(信息工程系,比萨大学);Department of Computer Science, University of Pisa(计算机科学系,比萨大学)
Rational Sensibility: LLM Enhanced Empathetic Response Generation Guided by Self-presentation Theory
Shenyang Institute of Computing Technology, Chinese Academy of Sciences(中国科学院沈阳计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Wenge Technology Co., Ltd(北京文阁科技有限公司)
MMRole: A Comprehensive Framework for Developing and Evaluating Multimodal Role-Playing Agents
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);College of Information and Electrical Engineering, China Agricultural University(中国农业大学信息与电气工程学院)
PsychoAgent: An Affect-Sensitive Cognitive Architecture for Conflict-Aware Memory in LLM Agents
School of Electrical and Computer Engineering, College of Engineering, University of Tehran(德黑兰大学工程学院电气与计算机工程学院);Sharif University of Technology(谢里夫理工大学);Missouri University of Science and Technology(密苏里科技大学);Tehran Institute for Advanced Studies, Khatam University(哈塔姆大学德黑兰高等研究院)
Inform, Coach, Relate, Listen: Auditing LLM Caregiving Support Roles
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);OSF HealthCare(OSF医疗集团);Indiana University Indianapolis(印第安纳大学印第安纳波利斯分校)