arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.17167cs.AIcs.CLcs.LG
收藏

DyVal:面向推理任务的大型语言模型动态评估

DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks

Microsoft Research(微软研究院);Duke University(杜克大学);Stanford University(斯坦福大学);Georgia Tech(佐治亚理工学院)

Kaijie Zhu, Jiaao Chen, Jindong Wang, Neil Zhenqiang Gong, Diyi Yang, Xing Xie

AI总结:

本文提出DyVal动态评估协议,利用有向无环图生成可控复杂度的推理任务样本,实验表明LLMs在动态评估中表现更差,且生成样本可提升微调性能。

摘要:

大型语言模型(LLMs)在各种评估基准中取得了显著性能。然而,人们担心其庞大的训练语料库中可能存在数据污染。此外,当前基准的静态性质和固定复杂度可能不足以衡量LLMs不断进步的能力。在本文中,我们引入了DyVal,一种通用且灵活的LLMs动态评估协议。基于我们的框架,我们利用有向无环图的结构优势构建了图感知的DyVal,以可控复杂度动态生成评估样本。DyVal在数学、逻辑推理和算法问题等推理任务上生成具有挑战性的评估集。我们评估了从Flan-T5-large到GPT-3.5-Turbo和GPT-4的各种LLMs。实验表明,LLMs在DyVal生成的不同复杂度的评估样本上表现更差,凸显了动态评估的重要性。我们还分析了失败案例和不同提示方法的结果。此外,DyVal生成的样本不仅是评估集,还是有助于微调以提高LLMs在现有基准上性能的有用数据。我们希望DyVal能为未来LLMs评估研究提供启示。代码可在以下网址获取:https://github.com/microsoft/promptbench。

英文摘要:

Large language models (LLMs) have achieved remarkable performance in various evaluation benchmarks. However, concerns are raised about potential data contamination in their considerable volume of training corpus. Moreover, the static nature and fixed complexity of current benchmarks may inadequately gauge the advancing capabilities of LLMs. In this paper, we introduce DyVal, a general and flexible protocol for dynamic evaluation of LLMs. Based on our framework, we build graph-informed DyVal by leveraging the structural advantage of directed acyclic graphs to dynamically generate evaluation samples with controllable complexities. DyVal generates challenging evaluation sets on reasoning tasks including mathematics, logical reasoning, and algorithm problems. We evaluate various LLMs ranging from Flan-T5-large to GPT-3.5-Turbo and GPT-4. Experiments show that LLMs perform worse in DyVal-generated evaluation samples with different complexities, highlighting the significance of dynamic evaluation. We also analyze the failure cases and results of different prompting methods. Moreover, DyVal-generated samples are not only evaluation sets, but also helpful data for fine-tuning to improve the performance of LLMs on existing benchmarks. We hope that DyVal can shed light on future evaluation research of LLMs. Code is available at: https://github.com/microsoft/promptbench.

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

↑