Adaptive Probabilistic Operational Testing for Large Language Models Evaluation

Conference Paper (2025)
Author(s)

Ali Asgari (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Antonio Guerriero (Università degli Studi di Napoli Federico II)

Roberto Pietrantuono (Università degli Studi di Napoli Federico II)

Stefano Russo (Università degli Studi di Napoli Federico II)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/AST66626.2025.00017 Final published version
More Info
expand_more
Publication Year
2025
Language
English
Research Group
Software Engineering
Bibliographical Note
Green Open Access added to TU Delft Institutional Repository as part of the Taverne amendment. More information about this copyright law amendment can be found at https://www.openaccess.nl. Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.
Pages (from-to)
103-113
Publisher
IEEE
ISBN (print)
979-8-3315-0180-8
ISBN (electronic)
979-8-3315-0179-2
Event
6th IEEE/ACM International Conference on Automation of Software Test, AST 2025 (2025-04-28 - 2025-04-29), Ottawa, Canada
Downloads counter
15
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Large Language Models (LLM) empower many modern software systems, and are required to be highly accurate and reliable. Evaluating LLM poses challenges due to the high costs of manual labeling and of validation of labeled data. This study investigates the suitability of probabilistic operational testing for effective and efficient evaluation of LLM, focusing on a case study with DistilBERT. To this aim, we adopt an existing framework (DeepSample) for Deep Neural Network (DNN) testing and adapt it to the LLM domain by introducing auxiliary variables tailored to LLM and classification tasks. Through a comprehensive evaluation, we demonstrate how sampling-based operational testing can yield reliable LLM accuracy estimates and effectively expose failures, or, under testing budget constraints, it can find a trade off between accuracy estimation and failure exposure. The experimental results, using DistilBERT on three sentiment analysis datasets, show that sampling-based methods can provide cost effective and reliable operational accuracy assessment for LLM. These findings offer practical insights for testers and help address critical gaps in current LLM evaluation practices.

Files

Adaptive_Probabilistic_Operati... (pdf)
(pdf | 1.31 Mb)
- Embargo expired in 21-01-2026
License info not available