arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.09395cs.CL
收藏

通过本体引导的干预评估大语言模型的数学与编程能力

Evaluating LLMs' Mathematical and Coding Competency through Ontology-guided Interventions

Singapore University of Technology and Design(新加坡科技设计大学);IIT Kharagpur(印度理工学院克勒格布尔分校);University of Michigan(密歇根大学)

Pengfei Hong, Navonil Majumder, Deepanway Ghosal, Somak Aditya, Rada Mihalcea, Soujanya Poria

AI总结:

该研究针对大语言模型推理能力鲁棒性存疑的问题,提出扰动本体、半自动扰动方法及两个扰动数据集,评估发现各类LLM在扰动问题上性能骤降,揭示其推理能力的局限性。

摘要:

大语言模型(LLMs)的最新进展在现有逻辑推理基准上展现出了惊人的成果,部分模型的表现甚至超越了人类水平。然而,它们在推理任务中能力的真实深度与鲁棒性仍是一个悬而未决的问题。为此,本文聚焦于两类主流推理任务:算术推理与代码生成。具体而言,我们提出了:(1)一套面向数学与编程问题的通用扰动本体;(2)一种应用这些扰动的半自动方法;(3)两个分别包含扰动后数学与编程问题的数据集——GSMORE和HUMANEVAL-CORE,用于探究LLM在数值推理与编程任务中的能力。通过对闭源与开源LLM的全面评估,我们发现所有模型在面对扰动后的问题时性能均出现显著下降,这表明当前LLM在我们本体所定义的诸多领域中,缺乏鲁棒的问题解决技能与结构化推理能力。我们已在https://github.com/declare-lab/LLM-ReasoningTest开源了数据集与源代码。

英文摘要:

Recent advancements in Large Language Models (LLMs) have showcased striking results on existing logical reasoning benchmarks, with some models even surpassing human performance. However, the true depth of their competencies and robustness in reasoning tasks remains an open question. To this end, in this paper, we focus on two popular reasoning tasks: arithmetic reasoning and code generation. Particularly, we introduce (i) a general ontology of perturbations for math and coding questions, (ii) a semi-automatic method to apply these perturbations, and (iii) two datasets, GSMORE and HUMANEVAL-CORE, respectively, of perturbed math and coding problems to probe LLM capabilities in numeric reasoning and coding tasks. Through comprehensive evaluations of both closed-source and open-source LLMs, we show a significant performance drop across all the models against the perturbed questions, suggesting that the current LLMs lack robust problem solving skills and structured reasoning abilities in many areas, as defined by our ontology. We open-source the datasets and source codes at: https://github.com/declare-lab/LLM-ReasoningTest.

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

↑