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

CS-Bench:面向计算机科学掌握程度的大型语言模型综合基准

CS-Bench: A Comprehensive Benchmark for Large Language Models towards Computer Science Mastery

Beijing University of Posts and Telecommunications(北京邮电大学)
Xiaoshuai Song, Muxi Diao, Guanting Dong, Zhengyang Wang, Yujia Fu, Runqi Qiao, Zhexu Wang, Dayuan Fu, Huangxuan Wu, Bin Liang, Weihao Zeng, Yejie Wang, Zhuoma … 展开作者

Xiaoshuai Song, Muxi Diao, Guanting Dong, Zhengyang Wang, Yujia Fu, Runqi Qiao, Zhexu Wang, Dayuan Fu, Huangxuan Wu, Bin Liang, Weihao Zeng, Yejie Wang, Zhuoma GongQue, Jianing Yu, Qiuna Tan, Weiran Xu

AI总结:

本文提出CS-Bench,首个多语言计算机科学综合基准,含约10K样本覆盖26个子领域,评估30多个LLMs,发现CS能力与模型规模及数学、编码能力高度相关,并指出改进方向。

摘要:

大型语言模型(LLMs)在推动研究和社会的各个领域方面展现出巨大潜力。然而,当前LLM社区过度关注于分析特定基础技能(如数学和代码生成)的基准,忽视了对计算机科学领域的全面评估。为了弥补这一差距,我们引入了CS-Bench,这是第一个专门用于评估LLMs在计算机科学领域表现的多语言(英语、中文、法语、德语)基准。CS-Bench包含约10K个精心策划的测试样本,覆盖计算机科学4个关键领域的26个子领域,包含各种任务形式以及知识和推理的划分。利用CS-Bench,我们对超过30个主流LLMs进行了全面评估,揭示了CS性能与模型规模之间的关系。我们还定量分析了现有LLMs失败的原因,并强调了改进方向,包括知识补充和CS特定推理。进一步的跨能力实验表明,LLMs在计算机科学方面的能力与其在数学和编码方面的能力高度相关。此外,专门从事数学和编码的专家LLMs在几个CS子领域也表现出强大的性能。展望未来,我们设想CS-Bench将成为LLMs在CS领域应用的基石,并为评估LLMs多样化推理能力开辟新途径。CS-Bench数据和评估代码可在https://github.com/csbench/csbench获取。

英文摘要:

Large language models (LLMs) have demonstrated significant potential in advancing various fields of research and society. However, the current community of LLMs overly focuses on benchmarks for analyzing specific foundational skills (e.g. mathematics and code generation), neglecting an all-round evaluation of the computer science field. To bridge this gap, we introduce CS-Bench, the first multilingual (English, Chinese, French, German) benchmark dedicated to evaluating the performance of LLMs in computer science. CS-Bench comprises approximately 10K meticulously curated test samples, covering 26 subfields across 4 key areas of computer science, encompassing various task forms and divisions of knowledge and reasoning. Utilizing CS-Bench, we conduct a comprehensive evaluation of over 30 mainstream LLMs, revealing the relationship between CS performance and model scales. We also quantitatively analyze the reasons for failures in existing LLMs and highlight directions for improvements, including knowledge supplementation and CS-specific reasoning. Further cross-capability experiments show a high correlation between LLMs' capabilities in computer science and their abilities in mathematics and coding. Moreover, expert LLMs specialized in mathematics and coding also demonstrate strong performances in several CS subfields. Looking ahead, we envision CS-Bench serving as a cornerstone for LLM applications in the CS field and paving new avenues in assessing LLMs' diverse reasoning capabilities. The CS-Bench data and evaluation code are available at https://github.com/csbench/csbench.

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

↑