Digital Repository

FairBoTT: Fairness-Enhanced Chatbot With Comprehensive Bias Mitigation and Enhanced Large Language Model Functionality

Show simple item record

dc.contributor.author Demuni, Daham
dc.date.accessioned 2026-03-26T06:36:05Z
dc.date.available 2026-03-26T06:36:05Z
dc.date.issued 2025
dc.identifier.citation Demuni, Daham (2025) FairBoTT: Fairness-Enhanced Chatbot With Comprehensive Bias Mitigation and Enhanced Large Language Model Functionality. BSc. Dissertation, Informatics Institute of Technology en_US
dc.identifier.issn 20200479
dc.identifier.uri http://dlib.iit.ac.lk/xmlui/handle/123456789/3068
dc.description.abstract With the increasing reliance on Large Language Models (LLMs) for academic research, students are often exposed to biased or unfair information without realizing it. This presents a critical problem as educational content generated by LLMs may unintentionally reflect stereotypes or discriminatory narratives. Students risk basing their research and learning on inaccurate or unfair data without proper bias detection and mitigation mechanisms. FairBoTT was developed as a fairness-enhanced chatbot to address this issue by detecting and mitigating bias in real-time conversations. The bias detection model was built using a fine-tuned BERT-based binary classifier supported by a secondary validation layer using Toxic-BERT for handling ambiguous cases. Bias type identification was further enhanced using rule-based keyword mapping with spaCy, while a context-aware downgrading mechanism ensured that fairness-promoting content was not misclassified. For mitigation, FairBoTT integrated Google’s Gemini LLM API to rewrite biased content in a neutral and non-offensive manner. The solution was developed using a modular Spring Boot architecture combined with Python-based machine learning models. The bias detection model achieved an accuracy of approximately 70% in detecting biased inputs, with a precision of 0.7580, recall of 0.8211, and an F1-score of 0.7883. The system successfully detected and mitigated bias in real time, providing transparent feedback and allowing users to proceed, rewrite, or mitigate content as needed. This ensures FairBoTT is a practical solution for reducing bias in LLM-powered educational tools, supporting students in accessing fair and reliable information. en_US
dc.language.iso en en_US
dc.subject Large Language Models en_US
dc.subject Content Generated en_US
dc.subject FairBoTT en_US
dc.title FairBoTT: Fairness-Enhanced Chatbot With Comprehensive Bias Mitigation and Enhanced Large Language Model Functionality en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Advanced Search

Browse

My Account