Saved in:
Bibliographic Details
Main Authors: Sudjianto, Agus, Zhang, Aijun, Neppalli, Srinivas, Joshi, Tarun, Malohlava, Michal
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.16391
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910732512133120
author Sudjianto, Agus
Zhang, Aijun
Neppalli, Srinivas
Joshi, Tarun
Malohlava, Michal
author_facet Sudjianto, Agus
Zhang, Aijun
Neppalli, Srinivas
Joshi, Tarun
Malohlava, Michal
contents This paper introduces a comprehensive framework for the evaluation and validation of generative language models (GLMs), with a focus on Retrieval-Augmented Generation (RAG) systems deployed in high-stakes domains such as banking. GLM evaluation is challenging due to open-ended outputs and subjective quality assessments. Leveraging the structured nature of RAG systems, where generated responses are grounded in a predefined document collection, we propose the Human-Calibrated Automated Testing (HCAT) framework. HCAT integrates a) automated test generation using stratified sampling, b) embedding-based metrics for explainable assessment of functionality, risk and safety attributes, and c) a two-stage calibration approach that aligns machine-generated evaluations with human judgments through probability calibration and conformal prediction. In addition, the framework includes robustness testing to evaluate model performance against adversarial, out-of-distribution, and varied input conditions, as well as targeted weakness identification using marginal and bivariate analysis to pinpoint specific areas for improvement. This human-calibrated, multi-layered evaluation framework offers a scalable, transparent, and interpretable approach to GLM assessment, providing a practical and reliable solution for deploying GLMs in applications where accuracy, transparency, and regulatory compliance are paramount.
format Preprint
id arxiv_https___arxiv_org_abs_2411_16391
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Human-Calibrated Automated Testing and Validation of Generative Language Models
Sudjianto, Agus
Zhang, Aijun
Neppalli, Srinivas
Joshi, Tarun
Malohlava, Michal
Computation and Language
Artificial Intelligence
This paper introduces a comprehensive framework for the evaluation and validation of generative language models (GLMs), with a focus on Retrieval-Augmented Generation (RAG) systems deployed in high-stakes domains such as banking. GLM evaluation is challenging due to open-ended outputs and subjective quality assessments. Leveraging the structured nature of RAG systems, where generated responses are grounded in a predefined document collection, we propose the Human-Calibrated Automated Testing (HCAT) framework. HCAT integrates a) automated test generation using stratified sampling, b) embedding-based metrics for explainable assessment of functionality, risk and safety attributes, and c) a two-stage calibration approach that aligns machine-generated evaluations with human judgments through probability calibration and conformal prediction. In addition, the framework includes robustness testing to evaluate model performance against adversarial, out-of-distribution, and varied input conditions, as well as targeted weakness identification using marginal and bivariate analysis to pinpoint specific areas for improvement. This human-calibrated, multi-layered evaluation framework offers a scalable, transparent, and interpretable approach to GLM assessment, providing a practical and reliable solution for deploying GLMs in applications where accuracy, transparency, and regulatory compliance are paramount.
title Human-Calibrated Automated Testing and Validation of Generative Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2411.16391