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

通过图着色评估大型语言模型的系统推理能力

Evaluating the Systematic Reasoning Abilities of Large Language Models through Graph Coloring

York University(约克大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);CIFAR(加拿大高级研究所)

Alex Heyman, Joel Zylberberg

AI总结:

该研究以图着色为评估手段,测试6个大型语言模型在不同难度k着色问题上的表现,发现其系统推理能力存在局限性但有进展,为LLM推理能力评估提供了新视角。

摘要:

当代大型语言模型是强大的问题解决工具,但推理能力存在弱点,目前研究正试图缓解这一问题。我们将图着色作为评估LLM(大型语言模型)系统分步推理能力、可能性空间探索能力以及语义问题框架效应的手段。我们在k值为2≤k≤4、顶点数为4≤n≤8的k着色问题数据集上测试了Claude 3.5 Sonnet、Llama 3.1 405B、Gemini 1.5 Pro、GPT-4o、o1-mini和DeepSeek-R1,并使用部分算法求解器按难度进一步分类问题。除了显著但各异的框架效应外,我们发现除o1-mini和R1外,所有模型在所有框架下的困难问题类型上错误率均>60%(o1-mini>15%,R1>10%),且即使在4顶点2着色的简单领域,也没有模型达到完美准确率。我们的结果既凸显了LLM系统推理近期的显著进展,也揭示了其可靠性的局限性,尤其是在计算成本增加的情况下。我们认为更复杂的图着色问题以及更广泛的任意复杂度推理问题的程序化生成,为LLM基准测试提供了进一步未开发的潜力。

英文摘要:

Contemporary large language models are powerful problem-solving tools, but they exhibit weaknesses in their reasoning abilities which ongoing research seeks to mitigate. We investigate graph coloring as a means of evaluating an LLM's capacities for systematic step-by-step reasoning and possibility space exploration, as well as effects of semantic problem framing. We test Claude 3.5 Sonnet, Llama 3.1 405B, Gemini 1.5 Pro, GPT-4o, o1-mini, and DeepSeek-R1 on a dataset of $k$-coloring problems with $2 \leq k \leq 4$ and vertex count $4 \leq n \leq 8$, using partial algorithmic solvers to further categorize problems by difficulty. In addition to substantial but varying framing effects, we find that all models except o1-mini and R1 exhibit $>60\%$ error rates on difficult problem types in all frames ($>15\%$ for o1-mini and $>10\%$ for R1), and no model achieves perfect accuracy even in the simple domain of 2-coloring 4-vertex graphs. Our results highlight both the considerable recent progress in LLM systematic reasoning and the limits of its reliability, especially in relation to increasing computational costs. We expect that more complex graph coloring problems, and procedural generation of arbitrary-complexity reasoning problems more broadly, offer further untapped potential for LLM benchmarking.

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

↑