PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 26, 20260 citationsOpen Access

Mood-Congruent Knowledge Retrieval in Role-Playing Large Language Models

MAMegha AgarwalVKVinodini KatiyarVPVandana Patel

Key Points

  • This study aims to introduce an emotion-aware retrieval-augmented generation framework that incorporates emotional states in memory recall alongside semantic similarity.
  • Developed an Emotional RAG framework using 8-dimensional emotion vectors to represent user queries and memory pieces
  • Implemented four memory recall strategies including additive and multiplicative combinations
  • Tested the framework on benchmark datasets: InCharacter, CharacterEval, and Character-LLM using models like ChatGLM-6B and Qwen-72B.
  • Emotional RAG outperformed semantic-only RAG across various metrics, indicating improvements in memory recall accuracy.
  • For InCharacter, MBTI Acc(Full) improved from 0.2188 to 0.2946 for ChatGLM-6B and 0.3438 to 0.4688 for Qwen-72B.
  • MAE reduced by up to 6.7%, demonstrating a significant enhancement in full personality consistency.

Abstract

Abstract Background/Objectives: The current state of the art in Retrieval-Augmented Generation (RAG) models is based mostly on semantic similarity and pays little attention to the role of emotional states in memory recall. This study aims to present an Emotion-aware Retrieval-Augmented Generation (Emotional RAG) framework that combines semantic similarity and emotional congruence in memory recall. Method: The emotional states of user queries and memory pieces are represented using 8-dimensional emotion vectors, while semantic similarity is measured using dense embeddings. Four different memory recall strategies are proposed, including additive and multiplicative combination strategies, as well as two sequential semantic and emotional filtering approaches. Findings: The proposed framework is tested on three benchmark datasets: InCharacter, CharacterEval, and Character-LLM, using ChatGLM-6B, Qwen-72B, and GPT-3.5 models as backbones. The performance of the proposed framework is measured using MBTI and Big Five Inventory (BFI) metrics, including Acc(Dim), Acc(Full), MSE, and MAE. The experimental outcome indicates that Emotional RAG always performs better than semantic-only RAG. For InCharacter, MBTI Acc(Full) enhances from 0.2188 to 0.2946 for ChatGLM-6B and from 0.3438 to 0.4688 for Qwen-72B, with a reduction in MAE of up to 6.7%. For CharacterEval, Acc(Full) enhances from 0.0323 to 0.0728, and for Character-LLM, it enhances from 0.1111 to 0.3111. Novelty: The enhancement is more significant for full personality consistency than for personal traits and the use of Mood-Dependent Memory theory RAG-based role-playing system. Keywords: Emotional RAG, Role-playing agent, Large language models, Mood Dependent Theory

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Agarwal et al. (2026) studied this question.

synapsesocial.com/papers/6a153b00b5d9c58d83e8d385https://doi.org/10.17485/ijst/v19i19.118
Ask AI
Helpful
Bookmark
Share
View Full Paper