Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM64715
Volume:
10 |
6 |
Jun 2026
Pages:
1-6
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Department of Computer Science and Engineering
Sri Siddhartha Institute of Technology, Tumakuru

Department of Computer Science and Engineering
Sri Siddhartha Institute of Technology, Tumakuru

Department of Computer Science and Engineering
Sri Siddhartha Institute of Technology, Tumakuru
Large Language Models (LLMs) have emerged as a powerful foundation for modern conversational AI, yet most LLM-based agents struggle to maintain a consistent persona throughout extended interactions. This paper addresses persona drift by implementing and comparing three persona enforcement approaches: prompt engineering for initial persona conditioning, Retrieval-Augmented Generation (RAG) with LangChain for dynamic persona memory reinforcement, and Low-Rank Adaptation (LoRA) fine-tuning for behavioral adaptation. Two prototype chatbots were developed — an empathetic mental health counselor (Dr. Maya) and a domain-specific CS tutor (Prof. Alex) — and tested across categorized scenarios including normal conversation, boundary handling, crisis response, and character break attempts. Automated evaluation using an LLM-as-judge framework across ten persona consistency metrics revealed that RAG-enhanced prompting achieved the strongest persona consistency, particularly in boundary handling (4.00 vs 3.75) and character break resistance (4.75 vs 3.00). Fine-tuning with LoRA on the EmpatheticDialogues dataset demonstrated a critical dataset-persona mismatch, producing overfitted models with incoherent outputs regardless of model capacity. These findings establish that retrieval-augmented persona conditioning is the most practical approach for real-world deployment when curated persona-specific training data is unavailable.
KEYWORDS
This paper addressed the challenge of persona drift in LLM-based conversational systems by implementing and comparing three persona enforcement approaches: prompt engineering, RAG with LangChain, and LoRA fine-tuning. Two prototype chatbots — Dr. Maya (counselor) and Prof. Alex (tutor) — were developed and tested across 22 categorized test prompts using an automated LLM-as-judge evaluation framework scoring ten persona consistency metrics. The principal findings are: (a) RAG-enhanced prompting achieves the strongest persona consistency among all tested approaches, with a 6.2% improvement in overall mean score (4.43 vs 4.17) and 58.3% improvement in character break resistance (4.75 vs 3.00); (b) Fine-tuning requires carefully curated, persona-aligned datasets, as generic empathy data produces models with casual, off-character communication styles regardless of model capacity (tested on both 1.1B and 3.8B parameter models); (c) Prompt engineering alone is effective for standard interactions (achieving 5.00 on normal conversation) but cannot prevent boundary violations under adversarial conditions (scoring 3.00 on character break resistance); and (d) A modular, hybrid framework combining prompt conditioning with retrieval-augmented persona memory is the most practical architecture for real-world deployment. Future work includes: developing curated professional counseling dialogue datasets for effective fine-tuning; implementing hybrid pipelines combining fine-tuned models with RAG retrieval; conducting user studies with real participants; and extending the framework to support multilingual personas and multimodal conversational systems.
[1] R. Chen, Y. Zhou, J. Wang, and Y. Liu, “The Oscars of AI Theater: A Survey on Role-Playing with Language Models,” arXiv preprint arXiv:2407.11484, 2025. [2] T. Brown et al., “Language Models are Few-Shot Learners,” in Advances in Neural Information Processing Systems (NeurIPS), 2020. [3] H. Touvron et al., “LLaMA: Open and Efficient Foundation Language Models,” arXiv preprint arXiv:2302.13971, 2023. [4] R. Chen, Y. Zhou, J. Wang, and Y. Liu, “Persona Vectors: Monitoring and Controlling Character Traits in Language Models,” arXiv preprint arXiv:2507.21509, 2025. [5] P. Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” in NeurIPS, 2020. [6] E. Hu et al., “LoRA: Low-Rank Adaptation of Large Language Models,” in ICLR, 2022. [7] S. Zhang et al., “Personalizing Dialogue Agents: I Have a Dog, Do You Have Pets Too?” in Proc. ACL, 2018. [8] P. Y. Lo, A. D. Cheong, and S. Dow, “Noel: A Chatbot Persona to Support Children Designing for Others,” in Proc. ACM CHI, 2025. [9] B. Keum, S. Lee, and J. Kim, “Persona-Identified Chatbot through Small-Scale Modeling and Data Transformation,” Electronics, vol. 13, no. 8, MDPI, 2024. [10] S. Abdulla, M. Al-Ayyoub, and Y. Jararweh, “Pre-training on Multimodal Data for Improved Persona Detection,” Springer, 2024.
Publication Date
6/9/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
3
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...