arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.01402stat.ME
收藏

评估由大语言模型生成的数据验证测试的规范性与一致性

Evaluating the Decency and Consistency of Data Validation Tests Generated by LLMs

Rohan Alexander, Lindsay Katz, Callandra Moore, Michael Wing-Cheung Wong, Zane Schwartz

AI总结:

本文通过96种条件系统评估GPT-3.5和GPT-4生成数据验证测试的能力,发现少样本学习和明确的数据设置能显著提升效果,最佳配置可补充但无法替代人工黄金标准。

摘要:

我们研究了大语言模型(LLMs)是否能够开发数据验证测试。我们分别针对GPT-3.5和GPT-4考虑了96种条件,考察了不同的提示场景、学习模式、温度设置和角色。提示场景包括:1)仅要求给出预期,2)在给定上下文的情况下要求给出预期,3)在请求数据模拟之后要求给出预期,以及4)在提供数据样本的情况下要求给出预期。学习模式包括:1)零样本学习,2)单样本学习,以及3)少样本学习。我们还测试了四种温度设置:0、0.4、0.6和1。两种不同的角色分别为:1)乐于助人的助手,2)专业数据科学家。为了衡量一致性,每种设置都被测试了五次。大语言模型生成的响应与一个黄金标准数据验证套件进行了基准比较,该套件由一位熟悉相关数据的经验丰富的数据科学家创建。我们发现,使用少样本学习能带来相当大的收益,并且在某种程度上,数据设置越明确,效果越好。最佳的大语言模型配置是对黄金标准结果的补充,而非替代。本研究强调了大语言模型在数据科学工作流的数据清理和准备阶段所能带来的价值,但也指出它们需要由经验丰富的分析师进行大量评估。

英文摘要:

We investigated whether large language models (LLMs) can develop data validation tests. We considered 96 conditions each for both GPT-3.5 and GPT-4, examining different prompt scenarios, learning modes, temperature settings, and roles. The prompt scenarios were: 1) Asking for expectations, 2) Asking for expectations with a given context, 3) Asking for expectations after requesting a data simulation, and 4) Asking for expectations with a provided data sample. The learning modes were: 1) zero-shot, 2) one-shot, and 3) few-shot learning. We also tested four temperature settings: 0, 0.4, 0.6, and 1. And the two distinct roles were: 1) helpful assistant, 2) expert data scientist. To gauge consistency, every setup was tested five times. The LLM-generated responses were benchmarked against a gold standard data validation suite, created by an experienced data scientist knowledgeable about the data in question. We find there are considerable returns to the use of few-shot learning, and that the more explicit the data setting can be the better, to a point. The best LLM configurations complement, rather than substitute, the gold standard results. This study underscores the value LLMs can bring to the data cleaning and preparation stages of the data science workflow, but highlights that they need considerable evaluation by experienced analysts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑