arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16478cs.CLcs.AI
收藏

评估大型语言模型的一致性与推理能力

Evaluating Consistency and Reasoning Capabilities of Large Language Models

School of Computing Science;Engineering Galgotias University Greater Noida, India

Yash Saxena, Sarthak Chopra, Arunendra Mani Tripathi

AI总结:

本文评估并比较了公开与专有大型语言模型在Boolq数据集上的一致性和推理能力,发现专有模型表现更优,但无一模型在两项指标上达到90%,揭示了一致性与推理的直接相关性及现有模型的推理挑战。

摘要:

大型语言模型(LLMs)如今被广泛应用于学术界、研究、商业和金融等各个领域,执行文本生成、摘要和翻译等任务。尽管它们被广泛采用,但这些模型经常产生错误和误导性信息,表现出幻觉倾向。这种行为可归因于几个因素,其中一致性和推理能力是重要原因。LLMs经常缺乏生成解释和进行连贯推理的能力,导致回答不准确。此外,它们的输出还表现出不一致性。本文旨在评估和比较公开模型与专有LLMs的一致性和推理能力。实验使用Boolq数据集作为真实基准,包含问题、答案及相应解释。数据集中的查询作为提示输入给LLMs,生成的回答与真实答案进行对比评估。此外,还生成解释以评估模型的推理能力。一致性评估通过向模型重复呈现相同查询并观察其回答的变化来进行。为衡量推理能力,使用BERT、BLEU和F-1分数等指标将生成的解释与真实解释进行比较。研究结果表明,专有模型在一致性和推理能力方面通常优于公开模型。然而,即使面对基础常识问题,也没有任何模型在一致性和推理上达到90%的分数。本研究强调了LLMs中一致性与推理能力之间的直接相关性,并突出了当前语言模型固有的推理挑战。

英文摘要:

Large Language Models (LLMs) are extensively used today across various sectors, including academia, research, business, and finance, for tasks such as text generation, summarization, and translation. Despite their widespread adoption, these models often produce incorrect and misleading information, exhibiting a tendency to hallucinate. This behavior can be attributed to several factors, with consistency and reasoning capabilities being significant contributors. LLMs frequently lack the ability to generate explanations and engage in coherent reasoning, leading to inaccurate responses. Moreover, they exhibit inconsistencies in their outputs. This paper aims to evaluate and compare the consistency and reasoning capabilities of both public and proprietary LLMs. The experiments utilize the Boolq dataset as the ground truth, comprising questions, answers, and corresponding explanations. Queries from the dataset are presented as prompts to the LLMs, and the generated responses are evaluated against the ground truth answers. Additionally, explanations are generated to assess the models' reasoning abilities. Consistency is evaluated by repeatedly presenting the same query to the models and observing for variations in their responses. For measuring reasoning capabilities, the generated explanations are compared to the ground truth explanations using metrics such as BERT, BLEU, and F-1 scores. The findings reveal that proprietary models generally outperform public models in terms of both consistency and reasoning capabilities. However, even when presented with basic general knowledge questions, none of the models achieved a score of 90\% in both consistency and reasoning. This study underscores the direct correlation between consistency and reasoning abilities in LLMs and highlights the inherent reasoning challenges present in current language models.

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

↑