Context-Aware Testing: A New Paradigm for Model Testing with Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rauba, Paulius, Seedat, Nabeel, Luyten, Max Ruiz, van der Schaar, Mihaela
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913569033945088
author Rauba, Paulius
Seedat, Nabeel
Luyten, Max Ruiz
van der Schaar, Mihaela
author_facet Rauba, Paulius
Seedat, Nabeel
Luyten, Max Ruiz
van der Schaar, Mihaela
contents The predominant de facto paradigm of testing ML models relies on either using only held-out data to compute aggregate evaluation metrics or by assessing the performance on different subgroups. However, such data-only testing methods operate under the restrictive assumption that the available empirical data is the sole input for testing ML models, disregarding valuable contextual information that could guide model testing. In this paper, we challenge the go-to approach of data-only testing and introduce context-aware testing (CAT) which uses context as an inductive bias to guide the search for meaningful model failures. We instantiate the first CAT system, SMART Testing, which employs large language models to hypothesize relevant and likely failures, which are evaluated on data using a self-falsification mechanism. Through empirical evaluations in diverse settings, we show that SMART automatically identifies more relevant and impactful failures than alternatives, demonstrating the potential of CAT as a testing paradigm.
format Preprint
id arxiv_https___arxiv_org_abs_2410_24005
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Context-Aware Testing: A New Paradigm for Model Testing with Large Language Models
Rauba, Paulius
Seedat, Nabeel
Luyten, Max Ruiz
van der Schaar, Mihaela
Machine Learning
The predominant de facto paradigm of testing ML models relies on either using only held-out data to compute aggregate evaluation metrics or by assessing the performance on different subgroups. However, such data-only testing methods operate under the restrictive assumption that the available empirical data is the sole input for testing ML models, disregarding valuable contextual information that could guide model testing. In this paper, we challenge the go-to approach of data-only testing and introduce context-aware testing (CAT) which uses context as an inductive bias to guide the search for meaningful model failures. We instantiate the first CAT system, SMART Testing, which employs large language models to hypothesize relevant and likely failures, which are evaluated on data using a self-falsification mechanism. Through empirical evaluations in diverse settings, we show that SMART automatically identifies more relevant and impactful failures than alternatives, demonstrating the potential of CAT as a testing paradigm.
title Context-Aware Testing: A New Paradigm for Model Testing with Large Language Models
topic Machine Learning
url https://arxiv.org/abs/2410.24005