LLM-RAG 系统的质量保证:来自旅游应用测试的实证见解
Quality Assurance for LLM-RAG Systems: Empirical Insights from Tourism Application Testing
AI总结:
本文通过测试旅游应用中三种 LLM-RAG 变体,提出包含 17 个指标的质量评估框架,发现新版本在响应长度和复杂性上改进更明显,为生产环境部署提供实践指导。
摘要:
本文提出了一个用于测试和评估旅游应用中增强检索增强生成(RAG)的大语言模型(LLM)系统质量特征的综合框架。通过在多个参数配置下对三种不同 LLM 变体进行系统实证评估,我们证明了该测试方法在评估功能正确性和非功能特性方面的有效性。我们的框架实现了 17 个不同的指标,涵盖通过 LLM 评判器进行的句法分析、语义评估和行为评估。该研究揭示了不同架构选择和参数配置如何影响系统性能的重要信息,特别强调了 temperature 和 top-p 参数对响应质量的影响。测试在 Värmland 地区的旅游推荐系统上进行,使用了标准配置和 RAG 增强配置。结果表明,较新的 LLM 版本在性能指标上显示出适度改进,尽管差异在响应长度和复杂性方面比在语义质量方面更为显著。该研究为在 LLM-RAG 系统中实施稳健的测试实践提供了实用见解,为在生产环境中部署这些架构的组织提供了有价值的指导。
英文摘要:
This paper presents a comprehensive framework for testing and evaluating quality characteristics of Large Language Model (LLM) systems enhanced with Retrieval-Augmented Generation (RAG) in tourism applications. Through systematic empirical evaluation of three different LLM variants across multiple parameter configurations, we demonstrate the effectiveness of our testing methodology in assessing both functional correctness and extra-functional properties. Our framework implements 17 distinct metrics that encompass syntactic analysis, semantic evaluation, and behavioral evaluation through LLM judges. The study reveals significant information about how different architectural choices and parameter configurations affect system performance, particularly highlighting the impact of temperature and top-p parameters on response quality. The tests were carried out on a tourism recommendation system for the Värmland region, utilizing standard and RAG-enhanced configurations. The results indicate that the newer LLM versions show modest improvements in performance metrics, though the differences are more pronounced in response length and complexity rather than in semantic quality. The research contributes practical insights for implementing robust testing practices in LLM-RAG systems, providing valuable guidance to organizations deploying these architectures in production environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。