Generating Unseen Code Tests In Infinitum

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zalmanovici, Marcel, Raz, Orna, Farchi, Eitan, Freund, Iftach
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914891289329664
author Zalmanovici, Marcel
Raz, Orna
Farchi, Eitan
Freund, Iftach
author_facet Zalmanovici, Marcel
Raz, Orna
Farchi, Eitan
Freund, Iftach
contents Large Language Models (LLMs) are used for many tasks, including those related to coding. An important aspect of being able to utilize LLMs is the ability to assess their fitness for specific usages. The common practice is to evaluate LLMs against a set of benchmarks. While benchmarks provide a sound foundation for evaluation and comparison of alternatives, they suffer from the well-known weakness of leaking into the training data \cite{Xu2024Benchmarking}. We present a method for creating benchmark variations that generalize across coding tasks and programming languages, and may also be applied to in-house code bases. Our approach enables ongoing generation of test-data thus mitigating the leaking into the training data issue. We implement one benchmark, called \textit{auto-regression}, for the task of text-to-code generation in Python. Auto-regression is specifically created to aid in debugging and in tracking model generation changes as part of the LLM regression testing process.
format Preprint
id arxiv_https___arxiv_org_abs_2407_19772
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generating Unseen Code Tests In Infinitum
Zalmanovici, Marcel
Raz, Orna
Farchi, Eitan
Freund, Iftach
Artificial Intelligence
Large Language Models (LLMs) are used for many tasks, including those related to coding. An important aspect of being able to utilize LLMs is the ability to assess their fitness for specific usages. The common practice is to evaluate LLMs against a set of benchmarks. While benchmarks provide a sound foundation for evaluation and comparison of alternatives, they suffer from the well-known weakness of leaking into the training data \cite{Xu2024Benchmarking}. We present a method for creating benchmark variations that generalize across coding tasks and programming languages, and may also be applied to in-house code bases. Our approach enables ongoing generation of test-data thus mitigating the leaking into the training data issue. We implement one benchmark, called \textit{auto-regression}, for the task of text-to-code generation in Python. Auto-regression is specifically created to aid in debugging and in tracking model generation changes as part of the LLM regression testing process.
title Generating Unseen Code Tests In Infinitum
topic Artificial Intelligence
url https://arxiv.org/abs/2407.19772