DataSciBench: An LLM Agent Benchmark for Data Science

Dan Zhang, Sining Zhoubian, Min Cai, Fengzu Li, Lekang Yang +5 more
2/19/2025
cs.CLcs.AIcs.LG

Official code: THUDM/DataSciBench (66 stars, last commit 2026-01-21). 1 more implementation below.

Abstract

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.

View on arXivView PDF

Code Implementations(2)

THUDM/DataSciBenchOfficial100%

DataSciBench: An LLM Agent Benchmark for Data Science

668Shell, PythonFeb 19, 20259 months ago

DataSciBench: An LLM Agent Benchmark for Data Science

00CSS, HTMLFeb 19, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025datascibench,
  title  = {DataSciBench: An LLM Agent Benchmark for Data Science},
  author = {Dan Zhang and Sining Zhoubian and Min Cai and Fengzu Li and Lekang Yang and Wei Wang and Tianjiao Dong and Ziniu Hu and Jie Tang and Yisong Yue},
  year   = {2025},
  eprint = {2502.13897},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13897v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.13897.svg)](https://codeofpaper.com/paper/2502.13897)

Discussion