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

逐步推理求解网格谜题:大语言模型在何处受挫?

Step-by-Step Reasoning to Solve Grid Puzzles: Where do LLMs Falter?

Arizona State University(亚利桑那州立大学);Microsoft Research(微软研究院)

Nemika Tyagi, Mihir Parmar, Mohith Kulkarni, Aswin RRV, Nisarg Patel, Mutsumi Nakamura, Arindam Mitra, Chitta Baral

AI总结:

针对现有LLM推理能力评估仅关注最终答案、缺乏细粒度分析的问题,研究构建了GridPuzzle谜题数据集,提出错误分类体系与评估框架/指标,发现现有提示方法无法提升该任务表现,为后续优化指明方向。

摘要:

求解网格谜题涉及大量逻辑推理,因此是评估模型推理能力的良好领域,相关评估结果可指导我们提升模型的推理能力。但现有多数研究仅评估谜题的最终预测答案,既未深入分析大语言模型(LLM)的推理链(例如其在何处出错),也未提供更精细的评估指标。由于LLM可能依赖简单启发式规则或数据偏差来预测最终答案,因此除了整体正确性指标外,评估生成的推理链对于准确衡量LLM的推理能力至关重要。\n为此,我们首先构建了GridPuzzle评估数据集,包含274道不同复杂度的网格类谜题。其次,通过对GPT-4、Claude-3、Gemini、Mistral和Llama-2等LLM的推理链进行人工分析,我们提出了一套全新的错误分类体系。随后,我们开发了一个基于LLM的大规模主观评估(即错误识别)框架,以及一个名为PuzzleEval的客观指标,用于评估推理链的正确性。\n对LLM推理链的评估得出了若干有趣的发现。我们进一步证实,现有用于增强模型推理能力的提示方法并不能提升模型在GridPuzzle上的表现。这凸显了理解细粒度错误的重要性,也为未来研究通过开发针对性方法解决这些错误、提升LLM的谜题求解能力提出了挑战。数据集与源代码可在https://github.com/Mihir3009/GridPuzzle获取。

英文摘要:

Solving grid puzzles involves a significant amount of logical reasoning. Hence, it is a good domain to evaluate the reasoning capability of a model which can then guide us to improve the reasoning ability of models. However, most existing works evaluate only the final predicted answer of a puzzle, without delving into an in-depth analysis of the LLMs' reasoning chains (such as where they falter) or providing any finer metrics to evaluate them. Since LLMs may rely on simple heuristics or artifacts to predict the final answer, it is crucial to evaluate the generated reasoning chain beyond overall correctness measures, for accurately evaluating the reasoning abilities of LLMs. To this end, we first develop GridPuzzle, an evaluation dataset comprising 274 grid-based puzzles with different complexities. Second, we propose a new error taxonomy derived from manual analysis of reasoning chains from LLMs including GPT-4, Claude-3, Gemini, Mistral, and Llama-2. Then, we develop an LLM-based framework for large-scale subjective evaluation (i.e., identifying errors) and an objective metric, PuzzleEval, to evaluate the correctness of reasoning chains. Evaluating reasoning chains from LLMs leads to several interesting findings. We further show that existing prompting methods used for enhancing models' reasoning abilities do not improve performance on GridPuzzle. This highlights the importance of understanding fine-grained errors and presents a challenge for future research to enhance LLMs' puzzle-solving abilities by developing methods that address these errors. Data and source code are available at https://github.com/Mihir3009/GridPuzzle.

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

↑