Expert-Owned Validation of Enterprise RAG Assistants: An Exploratory Study of Test-Suite Adequacy and Feedback- Driven Refinement

Loading...
Thumbnail Image

Authors

Adam, Muntasir
Mohammedali, Maab

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Background: Many organizations are deploying retrieval-augmented generation (RAG) question-answering systems for internal use. However, there is limited empirical guidance on how expert-owned test suites and user feedback can support the structured assessment and improvement of such systems, and help organizations judge when testing is “good enough” in practice.

Objective: This thesis investigates how an expert-owned validation setup can be used to evaluate an enterprise RAG-based question-answering assistant in an industrial setting. The study examines how formal test material, expert review, automated harness indicators, and user feedback contribute to judgments of answer acceptability, test-suite adequacy, and trust in practice. An HR knowledge-base chatbot deployment at Getinge serves as an exploratory setting for these broader software-engineering questions.

Method: The study followed a Design Science Research approach in an industrial setting. The studied validation artifact consisted of a formal 57-case expert-owned test suite with preferred answers, an expert accept/decline review process, a test harness, user feedback, and a feedback-to-action workflow. The research team designed the study, organized and conducted the empirical evaluation, moderated three focus-group sessions involving six employees and one HR validation expert, analyzed the available expert material and harness export, reviewed 34 logged user-feedback items, and examined project and stakeholder documentation. The employees represented roles or responsibilities related to UX, HR, training, analytics, AI, and product or business development. The concrete setting was a Danish HR knowledge base; the study focused on the validation process rather than on country-specific policy content.

Results: The findings indicate that test-suite adequacy depended primarily on the composition of the test material rather than on the number of test cases. Important characteristics included realistic employee phrasing, high-risk and ambiguous scenarios, and cases that exposed weaknesses in the underlying knowledge base. The formal 57-case test suite was executed five times per case, resulting in 285 harness executions. The harness reported an overall Average Quality in Agreement of 72 %, calculated from embedding-based cosine-similarity comparisons between generated answers and expert-defined preferred answers. In parallel, the HR validation expert accepted 55 cases and declined 2 cases, highlighting differences between automated similarity indicators and expert judgments of answer acceptability. Expert review and user feedback also informed candidate test-suite refinements and identified broader improvement needs related to knowledge-base content, interface design, scope communication, and system performance.

Conclusion: Based on this exploratory study, the thesis provides practical guidance for the validation and improvement of enterprise RAG assistants. The study suggests that effective validation depends on expert-owned test suites that evolve through expert review and user feedback, with adequacy judged by scenario realism, risk relevance, and coverage of ambiguous cases rather than by test count alone. Automated harness indicators provided descriptive monitoring information, while expert review assessed policy consistency, completeness, grounding, scope, and potential consequences for employees. The thesis also formulates an empirically grounded Expert-Owned RAG Validation Refinement Workflow for reviewing, classifying, and routing observed issues to test-suite refinement, knowledge-base clarification, interface or source-presentation changes, scope communication, or technical-performance action. The findings are exploratory and context-dependent and do not provide a general measure of RAG reliability.

Description

Keywords

Retrieval-Augmented Generation, question-answering systems, expert validation, test-suite design, software testing, trust in AI

Citation

ISBN

Part of the series

Articles

Department

Defence location

Opponent

Collections

Endorsement

Review

Supplemented By

Referenced By