Quality Assurance for LLM-RAG Systems: Empirical Insights from Tourism Application Testing

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ahmed, Bestoun S., Baader, Ludwig Otto, Bayram, Firas, Jagstedt, Siri, Magnusson, Peter
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910820021043200
author Ahmed, Bestoun S.
Baader, Ludwig Otto
Bayram, Firas
Jagstedt, Siri
Magnusson, Peter
author_facet Ahmed, Bestoun S.
Baader, Ludwig Otto
Bayram, Firas
Jagstedt, Siri
Magnusson, Peter
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_05782
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Quality Assurance for LLM-RAG Systems: Empirical Insights from Tourism Application Testing
Ahmed, Bestoun S.
Baader, Ludwig Otto
Bayram, Firas
Jagstedt, Siri
Magnusson, Peter
Software Engineering
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.
title Quality Assurance for LLM-RAG Systems: Empirical Insights from Tourism Application Testing
topic Software Engineering
url https://arxiv.org/abs/2502.05782