arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05925cs.CLcs.AI
收藏

面向采用大语言模型且有人参与的检索增强问答聊天机器人的优化与评估

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

School of Computation, Information and Technology(计算、信息与技术学院);Technical University of Munich(慕尼黑工业大学)

Anum Afzal, Alexander Kowsik, Rajna Fani, Florian Matthes

AI总结:

本研究针对HR支持场景,与SAP SE专家合作开发引入人在回路机制的大语言模型检索增强问答聊天机器人,验证了GPT-4的性能优势及G-Eval、Prometheus无参考评估指标的可靠性。

摘要:

大语言模型已在各类日常重复性任务中得到应用,其中包括人力资源(HR)支持场景。我们与SAP SE的领域专家合作,开发了一款HR支持聊天机器人,将其作为解答员工咨询的高效实用工具。我们在开发周期的多个环节引入了人在回路(human-in-the-loop)机制,涵盖数据集收集、提示词优化以及生成输出的评估等环节。通过提升这款由大语言模型驱动的聊天机器人的回复质量,并探索多种备选检索方法,我们为HR从业者打造了一款高效、可扩展且灵活的工具,可高效解答员工咨询。我们的实验与评估结果表明,GPT-4的表现优于其他模型,且能够凭借内部推理能力克服数据中的不一致问题。此外,通过专家分析我们推断,G-Eval、Prometheus等无参考评估指标展现出的可靠性与人类评估的契合度很高。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑