Welcome to the upgraded BRAC University Institutional Repository. We are currently organizing collections after a recent system upgrade. Homepage category counters may temporarily show lower numbers while syncing, but over 27,000 repository items remain safe and accessible. Please use the search bar to find theses, scholarly outputs, and institutional documents.

Developing an empathetic conversational system using fine-tuned language models and psychometric evaluation

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAzmain, Md. Aquib
dc.contributor.authorJahan, Shuha
dc.contributor.authorTasnim, Rifa
dc.contributor.authorRahman, S.M Sajidur
dc.contributor.authorRofi, Mashira
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-04-02T11:01:08Z
dc.date.available2026-04-02T11:01:08Z
dc.date.copyright2025
dc.date.issued2025-12
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 57-60).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering.en_US
dc.description.abstractDeveloping an empathetic conversational system remains challenging, particularly when models must generate contextually relevant, accurate, and sensitive responses from limited data. Recent advances in large language models (LLMs) have demonstrated that architectural innovation strategies can enhance dialogue performance and adaptability. In this work, we experimented with multiple LLM architectures: Gemma 2 9B IT, Zephyr 7B Beta, Llama 2 7B and Phi-3 Mini 4K Instruct for dialogue generation and structured question–answer tasks, and selected the bestperforming model based on response quality and accuracy. The models were evaluated on a dataset of 839 samples, derived from validated psychometric scales including MSPSS (Multidimensional Scale of Perceived Social Support), PHQ-4 (Patient Health Questionnaire-4), and PSS-4 (Perceived Stress Scale-4), curated and reviewed by a psychiatrist to ensure clinical relevance. MSPSS measures perceived social support from family, friends, and significant others; PHQ- 4 screens for anxiety and depression severity; and PSS-4 assesses perceived stress levels, with reverse scoring for certain items. Responses to these scales were converted into numeric scores and integrated as structured input, allowing the selected model to generate dialogue that adapts to each user’s emotional state, stress level, and social support network. Parameter-efficient fine-tuning techniques such as LoRA and PEFT were employed to maximize learning from the small dataset. Overall, this study demonstrates that instruction-tuning a carefully chosen LLM with psychometric-informed inputs enables empathetic, context-aware, and clinically informed dialogue, offering a promising approach for personalized mental health assessment and conversational support.en_US
dc.description.degreeBachelor of Science in Computer Science and Engineering
dc.description.statementofresponsibilityShuha Jahan
dc.description.statementofresponsibilityRifa Tasnim
dc.description.statementofresponsibilityS.M Sajidur Rahman
dc.description.statementofresponsibilityMashira Rofi
dc.format.extent74 pages
dc.identifier.otherID 21301335
dc.identifier.otherID 21301565
dc.identifier.otherID 21301169
dc.identifier.otherID 21301130
dc.identifier.urihttp://hdl.handle.net/10361/27735
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectMental healthen_US
dc.subjectLanguage modelen_US
dc.subjectLow-Rank Adaptation (LoRA)en_US
dc.subjectPsychometric scalesen_US
dc.subjectLarge language models (LLMs)en_US
dc.subject.lcshMental health.
dc.titleDeveloping an empathetic conversational system using fine-tuned language models and psychometric evaluationen_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21301335, 21301565, 21301130, 21301169_CSE.pdf
Size:
4.15 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: