Towards Optimizing and Evaluating a Retrieval Augmented QA Chatbot using LLMs with Human-in-the-Loop

Anum Afzal, Alexander Kowsik, Rajna Fani, Florian Matthes

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Large Language Models have found application in various mundane and repetitive tasks including Human Resource (HR) support. We worked with the domain experts of SAP SE to develop an HR support chatbot as an efficient and effective tool for addressing employee inquiries. We inserted a human-in-the-loop in various parts of the development cycles such as dataset collection, prompt optimization, and evaluation of generated output. By enhancing the LLM-driven chatbot’s response quality and exploring alternative retrieval methods, we have created an efficient, scalable, and flexible tool for HR professionals to address employee inquiries effectively. Our experiments and evaluation conclude that GPT-4 outperforms other models and can overcome inconsistencies in data through internal reasoning capabilities. Additionally, through expert analysis, we infer that reference-free evaluation metrics such as G-Eval and Prometheus demonstrate reliability closely aligned with that of human evaluation.

Original languageEnglish
Title of host publicationDaSH 2024 - Data Science with Human-in-the-Loop, Proceedings of the DaSHWorkshop at NAACL 2024
EditorsEduard Dragut, Yunyao Li, Lucian Popa, Slobodan Vucetic, Shashank Srivastava
PublisherAssociation for Computational Linguistics (ACL)
Pages4-16
Number of pages13
ISBN (Electronic)9798891761018
StatePublished - 2024
Event5th Workshop on Data Science with Human-in-the-Loop, DaSH 2024 at NAACL - Mexico City, Mexico
Duration: 20 Jun 2024 → …

Publication series

NameDaSH 2024 - Data Science with Human-in-the-Loop, Proceedings of the DaSHWorkshop at NAACL 2024

Conference

Conference5th Workshop on Data Science with Human-in-the-Loop, DaSH 2024 at NAACL
Country/TerritoryMexico
CityMexico City
Period20/06/24 → …

Fingerprint

Dive into the research topics of 'Towards Optimizing and Evaluating a Retrieval Augmented QA Chatbot using LLMs with Human-in-the-Loop'. Together they form a unique fingerprint.

Cite this