arXiv:2502.13897cs.CLcs.AI2025-02被引 59

构建首个面向数据科学的复杂多任务大模型评测基准。

DataSciBench: An LLM Agent Benchmark for Data Science

  • 基于真实数据科学场景设计挑战性任务,支持不确定真值和复杂评估。
  • 通过自洽+人工验证生成准确真值,实现自动化高质量评估。
  • 适合研究大模型在数据分析、代码生成等实际任务中的能力评估。

本文提出DataSciBench,一个面向大语言模型(LLM)在数据科学领域能力的综合性评测基准。现有基准多聚焦单一任务、易得真值和简单评估指标,局限性强。DataSciBench基于更全面且精心筛选的真实挑战性任务提示,涵盖不确定真值和复杂评估标准。我们设计了半自动化流程生成真值(GT)并验证评估指标,结合基于LLM的自洽性与人工验证策略,利用收集的提示、预定义任务类型及聚合函数(指标)生成高精度真值。此外,提出创新的任务-函数-代码(TFC)框架,依据精确指标与程序规则评估每段代码执行结果。实验测试了6个API模型、8个开源通用模型和9个开源代码生成模型,使用我们收集的多样化提示集。结果表明,API模型在所有指标上均优于开源模型,Deepseek-Coder-33B-Instruct在开源模型中表现最佳。相关代码与数据已开源至https://github.com/THUDM/DataSciBench。

原文摘要 · Abstract (English)

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.

大模型评测数据科学代码生成自动评估

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。