Metraipolis › archive › dc_92a2455a0f90
Diversity-Guided Search-Based Testing of Large Language Model Applications — arXiv:2609.23209
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.23209
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T07:13:55.901Z
- SHA-256 of the archived text
dc7e873d70eeb1d5e05bc5b089f1d85193047038363ff427c5392e751fc40f8f- Stable URL of this page
https://metraipolis.com/documento/dc_92a2455a0f90
How to cite
Diversity-Guided Search-Based Testing of Large Language Model Applications — arXiv:2609.23209 — arXiv (en), https://arxiv.org/abs/2609.23209 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_92a2455a0f90 (Metraipolis archive dc_92a2455a0f90, sha256 dc7e873d70eeb1d5e05bc5b089f1d85193047038363ff427c5392e751fc40f8f)
BibTeX
@misc{dc92a2455a0f90,
title = {Diversity-Guided Search-Based Testing of Large Language Model Applications — arXiv:2609.23209},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.23209},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_92a2455a0f90; sha256 dc7e873d70eeb1d5e05bc5b089f1d85193047038363ff427c5392e751fc40f8f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.23209. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Model (LLM)-based applications are increasingly deployed across domains including customer service, education, and mobility. These systems are prone to inaccurate, fictitious, or harmful responses, and their vast, high-dimensional input space makes systematic testing particularly challenging. In this paper, we present a search-based testing framework for LLM-based applications that incorporates failure diversity as an explicit optimization objective. Building on a discretization along stylistic, content-related, and perturbation dimensions, our framework maintains an archive of generated tests and rewards distance from that archive, while a repopulation operator periodically replaces non-failing tests in the population to sustain exploration. The repopulation operator is parameterized by its sampling strategy: replacement candidates are drawn either uniformly or by greedy distance maximization, two settings we compare empirically. We evaluate both against several baselines across three case studies---LLM safety, in-car navigation, and in-vehicle function control---covering five systems under test, eight LLMs, and 18 distinct test configurations, with over one million executed tests. Our results show that all guided variants detect substantially more failures than random and combinatorial search in nearly all configurations. Among them, diversified search detects fewer failures, but covers a broader range of failure types in all case studies, with greedy repopulation offering the best tradeoff. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-22 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.23209 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T07:08:15.265Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).