Human-Calibrated Automated Testing and Validation of Generative Language Models
Authors: Agus Sudjianto, Aijun Zhang, Srinivas Neppalli, Tarun Joshi, Michal Malohlava
AI-generated Key Points
- Authors introduce a framework for evaluating and validating generative language models (GLMs), focusing on Retrieval-Augmented Generation (RAG) systems in high-stakes domains like banking.
- Challenges in GLM evaluation include open-ended outputs and subjective quality assessments, addressed by the Human-Calibrated Automated Testing (HCAT) framework.
- HCAT framework includes automated test generation, embedding-based metrics for functionality assessment, risk, and safety attributes evaluation.
- Two-stage calibration aligns machine-generated evaluations with human judgments using probability calibration and conformal prediction techniques.
- Robustness testing evaluates model performance under adversarial conditions, out-of-distribution scenarios, and various input conditions.
- Targeted weakness identification through marginal and bivariate analysis helps pinpoint areas for improvement in GLM performance.
- The framework offers a scalable, transparent, and interpretable approach to assessing GLMs for accuracy, transparency, regulatory compliance in high-stakes environments like banking.
Abstract: 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.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.