mlsanityData to 7 Oct 2026

Adaptive Testing for LLM-Based Applications: A Diversity-based Approach

arXiv 2501.13480 ↗First posted 23 Jan 2025cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The recent surge of building software systems powered by Large Language Models (LLMs) has led to the development of various testing frameworks, primarily focused on treating prompt templates as the unit of testing. Despite the significant costs associated with test input execution and output assessment, the curation of optimized test suites is yet overlooked in these tools, which calls for tailored test selection or prioritization strategies. In this paper, we show that diversity-based testing techniques, such as Adaptive Random Testing (ART) with appropriate string distance metrics, can be effectively applied to the testing of prompt templates. Our proposed adaptive testing approach adjusts the conventional ART process to this context by selecting new test inputs based on scores derived from existing test suite and their labelling results. Our results, obtained using various implementations that explore several string-based distances, confirm that our approach enables the discovery of failures with reduced testing budgets and promotes the generation of more varied outputs.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 10 of its 32 references that are in the map. First posted on arXiv 23 Jan 2025.

Builds on

10 of 32 references.

References · 10

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  3. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  4. 2024Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferencescited by 142
  5. 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testingcited by 88
  6. 2023LARP: Language-Agent Role Play for Open-World Gamescited by 24
  7. 2024SPADE: Synthesizing Data Quality Assertions for Large Language Model Pipelinescited by 19
  8. 2015Test Set Diameter: Quantifying the Diversity of Sets of Test Casescited by 10
  9. 2024A Software Engineering Perspective on Testing Large Language Models: Research, Practice, Tools and Benchmarkscited by 5
  10. 2024Demystifying Issues, Causes and Solutions in LLM Open-Source Projectscited by 3

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.