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

NPHardEval:通过复杂度类别动态评估大型语言模型推理能力的基准

NPHardEval: Dynamic Benchmark on Reasoning Ability of Large Language Models via Complexity Classes

School of Information, University of Michigan(密歇根大学信息学院);Department of Computer Science, Rutgers University(罗格斯大学计算机科学系)

Lizhou Fan, Wenyue Hua, Lingyao Li, Haoyang Ling, Yongfeng Zhang

AI总结:

研究提出NPHardEval基准,通过900道覆盖至NP-Hard复杂度类别的算法问题动态评估LLMs推理能力,采用每月更新机制防止过拟合,为模型推理能力提供严格客观的评估。

摘要:

复杂推理能力是当前大型语言模型(LLMs)最重要的特性之一,这也使其在复杂决策任务中发挥着不可或缺的作用。因此,对LLMs推理能力的调查至关重要:已建立众多基准来评估LLMs的推理能力。然而,现有基准在严格评估LLMs所能达到的推理能力全貌方面存在不足。它们还面临过拟合风险,因为这些基准公开且静态,使模型可能针对特定基准指标调整响应,从而虚报性能。针对这些局限,我们的研究引入了名为NPHardEval的新基准。该基准旨在通过涵盖900个算法问题的广泛谱系评估LLMs的推理能力,问题难度最高延伸至NP-Hard复杂度类别。这些问题经过精心挑选,代表了NP-hard复杂度类别以下的广泛复杂度类别,为LLMs的推理能力提供了严格的衡量标准。通过本研究,我们阐明了LLMs推理的现状,通过比较LLMs在不同复杂度类别上的表现,提供了客观且严格的视角。此外,该基准设计了动态更新机制,数据点每月刷新一次。这种定期更新在缓解LLMs对基准过拟合的风险中发挥关键作用,促进对其推理能力的更准确可靠评估。NPHardEval的基准数据集和代码可在https://github.com/casmlab/NPHardEval获取。

英文摘要:

Complex reasoning ability is one of the most important features of current LLMs, which has also been leveraged to play an integral role in complex decision-making tasks. Therefore, the investigation into the reasoning capabilities of Large Language Models (LLMs) is critical: numerous benchmarks have been established to assess the reasoning abilities of LLMs. However, current benchmarks are inadequate in offering a rigorous evaluation of the full extent of reasoning abilities that LLMs are capable of achieving. They are also prone to the risk of overfitting, as these benchmarks, being publicly accessible and static, allow models to potentially tailor their responses to specific benchmark metrics, thereby inflating their performance. Addressing these limitations, our research introduces a new benchmark, named NPHardEval. This benchmark is designed to evaluate the reasoning abilities of LLMs across a broad spectrum of 900 algorithmic questions, extending up to the NP-Hard complexity class. These questions are meticulously chosen to represent a wide range of complexity class below the NP-hard complexity class, offering a rigorous measure of the reasoning ability of LLMs. Through this study, we shed light on the current state of reasoning in LLMs, providing an objective and rigorous perspective through the comparison of LLMs' performance across complex classes. Moreover, this benchmark is designed with a dynamic update mechanism, where the datapoints are refreshed on a monthly basis. Such regular updates play a crucial role in mitigating the risk of LLMs overfitting to the benchmark, promoting a more accurate and reliable assessment of their reasoning capabilities. The benchmark dataset and code of NPHardEval are available at https://github.com/casmlab/NPHardEval.

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

↑