2024 · 16 citations · 14 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringApplication Programming InterfacesModel-driven Software EngineeringSoftware DesignSoftware EvolutionSoftware ModelingSoftware TestingApi EvolutionApi TestingCase Study EvaluationModel-based Testing
Large Language Models (LLMs) are increasingly integrated into software applications. Downstream application developers often access LLMs through APIs provided as a service. However, LLM APIs are often updated silently and scheduled to be deprecated, forcing users to continuously adapt to evolving models. This can cause performance regression and affect prompt design choices, as evidenced by our case study on toxicity detection. Based on our case study, we emphasize the need for and re-examine the concept of regression testing for evolving LLM APIs. We argue that regression testing LLMs requires fundamental changes to traditional testing approaches, due to different correctness notions, prompting brittleness, and non-determinism in LLM APIs.
14
Case study research: design and methods
Simon Phelan · Evaluation & Research in Education · 2011 · 21.9K citations
Why Johnny Can’t Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
J.D. Zamfirescu-Pereira, Richmond Y. Wong, Bjoern Hartmann et al. · 2023 · 799 citations · Full text
Computing, Computer Science, Design +17
Saleema Amershi, Max Chickering, Steven M. Drucker et al. · 2015 · 272 citations