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

DataSciBench:一个面向数据科学的 LLM 智能体基准

DataSciBench: An LLM Agent Benchmark for Data Science

Tsinghua University(清华大学);Zhipu AI(智谱AI);University of California, Berkeley(加州大学伯克利分校);California Institute of Technology(加州理工学院)

Dan Zhang, Sining Zhoubian, Min Cai, Fengzu Li, Lekang Yang, Wei Wang, Tianjiao Dong, Ziniu Hu, Jie Tang, Yisong Yue

AI总结:

本文提出 DataSciBench 基准,通过半自动化真值生成流程和 TFC 框架,系统评估 23 个 LLM 在数据科学任务中的代码执行能力。

摘要:

本文提出 DataSciBench,这是一个用于评估大型语言模型(LLM)在数据科学领域能力的综合基准。近期相关基准主要聚焦于单一任务、易于获得的真值以及简单直接的评估指标,这限制了可评估任务的范围。相比之下,DataSciBench 基于一组更全面、经过筛选的自然且具有挑战性的提示构建,面向不确定的真值和评估指标。我们开发了一套用于生成真值(GT)并验证评估指标的半自动化流程。该流程利用并实现了一种基于 LLM 的自一致性与人工验证策略,通过借助收集到的提示、预定义任务类型和聚合函数(指标)来生成准确的 GT。此外,我们提出了创新的 Task-Function-Code(TFC)框架,依据精确定义的指标和程序化规则评估每次代码执行结果。我们的实验框架使用收集到的多样化提示集,测试了 6 个基于 API 的模型、8 个开源通用模型以及 9 个开源代码生成模型。该方法旨在对 LLM 在数据科学中的表现提供更全面、严格的评估,揭示其优势与弱点。实验结果表明,基于 API 的模型在所有指标上均优于开源模型,而 Deepseek-Coder-33B-Instruct 在开源模型中取得最高分。我们在 https://github.com/THUDM/DataSciBench 发布全部代码和数据。

英文摘要:

This paper presents DataSciBench, a comprehensive benchmark for evaluating Large Language Model (LLM) capabilities in data science. Recent related benchmarks have primarily focused on single tasks, easily obtainable ground truth, and straightforward evaluation metrics, which limits the scope of tasks that can be evaluated. In contrast, DataSciBench is constructed based on a more comprehensive and curated collection of natural and challenging prompts for uncertain ground truth and evaluation metrics. We develop a semi-automated pipeline for generating ground truth (GT) and validating evaluation metrics. This pipeline utilizes and implements an LLM-based self-consistency and human verification strategy to produce accurate GT by leveraging collected prompts, predefined task types, and aggregate functions (metrics). Furthermore, we propose an innovative Task - Function - Code (TFC) framework to assess each code execution outcome based on precisely defined metrics and programmatic rules. Our experimental framework involves testing 6 API-based models, 8 open-source general models, and 9 open-source code generation models using the diverse set of prompts we have gathered. This approach aims to provide a more comprehensive and rigorous evaluation of LLMs in data science, revealing their strengths and weaknesses. Experimental results demonstrate that API-based models outperform open-sourced models on all metrics and Deepseek-Coder-33B-Instruct achieves the highest score among open-sourced models. We release all code and data at https://github.com/THUDM/DataSciBench.

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

↑