Developing an empathetic conversational system using fine-tuned language models and psychometric evaluation
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Azmain, Md. Aquib | |
| dc.contributor.author | Jahan, Shuha | |
| dc.contributor.author | Tasnim, Rifa | |
| dc.contributor.author | Rahman, S.M Sajidur | |
| dc.contributor.author | Rofi, Mashira | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-04-02T11:01:08Z | |
| dc.date.available | 2026-04-02T11:01:08Z | |
| dc.date.copyright | 2025 | |
| dc.date.issued | 2025-12 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 57-60). | |
| dc.description | This 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.abstract | Developing 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.degree | Bachelor of Science in Computer Science and Engineering | |
| dc.description.statementofresponsibility | Shuha Jahan | |
| dc.description.statementofresponsibility | Rifa Tasnim | |
| dc.description.statementofresponsibility | S.M Sajidur Rahman | |
| dc.description.statementofresponsibility | Mashira Rofi | |
| dc.format.extent | 74 pages | |
| dc.identifier.other | ID 21301335 | |
| dc.identifier.other | ID 21301565 | |
| dc.identifier.other | ID 21301169 | |
| dc.identifier.other | ID 21301130 | |
| dc.identifier.uri | http://hdl.handle.net/10361/27735 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC 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.subject | Mental health | en_US |
| dc.subject | Language model | en_US |
| dc.subject | Low-Rank Adaptation (LoRA) | en_US |
| dc.subject | Psychometric scales | en_US |
| dc.subject | Large language models (LLMs) | en_US |
| dc.subject.lcsh | Mental health. | |
| dc.title | Developing an empathetic conversational system using fine-tuned language models and psychometric evaluation | en_US |
| dc.type | Thesis | en_US |