Saved in:
Bibliographic Details
Main Authors: Dixit, Tanay, Lee, Daniel, Fang, Sally, Harsha, Sai Sree, Sureshan, Anirudh, Maharaj, Akash, Li, Yunyao
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.03928
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929489431232512
author Dixit, Tanay
Lee, Daniel
Fang, Sally
Harsha, Sai Sree
Sureshan, Anirudh
Maharaj, Akash
Li, Yunyao
author_facet Dixit, Tanay
Lee, Daniel
Fang, Sally
Harsha, Sai Sree
Sureshan, Anirudh
Maharaj, Akash
Li, Yunyao
contents Large Language Models (LLMs) are increasingly integrated into diverse applications. The rapid evolution of LLMs presents opportunities for developers to enhance applications continuously. However, this constant adaptation can also lead to performance regressions during model migrations. While several interactive tools have been proposed to streamline the complexity of prompt engineering, few address the specific requirements of regression testing for LLM Migrations. To bridge this gap, we introduce RETAIN (REgression Testing guided LLM migrAtIoN), a tool designed explicitly for regression testing in LLM Migrations. RETAIN comprises two key components: an interactive interface tailored to regression testing needs during LLM migrations, and an error discovery module that facilitates understanding of differences in model behaviors. The error discovery module generates textual descriptions of various errors or differences between model outputs, providing actionable insights for prompt refinement. Our automatic evaluation and empirical user studies demonstrate that RETAIN, when compared to manual evaluation, enabled participants to identify twice as many errors, facilitated experimentation with 75% more prompts, and achieves 12% higher metric scores in a given time frame.
format Preprint
id arxiv_https___arxiv_org_abs_2409_03928
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RETAIN: Interactive Tool for Regression Testing Guided LLM Migration
Dixit, Tanay
Lee, Daniel
Fang, Sally
Harsha, Sai Sree
Sureshan, Anirudh
Maharaj, Akash
Li, Yunyao
Information Retrieval
Large Language Models (LLMs) are increasingly integrated into diverse applications. The rapid evolution of LLMs presents opportunities for developers to enhance applications continuously. However, this constant adaptation can also lead to performance regressions during model migrations. While several interactive tools have been proposed to streamline the complexity of prompt engineering, few address the specific requirements of regression testing for LLM Migrations. To bridge this gap, we introduce RETAIN (REgression Testing guided LLM migrAtIoN), a tool designed explicitly for regression testing in LLM Migrations. RETAIN comprises two key components: an interactive interface tailored to regression testing needs during LLM migrations, and an error discovery module that facilitates understanding of differences in model behaviors. The error discovery module generates textual descriptions of various errors or differences between model outputs, providing actionable insights for prompt refinement. Our automatic evaluation and empirical user studies demonstrate that RETAIN, when compared to manual evaluation, enabled participants to identify twice as many errors, facilitated experimentation with 75% more prompts, and achieves 12% higher metric scores in a given time frame.
title RETAIN: Interactive Tool for Regression Testing Guided LLM Migration
topic Information Retrieval
url https://arxiv.org/abs/2409.03928