arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.08351cs.CLcs.LG
收藏

AutoBencher:迈向声明式基准构建

AutoBencher: Towards Declarative Benchmark Construction

Stanford University(斯坦福大学)

Xiang Lisa Li, Farzaan Kaiyom, Evan Zheran Liu, Yifan Mai, Percy Liang, Tatsunori Hashimoto

AI总结:

提出声明式基准构建框架 AutoBencher,通过优化数据集描述自动生成基准,发现现有语言模型的新漏洞,并比现有基准多引发 22% 的模型错误。

摘要:

我们提出了 AutoBencher,一个用于自动基准构建的声明式框架,并利用它来可扩展地发现现有语言模型的新见解和漏洞。具体来说,给定基准的少量期望属性(例如,问题难度、主题显著性),我们将每个期望属性操作化,并将基准创建视为一个优化问题。具体而言,我们实验了两种具有不同优化目标的设置:(i)对于能力评估,我们声明目标是找到一个显著的、困难的、能引发新颖性能模式的数据集;(ii)对于安全评估,我们声明目标是找到一个现有语言模型未能拒绝的不安全提示数据集。为了解决这一优化问题,我们使用语言模型迭代地提出和完善数据集描述,然后利用这些描述生成特定主题的问题和答案。这些描述经过优化以改善声明的期望属性。我们使用 AutoBencher(由 GPT-4 驱动)为数学、多语言、知识和安全领域创建数据集。AutoBencher 的可扩展性使其能够测试细粒度类别和尾部知识,创建的数据集比现有基准多引发 22% 的模型错误(即难度)。在新颖性方面,AutoBencher 还帮助识别现有基准未捕获的具体差距:例如,Gemini-Pro 在二叠纪灭绝和福特主义方面存在知识差距,而 GPT-4o 未能拒绝关于加密货币诈骗的有害请求。

英文摘要:

We present AutoBencher, a declarative framework for automatic benchmark construction, and use it to scalably discover novel insights and vulnerabilities of existing language models. Concretely, given a few desiderata of benchmarks (e.g., question difficulty, topic salience), we operationalize each desideratum and cast benchmark creation as an optimization problem. Specifically, we experiment with two settings with different optimization objectives: (i) for capability evaluation, we declare the goal of finding a salient, difficult dataset that induces novel performance patterns; (ii) for safety evaluation, we declare the goal of finding a dataset of unsafe prompts that existing LMs fail to decline. To tackle this optimization problem, we use a language model to iteratively propose and refine dataset descriptions, which are then used to generate topic-specific questions and answers. These descriptions are optimized to improve the declared desiderata. We use AutoBencher (powered by GPT-4) to create datasets for math, multilinguality, knowledge, and safety. The scalability of AutoBencher allows it to test fine-grained categories and tail knowledge, creating datasets that elicit 22% more model errors (i.e., difficulty) than existing benchmarks. On the novelty ends, AutoBencher also helps identify specific gaps not captured by existing benchmarks: e.g., Gemini-Pro has knowledge gaps on Permian Extinction and Fordism while GPT-4o fails to decline harmful requests about cryptocurrency scams.

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

↑