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

GraphEval36K:在图数据集上基准测试大型语言模型的编码与推理能力

GraphEval36K: Benchmarking Coding and Reasoning Capabilities of Large Language Models on Graph Datasets

University of California, Santa Barbara(加州大学圣巴巴拉分校)

Qiming Wu, Zichen Chen, Will Corcoran, Misha Sra, Ambuj K. Singh

AI总结:

该研究构建含40个问题、36,900个测试用例的GraphEval36K图数据集,基准评测10个LLM,并提出SSD方法以提升复杂图任务性能。

摘要:

大型语言模型(LLM)已在自然语言处理(NLP)领域取得显著成功,展现出处理和理解文本数据的强大能力。然而,近期研究发现,LLM在操作、编程和推理结构化数据(尤其是图)方面存在局限。我们推出GraphEval36K,这是首个综合性图数据集,包含40个图编码问题和36,900个测试用例,用于评估LLM解决图问题的能力。该数据集被划分为8个主要类别和4个子类别,以确保对不同类型图进行全面评估。我们对10个LLM进行基准测试,发现私有模型优于开源模型,但差距正在缩小。我们还分析了LLM在有向图与无向图、不同类型图概念以及网络模型上的表现。此外,为提升评估框架的可用性,我们提出结构化符号分解(SSD),这是一种基于指令的方法,旨在增强LLM在复杂图任务上的表现。结果显示,SSD分别将GPT-4、GPT-4o、Gemini-Pro和Claude-3-Sonnet的平均通过率提高了8.38%、6.78%、29.28%和25.28%。

英文摘要:

Large language models (LLMs) have achieved remarkable success in natural language processing (NLP), demonstrating significant capabilities in processing and understanding text data. However, recent studies have identified limitations in LLMs' ability to manipulate, program, and reason about structured data, especially graphs. We introduce GraphEval36K, the first comprehensive graph dataset, comprising 40 graph coding problems and 36,900 test cases to evaluate the ability of LLMs on graph problem-solving. Our dataset is categorized into eight primary and four sub-categories to ensure a thorough evaluation across different types of graphs. We benchmark ten LLMs, finding that private models outperform open-source ones, though the gap is narrowing. We also analyze the performance of LLMs across directed vs undirected graphs, different kinds of graph concepts, and network models. Furthermore, to improve the usability of our evaluation framework, we propose Structured Symbolic Decomposition (SSD), an instruction-based method designed to enhance LLM performance on complex graph tasks. Results show that SSD improves the average passing rate of GPT-4, GPT-4o, Gemini-Pro and Claude-3-Sonnet by 8.38%, 6.78%, 29.28% and 25.28%, respectively.

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

↑