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

GraphArena:在图计算上评估与探索大型语言模型

GraphArena: Evaluating and Exploring Large Language Models on Graph Computation

Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Jianheng Tang, Qifan Zhang, Yuhan Li, Nuo Chen, Jia Li

AI总结:

本文提出 GraphArena 基准,通过四类多项式时间与六类 NP 完全图任务评估十余个 LLM,揭示其在复杂图问题上的次优与幻觉缺陷,并比较四种改进方案。

摘要:

大型语言模型(LLM)的“军备竞赛”需要新的基准来检验其进展。本文介绍 GraphArena,这是一款旨在评估 LLM 在真实世界图计算问题上表现的基准工具。它提供一组四个多项式时间任务(例如最短距离)和六个 NP 完全挑战(例如旅行商问题)。GraphArena 具有严格的评估框架,将 LLM 输出分类为正确、次优(可行但非最优)、幻觉(格式正确但不可行)或缺失。对超过 10 个 LLM 的评估表明,即使表现最好的 LLM 也难以应对更大、更复杂的图问题,并表现出幻觉问题。我们进一步探索四种可能的解决方案来解决这一问题并提升 LLM 的图计算能力,包括思维链提示、指令微调、代码编写和扩展测试时计算;每种方法都展现出独特优势与局限。GraphArena 补充了现有 LLM 基准,并已在 https://github.com/squareRoot3/GraphArena 开源。

英文摘要:

The ``arms race'' of Large Language Models (LLMs) demands new benchmarks to examine their progresses. In this paper, we introduce GraphArena, a benchmarking tool designed to evaluate LLMs on real-world graph computational problems. It offers a suite of four polynomial-time tasks (e.g., Shortest Distance) and six NP-complete challenges (e.g., Traveling Salesman Problem). GraphArena features a rigorous evaluation framework that classifies LLM outputs as correct, suboptimal (feasible but not optimal), hallucinatory (properly formatted but infeasible), or missing. Evaluation of over 10 LLMs reveals that even top-performing LLMs struggle with larger, more complex graph problems and exhibit hallucination issues. We further explore four potential solutions to address this issue and improve LLMs on graph computation, including chain-of-thought prompting, instruction tuning, code writing, and scaling test-time compute, each demonstrating unique strengths and limitations. GraphArena complements the existing LLM benchmarks and is open-sourced at https://github.com/squareRoot3/GraphArena.

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

↑